CN116450381B - Complex event processing method, electronic device, storage medium and vehicle - Google Patents

Complex event processing method, electronic device, storage medium and vehicle Download PDF

Info

Publication number
CN116450381B
CN116450381B CN202310709776.XA CN202310709776A CN116450381B CN 116450381 B CN116450381 B CN 116450381B CN 202310709776 A CN202310709776 A CN 202310709776A CN 116450381 B CN116450381 B CN 116450381B
Authority
CN
China
Prior art keywords
event
complex
combined
complex event
vehicle
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310709776.XA
Other languages
Chinese (zh)
Other versions
CN116450381A (en
Inventor
聂松洋
李明骏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Weilai Automobile Technology Anhui Co Ltd
Original Assignee
Weilai Automobile Technology Anhui Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Weilai Automobile Technology Anhui Co Ltd filed Critical Weilai Automobile Technology Anhui Co Ltd
Priority to CN202310709776.XA priority Critical patent/CN116450381B/en
Publication of CN116450381A publication Critical patent/CN116450381A/en
Application granted granted Critical
Publication of CN116450381B publication Critical patent/CN116450381B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event management; Broadcasting; Multicasting; Notifications
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N5/00Computing arrangements using knowledge-based models
    • G06N5/02Knowledge representation; Symbolic representation
    • G06N5/022Knowledge engineering; Knowledge acquisition
    • G06N5/025Extracting rules from data

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Artificial Intelligence (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Evolutionary Computation (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Traffic Control Systems (AREA)

Abstract

The application relates to the field of data processing, in particular to a complex event processing method, electronic equipment, a storage medium and a vehicle, and aims to solve the technical problem that the existing complex event processing method is low in processing efficiency. For this purpose, the complex event processing method of the present application comprises listening to the original perceived event; acquiring a complex event based on the original perceived event; matching the complex event with a preset rule in a rule base; and determining the processing result of the complex event according to the matching result. Therefore, the processing of any complex event can be realized based on the original perceived event, the development cost is reduced, and the processing efficiency of the complex event is improved.

Description

Complex event processing method, electronic device, storage medium and vehicle
Technical Field
The application relates to the field of data processing, and particularly provides a complex event processing method, electronic equipment, a storage medium and a vehicle.
Background
Currently, in the KnowMe Engine (KnowMe Engine), an important component is an Event (Event), all of which are triggered by the Event, and some of which are original perceived events in the cabin, such as the opening of the main driver door, the opening of the co-driver door, etc.
Complex event processing is the primary technique for extracting information. Complex event processing is a data processing technique based on a set of predefined rules that specify how a data stream should be processed and which new event streams should be generated as output. The event may be a number of independent or complex events of interest, which correspond to a particular situation or pattern of the business.
However, in the existing complex event processing method, a developer defines events for each logic based on a definition document of a product, and code development, performance test, product verification and the like are performed, so that the test flow is long and the cost is high, and the complex event processing efficiency is low.
Accordingly, there is a need in the art for a new solution to the above-mentioned problems.
Disclosure of Invention
The present application has been made to overcome the above-mentioned drawbacks, and to provide a solution or at least partially solve the above-mentioned technical problems. The application provides a complex event processing method, electronic equipment, a storage medium and a vehicle.
In a first aspect, the present application provides a complex event processing method, the method comprising: monitoring an original perception event; acquiring a complex event based on the original perceived event; matching the complex event with a preset rule in a rule base; and determining the processing result of the complex event according to the matching result.
In one embodiment, before the listening for the original perceived event, the method further comprises: acquiring a preset rule; storing the preset rules into a rule base; the preset rules at least comprise an event window, a start event, an end event, context information and perception judgment logic.
In one embodiment, the original perceived event includes a first original perceived event and a second original perceived event, and the complex event includes a first combined event and a second combined event; the acquiring the complex event based on the original perceived event comprises: filtering or combining the first original perceived event to obtain the first combined event; and filtering or combining the second original perceived event which continuously occurs in the event window to obtain a second combined event.
In one embodiment, the matching the complex event with a preset rule in a rule base includes: activating a non-deterministic state machine under the condition that the first combined event is obtained, obtaining a first state of the non-deterministic state machine, and matching a rule corresponding to the first combined event in the preset rules based on the first state; and under the condition that the second combined event is obtained, obtaining a second state of the non-deterministic state machine, and matching a rule corresponding to the second combined event in the preset rules based on the second state.
In one embodiment, the determining the processing result of the complex event according to the matching result includes: updating context information based on the rule corresponding to the first combined event and the rule corresponding to the second combined event; and obtaining a processing result of the complex event based on the updated context information and perception judgment logic in the rule base.
In one embodiment, the first combined event includes at least one of a primary driver door opening, a secondary driver door opening, a rear left side door opening, and a rear right side door opening; the second combined event includes at least one of a primary driver door closure, a secondary driver door closure, a rear left side door closure, and a rear right side door closure; the method further comprises the steps of: recording a first number of people in the vehicle if the first combination event is obtained; in the event that the second combination event is obtained, a second number of people in the vehicle is recorded.
In one embodiment, the determining the processing result of the complex event according to the matching result includes: updating context information based on the rule corresponding to the first combined event, the rule corresponding to the second combined event, and combining the number of people in the first vehicle and the number of people in the second vehicle; determining a difference in the number of people based on the updated context information; judging whether the number difference is larger than a preset threshold value or not; if yes, determining that the processing result of the complex event is that a single person gets on the vehicle; if not, determining that the processing result of the complex event is that a plurality of persons get on the vehicle.
In a second aspect, there is provided an electronic device comprising at least one processor and at least one storage means, the storage means being adapted to store a plurality of program code adapted to be loaded and executed by the processor to perform the complex event processing method of any preceding claim.
In a third aspect, there is provided a computer readable storage medium having stored therein a plurality of program codes adapted to be loaded and executed by a processor to perform the complex event processing method of any of the preceding claims.
In a fourth aspect, there is provided a vehicle comprising a vehicle body, at least one processor and at least one storage device, wherein the storage device is adapted to store a plurality of program code, characterized in that the program code is adapted to be loaded and executed by the processor to perform the complex event processing method of any of the preceding claims.
The technical scheme provided by the application has at least one or more of the following beneficial effects:
the complex event processing method comprises the steps of monitoring an original perception event; acquiring a complex event based on the original perceived event; matching the complex event with a preset rule in a rule base; and determining the processing result of the complex event according to the matching result. Therefore, the processing of any complex event can be realized based on the original perceived event, so that the event capability library of the system is expanded, the development cost is reduced, and the processing efficiency of the complex event is improved.
Drawings
The present disclosure will become more readily understood with reference to the accompanying drawings. As will be readily appreciated by those skilled in the art: the drawings are for illustrative purposes only and are not intended to limit the scope of the present application. Moreover, like numerals in the figures are used to designate like parts, wherein:
FIG. 1 is a flow diagram of the main steps of a complex event processing method according to one embodiment of the application;
FIG. 2 is a flow diagram of acquiring complex events based on original perceived events in one embodiment;
FIG. 3 is a flow diagram of matching complex events to preset rules in a rule base in one embodiment;
FIG. 4 is a flow diagram of a process for determining a complex event based on a matching result in one embodiment;
FIG. 5 is a complete flow diagram of complex event processing in one embodiment;
fig. 6 is a schematic diagram of the structure of an electronic device in one embodiment.
Detailed Description
Some embodiments of the application are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are merely for explaining the technical principles of the present application, and are not intended to limit the scope of the present application.
In the description of the present application, a "module," "processor" may include hardware, software, or a combination of both. A module may comprise hardware circuitry, various suitable sensors, communication ports, memory, or software components, such as program code, or a combination of software and hardware. The processor may be a central processor, a microprocessor, an image processor, a digital signal processor, or any other suitable processor. The processor has data and/or signal processing functions. The processor may be implemented in software, hardware, or a combination of both. Non-transitory computer readable storage media include any suitable medium that can store program code, such as magnetic disks, hard disks, optical disks, flash memory, read-only memory, random access memory, and the like. The term "a and/or B" means all possible combinations of a and B, such as a alone, B alone or a and B. The term "at least one A or B" or "at least one of A and B" has a meaning similar to "A and/or B" and may include A alone, B alone or A and B. The singular forms "a", "an" and "the" include plural referents.
At present, the traditional complex event processing method is characterized in that a developer carries out code development, performance test, product verification and the like on each logic definition event based on a definition document of a product, the test flow is long, the cost is high, and the complex event processing efficiency is low.
Therefore, the application provides a complex event processing method, electronic equipment, a storage medium and a vehicle, which comprise the steps of monitoring an original perception event; acquiring a complex event based on the original perceived event; matching the complex event with a preset rule in a rule base; and determining the processing result of the complex event according to the matching result. Therefore, the processing of any complex event can be realized based on the original perceived event, so that the event capability library of the system is expanded, the development cost is reduced, and the processing efficiency of the complex event is improved.
Referring to fig. 1, fig. 1 is a schematic flow chart of main steps of a complex event processing method according to an embodiment of the present application.
As shown in fig. 1, the complex event processing method in the embodiment of the present application mainly includes the following steps S100 to S400.
Step S100: and monitoring the original perception event.
Step S200: and acquiring a complex event based on the original perceived event.
Step S300: and matching the complex event with a preset rule in a rule base.
Step S400: and determining the processing result of the complex event according to the matching result.
Based on the above step S100-step S400, including listening for an original perception event; acquiring a complex event based on the original perceived event; matching the complex event with a preset rule in a rule base; and determining the processing result of the complex event according to the matching result. Therefore, the processing of any complex event can be realized based on the original perceived event, so that the event capability library of the system is expanded, the development cost is reduced, and the processing efficiency of the complex event is improved.
In a specific embodiment, before said listening for the original perceived event, the method further comprises: acquiring a preset rule; storing the preset rules into a rule base; the preset rules at least comprise an event window, a start event, an end event, context information and perception judgment logic.
Specifically, the vehicle may include an understand-me engine module, in which an event engine is built, and when the vehicle is started, a preset rule is registered in the event engine, where the preset rule is described as follows, an event window (span) is defined as 60s first, which indicates that the longest duration of the event is 60s; then define the start event (begin), intermediate event (middle event may not), end event (end) and event triggered logic of the combined event. It is required to execute the sequence of the start event, the intermediate event and the end event. The above procedure can successfully implement the construction of complex events, and then defines how to throw out the events, in this step, firstly, define the context variables (context information) to be calculated and store them, and finally, define the throw-out event (emits), which is the process of obtaining the processing result of the complex event, wherein each throw-out event needs to have a perception (period) judgment logic, and only after the perception judgment logic judges that the perception judgment logic passes, the real throw-out event can be obtained.
The number of persons in the vehicle may be taken as an example of the context information, but is not limited thereto.
The following rules may be taken as an example of the preset rules, but are not limited thereto.
1 span: 60s
2 begin:
3 event: open_door
4 context: start_number = context.getPersonNumber()
5 end:
6 event: close_all_door
7 context: end_number = context.getPersonNumber()
8 process:
9 context: diff_number = end_number - start_number
10 emits:
11 - perception: diff_number == 1
12 event: single_person_boarding
13 - perception: diff_number > 1
14 event: multi_person_boarding
The preset rules are loaded into the rule base in advance, so that basic support is provided for rapid and efficient processing of each subsequent complex event.
The following further describes the steps S100 to S400.
The original perceived event is an atomic event that is generated from the cockpit system that is not processed and that cannot be decomposed.
For step S100, the original perceived event in the cabin may be perceived by the original event perception module. In one specific embodiment, at least one of a main driver door opening, a co-driver door opening, a rear left side door opening, a rear right side door opening, a main driver door closing, a co-driver door closing, a rear left side door closing, a rear right side door closing may be used as an example of the primary perception event, but is not limited thereto.
The above is a further explanation of step S100, and the following further explanation of step S200 is continued.
The primary sense events include a first primary sense event and a second primary sense event, the first primary sense event and the second primary sense event being of different types.
The complex event is an event describing a series of events occurring according to a pre-written preset rule, and the complex event includes a first combined event and a second combined event.
As shown in fig. 2, the above step S200 may be implemented by the following steps S201 to S202.
Step S201: and filtering or combining the first original perceived event to obtain the first combined event.
Specifically, the first combined event can be obtained by filtering or combining one or more first original events. For example, the first primitive event may include any one of a primary driver door opening, a secondary driver door opening, a rear left side door opening, and a rear right side door opening, and the combination of these primitive events constitutes a first combined event. Other invalid events during vehicle door opening may also be filtered.
Step S202: and filtering or combining the second original perceived event which continuously occurs in the event window to obtain a second combined event.
And combining or filtering the second original event which continuously occurs and is different from the first original event type in an event window set by a preset rule, so as to obtain a second combined event. For example, the second primitive event may include any one of a primary driver door closing, a secondary driver door closing, a rear left side door closing, and a rear right side door closing, and the combination of these primitive events constitutes a second combined event. Other invalid events during the closing process may also be filtered.
The above is a further explanation of step S200, and the following further explanation of step S300 is continued.
As shown in fig. 3, the above step S300 may be implemented by the following steps S301 to S302.
Step S301: and activating a non-deterministic state machine under the condition that the first combined event is obtained, obtaining a first state of the non-deterministic state machine, and matching a rule corresponding to the first combined event in the preset rules based on the first state.
The non-deterministic state machine (Nondeterministic Finite Automata, NFA) refers to a finite state automaton that can have multiple possible next states for each state and input symbol pair. In addition, the NFA may be configured to implement rule matching logic configured for a complex event processing rule, and the implementation procedure may specifically be: for rule matching logic configured for a complex event processing rule, the rule matching logic may be parsed and compiled to obtain a series of state vertices and edges for state transitions between the vertices, such that the vertices and edges may be used to construct NFAs corresponding to the complex event processing rule.
Specifically, in the case of obtaining the first combination event, the non-deterministic state machine NFA is activated, the first state of the non-deterministic state machine is set to be started, and the rule corresponding to the first combination event in the preset rules is matched based on the first state.
For example, regarding the door opening event as the first combination event, the rule corresponding to the first combination event matched to the preset rule may be a rule for obtaining the number of people in the vehicle after the door is opened.
Step S302: and under the condition that the second combined event is obtained, obtaining a second state of the non-deterministic state machine, and matching a rule corresponding to the second combined event in the preset rules based on the second state.
Specifically, in the case of obtaining the second combination event, the second state of the non-deterministic state machine is set to end, and a rule corresponding to the second combination event in the preset rules is matched based on the second state.
For example, regarding the door closing event as the second combination event, the rule corresponding to the second combination event matched to the preset rule may be a rule for acquiring the number of people in the vehicle after the door is closed.
The above is a further explanation of step S300, and the following further explanation of step S400 is continued.
In one embodiment, the first combined event includes at least one of a primary driver door opening, a secondary driver door opening, a rear left side door opening, and a rear right side door opening; the second combined event includes at least one of a primary driver door closure, a secondary driver door closure, a rear left side door closure, and a rear right side door closure; the method further comprises the steps of: recording a first number of people in the vehicle if the first combination event is obtained; in the event that the second combination event is obtained, a second number of people in the vehicle is recorded.
Specifically, the current number of occupants (first occupant) is recorded after the door opening event occurs, and the current number of occupants (second occupant) is recorded after the door closing event occurs.
As shown in fig. 4, the above step S400 may be implemented by the following steps S401 to S402.
Step S401: and updating the context information based on the rule corresponding to the first combined event and the rule corresponding to the second combined event.
Specifically, the context information is updated according to the rule corresponding to the first combined event and the rule corresponding to the second combined event in combination with the actual acquired data.
Step S402: and obtaining a processing result of the complex event based on the updated context information and perception judgment logic in the rule base.
Specifically, the following embodiment may be taken as a specific example of the above-described step S400, but is not limited thereto.
In one embodiment, the determining the processing result of the complex event according to the matching result includes: updating context information based on the rule corresponding to the first combined event, the rule corresponding to the second combined event, and combining the number of people in the first vehicle and the number of people in the second vehicle; determining a difference in the number of people based on the updated context information; judging whether the number difference is larger than a preset threshold value or not; if yes, determining that the processing result of the complex event is that a single person gets on the vehicle; if not, determining that the processing result of the complex event is that a plurality of persons get on the vehicle.
Specifically, context variables are updated according to the recorded or collected first in-car number and second in-car number, the rule corresponding to the first combination event and the rule corresponding to the second combination event, for example, the first in-car number is assigned to the starting number, the second in-car number is assigned to the ending number, the difference of numbers is calculated according to the starting number and the ending number, the difference of numbers is judged to be equal to 1 or more than 1 by combining with the perception judgment logic in the rule base, if the difference of numbers is equal to 1, the person is determined to get on the car, and if the difference of numbers is more than 1, the person is determined to be multiple persons to get on the car.
An event engine is built in the understand-me engine module, a preset rule (combined event list rule) is registered in the event engine when the start is started, and an event window (span), a start event (begin), an intermediate event (middle), an end event (end), a perception (period) judgment logic, an emission event (emitvent) and the like are defined in the event rule. Each combined event rule constructs a non-deterministic state machine (NFA), when a start event occurs, it triggers a NFA of the rule and sets to an initial state, if an intermediate event continues to occur, the current NFA queries whether there is an edge corresponding to the current intermediate event and enters the next state along the one edge, if an end event occurs within the current window duration, the NFA enters the end state and informs the event engine that an event match occurs currently, at this time, it enters the perception judgment logic, different perception judgments may emit different combined events, and the subsequent i/m engine performs the triggering of i/m stories based on the combined events.
In a specific embodiment, as shown in fig. 5, after the door opening event occurs, the original door is first determined and mapped to a door opening event (open_door), and the number of people in the vehicle is recorded (the number of people started), at this time, the NFA is activated, the NFA status is set to start, and the rule of the start (start) is matched in the current NFA.
Within the event window (60 s), if a single door closing event continues to occur, this event is mapped to a full door closing event (close_all_door) at which time the rules for ending (end) will be matched in the current NFA, at which time the current number of in-vehicle people (end number) is recorded.
After the current NFA is matched with the rule, entering a process, updating context variables in the rule, and calculating the difference between the number of the end people and the number of the beginning people.
Finally, event transmitting logic is entered, and according to different perceptions (permission) judging logic, if the event is judged to be more, a specified event is thrown, for example, a single person gets on or multiple persons get on.
It should be noted that, although the foregoing embodiments describe the steps in a specific order, it will be understood by those skilled in the art that, in order to achieve the effects of the present application, the steps are not necessarily performed in such an order, and may be performed simultaneously (in parallel) or in other orders, and these variations are within the scope of the present application.
It will be appreciated by those skilled in the art that the present application may implement all or part of the above-described methods according to the above-described embodiments, or may be implemented by means of a computer program for instructing relevant hardware, where the computer program may be stored in a computer readable storage medium, and where the computer program may implement the steps of the above-described embodiments of the method when executed by a processor. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable storage medium may include: any entity or device, medium, usb disk, removable hard disk, magnetic disk, optical disk, computer memory, read-only memory, random access memory, electrical carrier wave signals, telecommunications signals, software distribution media, and the like capable of carrying the computer program code. It should be noted that the computer readable storage medium may include content that is subject to appropriate increases and decreases as required by jurisdictions and by jurisdictions in which such computer readable storage medium does not include electrical carrier signals and telecommunications signals.
The application further provides electronic equipment. In one embodiment of an electronic device according to the present application, as shown in fig. 6, the electronic device includes at least one processor 61 and at least one storage 62, the storage 62 may be configured to store a program for executing the complex event processing method of the above-described method embodiment, and the processor 61 may be configured to execute the program in the storage, including, but not limited to, the program for executing the complex event processing method of the above-described method embodiment. For convenience of explanation, only those portions of the embodiments of the present application that are relevant to the embodiments of the present application are shown, and specific technical details are not disclosed, please refer to the method portions of the embodiments of the present application.
The electronic device in the embodiment of the application can be a control device formed by various devices. In some possible implementations, the electronic device may include multiple storage devices and multiple processors. The program for executing the complex event processing method of the above method embodiment may be divided into a plurality of sub-programs, and each sub-program may be loaded and executed by the processor to execute different steps of the complex event processing method of the above method embodiment. Specifically, each of the subroutines may be stored in different storage devices, respectively, and each of the processors may be configured to execute the programs in one or more storage devices to collectively implement the complex event processing method of the above method embodiment, that is, each of the processors executes different steps of the complex event processing method of the above method embodiment, respectively, to collectively implement the complex event processing method of the above method embodiment.
The plurality of processors may be processors disposed on the same device, for example, the electronic device may be a high-performance device composed of a plurality of processors, and the plurality of processors may be processors configured on the high-performance device. In addition, the plurality of processors may be processors disposed on different devices, for example, the electronic device may be a server cluster, and the plurality of processors may be processors on different servers in the server cluster.
Further, the application also provides a computer readable storage medium. In one embodiment of a computer-readable storage medium according to the present application, the computer-readable storage medium may be configured to store a program for executing the complex event processing method of the above-described method embodiment, which may be loaded and executed by a processor to implement the complex event processing method described above. For convenience of explanation, only those portions of the embodiments of the present application that are relevant to the embodiments of the present application are shown, and specific technical details are not disclosed, please refer to the method portions of the embodiments of the present application. The computer readable storage medium may be a storage device including various electronic devices, and optionally, the computer readable storage medium in the embodiments of the present application is a non-transitory computer readable storage medium.
Further, the present application also provides a vehicle comprising a vehicle body, at least one processor and at least one storage device, wherein the storage device is adapted to store a plurality of program codes adapted to be loaded and executed by the processor to perform the complex event processing method of the previous embodiments.
Thus far, the technical solution of the present application has been described in connection with the preferred embodiments shown in the drawings, but it is easily understood by those skilled in the art that the scope of protection of the present application is not limited to these specific embodiments. Equivalent modifications and substitutions for related technical features may be made by those skilled in the art without departing from the principles of the present application, and such modifications and substitutions will fall within the scope of the present application.

Claims (9)

1. A method of complex event processing, the method comprising:
monitoring original perception events, wherein the original perception events comprise a first original perception event and a second original perception event;
acquiring complex events based on the original perceived events, wherein the complex events comprise a first combined event and a second combined event;
matching the complex event with a preset rule in a rule base, including:
activating a non-deterministic state machine under the condition that the first combined event is obtained, obtaining a first state of the non-deterministic state machine, and matching a rule corresponding to the first combined event in the preset rules based on the first state;
under the condition that the second combined event is obtained, a second state of the non-deterministic state machine is obtained, and a rule corresponding to the second combined event in the preset rules is matched based on the second state;
and determining the processing result of the complex event according to the matching result.
2. The complex event processing method of claim 1, wherein prior to said listening for an original perceived event, the method further comprises:
acquiring a preset rule;
storing the preset rules into a rule base;
the preset rules at least comprise an event window, a start event, an end event, context information and perception judgment logic.
3. The method of claim 1, wherein the acquiring the complex event based on the original perceived event comprises:
filtering or combining the first original perceived event to obtain the first combined event;
and filtering or combining the second original perceived event which continuously occurs in an event window to obtain the second combined event.
4. The complex event processing method according to claim 1, wherein the determining the processing result of the complex event according to the matching result comprises:
updating context information based on the rule corresponding to the first combined event and the rule corresponding to the second combined event;
and obtaining a processing result of the complex event based on the updated context information and perception judgment logic in the rule base.
5. The complex event processing method of claim 1, wherein the first combined event comprises at least one of a primary driver door opening, a secondary driver door opening, a rear left side door opening, and a rear right side door opening; the second combined event includes at least one of a primary driver door closure, a secondary driver door closure, a rear left side door closure, and a rear right side door closure;
the method further comprises the steps of:
recording a first number of people in the vehicle if the first combination event is obtained;
in the event that the second combination event is obtained, a second number of people in the vehicle is recorded.
6. The complex event processing method as set forth in claim 5, wherein said determining a processing result of the complex event based on the matching result comprises:
updating context information based on the rule corresponding to the first combined event, the rule corresponding to the second combined event, and combining the number of people in the first vehicle and the number of people in the second vehicle;
determining a difference in the number of people based on the updated context information;
judging whether the number difference is larger than a preset threshold value or not;
if yes, determining that the processing result of the complex event is that a single person gets on the vehicle;
if not, determining that the processing result of the complex event is that a plurality of persons get on the vehicle.
7. An electronic device comprising at least one processor and at least one storage means, said storage means being adapted to store a plurality of program code, characterized in that said program code is adapted to be loaded and executed by said processor to perform the complex event handling method of any of claims 1 to 6.
8. A computer readable storage medium having stored therein a plurality of program codes, characterized in that the program codes are adapted to be loaded and executed by a processor to perform the complex event processing method of any one of claims 1 to 6.
9. A vehicle comprising a vehicle body, at least one processor and at least one memory device, wherein the memory device is adapted to store a plurality of program codes, characterized in that the program codes are adapted to be loaded and executed by the processor to perform the complex event processing method of any of claims 1 to 6.
CN202310709776.XA 2023-06-15 2023-06-15 Complex event processing method, electronic device, storage medium and vehicle Active CN116450381B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310709776.XA CN116450381B (en) 2023-06-15 2023-06-15 Complex event processing method, electronic device, storage medium and vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310709776.XA CN116450381B (en) 2023-06-15 2023-06-15 Complex event processing method, electronic device, storage medium and vehicle

Publications (2)

Publication Number Publication Date
CN116450381A CN116450381A (en) 2023-07-18
CN116450381B true CN116450381B (en) 2023-09-08

Family

ID=87122286

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310709776.XA Active CN116450381B (en) 2023-06-15 2023-06-15 Complex event processing method, electronic device, storage medium and vehicle

Country Status (1)

Country Link
CN (1) CN116450381B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012118928A (en) * 2010-12-03 2012-06-21 Nec Corp Event processing apparatus, event processing method, and event processing program
CN110466509A (en) * 2019-08-23 2019-11-19 威马智慧出行科技(上海)有限公司 Automatic parking mode selecting method, electronic equipment and automobile
CN112026686A (en) * 2019-06-04 2020-12-04 上海汽车集团股份有限公司 Method and device for automatically adjusting position of vehicle seat
CN112668843A (en) * 2020-12-16 2021-04-16 中国汽车技术研究中心有限公司 Vehicle insurance claim settlement risk control method and system, electronic equipment and medium
CN113665440A (en) * 2021-08-31 2021-11-19 东风汽车集团股份有限公司 Self-adaptive riding space adjusting system and method
CN113835570A (en) * 2021-09-16 2021-12-24 阿波罗智联(北京)科技有限公司 Method, device, apparatus, storage medium, and program for controlling display screen in vehicle
CN115544120A (en) * 2022-10-20 2022-12-30 重庆长安汽车股份有限公司 Multi-sensor event generation system, method, electronic device and storage medium
CN115909564A (en) * 2022-12-23 2023-04-04 北京百度网讯科技有限公司 Control method, system and device for automatic driving vehicle and electronic equipment

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8646025B2 (en) * 2005-12-21 2014-02-04 Mcafee, Inc. Automated local exception rule generation system, method and computer program product
CA2754159C (en) * 2009-08-11 2012-05-15 Certusview Technologies, Llc Systems and methods for complex event processing of vehicle-related information
US9286354B2 (en) * 2011-08-15 2016-03-15 Software Ag Systems and/or methods for forecasting future behavior of event streams in complex event processing (CEP) environments
US9135826B2 (en) * 2012-12-26 2015-09-15 Sap Se Complex event processing for moving objects
US10095978B2 (en) * 2013-01-05 2018-10-09 Microsoft Technology Licensing, Llc Monitor-mine-manage cycle
US10467824B2 (en) * 2016-04-26 2019-11-05 Walter Steven Rosenbaum Method for determining driving characteristics of a vehicle and vehicle analyzing system
CN113240909B (en) * 2021-06-17 2022-11-29 阿波罗智联(北京)科技有限公司 Vehicle monitoring method, equipment, cloud control platform and vehicle road cooperative system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012118928A (en) * 2010-12-03 2012-06-21 Nec Corp Event processing apparatus, event processing method, and event processing program
CN112026686A (en) * 2019-06-04 2020-12-04 上海汽车集团股份有限公司 Method and device for automatically adjusting position of vehicle seat
CN110466509A (en) * 2019-08-23 2019-11-19 威马智慧出行科技(上海)有限公司 Automatic parking mode selecting method, electronic equipment and automobile
CN112668843A (en) * 2020-12-16 2021-04-16 中国汽车技术研究中心有限公司 Vehicle insurance claim settlement risk control method and system, electronic equipment and medium
CN113665440A (en) * 2021-08-31 2021-11-19 东风汽车集团股份有限公司 Self-adaptive riding space adjusting system and method
CN113835570A (en) * 2021-09-16 2021-12-24 阿波罗智联(北京)科技有限公司 Method, device, apparatus, storage medium, and program for controlling display screen in vehicle
CN115544120A (en) * 2022-10-20 2022-12-30 重庆长安汽车股份有限公司 Multi-sensor event generation system, method, electronic device and storage medium
CN115909564A (en) * 2022-12-23 2023-04-04 北京百度网讯科技有限公司 Control method, system and device for automatic driving vehicle and electronic equipment

Also Published As

Publication number Publication date
CN116450381A (en) 2023-07-18

Similar Documents

Publication Publication Date Title
CN106170826B (en) The monitoring method and system of cab-getter's number
CN113111501B (en) Functional safety and expected functional safety fusion analysis method
CN109829327A (en) Sensitive information processing method, device, electronic equipment and storage medium
DE112008003075T5 (en) Systems and methods for updating device software
CN114170585B (en) Dangerous driving behavior recognition method and device, electronic equipment and storage medium
EP2829934A2 (en) Methods and apparatus for the creation and use of reusable fault model components
CN114373189A (en) Behavior detection method and apparatus, terminal device and storage medium
CN111723458A (en) Automatic generation method for simulation test scene of automatic driving decision planning system
CN107918392B (en) Method for personalized driving of automatic driving vehicle and obtaining driving license
Stachowski et al. An assessment method for automotive intrusion detection system performance
CN116450381B (en) Complex event processing method, electronic device, storage medium and vehicle
CN106080444A (en) Vehicle Safety Power Management
US9773360B2 (en) Apparatus for processing a plurality of logging policies and method thereof
CN111967720B (en) Scheduling method and system for network taxi taking
Van Eikema Hommes Applying system theoretical hazard analysis method to complex automotive cyber physical systems
CN111145380A (en) Reported data processing method and device adaptive to vehicle-mounted equipment and electronic equipment
CN116707875A (en) Vehicle abnormity monitoring method, device and storage medium
CN114942860A (en) Method, device, equipment and storage medium for constructing fault detection model of vehicle instrument
CN113705961B (en) Risk level assessment decomposition method and device based on vehicle power assembly function
Attenberger Data sources for information extraction in automotive forensics
CN111612374A (en) Article loss prevention method and system, electronic device and computer readable storage medium
EP0331551A2 (en) Programmable logic controller using a structured programming language
CN112578794B (en) AGV fault detection method, storage medium and system based on machine learning
WO2024065093A1 (en) Intrusion detection method, apparatus and system
CN113344337B (en) Modeling and analysis method of high-speed ETC system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant