WO2023103131A1 - Method and device for detecting abnormal behavior, and storage medium and apparatus - Google Patents

Method and device for detecting abnormal behavior, and storage medium and apparatus Download PDF

Info

Publication number
WO2023103131A1
WO2023103131A1 PCT/CN2021/143646 CN2021143646W WO2023103131A1 WO 2023103131 A1 WO2023103131 A1 WO 2023103131A1 CN 2021143646 W CN2021143646 W CN 2021143646W WO 2023103131 A1 WO2023103131 A1 WO 2023103131A1
Authority
WO
WIPO (PCT)
Prior art keywords
state
abnormal behavior
vehicle component
component
change information
Prior art date
Application number
PCT/CN2021/143646
Other languages
French (fr)
Chinese (zh)
Inventor
严敏睿
宋戈
李嘉豪
Original Assignee
三六零科技集团有限公司
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 三六零科技集团有限公司 filed Critical 三六零科技集团有限公司
Publication of WO2023103131A1 publication Critical patent/WO2023103131A1/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R16/00Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
    • B60R16/02Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
    • B60R16/023Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements for transmission of signals between vehicle parts or subsystems
    • B60R16/0231Circuits relating to the driving or the functioning of the vehicle
    • B60R16/0232Circuits relating to the driving or the functioning of the vehicle for measuring vehicle parameters and indicating critical, abnormal or dangerous conditions
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R16/00Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
    • B60R16/02Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
    • B60R16/023Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements for transmission of signals between vehicle parts or subsystems
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W50/00Details of control systems for road vehicle drive control not related to the control of a particular sub-unit, e.g. process diagnostic or vehicle driver interfaces
    • B60W50/02Ensuring safety in case of control system failures, e.g. by diagnosing, circumventing or fixing failures
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/18Status alarms
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Definitions

  • the present invention relates to the technical field of Internet of Vehicles, in particular to an abnormal behavior detection method, equipment, storage medium and device.
  • abnormal behavior detection is an important part of the Internet of Vehicles.
  • the abnormal behavior detection of vehicles in the prior art is usually through manual data analysis, which is time-consuming and labor-intensive, and the accuracy rate is low.
  • the main purpose of the present invention is to provide a method, equipment, storage medium and device for abnormal behavior detection, aiming at solving the technical problems in the prior art that the detection of abnormal behavior of vehicles is usually through manual data analysis, which is time-consuming, laborious and has low accuracy.
  • the present invention provides a method for detecting abnormal behavior, which includes the following steps:
  • the state chain is used to represent the state association relationship between each vehicle component
  • the step of matching the state change information with the state chain corresponding to the vehicle component includes:
  • association change information corresponding to the association component determining association change information corresponding to the association component according to the state change information and the state chain;
  • the step of determining the associated component associated with the vehicle component according to the state chain corresponding to the vehicle component includes:
  • An associated component associated with the vehicle component is determined based on the location information.
  • the step of determining the association change information corresponding to the association component according to the state change information and the state chain includes:
  • the step of acquiring actual change information of the associated component and matching the actual change information with the associated change information includes:
  • the actual state change is matched with the standard state change.
  • the step of determining whether there is abnormal behavior of the vehicle component according to the matching result includes:
  • the step of determining whether there is an abnormal behavior of the vehicle component according to the matching result and the control instruction includes:
  • the step of matching the state change information with the state chain corresponding to the vehicle component may further include:
  • a state chain corresponding to the vehicle component is determined according to the running scenario.
  • the step of obtaining the state change information of the vehicle component when it is detected that the state of the vehicle component changes it may further include:
  • Whether the state of the vehicle component has changed is detected based on the state data.
  • the step of obtaining status data of vehicle components includes:
  • the operation data is preprocessed to obtain the state data of the vehicle components.
  • the step of determining whether there is abnormal behavior of the vehicle component according to the matching result it further includes:
  • the step of generating reminder information when there is an abnormal behavior of the vehicle component includes:
  • a reminder strategy is determined according to the component category of the vehicle component
  • the present invention also proposes an abnormal behavior detection device, which includes a memory, a processor, and an abnormal behavior detection program stored in the memory and operable on the processor , the abnormal behavior detection program is configured to implement the abnormal behavior detection method as described above.
  • the present invention also proposes a storage medium, on which an abnormal behavior detection program is stored, and when the abnormal behavior detection program is executed by a processor, the abnormal behavior detection method as described above is realized.
  • an abnormal behavior detection device which includes: an information acquisition module, a state matching module, and a behavior detection module;
  • the information acquisition module is configured to acquire state change information of the vehicle component when a change in the state of the vehicle component is detected;
  • the state matching module is used to match the state change information with the state chain corresponding to the vehicle component, and the state chain is used to represent the state association relationship between each vehicle component;
  • the behavior detection module is configured to determine whether the vehicle component has abnormal behavior according to the matching result.
  • the state matching module is further configured to determine an associated component associated with the vehicle component according to the state chain corresponding to the vehicle component;
  • the state matching module is further configured to determine association change information corresponding to the association component according to the state change information and the state chain;
  • the state matching module is further configured to obtain actual change information of the associated component, and match the actual change information with the associated change information.
  • the state matching module is further configured to obtain position information of the vehicle component in the corresponding state chain;
  • the state matching module is further configured to determine an associated component associated with the vehicle component according to the location information.
  • the state matching module is further configured to determine a standard state change of the associated component according to the state change information and the state chain;
  • the state matching module is further configured to determine the standard change order of the associated components according to the vehicle components and the state chain;
  • the state matching module is further configured to generate association change information corresponding to the association components according to the standard state change and the standard change sequence.
  • the state matching module is further configured to obtain actual change information of the associated component, and extract state change sequence and actual state change from the actual change information;
  • the state matching module is further configured to extract standard change order and standard state change from the associated change information
  • the state matching module is further configured to match the state change sequence with the standard change sequence
  • the state matching module is further configured to match the actual state change with the standard state change.
  • the behavior detection module is also used to obtain control instructions corresponding to the vehicle components
  • the behavior detection module is further configured to determine whether there is an abnormal behavior of the vehicle component according to the matching result and the control instruction.
  • the present invention it is disclosed that when a change in the state of a vehicle component is detected, the state change information of the vehicle component is obtained, and the state change information is matched with the state chain corresponding to the vehicle component.
  • the state chain is used to indicate the relationship between each vehicle component According to the matching result, it is determined whether there is an abnormal behavior of the vehicle component; since the present invention judges whether there is abnormal behavior of the vehicle component by matching the state change information of the vehicle component with the state chain corresponding to the vehicle component, it can automatically analyze Vehicle anomaly detection, which in turn improves the speed and accuracy of abnormal behavior detection.
  • Fig. 1 is a schematic structural diagram of an abnormal behavior detection device in a hardware operating environment involved in the solution of an embodiment of the present invention
  • Fig. 2 is a schematic flow chart of the first embodiment of the abnormal behavior detection method of the present invention.
  • Fig. 3 is a schematic flow chart of the second embodiment of the abnormal behavior detection method of the present invention.
  • FIG. 4 is a schematic flow chart of the third embodiment of the abnormal behavior detection method of the present invention.
  • FIG. 5 is a schematic flow chart of the fourth embodiment of the abnormal behavior detection method of the present invention.
  • Fig. 6 is a structural block diagram of the first embodiment of the abnormal behavior detection device of the present invention.
  • FIG. 1 is a schematic structural diagram of an abnormal behavior detection device in a hardware operating environment involved in the solution of an embodiment of the present invention.
  • the abnormal behavior detection device may include: a processor 1001, such as a central processing unit (Central Processing Unit, CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005.
  • a processor 1001 such as a central processing unit (Central Processing Unit, CPU)
  • a communication bus 1002 is used to realize connection and communication between these components.
  • the user interface 1003 may include a display screen (Display).
  • the optional user interface 1003 may also include a standard wired interface and a wireless interface.
  • the wired interface of the user interface 1003 may be a USB interface in the present invention.
  • the network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a Wireless-Fidelity (Wi-Fi) interface).
  • Wi-Fi Wireless-Fidelity
  • the memory 1005 may be a high-speed random access memory (Random Access Memory, RAM) memory, or a stable memory (Non-volatile Memory, NVM), such as a disk memory.
  • RAM Random Access Memory
  • NVM Non-volatile Memory
  • the memory 1005 may also be a storage device independent of the aforementioned processor 1001 .
  • FIG. 1 does not constitute a limitation on the abnormal behavior detection device, and may include more or less components than shown in the figure, or combine some components, or arrange different components.
  • the memory 1005 identified as a computer storage medium may include an operating system, a network communication module, a user interface module, and an abnormal behavior detection program.
  • the network interface 1004 is mainly used to connect to the background server and perform data communication with the background server;
  • the user interface 1003 is mainly used to connect to the user equipment;
  • the abnormal behavior detection device passes through the processor 1001 calls the abnormal behavior detection program stored in the memory 1005, and executes the abnormal behavior detection method provided by the embodiment of the present invention.
  • FIG. 2 is a schematic flow chart of the first embodiment of the abnormal behavior detection method of the present invention
  • the first embodiment of the abnormal behavior detection method of the present invention is proposed.
  • the abnormal behavior detection method includes the following steps:
  • Step S10 Acquiring state change information of the vehicle component when it is detected that the state of the vehicle component has changed.
  • the execution subject of the method in this embodiment may be an abnormal behavior detection device with data processing, network communication and program running functions, such as a vehicle-mounted computer, server, etc., or other electronic devices that can achieve the same or similar functions , which is not limited in this embodiment.
  • vehicle components may include components such as a door, a steering wheel, and an accelerator.
  • State change information may be information that a vehicle component changes from one state to another.
  • the state change information may be information that the state of the vehicle door changes from open to closed.
  • acquiring the state change information of the vehicle component may be comparing the state data with the state data of the previous detection period, and determining the state change information of the vehicle component according to the comparison result.
  • the detection cycle may be preset, for example, the detection cycle may be set to 1S.
  • Step S20 Match the state change information with the state chain corresponding to the vehicle component, the state chain is used to represent the state association relationship between the various vehicle components.
  • state chain is used to represent the state association relationship of each vehicle component during normal operation.
  • the state chain may be that the states of the components S1, S2, S3 sequentially change from off to on.
  • matching the state change information with the state chain corresponding to the vehicle component may be to determine the associated component associated with the vehicle component according to the state chain corresponding to the vehicle component, and determine the corresponding Associating change information, obtaining actual change information of associated components, and matching the actual change information with the associated change information.
  • the associated component may be a component associated with the existence state of the vehicle component.
  • the state chain is that the states of components S1, S2, and S3 change sequentially.
  • the components associated with the vehicle component state are S1 and S3.
  • the state chain is the state of components S1, S2, and S3 from closed to open in sequence
  • the vehicle component is S2
  • the associated components are S1 and S3, and when the state change information of S2 is from open to closed
  • the association change information corresponding to the association components is that S1 is turned from off to on, and S3 is turned from off to on.
  • matching the actual change information with the associated change information may be when the actual change information is from on to off and the associated change information is from off to on, and it is determined that the matching between the actual change information and the associated change information fails; From off to on, and the association change information is from off to on, it is determined that the actual change information matches the association change information successfully.
  • Step S30 Determine whether the vehicle component has abnormal behavior according to the matching result.
  • the matching result is a matching failure, it means that the state change of the associated component is different from the state chain, and the vehicle component does not change with the change of the associated component, and it can be determined that there is an abnormal behavior of the vehicle component; when the matching result is a successful matching When , it shows that the state change of the associated component is the same as the state chain, and the vehicle component changes with the change of the associated component, so it can be determined that there is no abnormal behavior of the vehicle component.
  • the state change information of the vehicle component is obtained, and the state change information is matched with the state chain corresponding to the vehicle component.
  • the state chain is used to represent each vehicle component According to the state association relationship between the vehicle components, it is determined whether there is an abnormal behavior of the vehicle component according to the matching result; since in this embodiment, it is judged whether the vehicle component has abnormal behavior by matching the state change information of the vehicle component with the state chain corresponding to the vehicle component, thus It can automatically analyze and detect abnormalities of vehicles, thereby improving the speed and accuracy of abnormal behavior detection.
  • FIG. 3 is a schematic flowchart of the second embodiment of the abnormal behavior detection method of the present invention. Based on the first embodiment shown in FIG. 2 above, the second embodiment of the abnormal behavior detection method of the present invention is proposed.
  • step S20 includes:
  • Step S201 Determine an associated component associated with the vehicle component according to the state chain corresponding to the vehicle component.
  • the associated component may be a component associated with the existence state of the vehicle component.
  • the state chain is that the states of components S1, S2, and S3 are in sequence from closed to open, and when the vehicle component is S2, the components that are associated with the state of the vehicle component are S1 and S3.
  • determining the associated component associated with the vehicle component according to the state chain corresponding to the vehicle component may be analyzing the state chain corresponding to the vehicle component, and determining the associated component associated with the vehicle component according to the analysis result.
  • Step S202 Determine association change information corresponding to the association component according to the state change information and the state chain.
  • the state chain is the state of components S1, S2, and S3 from closed to open in sequence
  • the vehicle component is S2
  • the associated components are S1 and S3, and when the state change information of S2 is from open to closed
  • the association change information corresponding to the association components is that S1 is turned from off to on, and S3 is turned from off to on.
  • Step S203 Obtain actual change information of the associated component, and match the actual change information with the associated change information.
  • actual change information may be actual state change information of associated components.
  • matching the actual change information with the associated change information may be when the actual change information is from on to off and the associated change information is from off to on, and it is determined that the matching between the actual change information and the associated change information fails; From off to on, and the association change information is from off to on, it is determined that the actual change information matches the association change information successfully.
  • the associated parts associated with the vehicle parts are determined according to the state chains corresponding to the vehicle parts, the associated change information corresponding to the associated parts is determined according to the state change information and the state chain, the actual change information of the associated parts is obtained, and The actual change information is matched with the associated change information, so that matching reliability can be improved.
  • step S30 includes:
  • Step S301 Obtain control instructions corresponding to the vehicle components.
  • control instructions corresponding to the vehicle components are also obtained, and it is determined whether the vehicle components have abnormal behavior according to the matching result and the control instructions.
  • control instruction may be issued by the user through the vehicle-machine system, or may be issued by the user through the user terminal.
  • the user terminal may establish a communication connection with the abnormal behavior detection device in advance, and the user terminal may be a device such as a mobile phone or a bracelet.
  • Step S302 Determine whether the vehicle component has abnormal behavior according to the matching result and the control instruction.
  • determining whether the vehicle component has abnormal behavior according to the matching result and the control instruction may be determining the target component according to the control instruction, and judging whether the vehicle component is the target component, and determining whether the vehicle component is abnormal according to the matching result and the judgment result Behavior.
  • determining whether there is an abnormal behavior of the vehicle component may be when the matching result is a matching failure, and the vehicle component is not the target component, and it is determined that the vehicle component has an abnormal behavior; when the matching result is a matching failure , to determine that there is no abnormal behavior of the vehicle components.
  • the second embodiment it is disclosed to obtain the control instructions corresponding to the vehicle components, and determine whether the vehicle components have abnormal behavior according to the matching results and the control instructions; since this embodiment can further verify the influence of the control instructions on the vehicle components, thus avoiding the Misjudgments occur, improving the accuracy of abnormal behavior detection.
  • FIG. 4 is a schematic flowchart of the third embodiment of the abnormal behavior detection method of the present invention. Based on the second embodiment shown in FIG. 3 above, the third embodiment of the abnormal behavior detection method of the present invention is proposed.
  • step S201 includes:
  • Step S2011 Obtain the position information of the vehicle component in the corresponding state chain.
  • the position information of the vehicle component in the corresponding state chain is obtained first, and then the associated component associated with the vehicle component is determined according to the position information.
  • the position information may be the position of the vehicle component in the state chain.
  • Step S2012 Determine an associated component associated with the vehicle component according to the location information.
  • determining the associated component associated with the vehicle component according to the position information may be determining a component adjacent to the vehicle component in the state chain according to the position information, and using this component as an associated component associated with the vehicle component.
  • the state chain is that the states of components S1, S2, and S3 are sequentially turned from closed to open, and when the vehicle component is S2, the position information of the vehicle component in the corresponding state chain is located between S1 and S3, then According to the location information, it can be determined that the associated components associated with the vehicle components are S1 and S3.
  • the position information of the vehicle component in the corresponding state chain is obtained, and the associated component associated with the vehicle component is determined according to the position information; since this embodiment is directly based on the position information of the vehicle component in the corresponding state chain Position information is used to determine associated components, thereby increasing the speed of determining key components, thereby improving the overall speed of abnormal behavior detection.
  • step S202 includes:
  • Step S2021 Determine a standard state change of the associated component according to the state change information and the state chain.
  • the standard state change may be a state change of an associated component during normal operation.
  • the state chain is the state of components S1, S2, and S3 from closed to open in sequence
  • the vehicle component is S2
  • the associated components are S1 and S3, and when the state change information of S2 is from open to closed
  • the quasi-state changes corresponding to the associated components are S1 from off to on, and S3 from off to on.
  • Step S2022 Determine the standard change order of the associated components according to the vehicle components and the state chain.
  • standard change sequence may be the state change sequence of each associated component during normal operation.
  • the state chain is the state of components S1, S2, and S3 from closed to open in sequence
  • the vehicle component is S2
  • the associated components are S1 and S3
  • the standard change order is first S1 from closed to open, and then S2 goes from off to on, and finally S3 goes from off to on.
  • Step S2023 Generate association change information corresponding to the association component according to the standard state change and the standard change sequence.
  • generating the associated change information corresponding to the associated component according to the standard state change and the standard change sequence may be to use the standard state change and the standard change sequence as the associated change information corresponding to the associated component.
  • the standard state change of associated components is determined according to the state change information and the state chain
  • the standard change sequence of the associated components is determined according to the vehicle component and the state chain
  • the corresponding component is generated according to the standard state change and the standard change sequence.
  • the association change information since this embodiment additionally introduces the standard change sequence of the association components to generate the association change information, the reliability of the association change information is improved, and the accuracy of abnormal behavior detection is ensured.
  • step S203 includes:
  • Step S2031 Obtain the actual change information of the associated component, and extract the state change order and the actual state change from the actual change information.
  • actual change information may be actual state change information of associated components.
  • extracting the state change sequence and the actual state change from the actual change information may be extracting the state change sequence and the actual state change from the actual change information according to the information identifier.
  • the information identifier is used to represent information content.
  • Step S2032 Extract standard change order and standard state change from the associated change information.
  • the extraction of the standard change order and the standard state change from the association change information may also extract the standard change order and the standard state change from the association change information according to the information identifier.
  • Step S2033 Match the state change sequence with the standard change sequence.
  • abnormal behaviors also have abnormal state change sequences.
  • the state chain is the state of components S1, S2, and S3 from closed to open in turn, when the vehicle component is S2, the associated components are S1 and S3, and the standard change sequence is S1 from closed to open, and then S2 from closed to open, Finally S3 goes from off to on. If the state change order is different from the standard change order, then the state change order of the associated component is abnormal. Therefore, in this embodiment, the state change sequence is also matched with the standard change sequence.
  • Step S2034 Match the actual state change with the standard state change.
  • matching the actual change information with the standard state change may be when the actual change information is from on to off and the standard state is from off to on, and it is determined that the matching between the actual change information and the standard state change fails; From closed to open, when the standard state changes from closed to open, it is determined that the actual change information matches the associated change information successfully.
  • the actual change information of associated components is obtained, and the state change order and actual state change are extracted from the actual change information, the standard change order and standard state change are extracted from the associated change information, and the state change order Matching with the standard change sequence matches the actual state change with the standard state change; since this embodiment also matches the state change sequence during matching, the accuracy of abnormal behavior detection is further improved.
  • FIG. 5 is a schematic flowchart of the fourth embodiment of the abnormal behavior detection method of the present invention. Based on the first embodiment shown in FIG. 2 above, the fourth embodiment of the abnormal behavior detection method of the present invention is proposed.
  • step S10 before the step S10, it also includes:
  • Step S01 Acquiring status data of vehicle components.
  • the state data of the vehicle component may be obtained, and whether the state of the vehicle component changes is detected according to the state data.
  • the status data may include data such as component operating time and component operating parameters.
  • acquiring the status data of the vehicle components may be acquiring the status data uploaded by each sensor through a preset communication method.
  • the preset communication mode can be set in advance, for example, the CAN bus communication is set as the preset communication mode, and each sensor can be pre-installed on the vehicle component for real-time detection of data of the vehicle component.
  • the step S10 includes:
  • the operation data is preprocessed to obtain the state data of the vehicle components.
  • running data may be data generated by vehicle components during running.
  • the preprocessing of the operating data to obtain the status data of the vehicle components may be screening and filtering the operating data to remove interference data and obtain the status data of the vehicle components.
  • Step S02 Detecting whether the state of the vehicle component changes according to the state data.
  • detecting whether the state of the vehicle component changes according to the state data may be comparing the state data with the state data of the previous detection period, and detecting whether the state of the vehicle component changes according to the comparison result.
  • the detection cycle can be preset.
  • detecting whether the state of the vehicle component changes according to the result may be to determine that the state of the vehicle component has changed when the comparison result is that the state data is different from the state data of the previous detection cycle; When the state data of a detection period are the same, it is determined that the state of the vehicle component has not changed.
  • the status data of the vehicle components is obtained, and whether the status of the vehicle components changes is detected according to the status data, so that the reliability of the status detection can be ensured.
  • step S20 before the step S20, it also includes:
  • Step S110 Obtain the running scene of the vehicle component.
  • the state chains corresponding to vehicle components are not fixed, and different operating scenarios correspond to different state chains. Therefore, in order to ensure the accuracy of the state chain, in this embodiment, the operating scene of the vehicle component is obtained first, and then the state chain corresponding to the vehicle component is determined according to the operating scene.
  • the running scene may be a parking scene, a driving scene, a reversing scene, and the like.
  • Step S120 Determine the state chain corresponding to the vehicle component according to the running scenario.
  • determining the state chain corresponding to the vehicle component according to the running scenario may be searching the state chain corresponding to the running scenario in a preset state table.
  • the preset state table includes a corresponding relationship between running scenarios and state chains, and the corresponding relationship between running scenarios and state chains can be preset.
  • the fourth embodiment it is disclosed to obtain the operation scene of the vehicle component, and determine the state chain corresponding to the vehicle part according to the operation scene; because this embodiment can adopt different state chains according to the actual situation, thereby ensuring the reliability of the state chain sex.
  • step S30 further include:
  • Step S40 generating reminder information when the vehicle component has abnormal behavior.
  • a reminder message is generated and sent to the management terminal, so that the management terminal reminds the user.
  • the reminder information can be preset, for example, "there is an abnormality in the vehicle" is used as the reminder information.
  • the step S40 includes:
  • a reminder strategy is determined according to the component category of the vehicle component
  • the reminder strategy may include strategies such as voice reminder, text reminder, and light reminder.
  • determining the reminder strategy according to the component category of the vehicle component may be to look up a reminder strategy corresponding to the component category in a preset strategy table.
  • the preset strategy table includes the corresponding relationship between component categories and reminder strategies, and the corresponding relationship between component categories and reminder strategies can be preset.
  • the reminder policy corresponding to the car door may be a voice reminder.
  • component information may include information such as component names and component locations.
  • Step S50 Send the reminder information to the management terminal, so that the management terminal reminds the user.
  • sending the reminder information to the management terminal may be sending the reminder information to the management terminal through a preset communication connection.
  • the preset communication connection may be preset.
  • a reminder message is generated, and the reminder message is sent to the management terminal, so that the management terminal reminds the user; because this embodiment will remind the user when the vehicle part has an abnormality , thereby improving the user experience.
  • the embodiment of the present invention also proposes a storage medium, on which an abnormal behavior detection program is stored, and when the abnormal behavior detection program is executed by a processor, the abnormal behavior detection method as described above is implemented.
  • an embodiment of the present invention also proposes an abnormal behavior detection device, which includes: an information acquisition module 10, a state matching module 20, and a behavior detection module 30;
  • the information acquisition module 10 is configured to acquire state change information of the vehicle component when a change in the state of the vehicle component is detected.
  • vehicle components may include components such as a door, a steering wheel, and an accelerator.
  • State change information may be information that a vehicle component changes from one state to another.
  • the state change information may be information that the state of the vehicle door changes from open to closed.
  • acquiring the state change information of the vehicle component may be comparing the state data with the state data of the previous detection period, and determining the state change information of the vehicle component according to the comparison result.
  • the detection cycle may be preset, for example, the detection cycle may be set to 1S.
  • the state matching module 20 is configured to match the state change information with the state chains corresponding to the vehicle components, and the state chains are used to represent the state correlations between the various vehicle components.
  • state chain is used to represent the state association relationship of each vehicle component during normal operation.
  • the state chain may be that the states of the components S1, S2, S3 sequentially change from off to on.
  • matching the state change information with the state chain corresponding to the vehicle component may be to determine the associated component associated with the vehicle component according to the state chain corresponding to the vehicle component, and determine the corresponding Associating change information, obtaining actual change information of associated components, and matching the actual change information with the associated change information.
  • the associated component may be a component associated with the existence state of the vehicle component.
  • the state chain is that the states of components S1, S2, and S3 change sequentially.
  • the components associated with the vehicle component state are S1 and S3.
  • the state chain is the state of components S1, S2, and S3 from closed to open in sequence
  • the vehicle component is S2
  • the associated components are S1 and S3, and when the state change information of S2 is from open to closed
  • the association change information corresponding to the association components is that S1 is turned from off to on, and S3 is turned from off to on.
  • matching the actual change information with the associated change information may be when the actual change information is from on to off and the associated change information is from off to on, and it is determined that the matching between the actual change information and the associated change information fails; From off to on, and the association change information is from off to on, it is determined that the actual change information matches the association change information successfully.
  • the behavior detection module 30 is configured to determine whether there is an abnormal behavior of the vehicle component according to the matching result.
  • the matching result is a matching failure, it means that the state change of the associated component is different from the state chain, and the vehicle component does not change with the change of the associated component, and it can be determined that there is an abnormal behavior of the vehicle component; when the matching result is a successful matching When , it shows that the state change of the associated components is the same as the state chain, and the vehicle components change with the change of the associated components, so it can be determined that there is no abnormal behavior of the vehicle components.
  • the state change information of the vehicle component is obtained, and the state change information is matched with the state chain corresponding to the vehicle component.
  • the state chain is used to represent the relationship between each vehicle component. According to the matching result, it is determined whether there is an abnormal behavior of the vehicle component; because in this embodiment, it is judged whether there is abnormal behavior of the vehicle component by matching the state change information of the vehicle component with the state chain corresponding to the vehicle component, so that it can Automated analysis detects anomalies in vehicles, which in turn improves the speed and accuracy of abnormal behavior detection.

Landscapes

  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Mechanical Engineering (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Transportation (AREA)
  • Emergency Alarm Devices (AREA)
  • Traffic Control Systems (AREA)

Abstract

The present invention relates to the technical field of the Internet of Vehicles. Disclosed are a method and device for detecting abnormal behavior, and a storage medium and an apparatus. The method comprises: when it is detected that the state of a vehicle part changes, acquiring state change information of the vehicle part; matching the state change information with a state chain corresponding to the vehicle part, wherein the state chain is used for representing a state association relationship among vehicle parts; and according to a matching result, determining whether the vehicle part exhibits abnormal behavior. In the present invention, whether a vehicle part exhibits abnormal behavior is determined by matching state change information of the vehicle part with a state chain corresponding to the vehicle part, such that the abnormality detection of a vehicle can be automatically analyzed, thereby improving the speed and accuracy of abnormal behavior detection.

Description

异常行为检测方法、设备、存储介质及装置Abnormal behavior detection method, equipment, storage medium and device 技术领域technical field
本发明涉及车联网技术领域,尤其涉及一种异常行为检测方法、设备、存储介质及装置。The present invention relates to the technical field of Internet of Vehicles, in particular to an abnormal behavior detection method, equipment, storage medium and device.
背景技术Background technique
目前,车联网在汽车领域的应用越来越多,而异常行为检测属于车联网中较为重要的一部分。现有技术中车辆的异常行为检测通常通过人工分析数据,费时费力,准确率低。At present, there are more and more applications of the Internet of Vehicles in the automotive field, and abnormal behavior detection is an important part of the Internet of Vehicles. The abnormal behavior detection of vehicles in the prior art is usually through manual data analysis, which is time-consuming and labor-intensive, and the accuracy rate is low.
上述内容仅用于辅助理解本发明的技术方案,并不代表承认上述内容是现有技术。The above content is only used to assist in understanding the technical solution of the present invention, and does not mean that the above content is admitted as prior art.
发明内容Contents of the invention
本发明的主要目的在于提供一种异常行为检测方法、设备、存储介质及装置,旨在解决现有技术中车辆的异常行为检测通常通过人工分析数据,费时费力,准确率低的技术问题。The main purpose of the present invention is to provide a method, equipment, storage medium and device for abnormal behavior detection, aiming at solving the technical problems in the prior art that the detection of abnormal behavior of vehicles is usually through manual data analysis, which is time-consuming, laborious and has low accuracy.
为实现上述目的,本发明提供一种异常行为检测方法,所述异常行为检测方法包括以下步骤:In order to achieve the above object, the present invention provides a method for detecting abnormal behavior, which includes the following steps:
在检测到车辆部件的状态发生改变时,获取所述车辆部件的状态变化信息;Acquiring state change information of the vehicle component when a change in the state of the vehicle component is detected;
将所述状态变化信息与所述车辆部件对应的状态链进行匹配,所述状态链用于表示各车辆部件之间的状态关联关系;Matching the state change information with the state chain corresponding to the vehicle component, the state chain is used to represent the state association relationship between each vehicle component;
根据匹配结果确定所述车辆部件是否存在异常行为。It is determined whether the vehicle component has abnormal behavior according to the matching result.
可选地,所述将所述状态变化信息与所述车辆部件对应的状态链进行匹配的步骤,包括:Optionally, the step of matching the state change information with the state chain corresponding to the vehicle component includes:
根据所述车辆部件对应的状态链确定与所述车辆部件关联的关联部件;determining an associated component associated with the vehicle component according to the state chain corresponding to the vehicle component;
根据所述状态变化信息和所述状态链确定所述关联部件对应的关联变化信息;determining association change information corresponding to the association component according to the state change information and the state chain;
获取所述关联部件的实际变化信息,并将所述实际变化信息与所述关联变化信息进行匹配。Acquiring actual change information of the associated component, and matching the actual change information with the associated change information.
可选地,所述根据所述车辆部件对应的状态链确定与所述车辆部件关联的关联部件的步骤,包括:Optionally, the step of determining the associated component associated with the vehicle component according to the state chain corresponding to the vehicle component includes:
获取所述车辆部件在对应的状态链中的位置信息;Obtaining position information of the vehicle component in the corresponding state chain;
根据所述位置信息确定与所述车辆部件关联的关联部件。An associated component associated with the vehicle component is determined based on the location information.
可选地,所述根据所述状态变化信息和所述状态链确定所述关联部件对应的关联变化信息的步骤,包括:Optionally, the step of determining the association change information corresponding to the association component according to the state change information and the state chain includes:
根据所述状态变化信息和所述状态链确定所述关联部件的标准状态变化;determining a standard state change of the associated component according to the state change information and the state chain;
根据所述车辆部件和所述状态链确定所述关联部件的标准变化顺序;determining a standard change order of the associated components according to the vehicle components and the state chain;
根据所述标准状态变化和所述标准变化顺序生成所述关联部件对应的关联变化信息。Generate association change information corresponding to the association component according to the standard state change and the standard change sequence.
可选地,所述获取所述关联部件的实际变化信息,并将所述实际变化信息与所述关联变化信息进行匹配的步骤,包括:Optionally, the step of acquiring actual change information of the associated component and matching the actual change information with the associated change information includes:
获取所述关联部件的实际变化信息,并从所述实际变化信息中提取状态变化顺序和实际状态变化;Acquiring actual change information of the associated component, and extracting a state change sequence and an actual state change from the actual change information;
从所述关联变化信息中提取标准变化顺序和标准状态变化;extracting a standard change sequence and a standard state change from the associated change information;
将所述状态变化顺序与所述标准变化顺序进行匹配;matching the sequence of state changes to the standard sequence of changes;
将所述实际状态变化与所述标准状态变化进行匹配。The actual state change is matched with the standard state change.
可选地,所述根据匹配结果确定所述车辆部件是否存在异常行为的步骤,包括:Optionally, the step of determining whether there is abnormal behavior of the vehicle component according to the matching result includes:
获取所述车辆部件对应的控制指令;Acquiring control instructions corresponding to the vehicle components;
根据匹配结果和所述控制指令确定所述车辆部件是否存在异常行为。It is determined whether the vehicle component has abnormal behavior according to the matching result and the control instruction.
可选地,所述根据匹配结果和所述控制指令确定所述车辆部件是否存在异常行为的步骤,包括:Optionally, the step of determining whether there is an abnormal behavior of the vehicle component according to the matching result and the control instruction includes:
根据所述控制指令确定目标部件,并判断所述车辆部件是否为所述目标部件;determining a target component according to the control instruction, and judging whether the vehicle component is the target component;
根据匹配结果和判断结果确定所述车辆部件是否存在异常行为。It is determined whether the vehicle component has abnormal behavior according to the matching result and the judgment result.
可选地,所述将所述状态变化信息与所述车辆部件对应的状态链进行匹配的步骤之前,还包括:Optionally, before the step of matching the state change information with the state chain corresponding to the vehicle component, it may further include:
获取所述车辆部件的运行场景;Acquiring the running scene of the vehicle component;
根据所述运行场景确定所述车辆部件对应的状态链。A state chain corresponding to the vehicle component is determined according to the running scenario.
可选地,所述在检测到车辆部件的状态发生改变时,获取所述车辆部件的状态变化信息的步骤之前,还包括:Optionally, before the step of obtaining the state change information of the vehicle component when it is detected that the state of the vehicle component changes, it may further include:
获取车辆部件的状态数据;Obtain status data of vehicle components;
根据所述状态数据检测所述车辆部件的状态是否发生改变。Whether the state of the vehicle component has changed is detected based on the state data.
可选地,所述获取车辆部件的状态数据的步骤,包括:Optionally, the step of obtaining status data of vehicle components includes:
获取车辆部件的运行数据;Obtain operating data of vehicle components;
对所述运行数据进行预处理,获得所述车辆部件的状态数据。The operation data is preprocessed to obtain the state data of the vehicle components.
可选地,所述根据匹配结果确定所述车辆部件是否存在异常行为的步骤之后,还包括:Optionally, after the step of determining whether there is abnormal behavior of the vehicle component according to the matching result, it further includes:
在所述车辆部件存在异常行为时,生成提醒信息;generating a reminder message when there is an abnormal behavior of the vehicle component;
将所述提醒信息发送至管理终端,以使所述管理终端提醒用户。Send the reminder information to the management terminal, so that the management terminal reminds the user.
可选地,所述在所述车辆部件存在异常行为时,生成提醒信息的步骤,包括:Optionally, the step of generating reminder information when there is an abnormal behavior of the vehicle component includes:
在所述车辆部件存在异常行为时,根据所述车辆部件的部件类别确定提醒策略;When there is an abnormal behavior of the vehicle component, a reminder strategy is determined according to the component category of the vehicle component;
获取所述车辆部件的部件信息,并根据所述提醒策略和所述部件信息生成提醒信息。Obtain component information of the vehicle components, and generate reminder information according to the reminder policy and the component information.
此外,为实现上述目的,本发明还提出一种异常行为检测设备,所述异常行为检测设备包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的异常行为检测程序,所述异常行为检测程序配置为实现如上文所述的异常行为检测方法。In addition, in order to achieve the above object, the present invention also proposes an abnormal behavior detection device, which includes a memory, a processor, and an abnormal behavior detection program stored in the memory and operable on the processor , the abnormal behavior detection program is configured to implement the abnormal behavior detection method as described above.
此外,为实现上述目的,本发明还提出一种存储介质,所述存储介质上存储有异常行为检测程序,所述异常行为检测程序被处理器执行时实现如上文所述的异常行为检测方法。In addition, to achieve the above object, the present invention also proposes a storage medium, on which an abnormal behavior detection program is stored, and when the abnormal behavior detection program is executed by a processor, the abnormal behavior detection method as described above is realized.
此外,为实现上述目的,本发明还提出一种异常行为检测装置,所述异常行为检测装置包括:信息获取模块、状态匹配模块以及行为检测模块;In addition, in order to achieve the above purpose, the present invention also proposes an abnormal behavior detection device, which includes: an information acquisition module, a state matching module, and a behavior detection module;
所述信息获取模块,用于在检测到车辆部件的状态发生改变时,获取所述车辆部件的状态变化信息;The information acquisition module is configured to acquire state change information of the vehicle component when a change in the state of the vehicle component is detected;
所述状态匹配模块,用于将所述状态变化信息与所述车辆部件对应的状态链进行匹配,所述状态链用于表示各车辆部件之间的状态关联关系;The state matching module is used to match the state change information with the state chain corresponding to the vehicle component, and the state chain is used to represent the state association relationship between each vehicle component;
所述行为检测模块,用于根据匹配结果确定所述车辆部件是否存在异常行为。The behavior detection module is configured to determine whether the vehicle component has abnormal behavior according to the matching result.
可选地,所述状态匹配模块,还用于根据所述车辆部件对应的状态链确定与所述车辆部件关联的关联部件;Optionally, the state matching module is further configured to determine an associated component associated with the vehicle component according to the state chain corresponding to the vehicle component;
所述状态匹配模块,还用于根据所述状态变化信息和所述状态链确定所述关联部件对应的关联变化信息;The state matching module is further configured to determine association change information corresponding to the association component according to the state change information and the state chain;
所述状态匹配模块,还用于获取所述关联部件的实际变化信息,并将所述实际变化信息与所述关联变化信息进行匹配。The state matching module is further configured to obtain actual change information of the associated component, and match the actual change information with the associated change information.
可选地,所述状态匹配模块,还用于获取所述车辆部件在对应的状态链中的位置信息;Optionally, the state matching module is further configured to obtain position information of the vehicle component in the corresponding state chain;
所述状态匹配模块,还用于根据所述位置信息确定与所述车辆部件关联的关联部件。The state matching module is further configured to determine an associated component associated with the vehicle component according to the location information.
可选地,所述状态匹配模块,还用于根据所述状态变化信息和所述状态链确定所述关联部件的标准状态变化;Optionally, the state matching module is further configured to determine a standard state change of the associated component according to the state change information and the state chain;
所述状态匹配模块,还用于根据所述车辆部件和所述状态链确定所述关联部件的标准变化顺序;The state matching module is further configured to determine the standard change order of the associated components according to the vehicle components and the state chain;
所述状态匹配模块,还用于根据所述标准状态变化和所述标准变化顺序生成所述关联部件对应的关联变化信息。The state matching module is further configured to generate association change information corresponding to the association components according to the standard state change and the standard change sequence.
可选地,所述状态匹配模块,还用于获取所述关联部件的实际变化信息,并从所述实际变化信息中提取状态变化顺序和实际状态变化;Optionally, the state matching module is further configured to obtain actual change information of the associated component, and extract state change sequence and actual state change from the actual change information;
所述状态匹配模块,还用于从所述关联变化信息中提取标准变化顺序和标准状态变化;The state matching module is further configured to extract standard change order and standard state change from the associated change information;
所述状态匹配模块,还用于将所述状态变化顺序与所述标准变化顺序进行匹配;The state matching module is further configured to match the state change sequence with the standard change sequence;
所述状态匹配模块,还用于将所述实际状态变化与所述标准状态变化进行匹配。The state matching module is further configured to match the actual state change with the standard state change.
可选地,所述行为检测模块,还用于获取所述车辆部件对应的控制指令;Optionally, the behavior detection module is also used to obtain control instructions corresponding to the vehicle components;
所述行为检测模块,还用于根据匹配结果和所述控制指令确定所述车辆部件是否存在异常行为。The behavior detection module is further configured to determine whether there is an abnormal behavior of the vehicle component according to the matching result and the control instruction.
在本发明中,公开了在检测到车辆部件的状态发生改变时,获取车辆部件的状态变化信息,将状态变化信息与车辆部件对应的状态链进行匹配,状态链用于表示各车辆部件之间的状态关联关系,根据匹配结果确定车辆部件是否存在异常行为;由于本发明中通过将车辆部件的状态变化信息与车辆部件对应的状态链进行匹配来判断车辆部件是否存在异常行为,从而能够自动分析对车辆进行异常检测,进而提高了异常行为检测的速度和准确性。In the present invention, it is disclosed that when a change in the state of a vehicle component is detected, the state change information of the vehicle component is obtained, and the state change information is matched with the state chain corresponding to the vehicle component. The state chain is used to indicate the relationship between each vehicle component According to the matching result, it is determined whether there is an abnormal behavior of the vehicle component; since the present invention judges whether there is abnormal behavior of the vehicle component by matching the state change information of the vehicle component with the state chain corresponding to the vehicle component, it can automatically analyze Vehicle anomaly detection, which in turn improves the speed and accuracy of abnormal behavior detection.
附图说明Description of drawings
图1是本发明实施例方案涉及的硬件运行环境的异常行为检测设备的结构示意图;Fig. 1 is a schematic structural diagram of an abnormal behavior detection device in a hardware operating environment involved in the solution of an embodiment of the present invention;
图2为本发明异常行为检测方法第一实施例的流程示意图;Fig. 2 is a schematic flow chart of the first embodiment of the abnormal behavior detection method of the present invention;
图3为本发明异常行为检测方法第二实施例的流程示意图;Fig. 3 is a schematic flow chart of the second embodiment of the abnormal behavior detection method of the present invention;
图4为本发明异常行为检测方法第三实施例的流程示意图;4 is a schematic flow chart of the third embodiment of the abnormal behavior detection method of the present invention;
图5为本发明异常行为检测方法第四实施例的流程示意图;FIG. 5 is a schematic flow chart of the fourth embodiment of the abnormal behavior detection method of the present invention;
图6为本发明异常行为检测装置第一实施例的结构框图。Fig. 6 is a structural block diagram of the first embodiment of the abnormal behavior detection device of the present invention.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization of the purpose of the present invention, functional characteristics and advantages will be further described in conjunction with the embodiments and with reference to the accompanying drawings.
具体实施方式Detailed ways
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.
参照图1,图1为本发明实施例方案涉及的硬件运行环境的异常行为检测设备结构示意图。Referring to FIG. 1 , FIG. 1 is a schematic structural diagram of an abnormal behavior detection device in a hardware operating environment involved in the solution of an embodiment of the present invention.
如图1所示,该异常行为检测设备可以包括:处理器1001,例如中央处理器(Central Processing Unit,CPU),通信总线1002、用户接口1003,网络接口1004,存储器1005。其中,通信总线1002用于实现这些组件之间的连接通信。用户接口1003可以包括显示屏(Display),可选用户接口1003还可以包括标准的有线接口、无线接口,对于用户接口1003的有线接口在本发明中可为USB接口。网络接口1004可选的可以包括标准的有线接口、无线接口(如无线保真(Wireless-Fidelity,Wi-Fi)接口)。存储器1005可以是高速的随机存取存储器(Random Access Memory,RAM)存储器,也可以是稳定的存储器(Non-volatile Memory,NVM),例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储装置。As shown in Figure 1, the abnormal behavior detection device may include: a processor 1001, such as a central processing unit (Central Processing Unit, CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein, the communication bus 1002 is used to realize connection and communication between these components. The user interface 1003 may include a display screen (Display). The optional user interface 1003 may also include a standard wired interface and a wireless interface. The wired interface of the user interface 1003 may be a USB interface in the present invention. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a Wireless-Fidelity (Wi-Fi) interface). The memory 1005 may be a high-speed random access memory (Random Access Memory, RAM) memory, or a stable memory (Non-volatile Memory, NVM), such as a disk memory. Optionally, the memory 1005 may also be a storage device independent of the aforementioned processor 1001 .
本领域技术人员可以理解,图1中示出的结构并不构成对异常行为检测设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Those skilled in the art can understand that the structure shown in FIG. 1 does not constitute a limitation on the abnormal behavior detection device, and may include more or less components than shown in the figure, or combine some components, or arrange different components.
如图1所示,认定为一种计算机存储介质的存储器1005中可以包括操作系统、网络通信模块、用户接口模块以及异常行为检测程序。As shown in FIG. 1 , the memory 1005 identified as a computer storage medium may include an operating system, a network communication module, a user interface module, and an abnormal behavior detection program.
在图1所示的异常行为检测设备中,网络接口1004主要用于连接后台服务器,与所述后台服务器进行数据通信;用户接口1003主要用于连接用户设备;所述异常行为检测设备通过处理器1001调用存储器1005中存储的异常行为检测程序,并执行本发明实施例提供的异常行为检测方法。In the abnormal behavior detection device shown in Figure 1, the network interface 1004 is mainly used to connect to the background server and perform data communication with the background server; the user interface 1003 is mainly used to connect to the user equipment; the abnormal behavior detection device passes through the processor 1001 calls the abnormal behavior detection program stored in the memory 1005, and executes the abnormal behavior detection method provided by the embodiment of the present invention.
基于上述硬件结构,提出本发明异常行为检测方法的实施例。Based on the above hardware structure, an embodiment of the abnormal behavior detection method of the present invention is proposed.
参照图2,图2为本发明异常行为检测方法第一实施例的流程示意图,提出本发明异常行为检测方法第一实施例。Referring to FIG. 2 , which is a schematic flow chart of the first embodiment of the abnormal behavior detection method of the present invention, the first embodiment of the abnormal behavior detection method of the present invention is proposed.
在第一实施例中,所述异常行为检测方法包括以下步骤:In a first embodiment, the abnormal behavior detection method includes the following steps:
步骤S10:在检测到车辆部件的状态发生改变时,获取所述车辆部件的状态变化信息。Step S10: Acquiring state change information of the vehicle component when it is detected that the state of the vehicle component has changed.
应当理解的是,本实施例方法的执行主体可以是具有数据处理、网络通信以及程序运行功能的异常行为检测设备,例如,车载电脑、服务器等,或者是其他能够实现相同或相似功能的电子设备,本实施例对此不加限制。It should be understood that the execution subject of the method in this embodiment may be an abnormal behavior detection device with data processing, network communication and program running functions, such as a vehicle-mounted computer, server, etc., or other electronic devices that can achieve the same or similar functions , which is not limited in this embodiment.
需要说明的是,车辆部件可以包括车门、方向盘以及油门等部件。It should be noted that the vehicle components may include components such as a door, a steering wheel, and an accelerator.
状态变化信息可以是车辆部件从一个状态变化到另一个状态的信息。例如,状态变化信息可以是车门的状态从开启到关闭的信息。State change information may be information that a vehicle component changes from one state to another. For example, the state change information may be information that the state of the vehicle door changes from open to closed.
可以理解的是,获取车辆部件的状态变化信息可以是将状态数据与前一检测周期的状态数据进行对比,并根据对比结果确定车辆部件的状态变化信息。其中,检测周期可以预先设置,例如,检测周期可以设置为1S。It can be understood that acquiring the state change information of the vehicle component may be comparing the state data with the state data of the previous detection period, and determining the state change information of the vehicle component according to the comparison result. Wherein, the detection cycle may be preset, for example, the detection cycle may be set to 1S.
步骤S20:将所述状态变化信息与所述车辆部件对应的状态链进行匹配,所述状态链用于表示各车辆部件之间的状态关联关系。Step S20: Match the state change information with the state chain corresponding to the vehicle component, the state chain is used to represent the state association relationship between the various vehicle components.
需要说明的是,状态链用于表示各车辆部件正常运行时的状态关联关系。例如,状态链可以是部件S1、S2、S3的状态依次从关闭到开启。It should be noted that the state chain is used to represent the state association relationship of each vehicle component during normal operation. For example, the state chain may be that the states of the components S1, S2, S3 sequentially change from off to on.
应当理解的是,将状态变化信息与车辆部件对应的状态链进行匹配可以是根据所述车辆部件对应的状态链确定与车辆部件关联的关联部件,根据状态变化信息和状态链确定关联部件对应的关联变化信息,获取关联部件的实际变化信息,并将实际变化信息与关联变化信息进行匹配。It should be understood that matching the state change information with the state chain corresponding to the vehicle component may be to determine the associated component associated with the vehicle component according to the state chain corresponding to the vehicle component, and determine the corresponding Associating change information, obtaining actual change information of associated components, and matching the actual change information with the associated change information.
需要说明的是,关联部件可以是与车辆部件存在状态关联的部件。例如,状态链为部件S1、S2、S3的状态依次发生变化,车辆部件为S2时,与车辆部件存在状态关联的部件为S1和S3。It should be noted that the associated component may be a component associated with the existence state of the vehicle component. For example, the state chain is that the states of components S1, S2, and S3 change sequentially. When the vehicle component is S2, the components associated with the vehicle component state are S1 and S3.
在具体实现中,例如,在状态链为部件S1、S2、S3的状态依次从关闭到开启,车辆部件为S2时,关联部件为S1和S3,在S2的状态变化信息为开启到关闭时,关联部件对应的关联变化信息是S1从关闭到开启,S3从关闭到开启。In a specific implementation, for example, when the state chain is the state of components S1, S2, and S3 from closed to open in sequence, when the vehicle component is S2, the associated components are S1 and S3, and when the state change information of S2 is from open to closed, The association change information corresponding to the association components is that S1 is turned from off to on, and S3 is turned from off to on.
可以理解的是,将实际变化信息与关联变化信息进行匹配可以是在实际变化信息为开启到关闭,关联变化信息为关闭到开启时,判定实际变化信息与关联变化信息匹配失败;在实际变化信息为关闭到开启,关联变化信息为关闭到开启时,判定实际变化信息与关联变化信息匹配成功。It can be understood that matching the actual change information with the associated change information may be when the actual change information is from on to off and the associated change information is from off to on, and it is determined that the matching between the actual change information and the associated change information fails; From off to on, and the association change information is from off to on, it is determined that the actual change information matches the association change information successfully.
步骤S30:根据匹配结果确定所述车辆部件是否存在异常行为。Step S30: Determine whether the vehicle component has abnormal behavior according to the matching result.
应当理解的是,在匹配结果为匹配失败时,说明关联部件的状态变化与状态链不同,车辆部件未随着关联部件的变化而变化,可以判定车辆部件存在异常行为;在匹配结果为匹配成功时,说明关联部件的状态变化与状态链相同,车辆部件随着关联部件的变化而变化,可以判定车辆部件不存在异常行为。It should be understood that when the matching result is a matching failure, it means that the state change of the associated component is different from the state chain, and the vehicle component does not change with the change of the associated component, and it can be determined that there is an abnormal behavior of the vehicle component; when the matching result is a successful matching When , it shows that the state change of the associated component is the same as the state chain, and the vehicle component changes with the change of the associated component, so it can be determined that there is no abnormal behavior of the vehicle component.
在第一实施例中,公开了在检测到车辆部件的状态发生改变时,获取车辆部件的状态变化信息,将状态变化信息与车辆部件对应的状态链进行匹配,状态链用于表示各车辆部件之间的状态关联关系,根据匹配结果确定车辆部件是否存在异常行为;由于本实施例中通过将车辆部件的状态变化信息与车辆部件对应的状态链进行匹配来判断车辆部件是否存在异常行为,从而能够自动分析对车辆进行异常检测,进而提高了异常行为检测的速度和准确性。In the first embodiment, it is disclosed that when the state change of a vehicle component is detected, the state change information of the vehicle component is obtained, and the state change information is matched with the state chain corresponding to the vehicle component. The state chain is used to represent each vehicle component According to the state association relationship between the vehicle components, it is determined whether there is an abnormal behavior of the vehicle component according to the matching result; since in this embodiment, it is judged whether the vehicle component has abnormal behavior by matching the state change information of the vehicle component with the state chain corresponding to the vehicle component, thus It can automatically analyze and detect abnormalities of vehicles, thereby improving the speed and accuracy of abnormal behavior detection.
参照图3,图3为本发明异常行为检测方法第二实施例的流程示意图,基于上述图2所示的第一实施例,提出本发明异常行为检测方法的第二实施例。Referring to FIG. 3 , FIG. 3 is a schematic flowchart of the second embodiment of the abnormal behavior detection method of the present invention. Based on the first embodiment shown in FIG. 2 above, the second embodiment of the abnormal behavior detection method of the present invention is proposed.
在第二实施例中,所述步骤S20,包括:In the second embodiment, the step S20 includes:
步骤S201:根据所述车辆部件对应的状态链确定与所述车辆部件关联的关联部件。Step S201: Determine an associated component associated with the vehicle component according to the state chain corresponding to the vehicle component.
需要说明的是,关联部件可以是与车辆部件存在状态关联的部件。例如,状态链为部件S1、S2、S3的状态依次从关闭到开启,车辆部件为S2时,与车辆部件存在状态关联的部件为S1和S3。It should be noted that the associated component may be a component associated with the existence state of the vehicle component. For example, the state chain is that the states of components S1, S2, and S3 are in sequence from closed to open, and when the vehicle component is S2, the components that are associated with the state of the vehicle component are S1 and S3.
应当理解的是,根据车辆部件对应的状态链确定与车辆部件关联的关联部件可以是对车辆部件对应的状态链进行分析,并根据分析结果确定与车辆部件关联的关联部件。It should be understood that determining the associated component associated with the vehicle component according to the state chain corresponding to the vehicle component may be analyzing the state chain corresponding to the vehicle component, and determining the associated component associated with the vehicle component according to the analysis result.
步骤S202:根据所述状态变化信息和所述状态链确定所述关联部件对应的关联变化信息。Step S202: Determine association change information corresponding to the association component according to the state change information and the state chain.
在具体实现中,例如,在状态链为部件S1、S2、S3的状态依次从关闭到开启,车辆部件为S2时,关联部件为S1和S3,在S2的状态变化信息为开启到关闭时,关联部件对应的关联变化信息是S1从关闭到开启,S3从关闭到开启。In a specific implementation, for example, when the state chain is the state of components S1, S2, and S3 from closed to open in sequence, when the vehicle component is S2, the associated components are S1 and S3, and when the state change information of S2 is from open to closed, The association change information corresponding to the association components is that S1 is turned from off to on, and S3 is turned from off to on.
步骤S203:获取所述关联部件的实际变化信息,并将所述实际变化信息与所述关联变化信息进行匹配。Step S203: Obtain actual change information of the associated component, and match the actual change information with the associated change information.
需要说明的是,实际变化信息可以是关联部件在实际中的状态变化信息。It should be noted that the actual change information may be actual state change information of associated components.
可以理解的是,将实际变化信息与关联变化信息进行匹配可以是在实际变化信息为开启到关闭,关联变化信息为关闭到开启时,判定实际变化信息与关联变化信息匹配失败;在实际变化信息为关闭到开启,关联变化信息为关闭到开启时,判定实际变化信息与关联变化信息匹配成功。It can be understood that matching the actual change information with the associated change information may be when the actual change information is from on to off and the associated change information is from off to on, and it is determined that the matching between the actual change information and the associated change information fails; From off to on, and the association change information is from off to on, it is determined that the actual change information matches the association change information successfully.
在第二实施例中,公开了根据车辆部件对应的状态链确定与车辆部件关联的关联部件,根据状态变化信息和状态链确定关联部件对应的关联变化信息,获取关联部件的实际变化信息,并将实际变化信息与关联变化信息进行匹配,从而能够提高了匹配可靠性。In the second embodiment, it is disclosed that the associated parts associated with the vehicle parts are determined according to the state chains corresponding to the vehicle parts, the associated change information corresponding to the associated parts is determined according to the state change information and the state chain, the actual change information of the associated parts is obtained, and The actual change information is matched with the associated change information, so that matching reliability can be improved.
在第二实施例中,所述步骤S30,包括:In the second embodiment, the step S30 includes:
步骤S301:获取所述车辆部件对应的控制指令。Step S301: Obtain control instructions corresponding to the vehicle components.
应当理解的是,在实际应用中,还存在用户直接控制车辆部件的情况。为了避免误判,本实施例中,还获取车辆部件对应的控制指令,并根据匹配结果和控制指令确定车辆部件是否存在异常行为。It should be understood that in practical applications, there are still situations where the user directly controls the vehicle components. In order to avoid misjudgment, in this embodiment, the control instructions corresponding to the vehicle components are also obtained, and it is determined whether the vehicle components have abnormal behavior according to the matching result and the control instructions.
需要说明的是,控制指令可以由用户通过车机系统发出,也可以由用户通过用户终端发出。其中,用户终端可以预先与异常行为检测设备建立通信连接,用户终端可以是手机、手环等设备。It should be noted that the control instruction may be issued by the user through the vehicle-machine system, or may be issued by the user through the user terminal. Wherein, the user terminal may establish a communication connection with the abnormal behavior detection device in advance, and the user terminal may be a device such as a mobile phone or a bracelet.
步骤S302:根据匹配结果和所述控制指令确定所述车辆部件是否存在异常行为。Step S302: Determine whether the vehicle component has abnormal behavior according to the matching result and the control instruction.
可以理解的是,根据匹配结果和控制指令确定所述车辆部件是否存在异常行为可以是根据控制指令确定目标部件,并判断车辆部件是否为目标部件,根据匹配结果和判断结果确定车辆部件是否存在异常行为。It can be understood that determining whether the vehicle component has abnormal behavior according to the matching result and the control instruction may be determining the target component according to the control instruction, and judging whether the vehicle component is the target component, and determining whether the vehicle component is abnormal according to the matching result and the judgment result Behavior.
应当理解的是,根据匹配结果和判断结果确定车辆部件是否存在异常行为可以是在匹配结果为匹配失败时,且车辆部件不为目标部件,判定车辆部件存在异常行为;在匹配结果为匹配失败时,判定车辆部件不存在异常行为。It should be understood that, according to the matching result and the judgment result, determining whether there is an abnormal behavior of the vehicle component may be when the matching result is a matching failure, and the vehicle component is not the target component, and it is determined that the vehicle component has an abnormal behavior; when the matching result is a matching failure , to determine that there is no abnormal behavior of the vehicle components.
在第二实施例中,公开了获取车辆部件对应的控制指令,根据匹配结果和控制指令确定车辆部件是否存在异常行为;由于本实施例还能进一步验证控制指令对车辆部件的影响,从而避免了出现误判,提高了异常行为检测的准确性。In the second embodiment, it is disclosed to obtain the control instructions corresponding to the vehicle components, and determine whether the vehicle components have abnormal behavior according to the matching results and the control instructions; since this embodiment can further verify the influence of the control instructions on the vehicle components, thus avoiding the Misjudgments occur, improving the accuracy of abnormal behavior detection.
参照图4,图4为本发明异常行为检测方法第三实施例的流程示意图,基于上述图3所示的第二实施例,提出本发明异常行为检测方法的第三实施例。Referring to FIG. 4 , FIG. 4 is a schematic flowchart of the third embodiment of the abnormal behavior detection method of the present invention. Based on the second embodiment shown in FIG. 3 above, the third embodiment of the abnormal behavior detection method of the present invention is proposed.
在第三实施例中,所述步骤S201,包括:In the third embodiment, the step S201 includes:
步骤S2011:获取所述车辆部件在对应的状态链中的位置信息。Step S2011: Obtain the position information of the vehicle component in the corresponding state chain.
应当理解的是,逐一对车辆部件对应的状态链进行分析,费时费力,处理速度慢。因此,为了克服上述缺陷,本实施例中,先获取车辆部件在对应状态链中的位置信息,再根据位置信息确定与车辆部件关联的关联部件。It should be understood that analyzing the state chains corresponding to the vehicle components one by one is time-consuming and laborious, and the processing speed is slow. Therefore, in order to overcome the above defects, in this embodiment, the position information of the vehicle component in the corresponding state chain is obtained first, and then the associated component associated with the vehicle component is determined according to the position information.
需要说明的是,位置信息可以是车辆部件在状态链中的位置。It should be noted that the position information may be the position of the vehicle component in the state chain.
步骤S2012:根据所述位置信息确定与所述车辆部件关联的关联部件。Step S2012: Determine an associated component associated with the vehicle component according to the location information.
可以理解的是,根据位置信息确定与车辆部件关联的关联部件可以是根据位置信息确定在状态链中与车辆部件相邻的部件,并将该部件作为与车辆部件关联的关联部件。It can be understood that determining the associated component associated with the vehicle component according to the position information may be determining a component adjacent to the vehicle component in the state chain according to the position information, and using this component as an associated component associated with the vehicle component.
在具体实现中,例如,状态链为部件S1、S2、S3的状态依次从关闭到开启,车辆部件为S2时,车辆部件在对应的状态链中的位置信息为位于S1和S3之间,则根据位置信息可以确定与车辆部件关联的关联部件为S1、S3。In a specific implementation, for example, the state chain is that the states of components S1, S2, and S3 are sequentially turned from closed to open, and when the vehicle component is S2, the position information of the vehicle component in the corresponding state chain is located between S1 and S3, then According to the location information, it can be determined that the associated components associated with the vehicle components are S1 and S3.
在第三实施例中,公开了获取车辆部件在对应的状态链中的位置信息,根据位置信息确定与车辆部件关联的关联部件;由于本实施例中直接基于车辆部件在对应的状态链中的位置信息来确定关联部件,从而提高了关键部件的确定速度,进而提高了异常行为检测的整体速度。In the third embodiment, it is disclosed that the position information of the vehicle component in the corresponding state chain is obtained, and the associated component associated with the vehicle component is determined according to the position information; since this embodiment is directly based on the position information of the vehicle component in the corresponding state chain Position information is used to determine associated components, thereby increasing the speed of determining key components, thereby improving the overall speed of abnormal behavior detection.
在第三实施例中,所述步骤S202,包括:In the third embodiment, the step S202 includes:
步骤S2021:根据所述状态变化信息和所述状态链确定所述关联部件的标准状态变化。Step S2021: Determine a standard state change of the associated component according to the state change information and the state chain.
需要说明的是,标准状态变化可以是关联部件在正常运行时的状态变化。It should be noted that the standard state change may be a state change of an associated component during normal operation.
在具体实现中,例如,在状态链为部件S1、S2、S3的状态依次从关闭到开启,车辆部件为S2时,关联部件为S1和S3,在S2的状态变化信息为开启到关闭时,关联部件对应的准状态变化是S1从关闭到开启,S3从关闭到开启。In a specific implementation, for example, when the state chain is the state of components S1, S2, and S3 from closed to open in sequence, when the vehicle component is S2, the associated components are S1 and S3, and when the state change information of S2 is from open to closed, The quasi-state changes corresponding to the associated components are S1 from off to on, and S3 from off to on.
步骤S2022:根据所述车辆部件和所述状态链确定所述关联部件的标准变化顺序。Step S2022: Determine the standard change order of the associated components according to the vehicle components and the state chain.
需要说明的是,标准变化顺序可以是各关联部件在正常运行时的状态变化顺序。It should be noted that the standard change sequence may be the state change sequence of each associated component during normal operation.
在具体实现中,例如,在状态链为部件S1、S2、S3的状态依次从关闭到开启,车辆部件为S2时,关联部件为S1和S3,标准变化顺序为先S1从关闭到开启,再S2从关闭到开启,最后S3从关闭到开启。In a specific implementation, for example, when the state chain is the state of components S1, S2, and S3 from closed to open in sequence, when the vehicle component is S2, the associated components are S1 and S3, and the standard change order is first S1 from closed to open, and then S2 goes from off to on, and finally S3 goes from off to on.
步骤S2023:根据所述标准状态变化和所述标准变化顺序生成所述关联部件对应的关联变化信息。Step S2023: Generate association change information corresponding to the association component according to the standard state change and the standard change sequence.
应当理解的是,根据标准状态变化和标准变化顺序生成关联部件对应的关联变化信息 可以是将标准状态变化和标准变化顺序作为关联部件对应的关联变化信息。It should be understood that generating the associated change information corresponding to the associated component according to the standard state change and the standard change sequence may be to use the standard state change and the standard change sequence as the associated change information corresponding to the associated component.
在第三实施例中,公开了根据状态变化信息和状态链确定关联部件的标准状态变化,根据车辆部件和状态链确定关联部件的标准变化顺序,根据标准状态变化和标准变化顺序生成关联部件对应的关联变化信息;由于本实施例额外引入了关联部件的标准变化顺序来生成关联变化信息,从而提高了关联变化信息的可靠性,进而确保了异常行为检测的准确性。In the third embodiment, it is disclosed that the standard state change of associated components is determined according to the state change information and the state chain, the standard change sequence of the associated components is determined according to the vehicle component and the state chain, and the corresponding component is generated according to the standard state change and the standard change sequence. The association change information; since this embodiment additionally introduces the standard change sequence of the association components to generate the association change information, the reliability of the association change information is improved, and the accuracy of abnormal behavior detection is ensured.
在第三实施例中,所述步骤S203,包括:In the third embodiment, the step S203 includes:
步骤S2031:获取所述关联部件的实际变化信息,并从所述实际变化信息中提取状态变化顺序和实际状态变化。Step S2031: Obtain the actual change information of the associated component, and extract the state change order and the actual state change from the actual change information.
需要说明的是,实际变化信息可以是关联部件在实际中的状态变化信息。It should be noted that the actual change information may be actual state change information of associated components.
应当理解的是,从实际变化信息中提取状态变化顺序和实际状态变化可以是根据信息标识从实际变化信息中提取状态变化顺序和实际状态变化。其中,信息标识用于表示信息内容。It should be understood that extracting the state change sequence and the actual state change from the actual change information may be extracting the state change sequence and the actual state change from the actual change information according to the information identifier. Wherein, the information identifier is used to represent information content.
步骤S2032:从所述关联变化信息中提取标准变化顺序和标准状态变化。Step S2032: Extract standard change order and standard state change from the associated change information.
可以理解的是,从关联变化信息中提取标准变化顺序和标准状态变化也可以根据信息标识从关联变化信息中提取标准变化顺序和标准状态变化。It can be understood that the extraction of the standard change order and the standard state change from the association change information may also extract the standard change order and the standard state change from the association change information according to the information identifier.
步骤S2033:将所述状态变化顺序与所述标准变化顺序进行匹配。Step S2033: Match the state change sequence with the standard change sequence.
应当理解的是,在实际应用中,异常行为除了状态变化异常外,还存在状态变化顺序异常的情况。例如,在状态链为部件S1、S2、S3的状态依次从关闭到开启,车辆部件为S2时,关联部件为S1和S3,标准变化顺序为S1从关闭到开启,再S2从关闭到开启,最后S3从关闭到开启。如果状态变化顺序与标准变化顺序不同,则说明关联部件的状态变化顺序异常。因此,本实施例中,还将状态变化顺序与标准变化顺序进行匹配。It should be understood that in practical applications, in addition to abnormal state changes, abnormal behaviors also have abnormal state change sequences. For example, when the state chain is the state of components S1, S2, and S3 from closed to open in turn, when the vehicle component is S2, the associated components are S1 and S3, and the standard change sequence is S1 from closed to open, and then S2 from closed to open, Finally S3 goes from off to on. If the state change order is different from the standard change order, then the state change order of the associated component is abnormal. Therefore, in this embodiment, the state change sequence is also matched with the standard change sequence.
步骤S2034:将所述实际状态变化与所述标准状态变化进行匹配。Step S2034: Match the actual state change with the standard state change.
应当理解的是,将实际变化信息与标准状态变化进行匹配可以是在实际变化信息为开启到关闭,标准状态变化为关闭到开启时,判定实际变化信息与标准状态变化匹配失败;在实际变化信息为关闭到开启,标准状态变化为关闭到开启时,判定实际变化信息与关联变化信息匹配成功。It should be understood that matching the actual change information with the standard state change may be when the actual change information is from on to off and the standard state is from off to on, and it is determined that the matching between the actual change information and the standard state change fails; From closed to open, when the standard state changes from closed to open, it is determined that the actual change information matches the associated change information successfully.
在第三实施例中,公开了获取关联部件的实际变化信息,并从实际变化信息中提取状态变化顺序和实际状态变化,从关联变化信息中提取标准变化顺序和标准状态变化,将状 态变化顺序与标准变化顺序进行匹配,将实际状态变化与标准状态变化进行匹配;由于本实施例在进行匹配时,还匹配状态变化顺序,从而进一步提高了异常行为检测的准确性。In the third embodiment, it is disclosed that the actual change information of associated components is obtained, and the state change order and actual state change are extracted from the actual change information, the standard change order and standard state change are extracted from the associated change information, and the state change order Matching with the standard change sequence matches the actual state change with the standard state change; since this embodiment also matches the state change sequence during matching, the accuracy of abnormal behavior detection is further improved.
参照图5,图5为本发明异常行为检测方法第四实施例的流程示意图,基于上述图2所示的第一实施例,提出本发明异常行为检测方法的第四实施例。Referring to FIG. 5 , FIG. 5 is a schematic flowchart of the fourth embodiment of the abnormal behavior detection method of the present invention. Based on the first embodiment shown in FIG. 2 above, the fourth embodiment of the abnormal behavior detection method of the present invention is proposed.
在第四实施例中,所述步骤S10之前,还包括:In the fourth embodiment, before the step S10, it also includes:
步骤S01:获取车辆部件的状态数据。Step S01: Acquiring status data of vehicle components.
应当理解的是,为了确定判断车辆部件的状态是否发生改变,本实施例中,可以获取车辆部件的状态数据,并根据状态数据检测车辆部件的状态是否发生改变。It should be understood that, in order to determine whether the state of the vehicle component changes, in this embodiment, the state data of the vehicle component may be obtained, and whether the state of the vehicle component changes is detected according to the state data.
需要说明的是,状态数据可以包括部件运行时间以及部件运行参数等数据。It should be noted that the status data may include data such as component operating time and component operating parameters.
可以理解的是,获取车辆部件的状态数据可以是通过预设通信方式获取各传感器上传的状态数据。其中,预设通信方式可以预先设置,例如,将CAN总线通信设置为预设通信方式,各传感器可以预先安装在车辆部件上,用于实时检测车辆部件的数据。It can be understood that acquiring the status data of the vehicle components may be acquiring the status data uploaded by each sensor through a preset communication method. Wherein, the preset communication mode can be set in advance, for example, the CAN bus communication is set as the preset communication mode, and each sensor can be pre-installed on the vehicle component for real-time detection of data of the vehicle component.
进一步地,直接获取状态数据较为困难。因此,为了提高数据获取速度,所述步骤S10,包括:Furthermore, it is relatively difficult to directly obtain status data. Therefore, in order to improve the data acquisition speed, the step S10 includes:
获取车辆部件的运行数据;Obtain operating data of vehicle components;
对所述运行数据进行预处理,获得所述车辆部件的状态数据。The operation data is preprocessed to obtain the state data of the vehicle components.
需要说明的是,运行数据可以是车辆部件在运行过程中产生的数据。It should be noted that the running data may be data generated by vehicle components during running.
应当理解的是,对运行数据进行预处理,获得车辆部件的状态数据可以是对运行数据进行筛选、过滤,以去除干扰数据,获得车辆部件的状态数据。It should be understood that the preprocessing of the operating data to obtain the status data of the vehicle components may be screening and filtering the operating data to remove interference data and obtain the status data of the vehicle components.
步骤S02:根据所述状态数据检测所述车辆部件的状态是否发生改变。Step S02: Detecting whether the state of the vehicle component changes according to the state data.
应当理解的是,根据状态数据检测车辆部件的状态是否发生改变可以是将状态数据与前一检测周期的状态数据进行对比,并根据对比结果检测车辆部件的状态是否发生改变。其中,检测周期可以预先设置。It should be understood that detecting whether the state of the vehicle component changes according to the state data may be comparing the state data with the state data of the previous detection period, and detecting whether the state of the vehicle component changes according to the comparison result. Wherein, the detection cycle can be preset.
可以理解的是,根据结果检测车辆部件的状态是否发生改变可以是在对比结果为状态数据与前一检测周期的状态数据不同时,确定车辆部件的状态发生改变;在对比结果为状态数据与前一检测周期的状态数据相同时,确定车辆部件的状态未发生改变。It can be understood that detecting whether the state of the vehicle component changes according to the result may be to determine that the state of the vehicle component has changed when the comparison result is that the state data is different from the state data of the previous detection cycle; When the state data of a detection period are the same, it is determined that the state of the vehicle component has not changed.
在第四实施例中,公开了获取车辆部件的状态数据,根据状态数据检测车辆部件的状态是否发生改变,从而能够确保状态检测的可靠性。In the fourth embodiment, it is disclosed that the status data of the vehicle components is obtained, and whether the status of the vehicle components changes is detected according to the status data, so that the reliability of the status detection can be ensured.
在第四实施例中,所述步骤S20之前,还包括:In the fourth embodiment, before the step S20, it also includes:
步骤S110:获取所述车辆部件的运行场景。Step S110: Obtain the running scene of the vehicle component.
应当理解的是,在实际应用中,车辆部件对应的状态链不是固定的,不同的运行场景对应不同的状态链。因此,为了确保状态链的准确性,本实施例中,先获取车辆部件的运行场景,再根据运行场景确定车辆部件对应的状态链。It should be understood that in practical applications, the state chains corresponding to vehicle components are not fixed, and different operating scenarios correspond to different state chains. Therefore, in order to ensure the accuracy of the state chain, in this embodiment, the operating scene of the vehicle component is obtained first, and then the state chain corresponding to the vehicle component is determined according to the operating scene.
需要说明的是,运行场景可以是停车场景、行驶场景以及倒车场景等。It should be noted that the running scene may be a parking scene, a driving scene, a reversing scene, and the like.
步骤S120:根据所述运行场景确定所述车辆部件对应的状态链。Step S120: Determine the state chain corresponding to the vehicle component according to the running scenario.
可以理解的是,根据运行场景确定车辆部件对应的状态链可以是在预设状态表中查找运行场景对应的状态链。其中,预设状态表中包含运行场景与状态链的对应关系,运行场景与状态链的对应关系可以预先设置。It can be understood that determining the state chain corresponding to the vehicle component according to the running scenario may be searching the state chain corresponding to the running scenario in a preset state table. Wherein, the preset state table includes a corresponding relationship between running scenarios and state chains, and the corresponding relationship between running scenarios and state chains can be preset.
在第四实施例中,公开了获取车辆部件的运行场景,根据运行场景确定车辆部件对应的状态链;由于本实施例能够根据实际情况的不同采用不同的状态链,从而确保了状态链的可靠性。In the fourth embodiment, it is disclosed to obtain the operation scene of the vehicle component, and determine the state chain corresponding to the vehicle part according to the operation scene; because this embodiment can adopt different state chains according to the actual situation, thereby ensuring the reliability of the state chain sex.
在第四实施例中,所述步骤S30之后,还包括:In the fourth embodiment, after the step S30, further include:
步骤S40:在所述车辆部件存在异常行为时,生成提醒信息。Step S40: generating reminder information when the vehicle component has abnormal behavior.
应当理解的是,为了及时提醒用户车辆部件存在异常行为,本实施例中,在车辆部件存在异常行为时,生成提醒信息,并将提醒信息发送至管理终端,以使管理终端提醒用户。It should be understood that, in order to promptly remind the user of the abnormal behavior of the vehicle component, in this embodiment, when the vehicle component has abnormal behavior, a reminder message is generated and sent to the management terminal, so that the management terminal reminds the user.
需要说明的是,提醒信息可以预先设置,例如,将“车辆存在异常”作为提醒信息。It should be noted that the reminder information can be preset, for example, "there is an abnormality in the vehicle" is used as the reminder information.
进一步地,为了使提醒信息更符合用户的实际需求,所述步骤S40,包括:Further, in order to make the reminder information more in line with the actual needs of the user, the step S40 includes:
在所述车辆部件存在异常行为时,根据所述车辆部件的部件类别确定提醒策略;When there is an abnormal behavior of the vehicle component, a reminder strategy is determined according to the component category of the vehicle component;
获取所述车辆部件的部件信息,并根据所述提醒策略和所述部件信息生成提醒信息。Obtain component information of the vehicle components, and generate reminder information according to the reminder strategy and the component information.
需要说明的是,提醒策略可以包括语音提醒、文字提醒以及灯光提醒等策略。It should be noted that the reminder strategy may include strategies such as voice reminder, text reminder, and light reminder.
可以理解的是,根据车辆部件的部件类别确定提醒策略可以是在预设策略表中查找部件类别对应的提醒策略。其中,预设策略表中包含部件类别与提醒策略的对应关系,部件类别与提醒策略的对应关系可以预先设置。例如,车门对应的提醒策略可以是语音提醒。It can be understood that determining the reminder strategy according to the component category of the vehicle component may be to look up a reminder strategy corresponding to the component category in a preset strategy table. Wherein, the preset strategy table includes the corresponding relationship between component categories and reminder strategies, and the corresponding relationship between component categories and reminder strategies can be preset. For example, the reminder policy corresponding to the car door may be a voice reminder.
需要说明的是,部件信息可以包括部件名称以及部件位置等信息。It should be noted that the component information may include information such as component names and component locations.
步骤S50:将所述提醒信息发送至管理终端,以使所述管理终端提醒用户。Step S50: Send the reminder information to the management terminal, so that the management terminal reminds the user.
应当理解的是,将提醒信息发送至管理终端可以是通过预设通信连接将提醒信息发送至管理终端。其中,预设通信连接可以预先设置。It should be understood that sending the reminder information to the management terminal may be sending the reminder information to the management terminal through a preset communication connection. Wherein, the preset communication connection may be preset.
在第四实施例中,公开了在车辆部件存在异常行为时,生成提醒信息,将提醒信息发送至管理终端,以使管理终端提醒用户;由于本实施例在车辆部件存在异常时,会提醒用户,从而提高了用户的体验。In the fourth embodiment, it is disclosed that when there is an abnormal behavior of a vehicle part, a reminder message is generated, and the reminder message is sent to the management terminal, so that the management terminal reminds the user; because this embodiment will remind the user when the vehicle part has an abnormality , thereby improving the user experience.
此外,本发明实施例还提出一种存储介质,所述存储介质上存储有异常行为检测程序,所述异常行为检测程序被处理器执行时实现如上文所述的异常行为检测方法。In addition, the embodiment of the present invention also proposes a storage medium, on which an abnormal behavior detection program is stored, and when the abnormal behavior detection program is executed by a processor, the abnormal behavior detection method as described above is implemented.
此外,参照图6,本发明实施例还提出一种异常行为检测装置,所述异常行为检测装置包括:信息获取模块10、状态匹配模块20以及行为检测模块30;In addition, referring to FIG. 6 , an embodiment of the present invention also proposes an abnormal behavior detection device, which includes: an information acquisition module 10, a state matching module 20, and a behavior detection module 30;
所述信息获取模块10,用于在检测到车辆部件的状态发生改变时,获取所述车辆部件的状态变化信息。The information acquisition module 10 is configured to acquire state change information of the vehicle component when a change in the state of the vehicle component is detected.
需要说明的是,车辆部件可以包括车门、方向盘以及油门等部件。It should be noted that the vehicle components may include components such as a door, a steering wheel, and an accelerator.
状态变化信息可以是车辆部件从一个状态变化到另一个状态的信息。例如,状态变化信息可以是车门的状态从开启到关闭的信息。State change information may be information that a vehicle component changes from one state to another. For example, the state change information may be information that the state of the vehicle door changes from open to closed.
可以理解的是,获取车辆部件的状态变化信息可以是将状态数据与前一检测周期的状态数据进行对比,并根据对比结果确定车辆部件的状态变化信息。其中,检测周期可以预先设置,例如,检测周期可以设置为1S。It can be understood that acquiring the state change information of the vehicle component may be comparing the state data with the state data of the previous detection period, and determining the state change information of the vehicle component according to the comparison result. Wherein, the detection cycle may be preset, for example, the detection cycle may be set to 1S.
所述状态匹配模块20,用于将所述状态变化信息与所述车辆部件对应的状态链进行匹配,所述状态链用于表示各车辆部件之间的状态关联关系。The state matching module 20 is configured to match the state change information with the state chains corresponding to the vehicle components, and the state chains are used to represent the state correlations between the various vehicle components.
需要说明的是,状态链用于表示各车辆部件正常运行时的状态关联关系。例如,状态链可以是部件S1、S2、S3的状态依次从关闭到开启。It should be noted that the state chain is used to represent the state association relationship of each vehicle component during normal operation. For example, the state chain may be that the states of the components S1, S2, S3 sequentially change from off to on.
应当理解的是,将状态变化信息与车辆部件对应的状态链进行匹配可以是根据所述车辆部件对应的状态链确定与车辆部件关联的关联部件,根据状态变化信息和状态链确定关联部件对应的关联变化信息,获取关联部件的实际变化信息,并将实际变化信息与关联变化信息进行匹配。It should be understood that matching the state change information with the state chain corresponding to the vehicle component may be to determine the associated component associated with the vehicle component according to the state chain corresponding to the vehicle component, and determine the corresponding Associating change information, obtaining actual change information of associated components, and matching the actual change information with the associated change information.
需要说明的是,关联部件可以是与车辆部件存在状态关联的部件。例如,状态链为部件S1、S2、S3的状态依次发生变化,车辆部件为S2时,与车辆部件存在状态关联的部件为S1和S3。It should be noted that the associated component may be a component associated with the existence state of the vehicle component. For example, the state chain is that the states of components S1, S2, and S3 change sequentially. When the vehicle component is S2, the components associated with the vehicle component state are S1 and S3.
在具体实现中,例如,在状态链为部件S1、S2、S3的状态依次从关闭到开启,车辆部件为S2时,关联部件为S1和S3,在S2的状态变化信息为开启到关闭时,关联部件对 应的关联变化信息是S1从关闭到开启,S3从关闭到开启。In a specific implementation, for example, when the state chain is the state of components S1, S2, and S3 from closed to open in sequence, when the vehicle component is S2, the associated components are S1 and S3, and when the state change information of S2 is from open to closed, The association change information corresponding to the association components is that S1 is turned from off to on, and S3 is turned from off to on.
可以理解的是,将实际变化信息与关联变化信息进行匹配可以是在实际变化信息为开启到关闭,关联变化信息为关闭到开启时,判定实际变化信息与关联变化信息匹配失败;在实际变化信息为关闭到开启,关联变化信息为关闭到开启时,判定实际变化信息与关联变化信息匹配成功。It can be understood that matching the actual change information with the associated change information may be when the actual change information is from on to off and the associated change information is from off to on, and it is determined that the matching between the actual change information and the associated change information fails; From off to on, and the association change information is from off to on, it is determined that the actual change information matches the association change information successfully.
所述行为检测模块30,用于根据匹配结果确定所述车辆部件是否存在异常行为。The behavior detection module 30 is configured to determine whether there is an abnormal behavior of the vehicle component according to the matching result.
应当理解的是,在匹配结果为匹配失败时,说明关联部件的状态变化与状态链不同,车辆部件未随着关联部件的变化而变化,可以判定车辆部件存在异常行为;在匹配结果为匹配成功时,说明关联部件的状态变化与状态链相同,车辆部件随着关联部件的变化而变化,可以判定车辆部件不存在异常行为。It should be understood that when the matching result is a matching failure, it means that the state change of the associated component is different from the state chain, and the vehicle component does not change with the change of the associated component, and it can be determined that there is an abnormal behavior of the vehicle component; when the matching result is a successful matching When , it shows that the state change of the associated components is the same as the state chain, and the vehicle components change with the change of the associated components, so it can be determined that there is no abnormal behavior of the vehicle components.
在本实施例中,公开了在检测到车辆部件的状态发生改变时,获取车辆部件的状态变化信息,将状态变化信息与车辆部件对应的状态链进行匹配,状态链用于表示各车辆部件之间的状态关联关系,根据匹配结果确定车辆部件是否存在异常行为;由于本实施例中通过将车辆部件的状态变化信息与车辆部件对应的状态链进行匹配来判断车辆部件是否存在异常行为,从而能够自动分析对车辆进行异常检测,进而提高了异常行为检测的速度和准确性。In this embodiment, it is disclosed that when the state change of a vehicle component is detected, the state change information of the vehicle component is obtained, and the state change information is matched with the state chain corresponding to the vehicle component. The state chain is used to represent the relationship between each vehicle component. According to the matching result, it is determined whether there is an abnormal behavior of the vehicle component; because in this embodiment, it is judged whether there is abnormal behavior of the vehicle component by matching the state change information of the vehicle component with the state chain corresponding to the vehicle component, so that it can Automated analysis detects anomalies in vehicles, which in turn improves the speed and accuracy of abnormal behavior detection.
本发明所述异常行为检测装置的其他实施例或具体实现方式可参照上述各方法实施例,此处不再赘述。For other embodiments or specific implementations of the abnormal behavior detection device of the present invention, reference may be made to the above-mentioned method embodiments, which will not be repeated here.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者系统不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者系统中还存在另外的相同要素。It should be noted that, as used herein, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or system comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or system. Without further limitations, an element defined by the phrase "comprising a..." does not preclude the presence of additional identical elements in the process, method, article or system comprising that element.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。词语第一、第二、以及第三等的使用不表示任何顺序,可将这些词语解释为名称。The serial numbers of the above embodiments of the present invention are for description only, and do not represent the advantages and disadvantages of the embodiments. In a unit claim enumerating several means, several of these means can be embodied by one and the same item of hardware. The use of the words first, second, and third etc. does not indicate any order and these words may be interpreted as designations.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下 前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如只读存储器镜像(Read Only Memory image,ROM)/随机存取存储器(Random Access Memory,RAM)、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as a read-only memory image (Read Only Memory image, ROM)/random access memory (Random Access Memory, RAM), magnetic disk, optical disk), including several instructions to make a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device) etc.) to perform the methods described in various embodiments of the present invention.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process conversion made by using the description of the present invention and the contents of the accompanying drawings, or directly or indirectly used in other related technical fields , are all included in the scope of patent protection of the present invention in the same way.

Claims (20)

  1. 一种异常行为检测方法,其特征在于,所述异常行为检测方法包括以下步骤:A method for detecting abnormal behavior, characterized in that the method for detecting abnormal behavior comprises the following steps:
    在检测到车辆部件的状态发生改变时,获取所述车辆部件的状态变化信息;Acquiring state change information of the vehicle component when a change in the state of the vehicle component is detected;
    将所述状态变化信息与所述车辆部件对应的状态链进行匹配,所述状态链用于表示各车辆部件之间的状态关联关系;Matching the state change information with the state chain corresponding to the vehicle component, the state chain is used to represent the state association relationship between each vehicle component;
    根据匹配结果确定所述车辆部件是否存在异常行为。It is determined whether the vehicle component has abnormal behavior according to the matching result.
  2. 如权利要求1所述的异常行为检测方法,其特征在于,所述将所述状态变化信息与所述车辆部件对应的状态链进行匹配的步骤,包括:The abnormal behavior detection method according to claim 1, wherein the step of matching the state change information with the state chain corresponding to the vehicle component comprises:
    根据所述车辆部件对应的状态链确定与所述车辆部件关联的关联部件;determining an associated component associated with the vehicle component according to the state chain corresponding to the vehicle component;
    根据所述状态变化信息和所述状态链确定所述关联部件对应的关联变化信息;determining association change information corresponding to the association component according to the state change information and the state chain;
    获取所述关联部件的实际变化信息,并将所述实际变化信息与所述关联变化信息进行匹配。Acquiring actual change information of the associated component, and matching the actual change information with the associated change information.
  3. 如权利要求2所述的异常行为检测方法,其特征在于,所述根据所述车辆部件对应的状态链确定与所述车辆部件关联的关联部件的步骤,包括:The abnormal behavior detection method according to claim 2, wherein the step of determining the associated component associated with the vehicle component according to the state chain corresponding to the vehicle component comprises:
    获取所述车辆部件在对应的状态链中的位置信息;Obtaining position information of the vehicle component in the corresponding state chain;
    根据所述位置信息确定与所述车辆部件关联的关联部件。An associated component associated with the vehicle component is determined based on the location information.
  4. 如权利要求2所述的异常行为检测方法,其特征在于,所述根据所述状态变化信息和所述状态链确定所述关联部件对应的关联变化信息的步骤,包括:The abnormal behavior detection method according to claim 2, wherein the step of determining the associated change information corresponding to the associated component according to the state change information and the state chain includes:
    根据所述状态变化信息和所述状态链确定所述关联部件的标准状态变化;determining a standard state change of the associated component according to the state change information and the state chain;
    根据所述车辆部件和所述状态链确定所述关联部件的标准变化顺序;determining a standard change order of the associated components according to the vehicle components and the state chain;
    根据所述标准状态变化和所述标准变化顺序生成所述关联部件对应的关联变化信息。Generate association change information corresponding to the association component according to the standard state change and the standard change sequence.
  5. 如权利要求2所述的异常行为检测方法,其特征在于,所述获取所述关联部件的实际变化信息,并将所述实际变化信息与所述关联变化信息进行匹配的步骤,包括:The abnormal behavior detection method according to claim 2, wherein the step of acquiring the actual change information of the associated component and matching the actual change information with the associated change information comprises:
    获取所述关联部件的实际变化信息,并从所述实际变化信息中提取状态变化顺序和实际状态变化;Acquiring actual change information of the associated component, and extracting a state change sequence and an actual state change from the actual change information;
    从所述关联变化信息中提取标准变化顺序和标准状态变化;extracting a standard change sequence and a standard state change from the associated change information;
    将所述状态变化顺序与所述标准变化顺序进行匹配;matching the sequence of state changes to the standard sequence of changes;
    将所述实际状态变化与所述标准状态变化进行匹配。The actual state change is matched with the standard state change.
  6. 如权利要求1至5中任一项所述的异常行为检测方法,其特征在于,所述根据匹配结果确定所述车辆部件是否存在异常行为的步骤,包括:The abnormal behavior detection method according to any one of claims 1 to 5, wherein the step of determining whether the vehicle component has abnormal behavior according to the matching result comprises:
    获取所述车辆部件对应的控制指令;Acquiring control instructions corresponding to the vehicle components;
    根据匹配结果和所述控制指令确定所述车辆部件是否存在异常行为。It is determined whether the vehicle component has abnormal behavior according to the matching result and the control instruction.
  7. 如权利要求6所述的异常行为检测方法,其特征在于,所述根据匹配结果和所述控制指令确定所述车辆部件是否存在异常行为的步骤,包括:The abnormal behavior detection method according to claim 6, wherein the step of determining whether the vehicle component has abnormal behavior according to the matching result and the control instruction comprises:
    根据所述控制指令确定目标部件,并判断所述车辆部件是否为所述目标部件;determining a target component according to the control instruction, and judging whether the vehicle component is the target component;
    根据匹配结果和判断结果确定所述车辆部件是否存在异常行为。It is determined whether the vehicle component has abnormal behavior according to the matching result and the judgment result.
  8. 如权利要求1至5中任一项所述的异常行为检测方法,其特征在于,所述将所述状态变化信息与所述车辆部件对应的状态链进行匹配的步骤之前,还包括:The abnormal behavior detection method according to any one of claims 1 to 5, wherein, before the step of matching the state change information with the state chain corresponding to the vehicle component, further comprising:
    获取所述车辆部件的运行场景;Acquiring the running scene of the vehicle component;
    根据所述运行场景确定所述车辆部件对应的状态链。A state chain corresponding to the vehicle component is determined according to the running scenario.
  9. 如权利要求1至5中任一项所述的异常行为检测方法,其特征在于,所述在检测到车辆部件的状态发生改变时,获取所述车辆部件的状态变化信息的步骤之前,还包括:The abnormal behavior detection method according to any one of claims 1 to 5, characterized in that, before the step of obtaining the state change information of the vehicle component when it is detected that the state of the vehicle component changes, further comprising :
    获取车辆部件的状态数据;Obtain status data of vehicle components;
    根据所述状态数据检测所述车辆部件的状态是否发生改变。Whether the state of the vehicle component has changed is detected based on the state data.
  10. 如权利要求9所述的异常行为检测方法,其特征在于,所述获取车辆部件的状态数据的步骤,包括:The abnormal behavior detection method according to claim 9, wherein the step of obtaining the state data of the vehicle components comprises:
    获取车辆部件的运行数据;Obtain operating data of vehicle components;
    对所述运行数据进行预处理,获得所述车辆部件的状态数据。The operation data is preprocessed to obtain the state data of the vehicle components.
  11. 如权利要求1至5中任一项所述的异常行为检测方法,其特征在于,所述根据匹配结果确定所述车辆部件是否存在异常行为的步骤之后,还包括:The abnormal behavior detection method according to any one of claims 1 to 5, characterized in that, after the step of determining whether there is abnormal behavior in the vehicle component according to the matching result, further comprising:
    在所述车辆部件存在异常行为时,生成提醒信息;generating a reminder message when there is an abnormal behavior of the vehicle component;
    将所述提醒信息发送至管理终端,以使所述管理终端提醒用户。Send the reminder information to the management terminal, so that the management terminal reminds the user.
  12. 如权利要求11所述的异常行为检测方法,其特征在于,所述在所述车辆部件存在异常行为时,生成提醒信息的步骤,包括:The abnormal behavior detection method according to claim 11, wherein the step of generating reminder information when there is abnormal behavior in the vehicle component comprises:
    在所述车辆部件存在异常行为时,根据所述车辆部件的部件类别确定提醒策略;When there is an abnormal behavior of the vehicle component, a reminder strategy is determined according to the component category of the vehicle component;
    获取所述车辆部件的部件信息,并根据所述提醒策略和所述部件信息生成提醒信息。Obtain component information of the vehicle components, and generate reminder information according to the reminder policy and the component information.
  13. 一种异常行为检测设备,其特征在于,所述异常行为检测设备包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的异常行为检测程序,所述异常行为检测程序被所述处理器执行时实现如权利要求1至12中任一项所述的异常行为检测方法。An abnormal behavior detection device, characterized in that the abnormal behavior detection device includes: a memory, a processor, and an abnormal behavior detection program stored on the memory and operable on the processor, the abnormal behavior detection When the program is executed by the processor, the abnormal behavior detection method according to any one of claims 1 to 12 is realized.
  14. 一种存储介质,其特征在于,所述存储介质上存储有异常行为检测程序,所述异常行为检测程序被处理器执行时实现如权利要求1至12中任一项所述的异常行为检测方法。A storage medium, characterized in that an abnormal behavior detection program is stored on the storage medium, and when the abnormal behavior detection program is executed by a processor, the abnormal behavior detection method according to any one of claims 1 to 12 is realized .
  15. 一种异常行为检测装置,其特征在于,所述异常行为检测装置包括:信息获取模块、状态匹配模块以及行为检测模块;An abnormal behavior detection device, characterized in that the abnormal behavior detection device includes: an information acquisition module, a state matching module and a behavior detection module;
    所述信息获取模块,用于在检测到车辆部件的状态发生改变时,获取所述车辆部件的状态变化信息;The information acquisition module is configured to acquire state change information of the vehicle component when a change in the state of the vehicle component is detected;
    所述状态匹配模块,用于将所述状态变化信息与所述车辆部件对应的状态链进行匹配,所述状态链用于表示各车辆部件之间的状态关联关系;The state matching module is used to match the state change information with the state chain corresponding to the vehicle component, and the state chain is used to represent the state association relationship between each vehicle component;
    所述行为检测模块,用于根据匹配结果确定所述车辆部件是否存在异常行为。The behavior detection module is configured to determine whether the vehicle component has abnormal behavior according to the matching result.
  16. 如权利要求15所述的异常行为检测装置,其特征在于,所述状态匹配模块,还用于根据所述车辆部件对应的状态链确定与所述车辆部件关联的关联部件;The abnormal behavior detection device according to claim 15, wherein the state matching module is further configured to determine an associated component associated with the vehicle component according to the state chain corresponding to the vehicle component;
    所述状态匹配模块,还用于根据所述状态变化信息和所述状态链确定所述关联部件对应的关联变化信息;The state matching module is further configured to determine association change information corresponding to the association component according to the state change information and the state chain;
    所述状态匹配模块,还用于获取所述关联部件的实际变化信息,并将所述实际变化信息与所述关联变化信息进行匹配。The state matching module is further configured to obtain actual change information of the associated component, and match the actual change information with the associated change information.
  17. 如权利要求16所述的异常行为检测装置,其特征在于,所述状态匹配模块,还用于获取所述车辆部件在对应的状态链中的位置信息;The abnormal behavior detection device according to claim 16, wherein the state matching module is also used to acquire the position information of the vehicle components in the corresponding state chain;
    所述状态匹配模块,还用于根据所述位置信息确定与所述车辆部件关联的关联部件。The state matching module is further configured to determine an associated component associated with the vehicle component according to the location information.
  18. 如权利要求16所述的异常行为检测装置,其特征在于,所述状态匹配模块,还用于根据所述状态变化信息和所述状态链确定所述关联部件的标准状态变化;The abnormal behavior detection device according to claim 16, wherein the state matching module is further configured to determine the standard state change of the associated component according to the state change information and the state chain;
    所述状态匹配模块,还用于根据所述车辆部件和所述状态链确定所述关联部件的标准变化顺序;The state matching module is further configured to determine the standard change order of the associated components according to the vehicle components and the state chain;
    所述状态匹配模块,还用于根据所述标准状态变化和所述标准变化顺序生成所述关联部件对应的关联变化信息。The state matching module is further configured to generate association change information corresponding to the association components according to the standard state change and the standard change sequence.
  19. 如权利要求16所述的异常行为检测装置,其特征在于,所述状态匹配模块,还用于获取所述关联部件的实际变化信息,并从所述实际变化信息中提取状态变化顺序和实际状态变化;The abnormal behavior detection device according to claim 16, wherein the state matching module is further configured to acquire the actual change information of the associated components, and extract the state change order and actual state from the actual change information Variety;
    所述状态匹配模块,还用于从所述关联变化信息中提取标准变化顺序和标准状态变化;The state matching module is further configured to extract standard change order and standard state change from the associated change information;
    所述状态匹配模块,还用于将所述状态变化顺序与所述标准变化顺序进行匹配;The state matching module is further configured to match the state change sequence with the standard change sequence;
    所述状态匹配模块,还用于将所述实际状态变化与所述标准状态变化进行匹配。The state matching module is further configured to match the actual state change with the standard state change.
  20. 如权利要求15至19中任一项所述的异常行为检测装置,其特征在于,所述行为检测模块,还用于获取所述车辆部件对应的控制指令;The abnormal behavior detection device according to any one of claims 15 to 19, wherein the behavior detection module is also used to obtain control instructions corresponding to the vehicle components;
    所述行为检测模块,还用于根据匹配结果和所述控制指令确定所述车辆部件是否存在异常行为。The behavior detection module is further configured to determine whether there is an abnormal behavior of the vehicle component according to the matching result and the control instruction.
PCT/CN2021/143646 2021-12-08 2021-12-31 Method and device for detecting abnormal behavior, and storage medium and apparatus WO2023103131A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111502300.6 2021-12-08
CN202111502300.6A CN116279197A (en) 2021-12-08 2021-12-08 Abnormal behavior detection method, device, storage medium and apparatus

Publications (1)

Publication Number Publication Date
WO2023103131A1 true WO2023103131A1 (en) 2023-06-15

Family

ID=86729566

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/143646 WO2023103131A1 (en) 2021-12-08 2021-12-31 Method and device for detecting abnormal behavior, and storage medium and apparatus

Country Status (2)

Country Link
CN (1) CN116279197A (en)
WO (1) WO2023103131A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080065288A1 (en) * 2006-09-07 2008-03-13 Shumate Dwayne M Vehicle diagnosis system and method
US20200023858A1 (en) * 2018-07-17 2020-01-23 Infineon Technologies Ag Electronic anomaly detection unit for use in a vehicle, and method for detecting an anomaly in a component of a vehicle
CN112009494A (en) * 2019-05-30 2020-12-01 华为技术有限公司 Vehicle abnormity processing method and device, control equipment and storage medium
CN112172991A (en) * 2020-09-18 2021-01-05 苏州三六零智能安全科技有限公司 Balance car fault positioning method, equipment, storage medium and device
CN113619509A (en) * 2021-09-17 2021-11-09 中国第一汽车股份有限公司 Vehicle fault alarm method and device, vehicle and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080065288A1 (en) * 2006-09-07 2008-03-13 Shumate Dwayne M Vehicle diagnosis system and method
US20200023858A1 (en) * 2018-07-17 2020-01-23 Infineon Technologies Ag Electronic anomaly detection unit for use in a vehicle, and method for detecting an anomaly in a component of a vehicle
CN112009494A (en) * 2019-05-30 2020-12-01 华为技术有限公司 Vehicle abnormity processing method and device, control equipment and storage medium
CN112172991A (en) * 2020-09-18 2021-01-05 苏州三六零智能安全科技有限公司 Balance car fault positioning method, equipment, storage medium and device
CN113619509A (en) * 2021-09-17 2021-11-09 中国第一汽车股份有限公司 Vehicle fault alarm method and device, vehicle and storage medium

Also Published As

Publication number Publication date
CN116279197A (en) 2023-06-23

Similar Documents

Publication Publication Date Title
CN108667855B (en) Network flow abnormity monitoring method and device, electronic equipment and storage medium
CN106828362B (en) Safety testing method and device for automobile information
WO2020024407A1 (en) Electronic device, method for intelligently processing car insurance claim, and storage medium
WO2019114603A1 (en) Vehicle detection method and apparatus and vehicle diagnostic device
CN110489415B (en) Data updating method and related equipment
WO2019169760A1 (en) Test case range determining method, device, and storage medium
CN112491920A (en) Abnormity detection method and device for vehicle-mounted CAN bus
CN106557773B (en) Vehicle fault diagnosis method and system
CN115393984A (en) Shared bicycle-based helmet using method, device, equipment and storage medium
CN112990495A (en) Method, device and system for vehicle after-sale diagnosis and storage medium
CN112268696B (en) Clutch detection method, device, storage medium and device
WO2023103131A1 (en) Method and device for detecting abnormal behavior, and storage medium and apparatus
CN111949992A (en) Automatic safety monitoring method and system for WEB application program
CN114858482B (en) Method and device for detecting crashworthiness of automobile body
CN114625106B (en) Method, device, electronic equipment and storage medium for vehicle diagnosis
CN112242917A (en) Internet of vehicles service quality detection method and system
CN111143305B (en) Data storage method, device, equipment and medium based on distributed storage system
CN113934198A (en) Vehicle diagnosis method, vehicle diagnosis device, electronic device, and storage medium
CN109299729B (en) Vehicle detection method and device
CN112733151A (en) Embedded equipment firmware analysis method, device, medium and electronic equipment
CN111597101B (en) SDK access state detection method, computer equipment and computer readable storage medium
CN113204994A (en) Method and system for detecting original factory electronic accessories on vehicle and cloud server
CN112687030A (en) Vehicle condition information processing method and device
WO2020010712A1 (en) Electronic device, user insurance fraud risk pre-warning method, and storage medium
CN110852212A (en) Method and device for checking operation object in vehicle detection

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21967043

Country of ref document: EP

Kind code of ref document: A1