A method, device, equipment and storage medium for identifying abnormal data

By detecting the data transmission abnormal status in the data transmission system, including the connection status of the network segment and the continuous N times source period of the Nobial period, it can identify and determine the abnormal situation, generate a fault code and upload it to the cloud, solve the data in the network system of the network system The problem of transmission abnormal identification and warning has achieved more efficient data transmission abnormal processing.

CN115499862BActive Publication Date: 2025-01-28CHONGQING CHANGAN TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211098092.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-08
Publication Date
2025-01-28
Estimated Expiration
2042-09-08

AI Technical Summary

Technical Problem

In the Internet of Vehicles technology, various network abnormalities often exist in the vehicle communication network environment, such as signal loss and network segment abnormalities, resulting in data transmission abnormalities. The prior art has failed to effectively identify and warning these abnormalities.

Method used

By obtaining the state of data transmission abnormalities, the connection status of the network segment and the continuous N times source cycle of the network segment will be allowed to determine the abnormal situation, such as the fault of the network segment signal, the network segment connection failure, and the signal value of the network segment. Treatment to the cloud.

Benefits of technology

Achieve faster and more accurate identification of data abnormal conditions, timely generate fault code and report to the cloud, remind the controller business party's data abnormal state to ensure the stability and reliability of data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115499862B_ABST
    Figure CN115499862B_ABST
Patent Text Reader

Abstract

The present invention provides a data anomaly identification method, device, equipment and storage medium, including: obtaining a data transmission anomaly state, the anomaly state including a data loss state and a data anomaly state; when the data transmission anomaly state is a data loss state, detecting a network segment connection state, if the network segment connection state is a connection state, determining that it is a network segment signal fault, if the network segment connection state is a disconnection state, determining that it is a network segment connection fault; when the data transmission anomaly state is a data anomaly state, detecting the state of any byte in a continuous N-times source cycle, if any byte in a continuous N-times source cycle has error information, determining that it is a network segment signal value fault; the data anomaly identification method of the present invention, based on the feature that a vehicle-side gateway serves as a whole vehicle router, connects various network segments, and detects data anomalies at different nodes during the data transmission process, can identify data anomalies faster and more accurately.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of Internet of Vehicles data, and specifically to a method, device, equipment and storage medium for identifying data anomalies. Background Art

[0002] With the continuous development of science and technology, the development of automotive mobile Internet of Things technology is also changing with each passing day. However, in the development of Internet of Vehicles technology, data transmission is an important part. Vehicles or internal systems transmit instructions through Internet of Things information. However, there are often various network anomalies in the vehicle communication network environment, including signal loss, network segment anomalies and other complex situations. In order to better complete information transmission, it is particularly important to identify the cause of data anomalies in a timely manner.

[0003] As the communication hub of the entire vehicle, the gateway can monitor and manage the data transmission process based on the gateway. It usually uses a pre-allocated resource cycle, and then allocates continuous scheduling resources based on the resource cycle, and uses the allocated continuous scheduling resources to transmit the data packets. However, it only involves data interaction and does not involve early warning methods for abnormal situations such as data loss. Summary of the invention

[0004] In view of the above-mentioned shortcomings of the prior art, the present invention provides a data anomaly identification method, device, equipment and storage medium to solve the above-mentioned technical problems.

[0005] The present invention provides a method comprising: obtaining a data transmission abnormal state, wherein the abnormal state comprises a data loss state and a data abnormal state; when the data transmission abnormal state is a data loss state, detecting a network segment connection state, and if the network segment connection state is a connection state, determining it to be a network segment signal failure, and if the network segment connection state is a disconnection state, determining it to be a network segment connection failure; when the data transmission abnormal state is a data abnormal state, detecting the state of any byte in a continuous N-times source cycle, and if any byte in the continuous N-times source cycle has error information, determining it to be a network segment signal value failure data abnormality identification method.

[0006] In one embodiment of the present invention, the network segment connection status is a connection status, and determining it as a network segment signal fault includes: detecting the signal reception status of the vehicle-side gateway within N consecutive source cycles, if the signal reception status of the vehicle-side gateway within N consecutive source cycles is an abnormal state, then generating a first fault code, and sending the first fault code to the vehicle entertainment system; the vehicle networking system collects the diagnostic fault code of the first fault code, and uploads the first diagnostic fault code to the cloud.

[0007] In one embodiment of the present invention, if the network segment connection status is a disconnected state, determining it as a network segment connection failure includes: identifying the connection status of the controller area network, if the connection status of the controller area network is a disconnected state, generating a second fault code, and sending the second fault code to the vehicle entertainment system; the vehicle networking system collects the diagnostic fault code of the second fault code, and uploads the first diagnostic fault code to the cloud.

[0008] In one embodiment of the present invention, after uploading the diagnostic fault code to the cloud, it also includes: generating a diagnostic fault code interpretation based on the diagnostic fault code, and pushing the diagnostic fault code and the diagnostic fault code interpretation to the controller business party to remind the controller business party of the abnormal data status.

[0009] In one embodiment of the present invention, if error information exists in any byte of N consecutive times source cycle, it is determined as a network segment signal value failure, including: determining the data domain of the controller area network, and identifying the content of any byte of N consecutive times source cycle, if illegal characters exist in any byte of the N consecutive times source cycle, then reporting the illegal character event in any byte of the N consecutive times source cycle to the cloud.

[0010] In one embodiment of the present invention, reporting the event of illegal characters existing in any byte of the continuous N times source period to the cloud includes: generating an illegal event code according to the event of illegal characters existing in any byte of the continuous N times source period; generating an illegal event reporting code based on the illegal event code, the time when the illegal event occurred, and the controller domain network identity identification number; uploading the illegal event reporting code to the cloud so that the cloud data application team can process the data according to the event.

[0011] In one embodiment of the present invention, the N-fold period value includes 3-5 times.

[0012] The present invention provides a data anomaly identification device, the device comprising: a state acquisition module, used for acquiring a data transmission abnormal state, the abnormal state comprising a data loss state and a data abnormal state; a first detection module, used for, when the data transmission abnormal state is a data loss state, detecting a network segment connection state, if the network segment connection state is a connection state, determining it as a network segment signal failure, if the network segment connection state is a disconnection state, determining it as a network segment connection failure; a second detection module, used for, when the data transmission abnormal state is a data abnormal state, detecting the state of any byte in a continuous N-times source cycle, if any byte in the continuous N-times source cycle has error information, determining it as a network segment signal value failure.

[0013] The present invention provides an electronic device, which includes: one or more processors; a storage device for storing one or more programs, and when the one or more programs are executed by the one or more processors, the electronic device implements the data anomaly identification method as described above.

[0014] The present invention provides a computer-readable storage medium, characterized in that a computer program is stored thereon, and when the computer program is executed by a processor of a computer, the computer executes the diagnostic interface data transmission control method as described above.

[0015] Beneficial effects of the present invention: The data anomaly identification method of the present invention, based on the characteristic that the vehicle-side gateway serves as a vehicle router, connects various network segments and detects data anomalies at different nodes during the data transmission process, which can identify data anomalies faster and more accurately.

[0016] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present application, and together with the specification, are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0018] Figure 1 is a schematic diagram of an implementation environment of a data anomaly identification method shown in an exemplary embodiment of the present application;

[0019] Figure 2 is a flow chart of a data anomaly identification method shown in an exemplary embodiment of the present application;

[0020] Figure 3 is a flowchart of data anomaly identification and judgment shown in an exemplary embodiment of the present application;

[0021] Figure 4 is a full flow chart of a data anomaly identification method shown in an exemplary embodiment of the present application;

[0022] Figure 5 is a block diagram of a data anomaly identification device shown in an exemplary embodiment of the present application;

[0023] Figure 6 A schematic diagram of the structure of a computer system suitable for implementing an electronic device of an embodiment of the present application is shown. DETAILED DESCRIPTION

[0024] The following will describe the embodiments of the present invention with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be understood that the preferred embodiments are only for illustrating the present invention, not for limiting the scope of protection of the present invention.

[0025] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present invention, and thus the drawings only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.

[0026] In the following description, numerous details are discussed to provide a more thorough explanation of the embodiments of the present invention. However, it is obvious to those skilled in the art that the embodiments of the present invention can be implemented without these specific details. In other embodiments, well-known structures and devices are shown in the form of block diagrams rather than in detail to avoid making the embodiments of the present invention difficult to understand.

[0027] First of all, it should be explained that DTM, or digital terrain model, is a simulation representation of continuous ground using a large number of known x, y, and z coordinate points selected in an arbitrary coordinate system. In other words, DTM is a digital expression of the morphological attribute information of the terrain surface, and a digital description with spatial location characteristics and terrain attribute characteristics. x and y represent the plane coordinates of the point, and the z value can represent information such as elevation, slope, and temperature. When z represents elevation, it is a digital elevation model, or DEM. The attribute information of the terrain surface morphology generally includes elevation, slope, and slope direction. The central processing unit (CPU) is one of the main devices of an electronic computer. The microprocessor and memory protection unit (MPU) are a single chip, while the chipset is composed of a group of chips. It is the calculation, judgment or control center of the computer. Some people call it the "heart of the computer." The controller area network (CAN) is one of the most widely used field buses in the world. Diagnostic trouble code (DTC). This article deals with N times the source period, where N ≥ 2.

[0028] Figure 1 It is a schematic diagram of an implementation environment of a data anomaly identification method shown in an exemplary embodiment of the present application.

[0029] like Figure 1 As shown, the system architecture may include a current vehicle 101 and a computer device 102. The computer device 102 may be at least one of a desktop graphics processing unit (GPU) computer, a GPU computing cluster, a neural network computer, etc. Relevant technicians may use the computer device 102 to determine the data state, and determine a data transmission detection node based on the data transmission state, and detect the data transmission situation based on the detection node, so as to accurately locate the abnormal data transmission situation and issue an early warning.

[0030] Figure 2 It is a flow chart of a method for identifying data anomalies shown in an exemplary embodiment of the present application.

[0031] like Figure 2 As shown, in an exemplary embodiment, the data anomaly identification method includes at least steps S210 to S230, which are described in detail as follows:

[0032] Step S210, obtaining a data transmission abnormal state, where the abnormal state includes a data loss state and a data abnormal state.

[0033] It should be understood that various anomalies may exist during the data transmission process, which can be simply divided into two situations: data loss and data anomaly. Data loss includes the inability to receive data or partial missing of received data, while data anomaly includes incorrect data content, etc.

[0034] Step S220, when the data transmission abnormal state is a data loss state, detecting the network segment connection state, if the network segment connection state is a connected state, determining that it is a network segment signal failure, if the network segment connection state is a disconnected state, determining that it is a network segment connection failure;

[0035] Preferably, the network segment connection status is a connection status, and determining it as a network segment signal fault includes: detecting the signal reception status of the vehicle-side gateway within N consecutive source cycles, if the signal reception status of the vehicle-side gateway within N consecutive source cycles is an abnormal state, a first fault code is generated, and the first fault code is sent to the vehicle entertainment system; the vehicle networking system collects the diagnostic fault code of the first fault code, and uploads the first diagnostic fault code to the cloud.

[0036] Preferably, if the network segment connection status is disconnected, determining it as a network segment connection failure includes: identifying the connection status of the controller area network, if the connection status of the controller area network is disconnected, generating a second fault code, and sending the second fault code to the vehicle entertainment system; the vehicle networking system collects the diagnostic fault code of the second fault code, and uploads the first diagnostic fault code to the cloud.

[0037] In one embodiment of the present invention, if the gateway does not receive a signal within a continuous N-fold source period, it checks the connection between the network segment and the gateway, confirms that the connection is normal and there is no abnormality, and then further detects the information sent by the network segment. After detection, it is confirmed that a signal of the network segment is abnormal, which leads to loss during data transmission. The value of the N-fold source period here is 3-5 times. If the multiple is too small, data jitter cannot be avoided. If the multiple is too large, there will be no data for a long time and the problem will not be discovered in time. It can be seen that the N-fold source period can effectively avoid data anomalies affected by data jitter. Data jitter refers to jitter jumps in data due to performance and other reasons. Sometimes it is normal and sometimes it is abnormal. Generally, there will be 2-3 frames, but it will not cause invalid data and data cannot be used due to too long time.

[0038] In another embodiment of the present invention, when the data collection team handles the DTM problem, they encounter data collected in the vehicle configuration file, but the actual cloud does not receive the data. Then they check the connection between the network segment and the gateway. Finally, they analyze and confirm that the controller CPU and MPU internal program versions are incorrect, causing some data of the controller to be sent to the bus, and some data not to be sent to the bus, which leads to data loss. It can be seen that the vehicle-side gateway, as a vehicle router, connects various network segments, and its importance is self-evident. The gateway can monitor the data loss of the entire network segment and has a wide coverage.

[0039] Step S230, when the data transmission abnormal state is a data abnormal state, detect the state of any byte in N consecutive source cycles. If any byte in N consecutive source cycles has error information, it is determined to be a network segment signal value failure.

[0040] Preferably, if there is error information in any byte of N consecutive times source cycle, it is determined as a network segment signal value failure, including: determining the data domain of the controller domain network, and identifying the content of any byte of N consecutive times source cycle, if there is illegal character in any byte of N consecutive times source cycle, then the event of illegal character in any byte of N consecutive times source cycle is reported to the cloud.

[0041] In one embodiment of the present invention, reporting the event of illegal characters existing in any byte in N consecutive source periods to the cloud includes: generating an illegal event code according to the event of illegal characters existing in any byte in N consecutive source periods; generating an illegal event reporting code based on the illegal event code, the time when the illegal event occurred, and the controller domain network identity identification number; uploading the illegal event reporting code to the cloud so that the cloud data application team can process the data according to the event.

[0042] Figure 3 is a flowchart of data anomaly identification and judgment shown in an exemplary embodiment of the present application;

[0043] like Figure 3As shown, when an abnormality is found during the data transmission process, its abnormal state is first confirmed. If the data abnormal state is a data loss state, its network connection state is further determined. If the network connection is normal, it is determined to be a network segment signal failure, which is due to an abnormality in the N-fold source period of a signal in the network segment, which in turn causes abnormal data transmission; if the network segment connection state is abnormal, it is determined to be a network segment connection failure, which is due to an abnormal connection between the network segment and the gateway causing abnormal data transmission; if the data abnormal state is a data abnormal state, it is further identified whether there is error information in any byte of its continuous N-fold source period. If so, it is determined to be a network segment signal value failure, which is due to the data transmission abnormality caused by a certain signal value of the network segment exceeding the gateway data threshold. If there is no error information in any byte of the continuous N-fold source period, the data transmission abnormality is caused by other reasons.

[0044] Figure 4 It is a full flow chart of a data anomaly identification method shown in an exemplary embodiment of the present application.

[0045] like Figure 4 As shown in the figure, during a data transmission process, the vehicle side is first powered to ensure that the vehicle side controller starts normally, and the controller is adjusted to make its controller communication normal. The gateway filters the CANID signal in real time, based on which, it actively checks the connection status of the CAN segment. If a CAN segment is interrupted, it is determined to be a segment connection failure, and its corresponding diagnostic fault code is generated, and the diagnostic fault code is sent to the cloud via the 4G module (that is, the 4G module in the figure); if there is no segment terminal, the data is normally routed to each receiving end through the gateway, and the CANID within N times the source cycle is checked to be normal. If there is no CANID in a certain cycle, it is determined to be It is determined to be a network segment signal fault, and its corresponding diagnostic fault code is generated, and the diagnostic fault code is sent to the cloud (that is, the TSP platform in the figure) via the 4G module; if the data is normal within the N-fold source cycle, the data is routed normally to each receiving end via the gateway, and it is checked whether there is any illegal byte data within the continuous N-fold source cycle. If there is any illegal byte data within the continuous N-fold source cycle, it is determined to be an abnormal network segment signal value, and its corresponding diagnostic fault code is generated, and the diagnostic fault code is sent to the cloud via the 4G module; if there is no illegal byte data within the continuous N-fold source cycle, the data is routed normally to each receiving end via the gateway.

[0046] Preferably, after uploading the diagnostic fault code to the cloud, it also includes: generating a diagnostic fault code explanation based on the diagnostic fault code, and pushing the diagnostic fault code and the diagnostic fault code explanation to the controller business party to remind the controller business party of the abnormal data status.

[0047] In one embodiment of the present invention, when the vehicle is powered on normally, after the gateway is restarted, the gateway processing layer monitors the source cycle of the CANID whitelist. When it is found that the CANID does not exist for N consecutive source cycles, the gateway issues a DTC fault code. For different source cycle signals, the gateway can configure multiple whitelists and multiple processes. The vehicle end can unify the signal frequency in the later stage, preferably 5 source cycle types. The gateway monitors the CANID data field. When it is found that any byte in the data field has FF or FE for N consecutive source cycles, the gateway determines that it is abnormal and sends an abnormal event signal to the bus. The 4G module collects the abnormal event signal and reports the event to the cloud. When the gateway recognizes that a certain network segment is interrupted, a fault code is generated and reported to the cloud. Based on the fault code, the cloud reminds the corresponding business party that the data is abnormal, so that it can be discovered and processed in time.

[0048] Figure 5 is a block diagram of a data anomaly identification device shown in an exemplary embodiment of the present application. The device can be applied to Figure 1 The implementation environment shown is specifically configured in the intelligent terminal 102. The device may also be applicable to other exemplary implementation environments and specifically configured in other devices. This embodiment does not limit the implementation environment applicable to the device.

[0049] like Figure 5 As shown, the exemplary data anomaly identification device includes: a state acquisition module 510, a first detection module 520, and a second detection module 530.

[0050] Among them, the status acquisition module 510 is used to obtain the abnormal status of data transmission, and the abnormal status includes the data loss status and the data abnormal status; the first detection module 520 is used to detect the network segment connection status when the data transmission abnormal status is the data loss status, if the network segment connection status is the connected status, it is determined to be a network segment signal failure, if the network segment connection status is the disconnected status, it is determined to be a network segment connection failure; the second detection module 530 is used to detect the status of any byte in N consecutive times of the source period when the data transmission abnormal status is the data abnormal status, if any byte in N consecutive times of the source period has error information, it is determined to be a network segment signal value failure.

[0051] It should be noted that the data anomaly identification device provided in the above embodiment and the data anomaly identification method provided in the above embodiment belong to the same concept, wherein the specific manner in which each module and unit performs the operation has been described in detail in the method embodiment and will not be repeated here. In practical applications, the data anomaly identification device provided in the above embodiment can allocate the above functions to different functional modules as needed, that is, divide the internal structure of the device into different functional modules to complete all or part of the functions described above, and this is not limited here.

[0052] An embodiment of the present application also provides an electronic device, including: one or more processors; a storage device for storing one or more programs, when the one or more programs are executed by one or more processors, the electronic device implements the data anomaly identification method provided in the above-mentioned embodiments.

[0053] Figure 6 The structure diagram of the computer system suitable for implementing the electronic device of the embodiment of the present application is shown. It should be noted that: Figure 6 The computer system 600 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0054] like Figure 6 As shown, the computer system 600 includes a central processing unit (CPU) 601, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 602 or the program loaded from the storage part 608 to the random access memory (RAM) 603, such as executing the method in the above embodiment. In the RAM 603, various programs and data required for system operation are also stored. The CPU 601, ROM 602 and RAM 603 are connected to each other through a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0055] The following components are connected to the I / O interface 605: an input section 606 including a keyboard, a mouse, etc.; an output section 607 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 608 including a hard disk, etc.; and a communication section 609 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to the I / O interface 605 as needed. A removable medium 611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 610 as needed so that a computer program read therefrom is installed into the storage section 608 as needed.

[0056] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication section 609, and / or installed from a removable medium 611. When the computer program is executed by a central processing unit (CPU) 601, various functions defined in the system of the present application are executed.

[0057] It should be noted that the computer-readable medium shown in the embodiment of the present application can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a computer-readable computer program is carried. This propagated data signal can take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. A computer program contained on a computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.

[0058] The flowchart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present application. Wherein, each box in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0059] The units involved in the embodiments described in this application may be implemented by software or hardware, and the units described may also be set in a processor. The names of these units do not, in some cases, constitute limitations on the units themselves.

[0060] Another aspect of the present application further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor of a computer, causes the computer to execute the above data anomaly identification method. The computer-readable storage medium may be included in the electronic device described in the above embodiment, or may exist independently without being assembled into the electronic device.

[0061] Another aspect of the present application also provides a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. A processor of a computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the data anomaly identification method provided in each of the above embodiments.

[0062] The above embodiments are merely illustrative of the principles and effects of the present invention, and are not intended to limit the present invention. Anyone familiar with the technology may modify or change the above embodiments without violating the spirit and scope of the present invention. Therefore, all equivalent modifications or changes made by a person of ordinary skill in the art without departing from the spirit and technical ideas disclosed by the present invention shall still be covered by the claims of the present invention.

Claims

1. A method for identifying data anomalies, characterized in that: The method comprises: Acquire a data transmission abnormal state, wherein the abnormal state includes a data loss state and a data abnormal state; When the data transmission abnormal state is a data loss state, the network segment connection state is detected. If the network segment connection state is a connection state, it is determined to be a network segment signal failure, including detecting the signal reception state of the vehicle-side gateway within N consecutive source cycles. If the signal reception state of the vehicle-side gateway is an abnormal state within N consecutive source cycles, a first fault code is generated, and the first fault code is sent to the vehicle entertainment system; the vehicle networking system collects the diagnostic fault code of the first fault code, and uploads the diagnostic fault code of the first fault code to the cloud; If the network segment connection state is disconnected, it is determined to be a network segment connection failure, including: identifying the connection state of the controller area network, if the connection state of the controller area network is disconnected, generating a second fault code, and sending the second fault code to the vehicle entertainment system; the vehicle networking system collects the diagnostic fault code of the second fault code, and uploads the diagnostic fault code of the second fault code to the cloud; When the data transmission abnormal state is the data abnormal state, the state of any byte in the continuous N times source cycle is detected. If any byte in the continuous N times source cycle has error information, it is determined to be a network segment signal value failure.

2. The data anomaly identification method according to claim 1, characterized in that: Uploading diagnostic trouble codes to the cloud also includes: A diagnostic fault code explanation is generated based on the diagnostic fault code, and the diagnostic fault code and the diagnostic fault code explanation are pushed to a controller service party to remind the controller service party of an abnormal data status.

3. The data anomaly identification method according to claim 1, characterized in that: If any byte of a continuous N-times source cycle contains error information, it is judged as a network segment signal value failure, including: Determine the data domain of the controller area network, and identify the content of any byte of the continuous N times source cycle. If any byte of the continuous N times source cycle contains illegal characters, report the event of any byte of the continuous N times source cycle containing illegal characters to the cloud.

4. The data anomaly identification method according to claim 3, characterized in that: Reporting the illegal character event in any byte of the N-times continuous source period to the cloud includes: Generate an illegal event code according to the event that any byte of the continuous N-times source period has an illegal character; Generate an illegal event reporting code based on the illegal event code, the illegal event occurrence time and the controller area network identity identification number; The illegal event reporting code is uploaded to the cloud so that the cloud data application team can process the data according to the event.

5. The data anomaly identification method according to claim 1, characterized in that: The N times source period value includes 3-5 times.

6. A data anomaly identification device, characterized in that: The device is used to implement the data anomaly identification method as described in claim 1.

7. An electronic device, characterized in that: The electronic device comprises: one or more processors; A storage device for storing one or more programs, when the one or more programs are executed by the one or more processors, enables the electronic device to implement the data anomaly identification method as described in any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a processor of a computer, the computer is caused to execute the data anomaly identification method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Network state detection method and device, electronic equipment and computer readable medium

    CN110290030A

  • Vehicle communication monitoring method and device

    CN112511396A