Event processing method, device and system and storage medium

By sending the parameter value of the preset event to the rule engine in the vehicle system to determine whether the rule is satisfied, and if it is not satisfied, the event will be deleted, which solves the problem of resource waste in the prior art, and realizes the saving of system resources and resource utilization rate. promote.

CN119311507APending Publication Date: 2025-01-14BEIJING CO WHEELS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310868503.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-14
Publication Date
2025-01-14

AI Technical Summary

Technical Problem

In the prior art, vehicle systems frequently start applications when preset events occur, resulting in wasting system resources. How to provide an event processing method to save system resources has become an urgent problem.

Method used

By detecting preset events, it obtains its parameter value and sends it to the rule engine to determine whether the preset rules are met. If they are not met, delete the event to avoid application startup, thereby saving system resources.

Benefits of technology

It effectively avoids application startup when preset rules are not met, saves system resources, and improves resource utilization of vehicle systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119311507A_ABST
    Figure CN119311507A_ABST
Patent Text Reader

Abstract

The invention discloses an event processing method, device and system and a storage medium, and the method comprises the steps: obtaining a parameter value of a preset event when the preset event is detected; the parameter value of the preset event is sent to a rule engine, whether the parameter value of the preset event meets a preset rule or not is judged through the rule engine, and the parameter value of the preset event corresponding to effective starting of each application is recorded in the rule engine; and when the parameter value of the preset event does not meet the preset rule, deleting the preset event, so that the preset event cannot be sent to the corresponding application. By adopting the scheme provided by the invention, the parameter of the preset event is judged in advance through the rule engine, and the event which does not meet the preset rule is deleted, so that the waste of system resources caused by starting the application when the preset rule is not met is avoided, and the system resources are saved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] With the development of vehicle automation, there are more and more cases where vehicle operations are triggered by preset events. For example, the automatic reversing image function monitors the gear changes of the vehicle. When the gear changes and it is determined to be reversing, the camera at the rear of the vehicle is connected to start the reversing image and issue corresponding reminder information based on the distance between the obstacle and the rear of the vehicle. Another example is the automatic parking function. When the parking is detected, the sensors installed on the vehicle determine whether braking is required to prevent the vehicle from slipping and how much braking force is required.

[0003] In the prior art, when a preset event occurs, the preset event is directly sent to the corresponding application, and the corresponding application is started, and then the application determines whether the signal reaches the condition of triggering the business code. Since there are many types of system signals, including doors, windows, speed, power, voltage, current, etc., there are hundreds or even thousands of them, and many signals are high-frequency cycles, which leads to frequent startup of applications and waste of system resources.

[0004] Therefore, how to provide an event processing method to save system resources has become a technical problem that needs to be solved urgently. Summary of the invention

[0005] The present application provides an event processing method, device, system and storage medium for saving system resources.

[0006] The present application provides an event processing method, including:

[0007] When a preset event is detected, a parameter value of the preset event is obtained, wherein the preset event corresponds to at least one application, and when the preset event is sent to the corresponding application, it can trigger the application to start and trigger the application to execute the corresponding code;

[0008] Sending the parameter value of the preset event to a rule engine, so as to determine whether the parameter value of the preset event satisfies a preset rule through the rule engine, wherein the rule engine records the parameter value of the preset event corresponding to each effective startup of the application;

[0009] When the parameter value of the preset event does not satisfy the preset rule, the preset event is deleted so that the preset event cannot be sent to the corresponding application.

[0010] The beneficial effects of the present application are: when a preset event is detected, the parameter value of the preset event is obtained, wherein the preset event corresponds to at least one application, and when the preset event is sent to the corresponding application, it can trigger the application to start and trigger the application to execute the corresponding code; then, the parameter value of the preset event is sent to the rule engine, so as to determine whether the parameter value of the preset event meets the preset rules through the rule engine, wherein the rule engine records the parameter values ​​of the preset events corresponding to the effective start of each application; when the parameter value of the preset event does not meet the preset rules, the preset event is deleted so that the preset event cannot be sent to the corresponding application. In addition, the waste of system resources caused by starting the application when the preset rules are not met is avoided, and system resources are saved.

[0011] In one embodiment, sending the parameter value of the preset event to a rule engine so as to determine whether the parameter value of the preset event satisfies a preset rule through the rule engine includes:

[0012] Comparing the parameter value of the preset event with the parameter value related to the preset event through a rule engine;

[0013] When the parameter value of the preset event is compared and is consistent with at least one parameter value of the parameter values ​​related to the preset event, it is determined that the parameter value of the preset event satisfies the preset rule.

[0014] In one embodiment, when the parameter values ​​of the same preset event correspond to the same application, the method further includes:

[0015] When the parameter value of the preset event meets the preset rule, the preset event is sent to the corresponding application.

[0016] In one embodiment, when different parameter values ​​of the same preset event correspond to different applications, the method further includes:

[0017] When the parameter value of the preset event satisfies a preset rule, determining at least one application corresponding to the parameter value of the preset event;

[0018] The preset event is sent to at least one application corresponding to the parameter value thereof.

[0019] In one embodiment, when the preset event is a vehicle speed change event, the parameter value of the preset event is a vehicle speed value, and determining at least one application corresponding to the parameter value of the preset event includes:

[0020] When the vehicle speed is greater than a first preset vehicle speed, determining that at least one application corresponding to the parameter value of the preset event is an application for determining whether the vehicle is speeding;

[0021] When the vehicle speed is less than a second preset vehicle speed, it is determined that at least one application corresponding to the parameter value of the preset event is an application for assisting parking.

[0022] In one embodiment, the creation process of the rule engine is as follows:

[0023] The signal to be monitored is set according to the type of the preset event, and the signal value interval corresponding to the signal to be monitored is set according to the parameter value of the preset event corresponding to the effective startup of each application;

[0024] The signal to be monitored and the signal value interval corresponding to the signal to be monitored are registered in a signal service program to generate the rule engine.

[0025] In one embodiment, the creation process of the rule engine is as follows:

[0026] Obtaining a monitoring function in each application, wherein the monitoring function is used to determine whether to trigger a subsequent operation when each application receives the preset event;

[0027] The rule engine is constructed according to the monitoring functions in the various application programs.

[0028] The present application also provides an event processing device, comprising:

[0029] An acquisition module, configured to acquire a parameter value of a preset event when a preset event is detected, wherein the preset event corresponds to at least one application, and when the preset event is sent to the corresponding application, it can trigger the application to start and trigger the application to execute the corresponding code;

[0030] A judgment module, used for sending the parameter value of the preset event to a rule engine, so as to judge whether the parameter value of the preset event satisfies a preset rule through the rule engine, wherein the rule engine records the parameter value of the preset event corresponding to each effective startup of the application;

[0031] The deleting module is used to delete the preset event when the parameter value of the preset event does not meet the preset rule, so that the preset event cannot be sent to the corresponding application.

[0032] In one embodiment, the judgment module includes:

[0033] A comparison submodule, used for comparing the parameter value of the preset event with the parameter value related to the preset event through a rule engine;

[0034] The determination submodule is used to determine that the parameter value of the preset event satisfies the preset rule when the parameter value of the preset event is compared and consistent with at least one parameter value of the parameter values ​​related to the preset event.

[0035] In one embodiment, when the parameter values ​​of the same preset event correspond to the same application, the device further includes:

[0036] The first sending module is used to send the preset event to a corresponding application when the parameter value of the preset event meets the preset rule.

[0037] In one embodiment, when different parameter values ​​of the same preset event correspond to different applications, the device further includes:

[0038] A determination module, configured to determine at least one application corresponding to the parameter value of the preset event when the parameter value of the preset event satisfies a preset rule;

[0039] The sending module is used to send the preset event to at least one application corresponding to its parameter value.

[0040] In one embodiment, when the preset event is a vehicle speed change event, the parameter value of the preset event is a vehicle speed value, and the determination module is used to:

[0041] When the vehicle speed is greater than a first preset vehicle speed, determining that at least one application corresponding to the parameter value of the preset event is an application for determining whether the vehicle is speeding;

[0042] When the vehicle speed is less than a second preset vehicle speed, it is determined that at least one application corresponding to the parameter value of the preset event is an application for assisting parking.

[0043] In one embodiment, the creation process of the rule engine is as follows:

[0044] The signal to be monitored is set according to the type of the preset event, and the signal value interval corresponding to the signal to be monitored is set according to the parameter value of the preset event corresponding to the effective startup of each application;

[0045] The signal to be monitored and the signal value interval corresponding to the signal to be monitored are registered in a signal service program to generate the rule engine.

[0046] In one embodiment, the creation process of the rule engine is as follows:

[0047] Obtaining a monitoring function in each application, wherein the monitoring function is used to determine whether to trigger a subsequent operation when each application receives the preset event;

[0048] The rule engine is constructed according to the monitoring functions in the various application programs.

[0049] The present application also provides an event processing system, comprising:

[0050] at least one processor; and,

[0051] a memory communicatively connected to the at least one processor; wherein,

[0052] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to implement the event processing method recorded in any of the above embodiments.

[0053] The present application also provides a computer-readable storage medium. When the instructions in the storage medium are executed by a processor corresponding to the event processing system, the event processing system can implement the event processing method recorded in any of the above embodiments.

[0054] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or be understood by practicing the present application. The purpose and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the written description, claims, and drawings.

[0055] The technical solution of the present application is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] The accompanying drawings are used to provide a further understanding of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the present application and do not constitute a limitation of the present application. In the accompanying drawings:

[0057] Figure 1 This is a flow chart of an event processing method in one embodiment of the present application;

[0058] Figure 2 This is a structural diagram of an event processing device in one embodiment of the present application;

[0059] Figure 3 The figure is a schematic diagram of the hardware structure of an event processing system in one embodiment of the present application. DETAILED DESCRIPTION

[0060] The preferred embodiments of the present application are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present application and are not used to limit the present application.

[0061] Figure 1 Flow chart of an event processing method in one embodiment of the present application, such as Figure 1 As shown, the method can be implemented as the following steps S101-S103:

[0062] In step S101, when a preset event is detected, a parameter value of the preset event is obtained, wherein the preset event corresponds to at least one application, and when the preset event is sent to the corresponding application, it can trigger the application to start and trigger the application to execute the corresponding code;

[0063] In step S102, the parameter value of the preset event is sent to a rule engine, so as to determine whether the parameter value of the preset event satisfies a preset rule through the rule engine, wherein the rule engine records the parameter value of the preset event corresponding to each effective startup of the application;

[0064] In step S103, when the parameter value of the preset event does not satisfy the preset rule, the preset event is deleted so that the preset event cannot be sent to the corresponding application.

[0065] The method provided in the present application can be executed by an event processing device of a vehicle system. When a preset event is detected, the preset event is filtered in advance before being sent to a corresponding application, and the preset events that do not meet the preset rules are deleted. There is no need to frequently start the corresponding application. The application then determines whether the corresponding business code needs to be executed, thereby saving system resources.

[0066] In the present application, when a preset event is detected, the parameter value of the preset event is obtained, wherein the preset event corresponds to at least one application, and when the preset event is sent to the corresponding application, it can trigger the application to start and trigger the application to execute the corresponding code. In the prior art, a preset event may trigger the start of multiple applications. For example, for a vehicle speed reminder application and an auxiliary parking application, the preset time that triggers the application to start is the change in vehicle speed. Therefore, it is necessary to monitor the vehicle speed and determine whether to trigger the application to execute the corresponding code according to different vehicle speed values ​​to achieve different functional reminders or perform different operations. Therefore, in the present application, when a preset event is detected, the parameter value of the preset time is obtained. For example, when the preset event is a change in vehicle gear, the corresponding parameter value is the current gear situation of the vehicle; when the preset time is a change in vehicle speed, the corresponding parameter value is the current vehicle speed value and acceleration, etc.

[0067] After obtaining the parameter value of the preset time, the parameter value of the preset event is sent to the rule engine to determine whether the parameter value of the preset event meets the preset rule through the rule engine, wherein the rule engine records the parameter value of the preset event corresponding to the effective startup of each application. In the present application, each application of the vehicle pre-registers a signal event, and stores the rules for triggering the startup of each application and the execution of the business code, that is, the parameter value of the preset event triggering the execution of different business codes of each application is pre-stored. Among them, the registration method can be a static registration method or a dynamic registration method, which is not limited in the present application. Therefore, when the parameter value of the preset event is sent to the rule engine, the rule engine can determine whether the current preset event parameter value meets the preset rule for the effective startup of each application, that is, whether the parameter value of the current preset event can trigger the application to start and execute the corresponding business code. Specifically, the parameter value of the preset event is compared with the parameter value related to the preset event by the rule engine. When the parameter value of the preset event is consistent with at least one of the parameter values ​​related to the preset event, it is determined that the parameter value of the preset event meets the preset rule. When the parameter value of the same preset event corresponds to the same application, the preset event is directly sent to the corresponding application when the parameter value of the preset event meets the preset rules. When different parameter values ​​of the same preset event correspond to different applications, for example, when the preset event is a vehicle speed change event, the corresponding application may be an application for detecting whether the vehicle has timed out, or an application for assisting parking, or an application for setting different locking states for the door, etc. Therefore, when the parameter value of the preset event meets the preset rules, it is necessary to determine the application corresponding to the parameter value of the preset event. In this embodiment, when the parameter values ​​of the preset event triggering the execution of different business codes of each application are stored in advance, the applications corresponding to the different parameter values ​​of the preset event are also stored. Therefore, when the parameter value of the preset event is compared with the parameter value related to the preset event through the rule engine, at least one application satisfied by the current preset parameter value can be determined at the same time, and the preset event is sent to at least one application corresponding to its parameter value.

[0068] In this application, in order to avoid wasting system resources, when the parameter value of the preset event does not meet the preset rules, the preset event is deleted so that the preset event cannot be sent to the corresponding application. There is no need to start the corresponding application again, and the application determines whether the corresponding business code needs to be executed.

[0069] The beneficial effects of the present application are: when a preset event is detected, the parameter value of the preset event is obtained, wherein the preset event corresponds to at least one application, and when the preset event is sent to the corresponding application, it can trigger the application to start and trigger the application to execute the corresponding code; then, the parameter value of the preset event is sent to the rule engine, so as to determine whether the parameter value of the preset event meets the preset rules through the rule engine, wherein the rule engine records the parameter values ​​of the preset events corresponding to the effective start of each application; when the parameter value of the preset event does not meet the preset rules, the preset event is deleted so that the preset event cannot be sent to the corresponding application. In addition, the waste of system resources caused by starting the application when the preset rules are not met is avoided, and system resources are saved.

[0070] In one embodiment, the above step S102 may be implemented as the following steps A1-A2:

[0071] In step A1, the parameter value of the preset event is compared with the parameter value related to the preset event through the rule engine;

[0072] In step A2, when the parameter value of the preset event is compared and consistent with at least one parameter value of the parameter values ​​related to the preset event, it is determined that the parameter value of the preset event satisfies the preset rule.

[0073] In this embodiment, the parameter value of the preset event is compared with the parameter value related to the preset event by the rule engine. Since each application of the vehicle pre-registers the signal event, the rules for triggering the startup of each application and the execution of the business code are stored, that is, the parameter values ​​of the execution of different business codes of each application triggered by the preset event are stored in advance. Therefore, the parameter value of the current preset event can be compared with the parameter value related to the preset event by the rule engine.

[0074] When the parameter value of the preset event is consistent with at least one of the parameter values ​​related to the preset event, it is determined that the parameter value of the preset event meets the preset rules. When the parameter value of the preset event meets the preset rules, the preset event is sent to the corresponding application. Specifically, when the parameter value of the same preset event corresponds to the same application, the preset event is directly sent to the corresponding application when the parameter value of the preset event meets the preset rules. When different parameter values ​​of the same preset event correspond to different applications, for example, when the preset event is a vehicle speed change event, the corresponding application may be an application for detecting whether the vehicle has timed out, it may also be an application for assisting parking, it may also be an application for setting different locking states for the door, etc. Therefore, when the parameter value of the preset event meets the preset rules, it is necessary to determine the application corresponding to the parameter value of the preset event. In this embodiment, when the parameter values ​​of the execution of different business codes of each application triggered by the preset event are stored in advance, the applications corresponding to the different parameter values ​​of the preset event are also stored. Therefore, when the parameter value of the preset event is compared with the parameter value related to the preset event through the rule engine, at least one application satisfied by the current preset parameter value can be determined at the same time, and the preset event can be sent to at least one application corresponding to its parameter value.

[0075] In one embodiment, when the parameter values ​​of the same preset event correspond to the same application, the method may also be implemented as the following step B1:

[0076] In step B1, when the parameter value of the preset event meets the preset rule, the preset event is sent to the corresponding application.

[0077] In one embodiment, when different parameter values ​​of the same preset event correspond to different applications, the method may also be implemented as the following steps C1-C2:

[0078] In step C1, when the parameter value of the preset event satisfies the preset rule, at least one application corresponding to the parameter value of the preset event is determined;

[0079] In step C2, the preset event is sent to at least one application corresponding to its parameter value.

[0080] In this embodiment, when different parameter values ​​of the same preset event correspond to different applications, for example, when the preset event is a vehicle speed change event, the corresponding application may be an application for detecting whether the vehicle has timed out, or an application for assisting parking, or an application for setting different locking states for the door, etc. Therefore, when the parameter value of the preset event meets the preset rule, it is necessary to determine the application corresponding to the parameter value of the preset event. In this embodiment, when the parameter values ​​of the preset event that triggers the execution of different business codes of each application are stored in advance, the applications corresponding to the different parameter values ​​of the preset event are also stored. Therefore, when the parameter value of the preset event is compared with the parameter value related to the preset event through the rule engine, at least one application satisfied by the current preset parameter value can be determined at the same time. The preset event is sent to at least one application corresponding to its parameter value.

[0081] In one embodiment, when the preset event is a vehicle speed change event, the parameter value of the preset event is the vehicle speed value, and the above step C1 can be implemented as the following steps C11-C12:

[0082] In step C11, when the vehicle speed is greater than a first preset vehicle speed, determining at least one application corresponding to the parameter value of the preset event as an application for determining whether the vehicle is speeding;

[0083] In step C12, when the vehicle speed is less than a second preset vehicle speed, it is determined that at least one application corresponding to the parameter value of the preset event is an application for assisting parking.

[0084] In this embodiment, when the preset event is a vehicle speed change event, after obtaining the current vehicle speed value, the rule engine can determine whether the preset rule is satisfied according to the vehicle speed value, and determine the corresponding application. Specifically, when the vehicle speed is greater than the first preset vehicle speed, at least one application corresponding to the parameter value of the preset event is determined to be an application for determining whether the vehicle is speeding; when the vehicle speed is less than the second preset vehicle speed, at least one application corresponding to the parameter value of the preset event is determined to be an application for assisting parking.

[0085] In one embodiment, the creation process of the rule engine can be implemented as follows:

[0086] In step D1, the signal to be monitored is set according to the type of the preset event, and the signal value interval corresponding to the signal to be monitored is set according to the parameter value of the preset event corresponding to the effective activation of each application;

[0087] In step D2, the signal to be monitored and the signal value interval corresponding to the signal to be monitored are registered in a signal service program to generate the rule engine.

[0088] In this embodiment, the signal to be monitored is set according to the type of preset event, and the signal value range corresponding to the signal to be monitored is set according to the parameter value of the preset event corresponding to the effective startup of each application. Specifically, the application sets the signal to be monitored according to the preset event type that triggers the startup of the application in a static manner through the manifest file; and sets the signal value range that the application effectively starts, such as the signal value greater than, equal to or less than a specific value, the event reporting cycle, and the AND or combination relationship of multiple rules; at the same time, it also sets the permissions required to monitor related signals, such as the status access permissions of doors and windows.

[0089] The signal to be monitored and the signal value interval corresponding to the signal to be monitored are registered in the signal service program to generate the rule engine. Specifically, in this embodiment, the package management program parses the manifest file from the installation package, applies to the user for the permission required to monitor the signal, and then registers the monitored signal and the rule to the signal service program to generate the rule engine.

[0090] In one embodiment, the creation process of the rule engine can also be implemented as the following steps E1-E2:

[0091] In step E1, a monitoring function in each application is obtained, and the monitoring function is used to determine whether to trigger a subsequent operation when each application receives the preset event;

[0092] In step E2, the rule engine is constructed according to the monitoring functions in the various application programs.

[0093] In order to ensure that the preset events can be monitored according to the latest situation when there are new preset event types or the parameter values ​​of the preset events change, this embodiment sets a way to dynamically create a rule engine. Obtain the monitoring function in each application, and the monitoring function is used to determine whether to trigger subsequent operations when each application receives the preset event. Specifically, after the application applies for the permission required to monitor the signal, during the operation, call the monitoring registration function to send a monitoring request to the signal service, as well as the interval of the expected triggered signal value. Build the rule engine according to the monitoring functions in each application. When the signal service program detects that the application has relevant permissions, it records the monitored signals and triggering rules, monitors related signals, and starts the application and triggers code execution when the set rules are met.

[0094] Figure 2 is a structural diagram of an event processing device in one embodiment of the present application, such as Figure 2 As shown, the device comprises:

[0095] The acquisition module 201 is used to acquire the parameter value of the preset event when a preset event is detected, wherein the preset event corresponds to at least one application, and when the preset event is sent to the corresponding application, it can trigger the application to start and trigger the application to execute the corresponding code;

[0096] A judgment module 202 is used to send the parameter value of the preset event to a rule engine, so as to judge whether the parameter value of the preset event satisfies a preset rule through the rule engine, wherein the rule engine records the parameter value of the preset event corresponding to each effective startup of the application;

[0097] The deleting module 203 is used to delete the preset event when the parameter value of the preset event does not meet the preset rule, so that the preset event cannot be sent to the corresponding application.

[0098] In one embodiment, the judgment module includes:

[0099] A comparison submodule, used for comparing the parameter value of the preset event with the parameter value related to the preset event through a rule engine;

[0100] The determination submodule is used to determine that the parameter value of the preset event satisfies the preset rule when the parameter value of the preset event is compared and consistent with at least one parameter value of the parameter values ​​related to the preset event.

[0101] In one embodiment, when the parameter values ​​of the same preset event correspond to the same application, the device further includes:

[0102] The first sending module is used to send the preset event to a corresponding application when the parameter value of the preset event meets the preset rule.

[0103] In one embodiment, when different parameter values ​​of the same preset event correspond to different applications, the device further includes:

[0104] A determination module, configured to determine at least one application corresponding to the parameter value of the preset event when the parameter value of the preset event satisfies a preset rule;

[0105] The sending module is used to send the preset event to at least one application corresponding to its parameter value.

[0106] In one embodiment, when the preset event is a vehicle speed change event, the parameter value of the preset event is a vehicle speed value, and the determination module is used to:

[0107] When the vehicle speed is greater than a first preset vehicle speed, determining that at least one application corresponding to the parameter value of the preset event is an application for determining whether the vehicle is speeding;

[0108] When the vehicle speed is less than a second preset vehicle speed, it is determined that at least one application corresponding to the parameter value of the preset event is an application for assisting parking.

[0109] In one embodiment, the creation process of the rule engine is as follows:

[0110] The signal to be monitored is set according to the type of the preset event, and the signal value interval corresponding to the signal to be monitored is set according to the parameter value of the preset event corresponding to the effective startup of each application;

[0111] The signal to be monitored and the signal value interval corresponding to the signal to be monitored are registered in a signal service program to generate the rule engine.

[0112] In one embodiment, the creation process of the rule engine is as follows:

[0113] Obtaining a monitoring function in each application, wherein the monitoring function is used to determine whether to trigger a subsequent operation when each application receives the preset event;

[0114] The rule engine is constructed according to the monitoring functions in the various application programs.

[0115] Figure 3 FIG. 1 is a schematic diagram of the hardware structure of an event processing system in an embodiment of the present application. Figure 3 As shown, the event processing system includes:

[0116] at least one processor 320; and,

[0117] A memory 304 in communication with the at least one processor 320; wherein,

[0118] The memory 304 stores instructions that can be executed by the at least one processor 320, and the instructions are executed by the at least one processor 320 to implement the event processing method recorded in any of the above embodiments.

[0119] Reference Figure 3 , the event processing system 300 may include one or more of the following components: a processing component 302, a memory 304, a power component 306, a multimedia component 308, an audio component 310, an input / output (I / O) interface 312, a sensor component 314, and a communication component 316.

[0120] The processing component 302 generally controls the overall operation of the event processing system 300. The processing component 302 may include one or more processors 320 to execute instructions to complete all or part of the steps of the above method. In addition, the processing component 302 may include one or more modules to facilitate the interaction between the processing component 302 and other components. For example, the processing component 302 may include a multimedia module to facilitate the interaction between the multimedia component 308 and the processing component 302.

[0121] The memory 304 is configured to store various types of data to support the operation of the event processing system 300. Examples of such data include instructions for any application or method operating on the event processing system 300, such as text, pictures, videos, etc. The memory 304 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0122] The power component 306 provides power to various components of the event handling system 300. The power component 306 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the vehicle control system 300.

[0123] The multimedia component 308 includes a screen that provides an output interface between the event processing system 300 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 308 may also include a front camera and / or a rear camera. When the event processing system 300 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.

[0124] The audio component 310 is configured to output and / or input audio signals. For example, the audio component 310 includes a microphone (MIC), and when the event processing system 300 is in an operation mode, such as an alarm mode, a recording mode, a voice recognition mode, and a voice output mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 304 or sent via the communication component 316. In some embodiments, the audio component 310 also includes a speaker for outputting audio signals.

[0125] I / O interface 312 provides an interface between processing component 302 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0126] The sensor assembly 314 includes one or more sensors for providing various aspects of status assessment for the event processing system 300. For example, the sensor assembly 314 may include a sound sensor. In addition, the sensor assembly 314 may detect the open / closed state of the event processing system 300, the relative positioning of the components, such as the display and keypad of the event processing system 300, and the sensor assembly 314 may also detect the operating state of the event processing system 300 or a component of the event processing system 300, such as the operating state of the wind distribution plate, the structural state, the operating state of the discharge scraper, etc., the orientation or acceleration / deceleration of the event processing system 300 and the temperature change of the event processing system 300. The sensor assembly 314 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 314 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 314 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, a material stacking thickness sensor or a temperature sensor.

[0127] The communication component 316 is configured to enable the event handling system 300 to provide the ability to communicate with other devices and cloud platforms in a wired or wireless manner. The event handling system 300 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 316 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 316 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0128] In an exemplary embodiment, the event processing system 300 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to execute the event processing methods described in any of the above embodiments.

[0129] The present application also provides a computer-readable storage medium. When the instructions in the storage medium are executed by a processor corresponding to the event processing system, the event processing system can implement the event processing method recorded in any of the above embodiments.

[0130] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) that contain computer-usable program code.

[0131] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0132] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0133] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0134] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. An event processing method, characterized in that: include: When a preset event is detected, a parameter value of the preset event is obtained, wherein the preset event corresponds to at least one application, and when the preset event is sent to the corresponding application, it can trigger the application to start and trigger the application to execute the corresponding code; Sending the parameter value of the preset event to a rule engine, so as to determine whether the parameter value of the preset event satisfies a preset rule through the rule engine, wherein the rule engine records the parameter value of the preset event corresponding to each effective startup of the application; When the parameter value of the preset event does not satisfy the preset rule, the preset event is deleted so that the preset event cannot be sent to the corresponding application.

2. The method according to claim 1, characterized in that The sending of the parameter value of the preset event to the rule engine so as to determine whether the parameter value of the preset event satisfies the preset rule through the rule engine includes: Comparing the parameter value of the preset event with the parameter value related to the preset event through a rule engine; When the parameter value of the preset event is compared and is consistent with at least one parameter value of the parameter values ​​related to the preset event, it is determined that the parameter value of the preset event satisfies the preset rule.

3. The method according to claim 1, characterized in that When the parameter values ​​of the same preset event correspond to the same application, the method further includes: When the parameter value of the preset event meets the preset rule, the preset event is sent to the corresponding application.

4. The method according to claim 1, characterized in that When different parameter values ​​of the same preset event correspond to different applications, the method further includes: When the parameter value of the preset event satisfies a preset rule, determining at least one application corresponding to the parameter value of the preset event; The preset event is sent to at least one application corresponding to the parameter value thereof.

5. The method according to claim 4, characterized in that When the preset event is a vehicle speed change event, the parameter value of the preset event is a vehicle speed value, and the determining of at least one application corresponding to the parameter value of the preset event includes: When the vehicle speed is greater than a first preset vehicle speed, determining that at least one application corresponding to the parameter value of the preset event is an application for determining whether the vehicle is speeding; When the vehicle speed is less than a second preset vehicle speed, it is determined that at least one application corresponding to the parameter value of the preset event is an application for assisting parking.

6. The method according to claim 1, characterized in that The creation process of the rule engine is as follows: The signal to be monitored is set according to the type of the preset event, and the signal value interval corresponding to the signal to be monitored is set according to the parameter value of the preset event corresponding to the effective startup of each application; The signal to be monitored and the signal value interval corresponding to the signal to be monitored are registered in a signal service program to generate the rule engine.

7. The method according to claim 1, characterized in that The creation process of the rule engine is as follows: Obtaining a monitoring function in each application, wherein the monitoring function is used to determine whether to trigger a subsequent operation when each application receives the preset event; The rule engine is constructed according to the monitoring functions in the various application programs.

8. An event processing device, characterized in that: include: An acquisition module, configured to acquire a parameter value of a preset event when a preset event is detected, wherein the preset event corresponds to at least one application, and when the preset event is sent to the corresponding application, it can trigger the application to start and trigger the application to execute the corresponding code; A judgment module, used for sending the parameter value of the preset event to a rule engine, so as to judge whether the parameter value of the preset event satisfies a preset rule through the rule engine, wherein the rule engine records the parameter value of the preset event corresponding to each effective startup of the application; The deleting module is used to delete the preset event when the parameter value of the preset event does not meet the preset rule, so that the preset event cannot be sent to the corresponding application.

9. An event processing system, characterized in that: include: at least one processor; as well as, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to implement the event processing method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: When the instructions in the storage medium are executed by a processor corresponding to the event processing system, the event processing system can implement the event processing method as described in any one of claims 1 to 7.