Event notification method, device, equipment and storage medium

By waking up the wireless communication module and background service subroutine in the vehicle's power off state, reading the alarm events of the vehicle's on-board IoT device and reporting it, the problem of the vehicle's power off is solved, and the alarm events cannot be reported in a timely manner when the vehicle is powered off state is realized. Report the alarm incident in a timely manner.

CN115529570BActive Publication Date: 2025-02-25DONGFENG MOTOR CO LTD DONGFENG NISSAN PASSENGER VEHICLE CO
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202210955009.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-10
Publication Date
2025-02-25
Estimated Expiration
2042-08-10

AI Technical Summary

Technical Problem

The prior art cannot promptly report alarm events detected by the on-board IoT devices to the cloud server when the vehicle is in power-off state, resulting in the inability to detect dangerous situations in time.

Method used

When receiving the wake-up signal sent by the on-board communication unit, the wireless communication module is awakened and connected to the on-board IoT device through the wireless connection module; when the connection is completed, the background service subroutine is started to read the generated generated by the on-board IoT device. An emergency alarm event and an incident notification are made.

Benefits of technology

Ensure that when the vehicle is powered off, the detected alarm events can still be reported to the cloud server normally and dangerous situations can be discovered in a timely manner.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115529570B_ABST
    Figure CN115529570B_ABST
Patent Text Reader

Abstract

The present invention belongs to the field of vehicle control technology, and discloses an event notification method, device, equipment and storage medium. The present invention wakes up the wireless communication module when receiving a wake-up signal sent by the vehicle-mounted communication unit, and connects with the vehicle-mounted Internet of Things device through the wireless connection module; when the connection is completed, the background service subroutine is started, and the sudden alarm event generated by the vehicle-mounted Internet of Things device is read through the background service subroutine; and event notification is performed according to the sudden alarm event. Since the wireless communication module and the background service subroutine are woken up when the wake-up signal is received, and the sudden alarm event is read through the wireless communication module and the background service subroutine, and event notification is performed, it can be ensured that when the vehicle is in a power-off state, the detected alarm event can still be reported normally.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicle control technology, and in particular to an event notification method, device, equipment and storage medium. Background Art

[0002] By adding artificial intelligence & Internet of Things (Aiot) devices (such as smoke particle size sensors, broken window sensors, vehicle-mounted cameras, infrared devices, etc.) to the vehicle, the additional functions of existing cars can be expanded. This is an effective solution to expand the functions of the car without modifying the vehicle. However, the interaction between the Aiot devices installed on the vehicle and the cloud server depends on the communication function provided by the vehicle system. When the vehicle is powered off, the vehicle system in the vehicle will be turned off. At this time, the Aiot device cannot communicate with the cloud server. Even if the Aiot device detects an abnormal situation, it cannot report the generated alarm event to the cloud server in time, which will result in the failure to detect the dangerous situation in time and cause danger.

[0003] The above contents are only used to assist in understanding the technical solution of the present invention and do not constitute an admission that the above contents are prior art. Summary of the invention

[0004] The main purpose of the present invention is to provide an event notification method, device, equipment and storage medium, aiming to solve the technical problem that the prior art cannot promptly report the alarm events detected by the Aiot device when the vehicle is in a power-off state.

[0005] To achieve the above object, the present invention provides an event notification method, which comprises the following steps:

[0006] Upon receiving a wake-up signal sent by the vehicle-mounted communication unit, the wireless communication module is awakened, and the vehicle-mounted Internet of Things device is connected through the wireless connection module;

[0007] When the connection is completed, the background service subroutine is started, and the emergency alarm event generated by the vehicle-mounted Internet of Things device is read through the background service subroutine;

[0008] An event notification is performed according to the sudden alarm event.

[0009] Optionally, when receiving a wake-up signal sent by the vehicle communication unit, the step of waking up the wireless communication module and connecting with the vehicle-mounted Internet of Things device through the wireless connection module includes:

[0010] When receiving a wake-up signal sent by the vehicle communication unit, reading a trigger device identifier from the wake-up signal;

[0011] Waking up the wireless communication module, and searching the wireless communication module for a device pairing record corresponding to the trigger device identifier;

[0012] Based on the device pairing record, the wireless communication module is connected to the vehicle-mounted Internet of Things device.

[0013] Optionally, before the step of performing event notification according to the sudden alarm event, the method further includes:

[0014] Analyze the emergency alarm event to obtain alarm content;

[0015] Determine the module identification and module control strategy to be started according to the alarm content;

[0016] The vehicle-mounted module corresponding to the module identifier to be started in the vehicle is started, and the operation of the vehicle-mounted module is controlled according to the module control strategy to provide a crisis warning prompt.

[0017] Optionally, the step of determining the identification of the module to be started and the module control strategy according to the alarm content includes:

[0018] Determine the alarm device identification, alarm behavior label and alarm duration according to the alarm content;

[0019] Determining whether the alarm is compliant according to the alarm behavior label and the alarm device identifier;

[0020] When the alarm is compliant, the corresponding alarm module mapping record is searched in the preset alarm module mapping table according to the alarm behavior label and the alarm duration;

[0021] Extract the module identification to be started and the module control strategy from the alarm module mapping record.

[0022] Optionally, after the step of performing event notification according to the emergency alarm event, the method further includes:

[0023] Monitoring the event changes of the emergency alarm event through the background service subroutine;

[0024] If the sudden alarm event in the vehicle-mounted Internet of Things device disappears, the event generation behavior of the vehicle-mounted Internet of Things device is continuously monitored by the background service subroutine;

[0025] If no sudden alarm event is generated in the vehicle-mounted Internet of Things device and the duration reaches the preset monitoring threshold, the running of the background service subroutine is terminated and the wireless communication module is controlled to enter a dormant state.

[0026] Optionally, the step of performing event notification according to the sudden alarm event includes:

[0027] An event reporting request is generated according to the sudden alarm event, and the event reporting request is sent to a cloud server, so that the cloud server extracts the sudden alarm event from the event reporting request and performs an event notification on the user terminal according to the sudden alarm event.

[0028] Optionally, the step of generating an event reporting request according to the sudden alarm event, and sending the event reporting request to a cloud server so that the cloud server extracts the sudden alarm event from the event reporting request, and notifying the user terminal of the event according to the sudden alarm event includes:

[0029] Obtain vehicle identification information, and encrypt the emergency alarm event and the vehicle identification information according to a preset encryption algorithm to obtain ciphertext request parameters;

[0030] An event reporting request is constructed according to the encrypted request parameters, and the event reporting request is sent to the cloud server, so that the cloud server parses the event reporting request, obtains the sudden alarm event and the vehicle identification information, searches for the user terminal corresponding to the vehicle identification information, and notifies the user terminal of the event according to the sudden alarm event.

[0031] In addition, to achieve the above object, the present invention also provides an event notification device, which includes the following modules:

[0032] A signal receiving module, used to wake up the wireless communication module when receiving a wake-up signal sent by the vehicle-mounted communication unit, and connect with the vehicle-mounted Internet of Things device through the wireless connection module;

[0033] An event receiving module, used to start a background service subroutine when the connection is completed, and read the emergency alarm event generated by the vehicle-mounted Internet of Things device through the background service subroutine;

[0034] The event notification module is used to perform event notification according to the sudden alarm event.

[0035] In addition, to achieve the above-mentioned purpose, the present invention also proposes an event notification device, which includes: a processor, a memory, and an event notification program stored in the memory and executable on the processor, and the event notification program implements the steps of the event notification method described above when executed by the processor.

[0036] In addition, to achieve the above-mentioned purpose, the present invention also proposes a computer-readable storage medium, on which an event notification program is stored, and when the event notification program is executed, the steps of the event notification method described above are implemented.

[0037] The present invention wakes up the wireless communication module upon receiving a wake-up signal sent by the vehicle-mounted communication unit, and connects with the vehicle-mounted Internet of Things device through the wireless connection module; when the connection is completed, the background service subroutine is started, and the sudden alarm event generated by the vehicle-mounted Internet of Things device is read through the background service subroutine; and event notification is performed according to the sudden alarm event. Since the wireless communication module and the background service subroutine are woken up upon receiving the wake-up signal, and the sudden alarm event is read through the wireless communication module and the background service subroutine, and event notification is performed, it can be ensured that the detected alarm event can still be reported normally when the vehicle is in a power-off state. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 It is a schematic diagram of the structure of an electronic device in a hardware operating environment involved in an embodiment of the present invention;

[0039] Figure 2 This is a flow chart of a first embodiment of an event notification method of the present invention;

[0040] Figure 3 This is a flow chart of a second embodiment of the event notification method of the present invention;

[0041] Figure 4 It is a flowchart of a third embodiment of the event notification method of the present invention;

[0042] Figure 5 This is a schematic diagram of module interaction when the IVI controller is not awakened according to an embodiment of an event notification method of the present invention;

[0043] Figure 6 This is a schematic diagram of module interaction after the IVI controller is awakened according to an embodiment of an event notification method of the present invention;

[0044] Figure 7 A schematic diagram of the method execution of an embodiment of an event notification method of the present invention;

[0045] Figure 8 It is a structural block diagram of the first embodiment of the event notification device of the present invention.

[0046] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0047] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0048] Reference Figure 1 , Figure 1 The present invention is a schematic diagram of the event notification device structure of the hardware operating environment involved in the embodiment of the present invention.

[0049] like Figure 1 As shown, the electronic device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (Wireless-Fidelity, WI-FI) interface). The memory 1005 may be a high-speed random access memory (Random Access Memory, RAM), or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk storage. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.

[0050] Those skilled in the art will understand that Figure 1 The structure shown in the figure does not constitute a limitation on the electronic device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0051] like Figure 1 As shown, the memory 1005 as a storage medium may include an operating system, a network communication module, a user interface module, and an event notification program.

[0052] exist Figure 1 In the electronic device shown, the network interface 1004 is mainly used for data communication with a network server; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 in the electronic device of the present invention can be set in an event notification device, and the electronic device calls the event notification program stored in the memory 1005 through the processor 1001, and executes the event notification method provided by an embodiment of the present invention.

[0053] The embodiment of the present invention provides an event notification method, referring to Figure 2 , Figure 2 The figure is a flow chart of a first embodiment of an event notification method of the present invention.

[0054] In this embodiment, the event notification method includes the following steps:

[0055] Step S10: When receiving the wake-up signal sent by the vehicle-mounted communication unit, wake up the wireless communication module and connect with the vehicle-mounted Internet of Things device through the wireless connection module.

[0056] It should be noted that the executor of this embodiment may be the event notification device, and the event notification device may be a main controller installed in the vehicle, such as an IVI (In-Vehicle Infotainment) controller. Of course, it may also be other devices that can achieve the same or similar functions. This embodiment is not limited to this. In this embodiment and the following embodiments, the event notification method of the present invention is described by taking the IVI controller as an example.

[0057] It should be noted that the vehicle communication unit can be a TCU communication unit. As an independent module in the vehicle, the vehicle communication unit can mainly provide communication connection capabilities for other in-vehicle products, such as providing Internet access for IVI controllers and Bluetooth connection capabilities for car Bluetooth keys, etc. It has the characteristics of small system scale, small memory, and unchanged internal software updates. The vehicle IoT device can be an Aiot device installed in the vehicle.

[0058] In actual use, the vehicle communication unit can maintain low power consumption when the vehicle is powered off, maintaining the low-power Bluetooth (BLT) function in the vehicle communication unit. At this time, the Aiot device installed on the vehicle can be connected to the vehicle communication unit through BLT. Once the Aiot device detects a dangerous situation (such as a fire in the car, vehicle vibration or collision, etc.), it can send a signal to the vehicle communication unit through BLT communication. At this time, the vehicle communication unit will send an activation signal to the IVI controller. Among them, the vehicle communication unit is generally connected to the IVI controller through a vehicle bus (such as a CAN bus) or a hard line. Therefore, the vehicle communication unit can send an activation signal to the IVI controller through the vehicle bus or hard line.

[0059] It should be noted that the IVI controller, as the main controller of the vehicle's onboard system, includes upper-layer applications and underlying systems. The upper-layer applications include background service subroutines, which can be placed inside a specific app (such as a visual control app). It can be used as an interface for monitoring the status of Aiot devices and directly controlling Aiot devices; at the same time, the background service subroutine will also be associated with the wireless communication module in the underlying system to call the communication function of the wireless communication module; the background service subroutine has the ability to send information remotely and can directly transmit information to the cloud server in both directions through the http protocol. The wireless communication module is at the underlying system layer and can be in a low-power operating state (such as a sleep state) when the IVI controller is turned off.

[0060] In a specific implementation, when the IVI controller receives a wake-up signal sent by the vehicle communication unit, it will wake up the wireless communication module from the dormant state, and then the IVI controller will connect to each vehicle-mounted IoT device through the wireless communication module. The wireless communication module can be a Bluetooth module.

[0061] In actual use, the TCU communication unit can also be directly modified significantly, so that each Aiot device can interact directly with the cloud server through the TCU communication unit, thereby directly reporting the generated emergency alarm events to the cloud server. However, since the TCU capacity is too small, it is only suitable for some simple communication module functions. Directly modifying it in this way requires a huge investment in research and development, which greatly increases the research and development cost. Once a new Aiot device is added to the vehicle, the TCU communication unit needs to be modified, which will cause the vehicle maintenance cost to increase significantly.

[0062] Furthermore, if each time the wireless communication module is woken up, it is necessary to connect to all the on-board IoT devices on the vehicle, which may cause the connection time to be too long, thereby missing the best time to deal with the dangerous situation. In order to avoid this phenomenon, the TCU communication unit can be slightly modified so that the Aiot device can send the device identification to the TCU communication unit, and the wake-up signal sent by the TCU communication unit can include the device identification of the Aiot device that triggers the wake-up signal. At this time, step S10 described in this embodiment may include:

[0063] When receiving a wake-up signal sent by the vehicle communication unit, reading a trigger device identifier from the wake-up signal;

[0064] Waking up the wireless communication module, and searching the wireless communication module for a device pairing record corresponding to the trigger device identifier;

[0065] Based on the device pairing record, the wireless communication module is connected to the vehicle-mounted Internet of Things device.

[0066] It should be noted that the trigger device identifier can be the device identifier of the Aiot device that triggers the wake-up signal. When installing the Aiot device on the vehicle, the installed Aiot device will be pre-paired with the wireless communication module in the IVI controller, and a corresponding device pairing record will be generated and stored in the IVI controller. Among them, the device pairing record may include information such as the device name and device identifier of the paired device.

[0067] It can be understood that when the IVI controller receives the wake-up signal, it can read the trigger device identifier from the wake-up signal, and then find the corresponding device pairing record according to the trigger device identifier, so as to determine the vehicle-mounted Internet of Things device that should be connected, and then connect with the vehicle-mounted Internet of Things device. After waking up the wireless communication module, it can quickly determine the Aiot device that triggers the wake-up signal and connect with it, thereby avoiding the need to connect with multiple vehicle-mounted Internet of Things devices and improving overall processing efficiency.

[0068] Step S20: When the connection is completed, start the background service subroutine, and read the emergency alarm event generated by the vehicle-mounted Internet of Things device through the background service subroutine.

[0069] It can be understood that when the connection is completed, it means that the IVI controller has completed the connection with each vehicle-mounted IoT device. At this time, the background service subroutine in the IVI controller can be started, and then the generated emergency alarm events can be read from each connected vehicle-mounted IoT device through the background service subroutine.

[0070] Step S30: performing event notification according to the emergency alarm event.

[0071] It should be noted that event notification based on sudden alarm events can be achieved by utilizing the remote information sending capability of the background service subroutine to report the sudden alarm events to the cloud server, so that the cloud server can analyze and take corresponding measures for the dangerous situation.

[0072] Furthermore, in order to allow the vehicle owner to quickly know that the vehicle is in danger and to enable the vehicle owner to quickly respond, step S30 in this embodiment may include:

[0073] An event reporting request is generated according to the sudden alarm event, and the event reporting request is sent to a cloud server, so that the cloud server extracts the sudden alarm event from the event reporting request and performs an event notification on the user terminal according to the sudden alarm event.

[0074] It should be noted that the user terminal may be an intelligent terminal used by the vehicle owner, such as a smart phone, a laptop computer, etc. A client corresponding to the cloud server may be installed in the user terminal.

[0075] In actual use, the event reporting request can be sent to the cloud server through the HTTP or HTTPS protocol. When the cloud server receives the event reporting request, it will extract the emergency alarm event from the event reporting request and display the emergency alarm event in the client corresponding to the cloud server in the user terminal, thereby realizing event notification to the user terminal, allowing the user to quickly know that the vehicle is in danger and respond in time.

[0076] Furthermore, since the cloud server may manage a large number of vehicles at the same time, and the request will be exposed to the external network environment during the sending process and is easily intercepted, in order to ensure that the owner of the vehicle can be notified quickly and safely that the vehicle is in danger, the step of generating an event reporting request according to the sudden alarm event and sending the event reporting request to the cloud server so that the cloud server extracts the sudden alarm event from the event reporting request and notifies the user terminal of the event according to the sudden alarm event may include:

[0077] Obtain vehicle identification information, and encrypt the emergency alarm event and the vehicle identification information according to a preset encryption algorithm to obtain ciphertext request parameters;

[0078] An event reporting request is constructed according to the encrypted request parameters, and the event reporting request is sent to the cloud server, so that the cloud server parses the event reporting request, obtains the sudden alarm event and the vehicle identification information, searches for the user terminal corresponding to the vehicle identification information, and notifies the user terminal of the event according to the sudden alarm event.

[0079] It should be noted that the vehicle identification information can be pre-stored in the IVI controller, and the vehicle identification information can be the unique identification information of the vehicle, such as a license plate number. The preset encryption algorithm can be a reversible encryption algorithm, such as RSA, DES and other encryption algorithms. The sudden alarm event and the vehicle identification information are encrypted according to the preset encryption algorithm, and the ciphertext request parameter is obtained by encrypting the sudden alarm event and the vehicle identification information according to the encryption key stored in the IVI controller and the preset encryption algorithm, and the ciphertext obtained after encryption is used as the ciphertext request parameter. Among them, the encryption key stored in the IVI controller can be set in advance by the car owner or the manufacturer of the vehicle.

[0080] In actual use, the cloud server stores the decryption key corresponding to the encryption key in the IVI controller and the decryption algorithm corresponding to the preset encryption algorithm. After receiving the event reporting request, the cloud server can extract the ciphertext request parameters from it, and decrypt the ciphertext request parameters through the decryption key and the decryption algorithm, so as to obtain the sudden alarm event and vehicle identification information, and search the corresponding user terminal in the preset identification identity mapping table according to the vehicle identification information, and then send the sudden alarm event to the user terminal for display, so as to realize event notification. Among them, the preset identification identity mapping table stores the mapping relationship between vehicle identification information and user terminal.

[0081] This embodiment wakes up the wireless communication module when receiving the wake-up signal sent by the vehicle communication unit, and connects with the vehicle-mounted Internet of Things device through the wireless connection module; when the connection is completed, the background service subroutine is started, and the sudden alarm event generated by the vehicle-mounted Internet of Things device is read through the background service subroutine; and event notification is performed according to the sudden alarm event. Since the wireless communication module and the background service subroutine are woken up when the wake-up signal is received, and the sudden alarm event is read through the wireless communication module and the background service subroutine, and event notification is performed, it can be ensured that the detected alarm event can still be reported normally when the vehicle is in the power-off state.

[0082] refer to Figure 3 , Figure 3 FIG. 4 is a flow chart of a second embodiment of an event notification method according to the present invention.

[0083] Based on the first embodiment, the event notification method of this embodiment further includes, before step S30:

[0084] Step S21: Analyze the emergency alarm event to obtain the alarm content.

[0085] It should be noted that the IVI controller stores the data format of the sudden alarm event, and the sudden alarm event can be parsed according to the data format to extract the alarm content contained therein.

[0086] Step S22: Determine the module identification to be started and the module control strategy according to the alarm content.

[0087] It should be noted that the module identifier to be started may be the module identifier of the vehicle-mounted module to be started, wherein the vehicle-mounted module may include modules installed in the vehicle such as vehicle-mounted headlights, voice broadcasting system (Speaker), etc. The module control strategy may be a strategy for controlling the operation of the vehicle-mounted module, such as: repeatedly broadcasting voice A, the headlights flashing continuously for 2 minutes at intervals of 1 second, etc.

[0088] In actual use, a preset alarm module mapping table may be pre-stored in the IVI controller. Determining the module identifier and module control strategy to be started according to the alarm content may be performed by searching the preset alarm module mapping table for the corresponding module identifier and module control strategy to be started according to the alarm content.

[0089] Furthermore, in order to avoid false alarms caused by interference from other signals, step S22 in this embodiment may include:

[0090] Determine the alarm device identification, alarm behavior label and alarm duration according to the alarm content;

[0091] Determining whether the alarm is compliant according to the alarm behavior label and the alarm device identifier;

[0092] When the alarm is compliant, the corresponding alarm module mapping record is searched in the preset alarm module mapping table according to the alarm behavior label and the alarm duration;

[0093] Extract the module identification to be started and the module control strategy from the alarm module mapping record.

[0094] It should be noted that the alarm device identifier may be the device identifier of the AIOT device that generates the sudden alarm event. The alarm behavior label may be a label used to indicate the type of dangerous situation, such as fire, broken window, etc. The alarm duration may be the duration of the dangerous situation.

[0095] In actual use, determining whether the alarm is compliant based on the alarm behavior label and the alarm device identification can be done by searching the label list corresponding to the Aiot device based on the alarm device identification, and detecting whether the alarm behavior label belongs to the label list. If so, the alarm is determined to be compliant; if not, the alarm is determined to be non-compliant. Of course, if the corresponding label list cannot be found based on the alarm device identification, the alarm can also be directly determined to be non-compliant.

[0096] It is understandable that after the same dangerous situation occurs, the degree of danger will be different as the duration varies. Therefore, for the same alarm behavior label but different alarm durations, there may be different warning methods. Therefore, the corresponding alarm module mapping record can be found in the preset alarm module mapping table based on the alarm behavior label and the alarm duration.

[0097] Step S23: starting the vehicle-mounted module corresponding to the module identifier to be started in the vehicle, and controlling the operation of the vehicle-mounted module according to the module control strategy to provide a crisis warning prompt.

[0098] It is understandable that in some more critical situations, the on-board module corresponding to the module to be started identifier in the vehicle can be started, and then the operation of the on-board module can be controlled according to the module control strategy, so as to provide crisis warning prompts, enable pedestrians around the vehicle to avoid, and facilitate corresponding management personnel to deal with dangerous situations.

[0099] For example: when a vehicle fire is detected, the voice broadcast system, vehicle headlights and other vehicle modules in the car can be activated, and then the voice broadcast system can be controlled to broadcast the voice of passers-by to avoid, and the vehicle headlights can be controlled to flash continuously for 2 minutes. If necessary, the vehicle's buzzer can also be awakened to improve the warning effect.

[0100] This embodiment parses the sudden alarm event to obtain the alarm content; determines the module identifier to be started and the module control strategy according to the alarm content; starts the vehicle-mounted module corresponding to the module identifier to be started in the vehicle, and controls the operation of the vehicle-mounted module according to the module control strategy to provide crisis warning prompts. Since the corresponding vehicle-mounted module will be searched and started according to the alarm content, and then the operation of the vehicle-mounted module will be controlled according to the module control strategy, it can remind passers-by around the vehicle to avoid danger when the danger is critical, and facilitate the management personnel around the vehicle to respond quickly, thereby improving safety.

[0101] refer to Figure 4 , Figure 4 It is a flowchart of a third embodiment of an event notification method of the present invention.

[0102] Based on the first embodiment, the event notification method of this embodiment further includes, after step S30:

[0103] Step S40: monitoring the event change of the emergency alarm event through the background service subroutine.

[0104] It should be noted that the background service subroutine can monitor event changes by monitoring whether the on-board IoT device continues to send sudden alarm events. If the on-board IoT device stops sending sudden alarm events and continues for a certain period of time (such as 3 seconds), it can be determined that the sudden alarm event has disappeared.

[0105] Of course, the background service subroutine can also determine the event change by monitoring whether there is a new emergency alarm event generated in the micro-database in the vehicle-mounted Internet of Things device. If no new emergency alarm event is generated in the micro-database in the vehicle-mounted Internet of Things device for a certain period of time (such as 3 seconds), it can be determined that the emergency alarm event has disappeared.

[0106] Step S50: If the sudden alarm event in the vehicle-mounted Internet of Things device disappears, the event generation behavior of the vehicle-mounted Internet of Things device is continuously monitored through the background service subroutine.

[0107] It should be noted that if the sudden alarm event in the vehicle-mounted IoT device disappears, it means that the dangerous situation may no longer be detected at the current moment. However, it cannot be determined whether it is caused by a detection error or network fluctuation, nor can it be determined whether the dangerous situation will occur again in the future. Since closing and restarting the program may result in untimely event reporting, you can continue to monitor the event generation behavior of the vehicle-mounted IoT device.

[0108] In actual use, it is possible to determine whether a new event has been generated by detecting data changes in the logs or micro-databases in the vehicle-mounted IoT device.

[0109] Step S60: If no sudden alarm event is generated in the vehicle-mounted Internet of Things device and the duration reaches a preset monitoring threshold, the running of the background service subroutine is terminated, and the wireless communication module is controlled to enter a dormant state.

[0110] It should be noted that the preset monitoring threshold can be pre-set by the administrator of the event notification device according to actual needs, for example, the preset monitoring threshold is set to 30 seconds or 1 minute.

[0111] It is understandable that if no sudden alarm event is generated in the on-board IoT device and the duration reaches the preset monitoring threshold, it means that the danger has disappeared and no longer needs to be monitored. At this time, the running of the background service subroutine can be terminated and the wireless communication module can be put into sleep mode, thereby reducing the vehicle's resource consumption.

[0112] For ease of understanding, now combined Figure 5 , Figure 6 and Figure 7 This is for illustration but not for limitation. Figure 5 This is a schematic diagram of module interaction of the event notification method of the present invention when the vehicle is in a power-off state and the IVI controller is not awakened. Figure 6 This is a schematic diagram of module interaction after the IVI controller is awakened when the vehicle is in a powered-off state according to the event notification method of the present invention. Figure 7 This is a schematic diagram of executing the event notification method of the present invention.

[0113] in, Figure 5 In the process, the IVI controller is not awakened, the background subroutine (i.e., background service subroutine) is in the terminated state, the Bluetooth module is in the dormant state, the BCM controller and the vehicle body and interior products are all in the off state, the Aiot device on the vehicle is in the monitoring state, and maintains a low-power connection with the TCU communication unit through BLT communication. When a dangerous situation is detected, the specific awakening process can be as follows: Figure 7As shown, if the Aiot device detects a dangerous situation, the Aiot device will send a signal to the TCU communication unit through BLT communication. At this time, the TCU communication unit will send a wake-up signal to the IVI controller to wake up the Bluetooth module in the IVI controller from the sleep state. The Bluetooth module will connect to the Aiot device and wake up the background service subroutine in the IVI controller. The background service subroutine will interact with the Aiot device through the connection between the Bluetooth module and the Aiot device to read the sudden alarm event. At this time, the communication interaction between the modules becomes Figure 6 After the status shown in the figure, the background service subroutine in the IVI controller will continue to detect changes in emergencies in the Aiot device.

[0114] This embodiment monitors the event changes of the sudden alarm event through the background service subroutine; if the sudden alarm event in the vehicle-mounted Internet of Things device disappears, the event generation behavior of the vehicle-mounted Internet of Things device is continuously monitored through the background service subroutine; if no sudden alarm event is generated in the vehicle-mounted Internet of Things device, and the duration reaches the preset monitoring threshold, the operation of the background service subroutine is terminated, and the wireless communication module is controlled to enter a dormant state. Since the event changes of sudden alarm events are monitored, after the sudden alarm event disappears, the event generation behavior in the vehicle-mounted Internet of Things is continuously monitored. After determining that no sudden alarm event has been generated for a long time, the operation of the background service subroutine is terminated, and the wireless communication module is controlled to enter a dormant state, which reduces the resource consumption of the vehicle and avoids resource waste.

[0115] In addition, an embodiment of the present invention further provides a storage medium, on which an event notification program is stored. When the event notification program is executed by a processor, the steps of the event notification method described above are implemented.

[0116] Reference Figure 8 , Figure 8 It is a structural block diagram of the first embodiment of the event notification device of the present invention.

[0117] like Figure 8 As shown, the event notification device proposed in the embodiment of the present invention includes:

[0118] The signal receiving module 10 is used to wake up the wireless communication module when receiving the wake-up signal sent by the vehicle-mounted communication unit, and connect with the vehicle-mounted Internet of Things device through the wireless connection module.

[0119] The event receiving module 20 is used to start the background service subroutine when the connection is completed, and read the sudden alarm event generated by the vehicle-mounted Internet of Things device through the background service subroutine.

[0120] The event notification module 30 is used to perform event notification according to the sudden alarm event.

[0121] This embodiment wakes up the wireless communication module when receiving the wake-up signal sent by the vehicle communication unit, and connects with the vehicle-mounted Internet of Things device through the wireless connection module; when the connection is completed, the background service subroutine is started, and the sudden alarm event generated by the vehicle-mounted Internet of Things device is read through the background service subroutine; and event notification is performed according to the sudden alarm event. Since the wireless communication module and the background service subroutine are woken up when the wake-up signal is received, and the sudden alarm event is read through the wireless communication module and the background service subroutine, and event notification is performed, it can be ensured that the detected alarm event can still be reported normally when the vehicle is in the power-off state.

[0122] Furthermore, the signal receiving module 10 is also used to read the trigger device identifier from the wake-up signal when receiving the wake-up signal sent by the vehicle-mounted communication unit; wake up the wireless communication module, and search for the device pairing record corresponding to the trigger device identifier in the wireless communication module; based on the device pairing record, connect with the vehicle-mounted Internet of Things device through the wireless communication module.

[0123] Furthermore, the event notification module 30 is also used to parse the sudden alarm event to obtain the alarm content; determine the module identifier to be started and the module control strategy based on the alarm content; start the on-board module corresponding to the module identifier to be started in the vehicle, and control the operation of the on-board module according to the module control strategy to provide crisis warning prompts.

[0124] Furthermore, the event notification module 30 is also used to determine the alarm device identification, alarm behavior label and alarm duration according to the alarm content; determine whether the alarm is compliant according to the alarm behavior label and the alarm device identification; when the alarm is compliant, search the preset alarm module mapping table for the corresponding alarm module mapping record according to the alarm behavior label and the alarm duration; extract the module identification to be started and the module control strategy from the alarm module mapping record.

[0125] Furthermore, the event notification module 30 is also used to monitor the event changes of the sudden alarm event through the background service subroutine; if the sudden alarm event in the vehicle-mounted Internet of Things device disappears, the event generation behavior of the vehicle-mounted Internet of Things device is continuously monitored through the background service subroutine; if no sudden alarm event is generated in the vehicle-mounted Internet of Things device and the duration reaches a preset monitoring threshold, the operation of the background service subroutine is terminated, and the wireless communication module is controlled to enter a sleep state.

[0126] Furthermore, the event notification module 30 is also used to generate an event reporting request based on the sudden alarm event, and send the event reporting request to the cloud server, so that the cloud server extracts the sudden alarm event from the event reporting request and performs an event notification on the user terminal based on the sudden alarm event.

[0127] Furthermore, the event notification module 30 is also used to obtain vehicle identification information, and encrypt the sudden alarm event and the vehicle identification information according to a preset encryption algorithm to obtain ciphertext request parameters; construct an event reporting request according to the ciphertext request parameters, and send the event reporting request to the cloud server, so that the cloud server parses the event reporting request, obtains the sudden alarm event and the vehicle identification information, searches for the user terminal corresponding to the vehicle identification information, and performs an event notification on the user terminal according to the sudden alarm event.

[0128] It should be understood that the above is only an example and does not constitute any limitation on the technical solution of the present invention. In specific applications, technicians in this field can make settings as needed, and the present invention does not limit this.

[0129] It should be noted that the workflow described above is merely illustrative and does not limit the scope of protection of the present invention. In practical applications, technicians in this field can select part or all of them according to actual needs to achieve the purpose of the present embodiment, and no limitation is made here.

[0130] In addition, for technical details that are not described in detail in this embodiment, reference can be made to the event notification method provided in any embodiment of the present invention, and will not be repeated here.

[0131] In addition, it should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.

[0132] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0133] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as a read-only memory (ROM) / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0134] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. An event notification method, characterized in that: The event notification method comprises the following steps: Upon receiving a wake-up signal sent by the vehicle communication unit, the wireless communication module is woken up, and the vehicle-mounted Internet of Things device is connected through the wireless communication module, wherein the wake-up signal is sent by the vehicle communication unit when receiving a danger signal from the vehicle-mounted Internet of Things device; When the connection is completed, the background service subroutine is started, and the emergency alarm event generated by the vehicle-mounted Internet of Things device is read through the background service subroutine; Performing event notification according to the emergency alarm event; The vehicle communication unit is connected to the IVI controller via a vehicle bus or hard wire, the IVI controller is connected to the BCM controller via a CAN bus, the vehicle communication unit maintains low power consumption operation when the vehicle is powered off, the wireless communication module is a functional module in the IVI controller, the background service subroutine is a subroutine in the IVI controller, the IVI controller is a vehicle infotainment system controller, and the BCM controller is a vehicle body controller; Among them, the step of waking up the wireless communication module when receiving the wake-up signal sent by the vehicle-mounted communication unit, and connecting with the vehicle-mounted Internet of Things device through the wireless communication module includes: When receiving a wake-up signal sent by the vehicle communication unit, reading a trigger device identifier from the wake-up signal; Waking up the wireless communication module, and searching the wireless communication module for a device pairing record corresponding to the trigger device identifier; Based on the device pairing record, the wireless communication module is connected to the vehicle-mounted Internet of Things device.

2. The event notification method according to claim 1, characterized in that: Before the step of performing event notification according to the emergency alarm event, the method further includes: Analyze the emergency alarm event to obtain alarm content; Determine the module identification and module control strategy to be started according to the alarm content; The vehicle-mounted module corresponding to the module identifier to be started in the vehicle is started, and the operation of the vehicle-mounted module is controlled according to the module control strategy to provide a crisis warning prompt.

3. The event notification method according to claim 2, characterized in that: The step of determining the identification of the module to be started and the module control strategy according to the alarm content includes: Determine the alarm device identification, alarm behavior label and alarm duration according to the alarm content; Determining whether the alarm is compliant according to the alarm behavior label and the alarm device identifier; When the alarm is compliant, the corresponding alarm module mapping record is searched in the preset alarm module mapping table according to the alarm behavior label and the alarm duration; Extract the module identification to be started and the module control strategy from the alarm module mapping record.

4. The event notification method according to claim 1, wherein: After the step of performing event notification according to the emergency alarm event, the method further includes: Monitoring the event changes of the emergency alarm event through the background service subroutine; If the sudden alarm event in the vehicle-mounted Internet of Things device disappears, the event generation behavior of the vehicle-mounted Internet of Things device is continuously monitored by the background service subroutine; If no sudden alarm event is generated in the vehicle-mounted Internet of Things device and the duration reaches the preset monitoring threshold, the running of the background service subroutine is terminated and the wireless communication module is controlled to enter a dormant state.

5. The event notification method according to any one of claims 1 to 4, characterized in that: The step of performing event notification according to the emergency alarm event comprises: An event reporting request is generated according to the sudden alarm event, and the event reporting request is sent to a cloud server, so that the cloud server extracts the sudden alarm event from the event reporting request and performs an event notification on the user terminal according to the sudden alarm event.

6. The event notification method according to claim 5, characterized in that: The step of generating an event reporting request according to the sudden alarm event, and sending the event reporting request to a cloud server so that the cloud server extracts the sudden alarm event from the event reporting request, and notifies the user terminal of the event according to the sudden alarm event includes: Obtain vehicle identification information, and encrypt the emergency alarm event and the vehicle identification information according to a preset encryption algorithm to obtain ciphertext request parameters; An event reporting request is constructed according to the encrypted request parameters, and the event reporting request is sent to the cloud server, so that the cloud server parses the event reporting request, obtains the sudden alarm event and the vehicle identification information, searches for the user terminal corresponding to the vehicle identification information, and notifies the user terminal of the event according to the sudden alarm event.

7. An event notification device, characterized in that: The event notification device comprises the following modules: A signal receiving module, used to wake up the wireless communication module when receiving a wake-up signal sent by the vehicle-mounted communication unit, and connect with the vehicle-mounted Internet of Things device through the wireless communication module, wherein the wake-up signal is sent by the vehicle-mounted communication unit when receiving a danger signal from the vehicle-mounted Internet of Things device; An event receiving module, used to start a background service subroutine when the connection is completed, and read the emergency alarm event generated by the vehicle-mounted Internet of Things device through the background service subroutine; An event notification module, used for performing event notification according to the emergency alarm event; The vehicle communication unit is connected to the IVI controller via a vehicle bus or hard wire, the IVI controller is connected to the BCM controller via a CAN bus, the vehicle communication unit maintains low power consumption operation when the vehicle is powered off, the wireless communication module is a functional module in the IVI controller, the background service subroutine is a subroutine in the IVI controller, the IVI controller is a vehicle infotainment system controller, and the BCM controller is a vehicle body controller; The signal receiving module is also used to read the trigger device identifier from the wake-up signal when receiving the wake-up signal sent by the vehicle-mounted communication unit; wake up the wireless communication module and search for the device pairing record corresponding to the trigger device identifier in the wireless communication module; and based on the device pairing record, connect with the vehicle-mounted Internet of Things device through the wireless communication module.

8. An event notification device, characterized in that: The event notification device comprises: a processor, a memory, and an event notification program stored in the memory and executable on the processor, wherein the event notification program implements the steps of the event notification method according to any one of claims 1 to 6 when executed by the processor.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores an event notification program, and when the event notification program is executed, the steps of the event notification method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Alarm system and method

    CN108648397A

  • Vehicle-mounted T-BOX and alarm method and system

    CN108928317A

  • Vehicle alarm method and device, computer equipment and computer storage medium

    CN111252031A