CN115544120A - Multi-sensor event generation system, method, electronic device and storage medium - Google Patents
Multi-sensor event generation system, method, electronic device and storage medium Download PDFInfo
- Publication number
- CN115544120A CN115544120A CN202211288264.2A CN202211288264A CN115544120A CN 115544120 A CN115544120 A CN 115544120A CN 202211288264 A CN202211288264 A CN 202211288264A CN 115544120 A CN115544120 A CN 115544120A
- Authority
- CN
- China
- Prior art keywords
- rule
- event
- sensors
- sensor
- component
- 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.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2458—Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
- G06F16/2474—Sequence data queries, e.g. querying versioned data
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2455—Query execution
- G06F16/24564—Applying rules; Deductive queries
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2458—Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
- G06F16/2477—Temporal data queries
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/542—Event management; Broadcasting; Multicasting; Notifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/546—Message passing systems or structures, e.g. queues
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2209/00—Indexing scheme relating to G06F9/00
- G06F2209/54—Indexing scheme relating to G06F9/54
- G06F2209/547—Messaging middleware
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Computational Linguistics (AREA)
- Fuzzy Systems (AREA)
- Mathematical Physics (AREA)
- Probability & Statistics with Applications (AREA)
- Computing Systems (AREA)
- Multimedia (AREA)
- Testing Or Calibration Of Command Recording Devices (AREA)
Abstract
The application relates to a multi-sensor event generation system, a multi-sensor event generation method, an electronic device and a storage medium, wherein the system comprises: a data acquisition component for acquiring sensor data of a plurality of sensors on a vehicle; the data synchronization component is used for storing the sensors of the sensors to a time sequence database according to a time sequence and synchronizing the sensor data of the sensors according to the time stamps; the rule management component is used for storing an event trigger rule set by a user in advance in the rule database; the event trigger detection component is used for monitoring the sensor data of the sensors, carrying out rule matching on the sensor data of each sensor and the trigger rule of the current event respectively and generating event trigger information; and the event generation component is used for generating events according to the data of other sensors synchronized by the matching successful sensor data time stamps. Therefore, the problems that the generation of complex events cannot be dynamically updated, the flexibility and the expansibility are lacked and the like in the related technology are solved.
Description
Technical Field
The present application relates to the field of object detection technologies, and in particular, to a multi-sensor event generation system, a multi-sensor event generation method, an electronic device, and a storage medium.
Background
With the rapid development of social science and technology, the modern day has entered the big data age. Data from many fields of education, medical treatment, transportation, telecommunication and the like are continuously transmitted and stored in a network every day. Information data automation equipment represented by sensor equipment and intelligent terminal equipment can sense, map and monitor the real world more accurately. In order to fully mine the information behind the data generated by these devices, a system is required to concatenate this information to enable intelligent identification, location, monitoring management and tracking of these devices.
In the related technology, for multi-sensor data synchronization, algorithms such as time difference are often adopted for synchronization; for complex event generation, most system complex event rules are coupled in the system.
However, in the related art, algorithms such as time difference are adopted to perform multi-sensor synchronization, which occupies more computing resources, and complex event rules are coupled in the system or cause that the system cannot be dynamically updated, which is a disadvantage of lack of flexibility and expansibility.
Disclosure of Invention
The application provides a multi-sensor event generation system, a multi-sensor event generation method, electronic equipment and a storage medium, so that the problems that complex events cannot be dynamically updated and lack flexibility and expansibility in the related art are solved, computing resources are saved, the range of sensor data which can be adopted when one complex event is defined is widened, and the flexibility and expansibility of the definition of the complex events are improved.
An embodiment of a first aspect of the present application provides a multi-sensor event generation system, including: a data acquisition component for acquiring sensor data of a plurality of sensors on a vehicle; the data synchronization component is internally provided with a time sequence database and is used for storing the sensors of the sensors to the time sequence database according to a time sequence and synchronizing the sensor data of the sensors according to the time stamps; the rule management component is internally provided with a rule database and is used for pre-storing event trigger rules set by a user; the event trigger detection component is used for reading the trigger rule of the current event from the rule management component while monitoring the sensor data of the sensors, respectively carrying out rule matching on the sensor data of each sensor and the trigger rule of the current event, and generating event trigger information based on the sensor data successfully matched; and the event generation component is used for generating events according to the event trigger information and the data of other sensors synchronized with the sensor data timestamps successfully matched in the data synchronization component.
According to the technical means, the problems that complex events cannot be dynamically updated and are lack of flexibility and expansibility when generated in the related technology are solved, computing resources are saved, the range of sensor data capable of being adopted during definition of the complex events is widened, and the flexibility and expansibility of definition of the complex events are improved.
Optionally, in some embodiments, the event trigger detecting component includes: a first middleware for storing sensor data of a plurality of sensors on the vehicle collected by the data collection component; the first real-time computing unit is used for reading the trigger rule of the current event from the rule management component while monitoring the sensor data of the sensors, respectively carrying out rule matching on the sensor data of each sensor and the trigger rule of the current event, and sending the event trigger information generated based on the sensor data successfully matched to the event generation component. According to the technical means, the flexibility and the expansibility of the complex event definition can be improved through the rule database.
Optionally, in some embodiments, the event generating component includes: the second middleware is used for storing the event trigger information sent by the first real-time computing unit; and the second real-time computing unit is used for reading data of other sensors synchronized with the matched sensor data time stamps from the data synchronization component and combining the data of the other sensors and the event trigger information to generate the event.
According to the technical means, the flexibility and the expansibility of the complex event definition can be improved through the rule database.
Optionally, in some embodiments, the rule management component is further configured to: receiving a rule operation instruction sent by a user, wherein the operation instruction comprises a new rule instruction, an update rule instruction and a delete rule instruction; and executing corresponding operation on the rule database according to the new rule instruction, the update rule instruction or the delete rule instruction.
According to the technical means, the method and the system can provide a communication channel for the system component, and can better abstract the complex events reflected in a large amount of sensor information for real-time monitoring.
In a second aspect of the present application, an embodiment provides a multi-sensor event generating method, which employs the multi-sensor event generating system as described above, and the method includes the following steps: collecting sensor data for a plurality of sensors on a vehicle; storing sensors of the plurality of sensors into the time sequence database according to a time sequence, and synchronizing sensor data of the plurality of sensors according to a time stamp; event trigger rules set by a user are stored in advance through the rule database; and reading the trigger rule of the current event from the rule management component while monitoring the sensor data of the plurality of sensors, respectively carrying out rule matching on the sensor data of each sensor and the trigger rule of the current event, and generating event trigger information based on the sensor data successfully matched.
Optionally, in some embodiments, in the event generating method for multiple sensors described above, the first middleware in the event trigger detecting component stores the sensor data of multiple sensors on the vehicle collected by the data collecting component; and when monitoring the sensor data of the plurality of sensors through the first real-time computing unit in the event trigger detection assembly, reading the trigger rule of the current event from the rule management assembly, respectively performing rule matching on the sensor data of each sensor and the trigger rule of the current event, and sending the event trigger information generated based on the successfully matched sensor data to the event generation assembly.
Optionally, in some embodiments, the event generating method of the multiple sensors further includes: further comprising: storing, by the second middleware in the event generation component, the event trigger information sent by the first real-time computing unit; reading data of other sensors synchronized with the matching successful sensor data time stamp from the data synchronization component through the second real-time computing unit in the event generation component, and combining the data of the other sensors and the event trigger information to generate the event.
Optionally, in some embodiments, the event generating method of the multiple sensors further includes: before obtaining the current event trigger rule, the method further includes: receiving a rule operation instruction sent by the user, wherein the operation instruction comprises a new rule instruction, an update rule instruction and a delete rule instruction; and executing corresponding operation on the rule database according to the new rule instruction, the update rule instruction or the delete rule instruction.
An embodiment of a third aspect of the present application provides a vehicle, comprising: a memory, a processor and a computer program stored on the memory and executable on the processor, the processor executing the program to implement the multi-sensor event generation method as described in the above embodiments.
A fourth aspect of the present application provides a computer-readable storage medium, on which a computer program is stored, the program being executed by a processor for implementing the multi-sensor event generation system according to the above embodiments.
Therefore, the event generating system with the multiple sensors comprises a data acquisition component, a data synchronization component, an event trigger detection component, an event generating component and a rule management system. The data acquisition component is used for acquiring information and sending the information to the data synchronization component and the event trigger detection component; the data synchronization component is used for synchronizing information carried by the multiple sensors; the event trigger detection component monitors key sensor signals, monitors the triggering of events by means of a rule engine, and sends the information triggered by the events to a complex event generation system; the rule management system manages and updates the rules triggered by the events; the complex event generating system receives information transmitted by the event triggering monitoring system, and generates complex events by combining the sensor data synchronization system, so that the purpose of monitoring the complex events of multiple sensors is achieved. The problems that complex events cannot be dynamically updated and are lack of flexibility and expansibility in the related technology are solved, computing resources are saved, the range of sensor data which can be adopted in the process of defining the complex events is widened, and the flexibility and expansibility of defining the complex events are improved.
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a schematic diagram of a multi-sensor event generation system provided in accordance with an embodiment of the present application;
FIG. 2 is a schematic flow chart diagram of a multi-sensor event generation method according to an embodiment of the present application;
FIG. 3 is a flow chart of an event triggered monitoring system process provided according to an embodiment of the present application;
FIG. 4 is a flow diagram of complex event generation provided according to one embodiment of the present application;
FIG. 5 is a flow diagram of rule additions, updates, and deletions provided according to an embodiment of the present application;
FIG. 6 is a schematic flow chart illustrating an event generation method for multiple sensors according to an embodiment of the present disclosure;
fig. 7 is a schematic view of an electronic device provided according to an embodiment of the present application.
Description of the reference numerals: 10-multi-sensor event generation system, 100-data acquisition component, 200-data synchronization component, 300-rule management component, 400-event trigger detection component, and 500-event generation component.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary and intended to be used for explaining the present application and should not be construed as limiting the present application.
A multi-sensor event generation system, a method, a vehicle, and a storage medium of the embodiments of the present application are described below with reference to the drawings. In order to solve the problems of complex event generation, incapability of dynamic update, and lack of flexibility and expansibility, the application provides a multi-sensor event generation system, which comprises a data acquisition component, a data synchronization component, an event trigger detection component, an event generation component, and a rule management system. The data acquisition component is used for acquiring information and sending the information to the data synchronization component and the event trigger detection component; the data synchronization component is used for synchronizing information carried by the multiple sensors; the event trigger detection component monitors key sensor signals, monitors the triggering of events by means of a rule engine, and sends the information triggered by the events to the complex event generation system; the rule management system manages and updates the rules triggered by the events; the complex event generating system receives information transmitted by the event triggering monitoring system, and generates complex events by combining the sensor data synchronization system, thereby achieving the purpose of monitoring multi-sensor complex events. Therefore, the problems that complex events cannot be dynamically updated and flexibility and expansibility are lacked in the generation of the complex events in the related technology are solved, computing resources are saved, the range of sensor data which can be adopted when one complex event is defined is widened, and the flexibility and expansibility of the definition of the complex events are improved.
Specifically, fig. 1 is a schematic diagram of an event generating system of multiple sensors according to an embodiment of the present disclosure.
As shown in fig. 1, the multi-sensor event generating system includes: data collection component 100, data synchronization component 200, rule management component 300, event trigger detection component 400, and event generation component 500.
The data acquisition component 100 is used for acquiring sensor data of a plurality of sensors on a vehicle, the data synchronization component 200 is internally provided with a time sequence database which is used for storing the sensors of the plurality of sensors to the time sequence database according to a time sequence and synchronizing the sensor data of the plurality of sensors according to a timestamp, and the rule management component 300 is internally provided with a rule database which is used for storing event trigger rules set by a user in advance; the event trigger detection component 400 is configured to read a trigger rule of a current event from the rule management component while monitoring sensor data of multiple sensors, perform rule matching on the sensor data of each sensor and the trigger rule of the current event, and generate event trigger information based on the successfully matched sensor data, and the event generation component 400 is configured to generate an event according to the event trigger information and data of other sensors in the data synchronization component that are synchronized with timestamps of the successfully matched sensor data.
Optionally, in some embodiments, the event trigger detection component 400 includes: the first middleware is used for storing the sensor data of the plurality of sensors on the vehicle, which are acquired by the data acquisition component; the first real-time computing unit is used for reading the trigger rule of the current event from the rule management component while monitoring the sensor data of the plurality of sensors, performing rule matching on the sensor data of each sensor and the trigger rule of the current event respectively, and sending event trigger information generated based on the sensor data successfully matched to the event generation component.
Optionally, in some embodiments, the event generating component 500 comprises: the second middleware is used for storing the event trigger information sent by the first real-time computing unit; and the second real-time computing unit is used for reading data of other sensors synchronized with the matched sensor data time stamps from the data synchronization component and generating events by combining the data of the other sensors and the event trigger information. Specifically, the data collection component 100 is comprised of a number of sensors that are responsible for collecting physical information and a sensor information transmission network that is responsible for transmitting the information collected by the sensors to the data synchronization component 200 and the event trigger detection component 400; the data synchronization component 200 is composed of a time sequence database, sensor data are stored in the time sequence database, different sensor signals are aligned according to time sequences by means of timestamps carried by sensor information, and basic data synchronization is achieved; the event trigger detection module 400 is composed of a real-time computing framework and a first middleware, wherein information transmitted by the sensor signal transmission network is stored in the first middleware, and the real-time computing framework monitors key sensor signals related to events on the one hand and reads rules from the rule management module on the other hand. Then, the real-time computing framework matches the rules with the help of the monitored sensor signals by the rule engine, and when the matching is successful, an event is triggered, and triggered event information is sent to the event generating component 500; the event generation component 500 is composed of a real-time computing framework and a second middleware, the real-time computing framework reads event trigger information from the second middleware, reads sensor information required by complex event composition from the data synchronization component 200, and combines the sensor information with the event trigger information to generate the complex event.
Optionally, in some embodiments, the multi-sensor event generating system 10 further includes: and the rule management component is internally provided with a rule database and is used for pre-storing the event trigger rule set by the user.
Optionally, in some embodiments, the rule management component 300 is further configured to: receiving a rule operation instruction sent by a user, wherein the operation instruction comprises a rule adding instruction, a rule updating instruction and a rule deleting instruction; and executing corresponding operation on the rule database according to the rule adding instruction, the rule updating instruction or the rule deleting instruction.
Specifically, the rule management component is composed of a database and a database management program, wherein the database is responsible for storing the rules, and the database management program is responsible for adding, updating and deleting the rules.
To further enable those skilled in the art to understand the multi-sensor event generating system of the embodiments of the present application, the following detailed description is provided in conjunction with specific embodiments.
Fig. 2 is a flowchart of an event generation method of a multi-sensor according to an embodiment of the present application.
S201, the multi-sensor system collects information and sends the information to the sensor information synchronization system and the event trigger monitoring system.
Specifically, the sensor collects internal and external information carrying the multi-sensor system and sends the information to the downstream through a sensor information transmission network.
In one embodiment of the application, all sensor information carried by an intelligent networked automobile is uploaded to the cloud by means of a CAN (controller area network) bus and the Internet, the sensor information is stored in a time sequence database after being sent to a sensor information synchronization system, the sensor information is stored in a time sequence, values of all sensor signals at the moment CAN be inquired according to a timestamp, and simple data synchronization work is completed; and after the sensor information is sent to the event triggering monitoring system, the real-time computing framework monitors key sensor signals.
S202, the event trigger monitoring system matches event triggers by means of a rule engine.
It should be noted that the rule is first stored in the rule management system, the real-time computing framework monitors the key sensor signal on the one hand, reads the rule on the other hand, and matches the sensor signal with the rule, if the matching is successful, it is indicated that an event is triggered, and at this time, the event trigger monitoring system will send event trigger information to the downstream.
In the actual execution process, when a certain signal A generates a certain hopping mode B, the signal A is regarded as the function C to be started, the hopping mode B is defined as a rule D, the signal A is monitored and matched with the rule D, if the matching is successful, the signal A is regarded as the event E (the function C is started) to be triggered, and the event trigger information is sent to the downstream.
In an embodiment of the present application, fig. 4 is a flowchart illustrating an event trigger monitoring system according to an embodiment of the present application, which matches event triggers by using a rule engine, and the method includes the main steps of monitoring signals by the system, reading rules, and then cycling through a rule list to determine whether events defined by the rules correspond to sensor signals, if so, performing rule matching on the sensor signals, and if matching is successful, determining that event triggers are event triggers, and sending event trigger information to a downstream.
And S203, combining the event trigger information and the information in the sensor information synchronization system by the complex event generation system to generate the complex event.
In the actual implementation process, the complex event generation system generates complex events as required by combining the event trigger information and the information in the sensor data synchronization system, for the embodiment in step S202, after the event E is triggered, the sensor data system may be queried for the signal values of the physical quantity F and the physical quantity H, and in the case where the physical quantity F is in the state m and the physical quantity G is in the state n, the function C is enabled to generate the complex event H.
As shown in fig. 4, fig. 4 is a flowchart of complex event generation according to an embodiment of the present application, after the event trigger information is sent to the complex event generating system, the complex event generating system queries the time sequence database according to the timestamp information to obtain the desired information, and combines the desired information with the event trigger information as needed to generate the complex event.
FIG. 5 is a flow chart of rule addition, update and deletion according to an embodiment of the present application, as shown in FIG. 5, which can improve flexibility and extensibility of complex event definition through a rule management system.
Therefore, the complex events reflected in a large amount of sensor information are abstracted through the multi-sensor event generation method, real-time monitoring is carried out, meanwhile, the step of synchronizing the multi-sensor data is simplified by means of the time sequence database, computing resources are saved, meanwhile, the range of the sensor data which can be adopted during the definition of one complex event is widened, the rule engine is used, and the flexibility and the expansibility of the definition of the complex event are improved.
According to the multi-sensor event generation system provided by the embodiment of the application, the multi-sensor event generation system comprises a data acquisition component, a data synchronization component, an event trigger detection component, an event generation component and a rule management system. The data acquisition component is used for acquiring information and sending the information to the data synchronization component and the event trigger detection component; the data synchronization component is used for synchronizing information carried by the multiple sensors; the event trigger detection component monitors key sensor signals, monitors the triggering of events by means of a rule engine, and sends the information triggered by the events to a complex event generation system; the rule management system manages and updates the rules triggered by the events; the complex event generating system receives information transmitted by the event triggering monitoring system, and generates complex events by combining the sensor data synchronization system, so that the purpose of monitoring the complex events of multiple sensors is achieved. Therefore, the problems that complex events cannot be dynamically updated and flexibility and expansibility are lacked in the generation of the complex events in the related technology are solved, computing resources are saved, the range of sensor data which can be adopted in the definition of the complex events is widened, and the flexibility and expansibility of the definition of the complex events are improved.
Next, an event generation method of a multi-sensor proposed according to an embodiment of the present application is described with reference to the drawings.
Fig. 6 is a schematic flowchart of an event generating method of multiple sensors according to an embodiment of the present application, where the event generating system of multiple sensors as described above is used, and the method includes the following steps:
in step S601, sensor data of a plurality of sensors on the vehicle is collected.
In step S602, the sensors of the plurality of sensors are stored in the time-series database in time series, and the sensor data of the plurality of sensors are synchronized in accordance with the time stamps.
In step S603, an event trigger rule set by the user is stored in advance in the rule database.
In step S604, while monitoring the sensor data of the plurality of sensors, reading the trigger rule of the current event from the rule management component, and performing rule matching between the sensor data of each sensor and the trigger rule of the current event, and generating event trigger information based on the sensor data successfully matched.
Optionally, in some embodiments, in the event generating method for multiple sensors described above, the first middleware in the event trigger detection component stores the sensor data of the multiple sensors on the vehicle, which is collected by the data collection component; and when monitoring the sensor data of the plurality of sensors through the first real-time computing unit in the event trigger detection component, reading the trigger rule of the current event from the rule management component, respectively carrying out rule matching on the sensor data of each sensor and the trigger rule of the current event, and sending the event trigger information generated based on the sensor data successfully matched to the event generation component. Optionally, in some embodiments, the event generating method of the multiple sensors further includes: further comprising: storing, by the second middleware in the event generation component, the event trigger information sent by the first real-time computing unit; and reading data of other sensors synchronized with the matched sensor data time stamps from the data synchronization component through the second real-time computing unit in the event generation component, and combining the data of the other sensors and the event trigger information to generate the event.
Optionally, in some embodiments, before obtaining the current event trigger rule, further includes: receiving a rule operation instruction sent by the user, wherein the operation instruction comprises a new rule instruction, an update rule instruction and a delete rule instruction; and executing corresponding operation on the rule database according to the new rule instruction, the update rule instruction or the delete rule instruction.
It should be noted that the foregoing explanation of the embodiment of the multi-sensor event generating system is also applicable to the multi-sensor event generating method of the embodiment, and details are not repeated here.
According to the multi-sensor event generation method provided by the embodiment of the application, the problems that complex event generation cannot be dynamically updated and flexibility and expansibility are lacked in the related technology are solved through the multi-sensor event generation system, computing resources are saved, the range of sensor data which can be adopted in the process of defining the complex event is widened, and the flexibility and expansibility of defining the complex event are improved.
Fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application. The electronic device may include:
The processor 702, when executing the program, implements the multi-sensor event generation method provided in the above-described embodiments.
Further, the electronic device further includes:
a communication interface 703 for communication between the memory 701 and the processor 702.
A memory 701 for storing computer programs operable on the processor 702.
The Memory 701 may include a high-speed RAM (Random Access Memory) Memory, and may also include a non-volatile Memory, such as at least one disk Memory.
If the memory 701, the processor 702 and the communication interface 703 are implemented independently, the communication interface 703, the memory 701 and the processor 702 may be connected to each other through a bus and perform communication with each other. The bus may be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 7, but this is not intended to represent only one bus or type of bus.
Optionally, in a specific implementation, if the memory 701, the processor 702, and the communication interface 703 are integrated on a chip, the memory 701, the processor 702, and the communication interface 703 may complete mutual communication through an internal interface.
The processor 702 may be a Central Processing Unit (CPU), an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement embodiments of the present Application.
Embodiments of the present application also provide a computer-readable storage medium, on which a computer program is stored, and the program, when executed by a processor, implements the event generating method of the multi-sensor as above.
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or N embodiments or examples. Moreover, various embodiments or examples and features of various embodiments or examples described in this specification can be combined and combined by one skilled in the art without being mutually inconsistent.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "N" means at least two, e.g., two, three, etc., unless explicitly defined otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more N executable instructions for implementing steps of a custom logic function or process, and alternate implementations are included within the scope of the preferred embodiment of the present application in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of implementing the embodiments of the present application.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the N steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a programmable gate array, a field programmable gate array, or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
While embodiments of the present application have been shown and described above, it will be understood that the above embodiments are exemplary and should not be construed as limiting the present application and that changes, modifications, substitutions and alterations in the above embodiments may be made by those of ordinary skill in the art within the scope of the present application.
Claims (10)
1. A multi-sensor event generation system, comprising:
a data acquisition component for acquiring sensor data of a plurality of sensors on a vehicle;
the data synchronization component is internally provided with a time sequence database and is used for storing the sensors of the sensors to the time sequence database according to time sequences and synchronizing the sensor data of the sensors according to time stamps;
the rule management component is internally provided with a rule database and is used for storing event trigger rules set by a user in advance in the rule database;
the event trigger detection component is used for reading the trigger rule of the current event from the rule management component while monitoring the sensor data of the sensors, respectively carrying out rule matching on the sensor data of each sensor and the trigger rule of the current event, and generating event trigger information based on the sensor data successfully matched; and
and the event generating component is used for generating events according to the event trigger information and the data of other sensors synchronized with the sensor data timestamps successfully matched in the data synchronizing component.
2. The system of claim 1,
the event trigger detection assembly comprises:
a first middleware for storing sensor data of a plurality of sensors on the vehicle collected by the data collection component;
the first real-time computing unit is used for reading the trigger rule of the current event from the rule management component while monitoring the sensor data of the sensors, respectively carrying out rule matching on the sensor data of each sensor and the trigger rule of the current event, and sending the event trigger information generated based on the successfully matched sensor data to the event generating component.
3. The system of claim 2, the event generation component comprising:
the second middleware is used for storing the event trigger information sent by the first real-time computing unit;
and the second real-time computing unit is used for reading data of other sensors synchronized with the sensor data time stamps successfully matched from the data synchronization component and combining the data of the other sensors and the event trigger information to generate the event.
4. The system of claim 1, wherein the rule management component is further configured to:
receiving a rule operation instruction sent by a user, wherein the operation instruction comprises a new rule instruction, an update rule instruction and a delete rule instruction;
and executing corresponding operation on the rule database according to the new rule instruction, the update rule instruction or the delete rule instruction.
5. A multi-sensor event generating method, characterized in that the multi-sensor event generating system of any one of claims 1-4 is used, the method comprises the following steps:
collecting sensor data for a plurality of sensors on a vehicle;
storing sensors of the plurality of sensors into the time sequence database according to a time sequence, and synchronizing sensor data of the plurality of sensors according to a time stamp;
event trigger rules set by a user are stored in advance through the rule database; and
and reading the trigger rule of the current event from the rule management component while monitoring the sensor data of the plurality of sensors, respectively carrying out rule matching on the sensor data of each sensor and the trigger rule of the current event, and generating event trigger information based on the sensor data successfully matched.
6. The method of claim 5, further comprising:
storing, by a first middleware in the event-triggered detection component, sensor data for a plurality of sensors on the vehicle collected by the data collection component;
and when monitoring the sensor data of the plurality of sensors through a first real-time computing unit in the event trigger detection assembly, reading the trigger rule of the current event from the rule management assembly, respectively carrying out rule matching on the sensor data of each sensor and the trigger rule of the current event, and sending the event trigger information generated based on the successfully matched sensor data to the event generation assembly.
7. The method of claim 6, further comprising:
storing the event trigger information sent by the first real-time computing unit through a second middleware in the event generation component;
and reading data of other sensors synchronized with the matched sensor data time stamps from the data synchronization component through a second real-time computing unit in the event generation component, and combining the data of the other sensors and the event trigger information to generate the event.
8. The method of claim 6, prior to obtaining the current event trigger rule, further comprising:
receiving a rule operation instruction sent by the user, wherein the operation instruction comprises a new rule instruction, an update rule instruction and a delete rule instruction;
and executing corresponding operation on the rule database according to the new rule instruction, the update rule instruction or the delete rule instruction.
9. An electronic device, comprising: memory, processor and computer program stored on the memory and executable on the processor, the processor executing the program to implement the multi-sensor event generation method of any of claims 5-8.
10. A computer-readable storage medium, on which a computer program is stored, characterized in that the program is executed by a processor for implementing the multi-sensor event generation method according to any of claims 5-8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211288264.2A CN115544120A (en) | 2022-10-20 | 2022-10-20 | Multi-sensor event generation system, method, electronic device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211288264.2A CN115544120A (en) | 2022-10-20 | 2022-10-20 | Multi-sensor event generation system, method, electronic device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115544120A true CN115544120A (en) | 2022-12-30 |
Family
ID=84736491
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211288264.2A Pending CN115544120A (en) | 2022-10-20 | 2022-10-20 | Multi-sensor event generation system, method, electronic device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115544120A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116450381A (en) * | 2023-06-15 | 2023-07-18 | 蔚来汽车科技(安徽)有限公司 | Complex event processing method, electronic device, storage medium and vehicle |
-
2022
- 2022-10-20 CN CN202211288264.2A patent/CN115544120A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116450381A (en) * | 2023-06-15 | 2023-07-18 | 蔚来汽车科技(安徽)有限公司 | Complex event processing method, electronic device, storage medium and vehicle |
CN116450381B (en) * | 2023-06-15 | 2023-09-08 | 蔚来汽车科技(安徽)有限公司 | Complex event processing method, electronic device, storage medium and vehicle |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11158143B2 (en) | Vehicle diagnostic method and device, and computer readable storage medium | |
CN110489391B (en) | Data processing method and related equipment | |
CN109741060B (en) | Information inquiry system, method, device, electronic equipment and storage medium | |
CN107729227B (en) | Application program test range determining method, system, server and storage medium | |
CN107450515A (en) | Automatic testing method and device for fault diagnosis | |
US9680719B2 (en) | Communication system, client terminal, and server | |
CN115114307A (en) | Multi-sensor state estimation method and device and terminal equipment | |
CN112148794B (en) | Version management method, device and storage medium of intelligent contract | |
CN115544120A (en) | Multi-sensor event generation system, method, electronic device and storage medium | |
CN110196780B (en) | Method, device, storage medium and electronic device for determining server state | |
CN113610136A (en) | Sensor data synchronization method and device, computer equipment and storage medium | |
CN109218131B (en) | Network monitoring method and device, computer equipment and storage medium | |
CN113810234B (en) | Method and device for processing micro-service link topology and readable storage medium | |
CN110727682A (en) | Data storage method and device | |
WO2020159397A1 (en) | Method and computerized device for processing numeric time series data | |
CN106940710B (en) | Information pushing method and device | |
CN112486911A (en) | Robot operation data collection management method and device, storage medium and terminal | |
CN115817179B (en) | Power battery safety early warning method and device, server and storage medium | |
CN112699183A (en) | Data processing method, system, readable storage medium and computer equipment | |
CN110543509B (en) | Monitoring system, method and device for user access data and electronic equipment | |
CN115374109A (en) | Data access method, device, computing equipment and system | |
CN115269519A (en) | Log detection method and device and electronic equipment | |
CN113901153A (en) | Data processing method and related equipment | |
JP2022119261A (en) | Transmitter, and receiver | |
CN114691443A (en) | Cross section data sending method and device, electronic equipment and storage medium |
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 |