CN110266774B - Method, device and equipment for inspecting data quality of Internet of vehicles and storage medium - Google Patents

Method, device and equipment for inspecting data quality of Internet of vehicles and storage medium Download PDF

Info

Publication number
CN110266774B
CN110266774B CN201910481776.2A CN201910481776A CN110266774B CN 110266774 B CN110266774 B CN 110266774B CN 201910481776 A CN201910481776 A CN 201910481776A CN 110266774 B CN110266774 B CN 110266774B
Authority
CN
China
Prior art keywords
data
vehicles
target
internet
data segment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910481776.2A
Other languages
Chinese (zh)
Other versions
CN110266774A (en
Inventor
王明月
何云廷
吴振昕
高洪伟
付振
张正龙
时敬龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
FAW Group Corp
Original Assignee
FAW Group Corp
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 FAW Group Corp filed Critical FAW Group Corp
Priority to CN201910481776.2A priority Critical patent/CN110266774B/en
Publication of CN110266774A publication Critical patent/CN110266774A/en
Application granted granted Critical
Publication of CN110266774B publication Critical patent/CN110266774B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0852Delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Abstract

The embodiment of the invention discloses a method, a device, equipment and a storage medium for inspecting the quality of Internet of vehicles data. The method comprises the following steps: acquiring a target Internet of vehicles data segment according to the timestamp of the local vehicle data segment; acquiring sampling frequency according to the target internet of vehicles data and the period of the local vehicle data segment, and resampling the local vehicle data segment according to the sampling frequency to obtain a plurality of data sequences; obtaining a target data sequence according to the matching degree of the plurality of data sequences and the target Internet of vehicles data segment; calculating the delay time of the target Internet of vehicles data segment and the corresponding data point in the target data sequence to obtain a delay sequence; and determining a detection result according to the matching degree of the target data sequence and the target Internet of vehicles data segment and/or the delay sequence. The method for detecting the data quality of the Internet of vehicles can improve the accuracy and efficiency of data detection and can quickly locate the reason of the data quality problem.

Description

Method, device and equipment for inspecting data quality of Internet of vehicles and storage medium
Technical Field
The embodiment of the invention relates to the technical field of Internet of vehicles, in particular to a method, a device, equipment and a storage medium for testing the data quality of the Internet of vehicles.
Background
The vehicle networking data is data which is acquired by a vehicle-mounted remote information processor (T-BOX), collected vehicle-related information (such as position information, attitude information, vehicle state information and the like) and uploaded to a server through a wireless communication module. Accurate and real-time data uploading to a server is the basis for realizing the car networking function, such as: the remote vehicle control needs to control the current real state and the real state after the vehicle is controlled in real time; big data analysis mining based on user data is more based on accurate uploading data. Therefore, the quality of the data of the internet of vehicles is checked to be very important.
At present, whether vehicle local data and server data are consistent or not is judged through a manual identification method so as to check the quality of the vehicle networking data. The method has the following defects: the information of each vehicle needs to be checked one by one manually, so that the efficiency is low; the data cannot be described in a quantitative manner, so that the accuracy of the inspection is not high; the reason of the data quality problem is difficult to find due to unclear description of the data problem.
Disclosure of Invention
The embodiment of the invention provides a method, a device, equipment and a storage medium for inspecting the data quality of an internet of vehicles, which can improve the accuracy and efficiency of data inspection and can quickly locate the cause of the data quality problem.
In a first aspect, an embodiment of the present invention provides a method for checking quality of internet of vehicles, where the method includes:
acquiring a target Internet of vehicles data segment according to the timestamp of the local vehicle data segment;
acquiring sampling frequency according to the target internet of vehicles data and the period of the local vehicle data segment, and resampling the local vehicle data segment according to the sampling frequency to obtain a plurality of data sequences;
obtaining a target data sequence according to the matching degree of the plurality of data sequences and the target Internet of vehicles data segment;
calculating the delay time of the target Internet of vehicles data segment and the corresponding data point in the target data sequence to obtain a delay sequence;
and determining a detection result according to the matching degree of the target data sequence and the target Internet of vehicles data segment and/or the delay sequence.
Further, the time stamps of the local vehicle data segment include a start time stamp and an end time stamp; obtaining the target Internet of vehicles data segment according to the timestamp of the local vehicle data segment, comprising:
acquiring an initial Internet of vehicles data segment according to the starting time stamp and the ending time stamp;
intercepting data with a set proportion from the initial Internet of vehicles data segment to obtain a target Internet of vehicles data segment; the target Internet of vehicles data segment is located in the middle area of the initial Internet of vehicles data segment.
Further, the obtaining the period of the target internet of vehicles data comprises:
acquiring the uploading period of the Internet of vehicles data and the number of data points contained in the Internet of vehicles data packet;
and calculating the period of the target Internet of vehicles data according to the uploading period and the number of the data points.
Further, obtaining a target data sequence according to the matching degree of the plurality of data sequences and the target internet of vehicles data segment, including:
and calculating the matching degrees of the plurality of data sequences and the target Internet of vehicles data segment respectively according to the correlation function, and determining the data sequence with the highest matching degree as the target data sequence.
Further, calculating the delay time of the target internet of vehicles data segment and the corresponding data point in the target data sequence to obtain a delay sequence, including:
acquiring the sequence number of each data point in the target data sequence in the local vehicle data segment;
calculating the local time stamp of each data point in the target data sequence according to the sequence number, the starting time stamp of the local vehicle data segment and the period of the local vehicle data segment;
acquiring a server timestamp of each data point in the target Internet of vehicles data segment;
and calculating the delay time of the target Internet of vehicles data segment and the corresponding data point in the target data sequence according to the local time stamp and the server time stamp to obtain a delay sequence.
Further, determining a test result according to the matching degree of the target data sequence and the target internet of vehicles data segment and/or the delay sequence, including:
if the matching degree is greater than a set threshold value and the element values in the delay sequence are equal, the detection result is fixed delay;
if the matching degree is greater than a set threshold value and the element values in the delay sequence are not equal, the detection result is non-fixed delay;
if the matching degree is smaller than a set threshold value, the detection result is data abnormity;
and if the matching degree is equal to a set value and the element values in the delay sequence are equal, the data are normal according to the detection result.
In a second aspect, an embodiment of the present invention further provides an apparatus for checking quality of internet of vehicles, where the apparatus includes:
the target Internet of vehicles data segment acquisition module is used for acquiring a target Internet of vehicles data segment according to the timestamp of the local vehicle data segment;
the data sequence acquisition module is used for acquiring sampling frequency according to the target internet of vehicles data and the period of the local vehicle data segment, and resampling the local vehicle data segment according to the sampling frequency to acquire a plurality of data sequences;
the target data sequence acquisition module is used for acquiring a target data sequence according to the matching degree of the plurality of data sequences and the target Internet of vehicles data segment;
the delay sequence acquisition module is used for calculating the delay time of the target Internet of vehicles data segment and the corresponding data point in the target data sequence to obtain a delay sequence;
and the inspection result determining module is used for determining an inspection result according to the matching degree of the target data sequence and the target Internet of vehicles data segment and/or the delay sequence.
Further, the time stamps of the local vehicle data segment include a start time stamp and an end time stamp; the target Internet of vehicles data segment acquisition module is further used for:
acquiring an initial Internet of vehicles data segment according to the starting time stamp and the ending time stamp;
intercepting data with a set proportion from the initial Internet of vehicles data segment to obtain a target Internet of vehicles data segment; the target Internet of vehicles data segment is located in the middle area of the initial Internet of vehicles data segment.
In a third aspect, an embodiment of the present invention further provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the method for checking quality of internet of vehicles according to the embodiment of the present invention.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the method for checking quality of internet of vehicles according to the embodiment of the present invention.
According to the embodiment of the invention, a target Internet of vehicles data segment is obtained according to a timestamp of a local vehicle data segment, then sampling frequency is obtained according to target Internet of vehicles data and the period of the local vehicle data segment, resampling is carried out on the local vehicle data segment according to the sampling frequency to obtain a plurality of data sequences, then the target data sequence is obtained according to the matching degree of the data sequences and the target Internet of vehicles data segment, then delay time of the target Internet of vehicles data segment and corresponding data points in the target data sequence is calculated to obtain a delay sequence, and finally a detection result is determined according to the matching degree and/or the delay sequence of the target Internet of vehicles data segment and the target Internet of vehicles data segment. The method for detecting the data quality of the Internet of vehicles can improve the accuracy and efficiency of data detection and can quickly locate the reason of the data quality problem.
Drawings
FIG. 1 is a flowchart of a method for checking quality of Internet of vehicles data according to a first embodiment of the present invention;
FIG. 2 is an exemplary diagram of obtaining local vehicle data and Internet of vehicles data in accordance with one embodiment of the present invention;
FIG. 3a is an exemplary graph of a fixed delay in one embodiment of the present invention;
FIG. 3b is a diagram illustrating an example of an unfixed delay in accordance with one embodiment of the invention;
FIG. 3c is an exemplary diagram of exception data in accordance with one embodiment of the present invention;
FIG. 3d is a diagram illustrating normal data according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of an apparatus for inspecting quality of Internet of vehicles data according to a second embodiment of the present invention;
fig. 5 is a schematic structural diagram of a computer device in a third embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
In this embodiment, before the quality inspection of the data of the internet of vehicles, the data needs to be uploaded to the TSP end normally from the TBOX to perform a function test, and the TBOX and the TSP background can work normally to perform the next work.
In order to cover the value range of all the uploaded data, the present embodiment classifies the uploaded data of the TBOX, and four types of working conditions are designed, specifically:
static working condition A: and (3) igniting the engine, and verifying the on-off signal and the discrete value signal in the vehicle in the original idle state. The method comprises the following steps of respectively carrying out related operations of full signal value coverage on systems such as a door, a window, a lock, a lamp, an air conditioner, a safety belt and an electronic parking system, wherein the signal value switching operation of each system needs to ensure a time interval of about 30 seconds, and complete opening and closing operations of at least two times are finished for switching value signals (0-1 states);
and (3) static working condition B: in the in-situ static state of the vehicle, the ignition switch is switched among LOCK, ACC, ON and START gears, corresponding to the power supply mode and the engine state signal inspection, and meanwhile, the ignition switch is designed for acquiring signal values of each controller in different ignition switch states;
and (3) driving working condition C: the method comprises the following steps that (1) the engine is ignited, the vehicle running state needs to be achieved, the working condition comprises starting, accelerating, braking and steering operation, and signals (such as vehicle speed, engine rotating speed, yaw rate and the like) representing the vehicle running state characteristics are mainly verified;
and (3) driving working condition D: the three-step one-over condition is designed for checking driving behavior data, and the test can adjust the over-speed threshold value to a lower vehicle speed threshold value for convenience of operation.
Example one
Fig. 1 is a flowchart of a method for checking quality of internet of vehicles data according to an embodiment of the present invention, where the embodiment is applicable to a case of checking quality of internet of vehicles data, and the method may be executed by an apparatus for checking quality of internet of vehicles data, where the apparatus may be composed of hardware and/or software, and may be generally integrated in a device having a function of checking quality of internet of vehicles data, where the device may be an electronic device such as a server, a mobile terminal, or a server cluster. As shown in fig. 1, the method specifically includes the following steps:
and step 110, acquiring the target Internet of vehicles data segment according to the time stamp of the local vehicle data segment.
The local vehicle data may be high-frequency CAN bus data acquired by an On Board Diagnostics (OBD) port, and which CAN be acquired by the inspection task. The vehicle networking data may be data that the T-BOX collects vehicle related information (such as position information, attitude information, vehicle status information, etc.) and uploads the vehicle related information to a server (TSP platform) through a wireless communication module. Fig. 2 is an exemplary diagram of acquiring local vehicle data and internet of vehicles data according to one embodiment of the first embodiment. In this embodiment, the local vehicle data and the vehicle networking data are both discrete data.
The time stamps of the local vehicle data segments include a start time stamp and an end time stamp. In this embodiment, the manner of obtaining the target internet-of-vehicles data segment according to the timestamp of the local vehicle data segment may be: acquiring an initial Internet of vehicles data segment according to the starting time stamp and the ending time stamp; intercepting data with a set proportion from the initial Internet of vehicles data segment to obtain a target Internet of vehicles data segment; the target Internet of vehicles data segment is located in the middle region of the initial Internet of vehicles data segment.
The set ratio may be any value between 0 and 1, such as 2/3. Specifically, an initial vehicle networking data segment with the starting time being the starting time stamp of the local vehicle data segment and the ending time being the ending time stamp of the local vehicle data segment is extracted from the vehicle networking data, and then data with a set proportion is intercepted from the middle area of the initial vehicle networking data segment to obtain a target vehicle networking data segment. Wherein, the target internet of vehicles data segment located in the middle area of the initial internet of vehicles data segment can be understood as: the time length from the starting moment of the target Internet of vehicles data segment to the starting moment of the initial Internet of vehicles data segment is equal to the time length from the ending moment of the target Internet of vehicles data segment to the ending moment of the initial Internet of vehicles data segment.
And 120, acquiring a sampling frequency according to the target Internet of vehicles data and the period of the local vehicle data segment, and resampling the local vehicle data segment according to the sampling frequency to obtain a plurality of data sequences.
The period of the target internet of vehicles data and the local vehicle data segment can be the time interval between two adjacent data points. In this embodiment, the mode of obtaining the period of the target internet-of-vehicles data may be: acquiring the uploading period of the Internet of vehicles data and the number of data points contained in the Internet of vehicles data packet; and calculating the period of the target Internet of vehicles data according to the uploading period and the number of the data points. Specifically, the period of the target internet of vehicles data is obtained by dividing the uploading period by the number of data points. For example, assuming that the upload period is 10s, if 10 data points are included in the data packet, the period of the target internet of vehicles data is 1 s.
Specifically, the sampling frequency is obtained by dividing the period of the target internet of vehicles data by the period of the local vehicle data segment. For example: assuming that the period of the target internet-of-vehicles data is 1s and the period of the local vehicle data segment is 10ms, the sampling frequency is 100.
The process of resampling the local vehicle data segment according to the sampling frequency can be that firstly, sampling is carried out according to the sampling frequency by taking a first data point in the local vehicle data segment as a starting point, and data points with the same number as that of data points in the target Internet of vehicles data segment are extracted to obtain a data sequence; and then sampling according to the sampling frequency by taking the second data point in the local vehicle data segment as a starting point, and repeating the steps to obtain a plurality of data sequences after resampling the local vehicle data segment.
And step 130, obtaining a target data sequence according to the matching degree of the plurality of data sequences and the target Internet of vehicles data segment.
The target data sequence may be a data sequence with the highest matching degree with the target internet of vehicles data segment.
Specifically, the matching degree of the plurality of data sequences with the target Internet of vehicles data segment is calculated according to the correlation function, and the data sequence with the highest matching degree is determined as the target data sequence. Wherein the correlation function can be expressed as:
Figure BDA0002084079150000081
where X represents a target Internet of vehicles data segment, Y represents a target data sequence, Cov (X, Y) represents the expectation of X and Y, Var [ X ] X]、Var[Y]Representing the variance of X and Y, respectively.
And 140, calculating the delay time of the target Internet of vehicles data segment and the corresponding data point in the target data sequence to obtain a delay sequence.
The target data sequence is a data sequence obtained after the local vehicle data segment is adopted according to the sampling frequency, and each data point in the target data sequence has a corresponding serial number in the local vehicle data segment. Specifically, the sequence number of each data point in the target data sequence in the local vehicle data segment is obtained, and then the local timestamp of each data point in the target data sequence is calculated according to the sequence number, the starting timestamp of the local vehicle data segment and the period of the local vehicle data segment according to the following formula, wherein T2 is T1+ N dt, T2 is the local timestamp, T1 is the starting timestamp of the local vehicle data segment, N is the sequence number, and dt is the period of the local vehicle data segment. And then obtaining a server time stamp T3 of each data point in the target Internet of vehicles data segment, subtracting the local time stamp from the server time stamp to obtain the delay time of the target Internet of vehicles data segment and the corresponding data point in the target data sequence, and expressing the delay time as delta T-T3-T1 by a formula, thereby obtaining a delay sequence, wherein the delay sequence is a sequence formed by the delay time of each data point.
And 150, determining a detection result according to the matching degree and/or the time delay sequence of the target data sequence and the target Internet of vehicles data segment.
Specifically, the mode of determining the inspection result according to the matching degree and/or the time delay sequence of the target data sequence and the target internet of vehicles data segment is as follows: and if the matching degree is greater than the set threshold value and the element values in the delay sequence are equal, the detection result is the fixed delay. And if the matching degree is greater than the set threshold value and the element values in the delay sequence are not equal, the detection result is the non-fixed delay. And if the matching degree is smaller than the set threshold, the detection result is data abnormity. And if the matching degree is equal to the set value and the element values in the delay sequence are equal, the data are normal according to the detection result. For example, the target data sequence and the target internet of vehicles data are plotted into a curve, so that the test result can be visually reflected, and fig. 3a to 3d are exemplary diagrams of the test result in this embodiment. Fig. 3a is an exemplary graph of a fixed delay, fig. 3b is an exemplary graph of a non-fixed delay, fig. 3c is an exemplary graph of abnormal data, and fig. 3d is an exemplary graph of normal data.
According to the inspection result, the reason of the data quality problem can be checked, for example: if the non-fixed time delay occurs, the T-BOX timing acquisition algorithm needs to be optimized due to inaccurate T-BOX timing; if data abnormity occurs, the T-BOX acquisition signal error can be determined to cause.
According to the technical scheme of the embodiment, a target Internet of vehicles data segment is obtained according to a timestamp of a local vehicle data segment, sampling frequency is obtained according to target Internet of vehicles data and the period of the local vehicle data segment, resampling is carried out on the local vehicle data segment according to the sampling frequency, a plurality of data sequences are obtained, a target data sequence is obtained according to the matching degree of the data sequences and the target Internet of vehicles data segment, delay time of the target Internet of vehicles data segment and corresponding data points in the target data sequence is calculated, a delay sequence is obtained, and finally a detection result is determined according to the matching degree and/or the delay sequence of the target data sequence and the target Internet of vehicles data segment. The method for detecting the data quality of the Internet of vehicles can improve the accuracy and efficiency of data detection and can quickly locate the reason of the data quality problem.
Example two
Fig. 4 is a schematic structural diagram of an inspection device for vehicle networking data quality according to a second embodiment of the present invention. As shown in fig. 4, the apparatus includes: the system comprises a target internet of vehicles data segment acquisition module 210, a data sequence acquisition module 220, a target data sequence acquisition module 230, a delay sequence acquisition module 240 and a test result determination module 250.
A target internet of vehicles data segment obtaining module 210, configured to obtain a target internet of vehicles data segment according to the timestamp of the local vehicle data segment;
the data sequence acquisition module 220 is configured to acquire a sampling frequency according to the target internet of vehicles data and the period of the local vehicle data segment, and resample the local vehicle data segment according to the sampling frequency to acquire a plurality of data sequences;
a target data sequence obtaining module 230, configured to obtain a target data sequence according to matching degrees of the multiple data sequences and the target internet of vehicles data segment;
the delay sequence acquisition module 240 is configured to calculate a delay time between the target internet-of-vehicles data segment and a corresponding data point in the target data sequence, and obtain a delay sequence;
and the inspection result determining module 250 is used for determining an inspection result according to the matching degree and/or the time delay sequence of the target data sequence and the target Internet of vehicles data segment.
Optionally, the timestamp of the local vehicle data segment includes a start timestamp and an end timestamp; the target internet of vehicles data segment obtaining module 210 is further configured to:
acquiring an initial Internet of vehicles data segment according to the starting time stamp and the ending time stamp;
intercepting data with a set proportion from the initial Internet of vehicles data segment to obtain a target Internet of vehicles data segment; the target Internet of vehicles data segment is located in the middle region of the initial Internet of vehicles data segment.
Optionally, the period of obtaining the target internet of vehicles data includes:
acquiring the uploading period of the Internet of vehicles data and the number of data points contained in the Internet of vehicles data packet;
and calculating the period of the target Internet of vehicles data according to the uploading period and the number of the data points.
Optionally, the target data sequence obtaining module 230 is further configured to:
and calculating the matching degrees of the plurality of data sequences and the target Internet of vehicles data segment respectively according to the correlation function, and determining the data sequence with the highest matching degree as the target data sequence.
Optionally, the delay sequence obtaining module 240 is further configured to:
acquiring the sequence number of each data point in the target data sequence in the local vehicle data segment;
calculating the local time stamp of each data point in the target data sequence according to the sequence number, the starting time stamp of the local vehicle data segment and the period of the local vehicle data segment;
acquiring a server timestamp of each data point in the target Internet of vehicles data segment;
and calculating the delay time of the target Internet of vehicles data segment and the corresponding data point in the target data sequence according to the local time stamp and the server time stamp to obtain a delay sequence.
Optionally, the test result determining module 250 is further configured to:
if the matching degree is greater than a set threshold value and the element values in the delay sequence are equal, the detection result is fixed delay;
if the matching degree is greater than a set threshold value and the element values in the delay sequence are unequal, the detection result is non-fixed delay;
if the matching degree is smaller than a set threshold value, the detection result is data abnormity;
and if the matching degree is equal to the set value and the element values in the delay sequence are equal, the data are normal according to the detection result.
The device can execute the methods provided by all the embodiments of the invention, and has corresponding functional modules and beneficial effects for executing the methods. For details not described in detail in this embodiment, reference may be made to the methods provided in all the foregoing embodiments of the present invention.
EXAMPLE III
Fig. 5 is a schematic structural diagram of a computer device according to a third embodiment of the present invention. FIG. 5 illustrates a block diagram of a computer device 312 suitable for use in implementing embodiments of the present invention. The computer device 312 shown in FIG. 5 is only an example and should not bring any limitations to the functionality or scope of use of embodiments of the present invention. Device 312 is typically a computing device that undertakes verification functions for the quality of the Internet of vehicles data.
As shown in FIG. 5, computer device 312 is in the form of a general purpose computing device. The components of computer device 312 may include, but are not limited to: one or more processors 316, a storage device 328, and a bus 318 that couples the various system components including the storage device 328 and the processors 316.
Bus 318 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MCA) bus, an enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.
Computer device 312 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by computer device 312 and includes both volatile and nonvolatile media, removable and non-removable media.
Storage 328 may include computer system readable media in the form of volatile Memory, such as Random Access Memory (RAM) 330 and/or cache Memory 332. The computer device 312 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 334 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 5, and commonly referred to as a "hard drive"). Although not shown in FIG. 5, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a Compact disk-Read Only Memory (CD-ROM), a Digital Video disk (DVD-ROM), or other optical media) may be provided. In these cases, each drive may be connected to bus 318 by one or more data media interfaces. Storage 328 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
Program 336 having a set (at least one) of program modules 326 may be stored, for example, in storage 328, such program modules 326 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which may comprise an implementation of a network environment, or some combination thereof. Program modules 326 generally carry out the functions and/or methodologies of embodiments of the invention as described herein.
The computer device 312 may also communicate with one or more external devices 314 (e.g., keyboard, pointing device, camera, display 324, etc.), with one or more devices that enable a user to interact with the computer device 312, and/or with any devices (e.g., network card, modem, etc.) that enable the computer device 312 to communicate with one or more other computing devices. Such communication may occur via input/output (I/O) interfaces 322. Also, computer device 312 may communicate with one or more networks (e.g., a Local Area Network (LAN), Wide Area Network (WAN), etc.) and/or a public Network, such as the internet, via Network adapter 320. As shown, network adapter 320 communicates with the other modules of computer device 312 via bus 318. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the computer device 312, including but not limited to: microcode, device drivers, Redundant processing units, external disk drive Arrays, disk array (RAID) systems, tape drives, and data backup storage systems, to name a few.
Processor 316 executes programs stored in storage 328 to perform various functional applications and data processing, such as implementing the method for verifying the quality of internet of vehicles data provided by the above-described embodiments of the present invention.
Example four
The fourth embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method for checking data quality of the internet of vehicles according to the fourth embodiment of the present invention.
Of course, the computer-readable storage medium provided by the embodiments of the present invention, on which the computer program is stored, is not limited to the method operations described above, and may also perform related operations in the method for checking quality of internet of vehicles data provided by any embodiments of the present invention.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A method for inspecting the quality of Internet of vehicles data is characterized by comprising the following steps:
acquiring a target Internet of vehicles data segment according to the timestamp of the local vehicle data segment;
acquiring sampling frequency according to the target internet of vehicles data and the period of the local vehicle data segment, and resampling the local vehicle data segment according to the sampling frequency to obtain a plurality of data sequences;
obtaining a target data sequence according to the matching degree of the plurality of data sequences and the target Internet of vehicles data segment;
calculating the delay time of the target Internet of vehicles data segment and the corresponding data point in the target data sequence to obtain a delay sequence;
and determining a detection result according to the matching degree of the target data sequence and the target Internet of vehicles data segment and/or the delay sequence.
2. The method of claim 1, wherein the time stamps of the local vehicle data segments comprise a start time stamp and an end time stamp; obtaining the target Internet of vehicles data segment according to the timestamp of the local vehicle data segment, comprising:
acquiring an initial Internet of vehicles data segment according to the starting time stamp and the ending time stamp;
intercepting data with a set proportion from the initial Internet of vehicles data segment to obtain a target Internet of vehicles data segment; the target Internet of vehicles data segment is located in the middle area of the initial Internet of vehicles data segment.
3. The method of claim 1, wherein obtaining the periodicity of the target internet of vehicles data comprises:
acquiring the uploading period of the Internet of vehicles data and the number of data points contained in the Internet of vehicles data packet;
and calculating the period of the target Internet of vehicles data according to the uploading period and the number of the data points.
4. The method of claim 1, wherein obtaining a target data sequence based on a degree of matching of the plurality of data sequences to the target internet of vehicles data segment comprises:
and calculating the matching degrees of the plurality of data sequences and the target Internet of vehicles data segment respectively according to the correlation function, and determining the data sequence with the highest matching degree as the target data sequence.
5. The method of claim 2, wherein calculating the delay time of the target internet of vehicles data segment and the corresponding data point in the target data sequence to obtain a delay sequence comprises:
acquiring the sequence number of each data point in the target data sequence in the local vehicle data segment;
calculating the local time stamp of each data point in the target data sequence according to the sequence number, the starting time stamp of the local vehicle data segment and the period of the local vehicle data segment;
acquiring a server timestamp of each data point in the target Internet of vehicles data segment;
and calculating the delay time of the target Internet of vehicles data segment and the corresponding data point in the target data sequence according to the local time stamp and the server time stamp to obtain a delay sequence.
6. The method of claim 1, wherein determining a test result according to the matching degree of the target data sequence and the target internet of vehicles data segment and/or the delay sequence comprises:
if the matching degree is greater than a set threshold value and the element values in the delay sequence are equal, the detection result is fixed delay;
if the matching degree is greater than a set threshold value and the element values in the delay sequence are not equal, the detection result is non-fixed delay;
if the matching degree is smaller than a set threshold value, the detection result is data abnormity;
and if the matching degree is equal to a set value and the element values in the delay sequence are equal, the data are normal according to the detection result.
7. The utility model provides a verifying attachment of car networking data quality which characterized in that includes:
the target Internet of vehicles data segment acquisition module is used for acquiring a target Internet of vehicles data segment according to the timestamp of the local vehicle data segment;
the data sequence acquisition module is used for acquiring sampling frequency according to the target internet of vehicles data and the period of the local vehicle data segment, and resampling the local vehicle data segment according to the sampling frequency to acquire a plurality of data sequences;
the target data sequence acquisition module is used for acquiring a target data sequence according to the matching degree of the plurality of data sequences and the target Internet of vehicles data segment;
the delay sequence acquisition module is used for calculating the delay time of the target Internet of vehicles data segment and the corresponding data point in the target data sequence to obtain a delay sequence;
and the inspection result determining module is used for determining an inspection result according to the matching degree of the target data sequence and the target Internet of vehicles data segment and/or the delay sequence.
8. The apparatus of claim 7, wherein the time stamps of the local vehicle data segments comprise a start time stamp and an end time stamp; the target Internet of vehicles data segment acquisition module is further used for:
acquiring an initial Internet of vehicles data segment according to the starting time stamp and the ending time stamp;
intercepting data with a set proportion from the initial Internet of vehicles data segment to obtain a target Internet of vehicles data segment; the target Internet of vehicles data segment is located in the middle area of the initial Internet of vehicles data segment.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the program implements the method of vehicle networking data quality verification as claimed in any one of claims 1-6.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a method of checking the quality of internet of vehicles data according to any one of claims 1 to 6.
CN201910481776.2A 2019-06-04 2019-06-04 Method, device and equipment for inspecting data quality of Internet of vehicles and storage medium Active CN110266774B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910481776.2A CN110266774B (en) 2019-06-04 2019-06-04 Method, device and equipment for inspecting data quality of Internet of vehicles and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910481776.2A CN110266774B (en) 2019-06-04 2019-06-04 Method, device and equipment for inspecting data quality of Internet of vehicles and storage medium

Publications (2)

Publication Number Publication Date
CN110266774A CN110266774A (en) 2019-09-20
CN110266774B true CN110266774B (en) 2021-07-02

Family

ID=67916701

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910481776.2A Active CN110266774B (en) 2019-06-04 2019-06-04 Method, device and equipment for inspecting data quality of Internet of vehicles and storage medium

Country Status (1)

Country Link
CN (1) CN110266774B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111240302B (en) * 2020-01-14 2022-03-08 吉利汽车研究院(宁波)有限公司 Signal verification method and device, electronic equipment and storage medium
CN112286969B (en) * 2020-10-29 2024-03-15 广州汽车集团股份有限公司 Low frequency data continuity determination method and device
CN115061454A (en) * 2022-06-23 2022-09-16 中国第一汽车股份有限公司 Vehicle condition signal correction method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9215151B1 (en) * 2011-12-14 2015-12-15 Google Inc. Dynamic sampling rate adjustment for rate-limited statistical data collection
CN108228083A (en) * 2016-12-21 2018-06-29 伊姆西Ip控股有限责任公司 For the method and apparatus of data deduplication
CN105589828B (en) * 2014-10-22 2018-11-30 炬芯(珠海)科技有限公司 A kind of method and apparatus that high-speed interface data send and receive

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9215151B1 (en) * 2011-12-14 2015-12-15 Google Inc. Dynamic sampling rate adjustment for rate-limited statistical data collection
CN105589828B (en) * 2014-10-22 2018-11-30 炬芯(珠海)科技有限公司 A kind of method and apparatus that high-speed interface data send and receive
CN108228083A (en) * 2016-12-21 2018-06-29 伊姆西Ip控股有限责任公司 For the method and apparatus of data deduplication

Also Published As

Publication number Publication date
CN110266774A (en) 2019-09-20

Similar Documents

Publication Publication Date Title
CN110266774B (en) Method, device and equipment for inspecting data quality of Internet of vehicles and storage medium
CN108563214B (en) Vehicle diagnosis method, device and equipment
EP2781979B1 (en) Real-time monitoring of vehicle
CN109450582A (en) Sensor time stabs synchronous detecting method, device, equipment, medium and vehicle
CN110780608B (en) Simulation test method and device
EP3598144A1 (en) Motion detection method, motion detection apparatus, and medium
CN113884961A (en) SOC calibration method, modeling apparatus, computer device, and medium
JP2007148890A (en) Instrument diagnosis device
CN114296105A (en) Method, device, equipment and storage medium for determining positioning fault reason
CN113723338A (en) Sensor abnormality detection method, sensor abnormality detection device, and computer-readable storage medium
CN116126655B (en) Coal mining machine fault prompting method, system, storage medium and equipment
CN115031994B (en) Vehicle endurance test method and system
CN213812885U (en) Motor vehicle braking performance test system
CN112596966B (en) Chip verification method, device, equipment and storage medium
EP3547058B1 (en) Diagnosis device and diagnosis method
CN112393924A (en) Motor vehicle brake performance test system, method, device, equipment and storage medium
JP2009281919A (en) Gps data processor, gps data processing program, and recording medium
CN114896168B (en) Quick debugging system, method and memory for automatic driving algorithm development
KR101688808B1 (en) A Verifying Method Of Digital Tachograph Of Vehicle
CN112559477B (en) Quantitative evaluation method, system, equipment and medium based on unmanned aerial vehicle flight log
CN112735148B (en) Method and device for judging overspeed of vehicle in camp, electronic equipment and storage medium
CN117074046B (en) Automobile laboratory emission test method and device in plateau environment
US20230254473A1 (en) Apparatus for improving an impact detecting performance of a built-in camera, system having the same, and method thereof
CN114416541A (en) Communication analysis method, device, equipment and storage medium
CN117849739A (en) Radar state detection method, device, equipment and storage medium

Legal Events

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