CN115914036A - Automobile Internet of things data verification method and device, storage medium and equipment - Google Patents
Automobile Internet of things data verification method and device, storage medium and equipment Download PDFInfo
- Publication number
- CN115914036A CN115914036A CN202211371919.2A CN202211371919A CN115914036A CN 115914036 A CN115914036 A CN 115914036A CN 202211371919 A CN202211371919 A CN 202211371919A CN 115914036 A CN115914036 A CN 115914036A
- Authority
- CN
- China
- Prior art keywords
- data
- state data
- running state
- current
- historical
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 66
- 238000013524 data verification Methods 0.000 title claims abstract description 41
- 238000012545 processing Methods 0.000 claims abstract description 22
- 238000001914 filtration Methods 0.000 claims abstract description 18
- 238000004590 computer program Methods 0.000 claims description 21
- 230000002159 abnormal effect Effects 0.000 claims description 16
- 230000006855 networking Effects 0.000 claims 1
- 230000006870 function Effects 0.000 description 19
- 238000010586 diagram Methods 0.000 description 12
- 230000008569 process Effects 0.000 description 7
- 230000008859 change Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000008447 perception Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Images
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a method and a device for checking data of an automobile internet of things, a storage medium and equipment. Wherein, the method comprises the following steps: receiving current running state data of a target vehicle and acquiring historical running state data of the target vehicle; performing median filtering processing on the historical running state data to determine sample running state data; comparing the current running state data with the sample running state data to determine a comparison result; and finishing data verification based on the comparison result. The invention solves the technical problem that the data mixed frame caused by network abnormity, manual setting of an owner and the like cannot be distinguished in the data verification method of the internet of things of the automobile in the prior art.
Description
Technical Field
The invention relates to the technical field of data processing, in particular to a method, a device, a storage medium and equipment for checking data of an automobile internet of things.
Background
The concept of the internet of vehicles is derived from the internet of things, namely the internet of vehicles, vehicles in driving are used as information perception objects, network connection between the vehicles and an X service platform is realized by means of a new generation of information communication technology, the integral intelligent driving level of the vehicles is improved, safe, comfortable, intelligent and efficient driving feeling and traffic service are provided for users, meanwhile, the traffic operation efficiency is improved, and the intelligent level of social traffic service is improved. Through the internet of vehicles, vehicle running state data are uploaded, a service provider can provide a series of functions such as remote vehicle control and driving behavior analysis for a user, and the realization of the functions depends on the accuracy of the vehicle uploaded data.
The method comprises the following steps that a vehicle is connected with a cloud platform through the Internet of things, and vehicle running state data are uploaded at a fixed period or under set conditions; when the link is established with the cloud platform, each vehicle is provided with a unique device number for distinguishing the vehicles. Since the number of vehicles simultaneously accessed can reach 10 ten thousand or 100 ten thousand, data mixing occurs in some scenes. The reasons for frame mixing include network pressure and the like, and the frame mixing causes data confusion reported by two or more internet vehicles and cannot be recovered in an effective manner. Aiming at the problem of mixed frames, the current processing mode is to compare two adjacent frames of data, and the data with larger difference is regarded as abnormal data; the problem of partial mixed frames can be solved, but the mixed frames caused by network abnormity, manual setting of an owner and the like cannot be distinguished, and once processing is wrong, additional quality problems can be caused.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a method, a device, a storage medium and equipment for checking data of an automobile internet of things, and at least solves the technical problem that the data mixed frame caused by network abnormity, manual setting of an automobile owner and the like cannot be distinguished in the method for checking the data of the automobile internet of things in the prior art.
According to one aspect of the embodiment of the invention, an automobile internet of things data verification method is provided, and the method comprises the following steps: receiving current running state data of a target vehicle, and acquiring historical running state data of the target vehicle; performing median filtering processing on the historical running state data to determine sample running state data; comparing the current running state data with the sample running state data to determine a comparison result; and finishing data verification based on the comparison result.
Optionally, the receiving the current operating state data of the target vehicle and acquiring the historical operating state data of the target vehicle include: receiving initial running state data in a first preset time period, and generating a first timestamp to obtain the current running state data; storing the current operation state data into a database; and acquiring the historical operating state data from the database, wherein the historical operating state data corresponds to a second timestamp, and the time length of the historical operating state data is the first preset time period.
Optionally, the performing median filtering on the historical operating state data to determine sample operating state data includes: determining driving data in the historical operating state data, wherein the driving data at least comprises: mileage data, latitude and longitude data; and calculating the median of the driving data and determining the sample running state data.
Optionally, before the comparing the current running state data with the sample running state data and determining a comparison result, the method further includes: calculating a time difference between the first time stamp and the second time stamp; judging whether the time difference value is larger than a preset time threshold value or not; if the time difference is greater than the preset time threshold, comparing the current running state data with the sample running state data; and if the time difference is smaller than the preset time threshold, determining that the current operation state data is invalid data.
Optionally, the comparing the current running state data with the sample running state data to determine a comparison result includes: calculating a data difference value between the current running state data and the sample running state data; judging whether the data difference value is larger than a preset data threshold value or not; if the data difference value is larger than the preset data threshold value, determining that the current operation state data is abnormal; and if the data difference value is smaller than the preset data threshold value, determining that the current running state data is target running state data.
Optionally, after the comparing the current running state data with the sample running state data and determining a comparison result, the method further includes: if the current running state data are determined to be abnormal, adopting the historical running state data as the target running state data, and storing the historical running state data into the database; and if the current operation state data is determined to be the target operation state data, storing the current operation state data into the database.
According to another aspect of the embodiments of the present invention, there is also provided an apparatus for verifying data of an internet of things of an automobile, including: the receiving module is used for receiving the current running state data of the target vehicle and acquiring the historical running state data of the target vehicle; the processing module is used for carrying out median filtering processing on the historical running state data to determine sample running state data; the comparison module is used for comparing the current running state data with the sample running state data to determine a comparison result; and the checking module is used for finishing data checking based on the comparison result.
According to another aspect of the embodiment of the invention, a nonvolatile storage medium is further provided, where the nonvolatile storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing any one of the above data verification methods for the internet of things of the vehicle.
According to another aspect of the embodiment of the present invention, a processor is further provided, where the processor is configured to execute a program, where the program is configured to execute any one of the above data verification methods for the internet of things of a vehicle when the program runs.
According to another aspect of the embodiments of the present invention, there is also provided an electronic device, including a memory and a processor, where the memory stores a computer program, and the processor is configured to execute the computer program to perform any one of the above data verification methods for the internet of things of a vehicle.
In the embodiment of the invention, the current running state data of the target vehicle is received, and the historical running state data of the target vehicle is obtained; performing median filtering processing on the historical running state data to determine sample running state data; comparing the current running state data with the sample running state data to determine a comparison result; the data verification is completed based on the comparison result, and the purpose of reducing the data quality caused by frame mixing is achieved, so that the technical effect of ensuring the accuracy of continuous monitoring data on the premise of not influencing the real-time performance of the data is achieved, and the technical problem that the data frame mixing caused by network abnormity, manual setting of an owner and the like cannot be distinguished in the data verification method of the internet of things of the automobile in the prior art is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention and do not constitute a limitation of the invention. In the drawings:
fig. 1 is a flow chart of a data verification method of an internet of things of an automobile according to an embodiment of the invention;
FIG. 2 is a flow chart illustrating an alternative data verification method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an apparatus for verifying data of an internet of things of an automobile according to an embodiment of the invention;
fig. 4 is a schematic structural diagram of an alternative electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in other sequences than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
In accordance with an embodiment of the present invention, there is provided an embodiment of a data verification method for an internet of things of a vehicle, it is noted that the steps illustrated in the flowchart of the drawings may be executed in a computer system such as a set of computer executable instructions, and although a logical order is illustrated in the flowchart, in some cases, the steps illustrated or described may be executed in an order different from that described herein.
Fig. 1 is a flowchart of a data verification method for an internet of things of an automobile according to an embodiment of the invention, and as shown in fig. 1, the method includes the following steps:
step S102, receiving current running state data of a target vehicle and acquiring historical running state data of the target vehicle;
step S104, performing median filtering processing on the historical running state data to determine sample running state data;
step S106, comparing the current running state data with the sample running state data to determine a comparison result;
and step S108, finishing data verification based on the comparison result.
In an embodiment of the present invention, an execution subject of the method for verifying the data of the internet of things of the automobile provided in the steps S102 to S108 is an automobile internet of things data verification system, and the system is adopted to receive the current operation state data of the target vehicle and obtain the historical operation state data of the target vehicle; performing median filtering processing on the historical running state data to determine sample running state data; comparing the current running state data with the sample running state data to determine a comparison result; and finishing data verification based on the comparison result.
As an alternative embodiment, as shown in the flowchart of the data verification method shown in fig. 2, the vehicle power-on state, which is established through the vehicle-mounted communication terminal and the automobile remote service provider (TSP), may upload the vehicle operation state data at a specific period or a specific trigger event (ignition, ignition off); when the TSP receives data reported by the vehicles, historical operating state data of the target vehicles are acquired at the same time; calculating a median of the cached historical data to represent the vehicle state; and comparing the latest data with the calculated vehicle state, firstly judging whether the time difference between the current vehicle state and the historical data exceeds a certain time threshold, finally carrying out data validity judgment, comparing the latest data with the calculated vehicle state, comparing the data deviation value, judging that the data is abnormal if the deviation exceeds the threshold, discarding the data and not carrying out next application, using the last valid vehicle state for substitution, and otherwise, normally updating the vehicle state.
It should be noted that, the historical state of the vehicle may select signals with large value range and obvious change, such as the total mileage traveled by the vehicle, the latitude and longitude information of the vehicle, etc.; the time threshold can be 5min, and the set time threshold can avoid processing errors caused by unreported data in scenes such as network and vehicle power-off; the setting of the data deviation threshold value can be obtained according to the statistics of the actual data situation, for example: the mileage threshold may be 100km, and the latitude and longitude threshold may be 1 °.
By the embodiment of the invention, the problem of data quality caused by frame mixing can be effectively reduced, and various abnormal scenes can be processed. The method provided by the invention is simple, the computing resources required by data verification and restoration are few, the accuracy of the data is continuously monitored on the premise of not influencing the real-time performance of the data, the error data is restored, and the algorithm robustness is high.
In an optional embodiment, the receiving the current operating state data of the target vehicle and acquiring the historical operating state data of the target vehicle include: receiving initial running state data in a first preset time period, and generating a first timestamp to obtain the current running state data; storing the current operation state data into a database; and acquiring the historical operating state data from the database, wherein the historical operating state data corresponds to a second timestamp, and the time length of the historical operating state data is the first preset time period.
In the embodiment of the invention, when latest vehicle data is received, the first timestamp is generated for the data, and the latest vehicle data is running state data in a first preset time period; the historical operating data can be 1min or 11 data, or historical data within a first preset time length can be selected, a timestamp of each piece of reported data is recorded, and the amount of cached data can be determined according to actual data and calculation performance.
In an optional embodiment, the performing a median filtering process on the historical operating condition data to determine sample operating condition data includes: determining driving data in the historical operating state data, wherein the driving data at least comprises the following components: mileage data, latitude and longitude data; and calculating the median of the driving data and determining the sample running state data.
In the embodiment of the invention, when the historical state of the vehicle is calculated, signals with large value range and obvious change, such as the total driving mileage of the vehicle and the longitude and latitude information of the vehicle, are selected, and the median of the cached historical data is calculated to represent the state of the vehicle.
It should be noted that. Median is the 50% quantile value of the data; the reason for selecting signals such as the total mileage traveled by the signal is as follows: when the mixed frames occur, the difference of the mileage information of the vehicle is large, and the mileage information is obviously changed relative to a normal signal, so that stable data can be obtained through median filtering.
In an optional embodiment, before the comparing the current operation state data with the sample operation state data and determining a comparison result, the method further includes: calculating a time difference between the first time stamp and the second time stamp; judging whether the time difference is greater than a preset time threshold value or not; if the time difference is greater than the preset time threshold, comparing the current running state data with the sample running state data; and if the time difference is smaller than the preset time threshold, determining that the current operation state data is invalid data.
In the embodiment of the invention, when the latest data is compared with the calculated vehicle state, firstly, whether the time difference between the current vehicle state time and the historical data exceeds a certain time threshold is judged, if the time difference exceeds a preset time threshold, the vehicle state is considered to be an effective vehicle state, and if the time difference does not exceed the preset time threshold, the vehicle state is considered to be an ineffective vehicle state; the time threshold may be set to 5min. The significance of judging the time threshold is to avoid processing errors caused by unreported data in the scenes of network, vehicle power-off and the like.
In an optional embodiment, the comparing the current operation state data with the sample operation state data to determine a comparison result includes: calculating a data difference value between the current running state data and the sample running state data; judging whether the data difference value is larger than a preset data threshold value or not; if the data difference value is larger than the preset data threshold value, determining that the current operation state data is abnormal; and if the data difference value is smaller than the preset data threshold value, determining that the current running state data is target running state data.
In the embodiment of the invention, when the data validity is judged, the latest data is compared with the vehicle state obtained by calculation, the data deviation value is compared, if the deviation exceeds the threshold value, the data is considered to be abnormal, the data is discarded without being applied in the next step, the last effective vehicle condition is used for substitution, and if the deviation does not exceed the threshold value, the vehicle condition is normally updated.
It should be noted that the threshold setting is obtained by statistics according to actual data conditions, the general mileage threshold may be 100km, and the latitude and longitude threshold may be 1 °.
In an optional embodiment, after the comparing the current operating state data with the sample operating state data and determining a comparison result, the method further includes: if the current running state data are determined to be abnormal, adopting the historical running state data as the target running state data, and storing the historical running state data into the database; and if the current operation state data is determined to be the target operation state data, storing the current operation state data into the database.
In the embodiment of the invention, the current running state data of the target vehicle is received, and the historical running state data of the target vehicle is obtained; performing median filtering processing on the historical running state data to determine sample running state data; comparing the current running state data with the sample running state data to determine a comparison result; the data verification is completed based on the comparison result, and the purpose of reducing the data quality caused by frame mixing is achieved, so that the technical effect of ensuring the accuracy of continuous monitoring data on the premise of not influencing the real-time performance of the data is achieved, and the technical problem that the data frame mixing caused by network abnormity, manual setting of an owner and the like cannot be distinguished in the data verification method of the internet of things of the automobile in the prior art is solved.
Example 2
According to an embodiment of the present invention, an embodiment of an apparatus for implementing the method for verifying the data of the internet of things of the vehicle is further provided, fig. 3 is a schematic structural diagram of the apparatus for verifying the data of the internet of things of the vehicle according to the embodiment of the present invention, and as shown in fig. 3, the apparatus for verifying the data of the internet of things of the vehicle includes: a receiving module 30, a processing module 32, a comparing module 34 and a checking module 36, wherein:
a receiving module 30, configured to receive current operating state data of the target vehicle and obtain historical operating state data of the target vehicle;
a processing module 32, configured to perform median filtering on the historical operating state data to determine sample operating state data;
a comparison module 34, configured to compare the current running state data with the sample running state data, and determine a comparison result;
and a verification module 36 configured to complete data verification based on the comparison result. It should be noted that the above modules may be implemented by software or hardware, for example, for the latter, the following may be implemented: the modules can be located in the same processor; alternatively, the modules may be located in different processors in any combination.
It should be noted that the method for verifying the data of the internet of things of the vehicle corresponds to steps S102 to S108 in embodiment 1, and the modules are the same as the examples and application scenarios realized by the corresponding steps, but are not limited to the disclosure of embodiment 1. It should be noted that the modules described above may be implemented in a computer terminal as part of an apparatus.
It should be noted that, reference may be made to the relevant description in embodiment 1 for alternative or preferred embodiments of this embodiment, and details are not described here again.
The device for verifying the data of the internet of things of the automobile can further comprise a processor and a memory, the device for verifying the data of the internet of things of the automobile and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
The processor comprises a kernel, and the kernel calls a corresponding program unit from the memory, wherein one or more than one kernel can be arranged. The memory may include volatile memory in a computer readable medium, random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
According to an embodiment of the present application, there is also provided an embodiment of a computer-readable storage medium. Optionally, in this embodiment, the computer-readable storage medium includes a stored program, where the program, when running, controls a device where the computer-readable storage medium is located to execute the any method for checking the data of the internet of things of the vehicle.
Optionally, in this embodiment, the computer-readable storage medium may be located in any one of a group of computer terminals in a computer network or in any one of a group of mobile terminals, and the computer-readable storage medium includes a stored program.
Optionally, the program when executed controls an apparatus in which the computer-readable storage medium is located to perform the following functions: receiving current running state data of a target vehicle and acquiring historical running state data of the target vehicle; performing median filtering processing on the historical running state data to determine sample running state data; comparing the current running state data with the sample running state data to determine a comparison result; and finishing data verification based on the comparison result.
Optionally, the program when executed controls an apparatus in which the computer-readable storage medium is located to perform the following functions: receiving initial running state data in a first preset time period, and generating a first timestamp to obtain the current running state data; storing the current operation state data into a database; and acquiring the historical operating state data from the database, wherein the historical operating state data corresponds to a second timestamp, and the time length of the historical operating state data is the first preset time period.
Optionally, the program when executed controls an apparatus in which the computer-readable storage medium is located to perform the following functions: determining driving data in the historical operating state data, wherein the driving data at least comprises: mileage data, latitude and longitude data; and calculating the median of the driving data and determining the sample running state data.
Optionally, the program when executed controls an apparatus in which the computer-readable storage medium is located to perform the following functions: calculating a time difference between the first time stamp and the second time stamp; judging whether the time difference is greater than a preset time threshold value or not; if the time difference is greater than the preset time threshold, comparing the current running state data with the sample running state data; and if the time difference is smaller than the preset time threshold, determining that the current operation state data is invalid data.
Optionally, the program when executed controls an apparatus in which the computer-readable storage medium is located to perform the following functions: calculating a data difference value between the current running state data and the sample running state data; judging whether the data difference value is larger than a preset data threshold value or not; if the data difference value is larger than the preset data threshold value, determining that the current operation state data is abnormal; and if the data difference value is smaller than the preset data threshold value, determining that the current running state data is target running state data.
Optionally, the program when executed controls an apparatus in which the computer-readable storage medium is located to perform the following functions: if the current running state data are determined to be abnormal, adopting the historical running state data as the target running state data, and storing the historical running state data into the database; and if the current operation state data is determined to be the target operation state data, storing the current operation state data into the database.
According to an embodiment of the present application, there is also provided an embodiment of a processor. Optionally, in this embodiment, the processor is configured to execute a program, where the program executes any one of the methods for verifying data of the internet of things of the vehicle when running.
Optionally, the program controls the device in which the processor is located to perform the following functions when running: receiving current running state data of a target vehicle, and acquiring historical running state data of the target vehicle; performing median filtering processing on the historical running state data to determine sample running state data; comparing the current running state data with the sample running state data to determine a comparison result; and finishing data verification based on the comparison result.
Optionally, the program controls the device in which the processor is located to perform the following functions when running: receiving initial running state data in a first preset time period, and generating a first timestamp to obtain the current running state data; storing the current operation state data into a database; and acquiring the historical operating state data from the database, wherein the historical operating state data corresponds to a second timestamp, and the time length of the historical operating state data is the first preset time period.
Optionally, the program controls the device in which the processor is located to perform the following functions when running: determining driving data in the historical operating state data, wherein the driving data at least comprises the following components: mileage data, latitude and longitude data; and calculating the median of the driving data and determining the sample running state data.
Optionally, the program controls the processor to execute the following functions when running: calculating a time difference between the first time stamp and the second time stamp; judging whether the time difference value is larger than a preset time threshold value or not; if the time difference is greater than the preset time threshold, comparing the current running state data with the sample running state data; and if the time difference is smaller than the preset time threshold, determining that the current operation state data is invalid data.
Optionally, the program controls the device in which the processor is located to perform the following functions when running: calculating a data difference value between the current running state data and the sample running state data; judging whether the data difference value is larger than a preset data threshold value or not; if the data difference value is larger than the preset data threshold value, determining that the current operation state data is abnormal; and if the data difference value is smaller than the preset data threshold value, determining that the current running state data is target running state data.
Optionally, the program controls the device in which the processor is located to perform the following functions when running: if the current running state data are determined to be abnormal, adopting the historical running state data as the target running state data, and storing the historical running state data into the database; and if the current operation state data is determined to be the target operation state data, storing the current operation state data into the database.
According to an embodiment of the application, an embodiment of the electronic device is further provided, and the electronic device includes a memory and a processor, where the memory stores a computer program, and the processor is configured to run the computer program to execute any one of the above methods for checking data of the internet of things of the vehicle.
As shown in fig. 4, an embodiment of the present application provides an electronic device, where the electronic device 10 includes a processor, a memory, and a program stored in the memory and executable on the processor, and the processor executes the program to implement the following steps: receiving current running state data of a target vehicle, and acquiring historical running state data of the target vehicle; performing median filtering processing on the historical running state data to determine sample running state data; comparing the current running state data with the sample running state data to determine a comparison result; and finishing data verification based on the comparison result.
The application also provides a computer program product, which is suitable for executing a program initializing the following method steps when being executed on the data verification equipment of the internet of things of the automobile: receiving current running state data of a target vehicle and acquiring historical running state data of the target vehicle; performing median filtering processing on the historical running state data to determine sample running state data; comparing the current running state data with the sample running state data to determine a comparison result; and finishing data verification based on the comparison result.
The application also provides a computer program product, which is suitable for executing a program initializing the following method steps when being executed on the data verification equipment of the internet of things of the automobile: receiving initial running state data in a first preset time period, and generating a first timestamp to obtain the current running state data; storing the current operation state data into a database; and acquiring the historical operating state data from the database, wherein the historical operating state data corresponds to a second timestamp, and the time length of the historical operating state data is the first preset time period.
The application also provides a computer program product adapted to, when executed on an automotive internet of things data verification device, execute a program initializing the following method steps: determining driving data in the historical operating state data, wherein the driving data at least comprises: mileage data, latitude and longitude data; and calculating the median of the driving data and determining the sample running state data.
The application also provides a computer program product adapted to, when executed on an automotive internet of things data verification device, execute a program initializing the following method steps: calculating a time difference between the first time stamp and the second time stamp; judging whether the time difference is greater than a preset time threshold value or not; if the time difference is greater than the preset time threshold, comparing the current running state data with the sample running state data; and if the time difference is smaller than the preset time threshold, determining that the current operation state data is invalid data.
The application also provides a computer program product, which is suitable for executing a program initializing the following method steps when being executed on the data verification equipment of the internet of things of the automobile: calculating a data difference value between the current running state data and the sample running state data; judging whether the data difference value is larger than a preset data threshold value or not; if the data difference value is larger than the preset data threshold value, determining that the current operation state data is abnormal; and if the data difference value is smaller than the preset data threshold value, determining that the current running state data is target running state data.
The application also provides a computer program product adapted to, when executed on an automotive internet of things data verification device, execute a program initializing the following method steps: if the current running state data are determined to be abnormal, adopting the historical running state data as the target running state data, and storing the historical running state data into the database; and if the current operation state data is determined to be the target operation state data, storing the current operation state data into the database.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data verification device for an automobile internet of things to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data verification device for an automobile internet of things, create means for implementing the functions specified in the flow diagram flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data verification apparatus for the internet of things to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable vehicle internet of things data verification device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer implemented process such that the instructions which execute on the computer or other programmable device provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art to which the present application pertains. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims (10)
1. A data verification method for an automobile Internet of things is characterized by comprising the following steps:
receiving current running state data of a target vehicle and acquiring historical running state data of the target vehicle;
performing median filtering processing on the historical running state data to determine sample running state data;
comparing the current running state data with the sample running state data to determine a comparison result;
and finishing data verification based on the comparison result.
2. The method of claim 1, wherein the receiving current operating state data of the target vehicle and obtaining historical operating state data of the target vehicle comprises:
receiving initial running state data in a first preset time period, and generating a first timestamp to obtain the current running state data;
storing the current operating state data into a database;
and acquiring the historical running state data from the database, wherein the historical running state data corresponds to a second timestamp, and the time length of the historical running state data is the first preset time period.
3. The method of claim 1, wherein the median filtering the historical operating condition data to determine sample operating condition data comprises:
determining driving data in the historical operating state data, wherein the driving data includes at least: mileage data, latitude and longitude data;
and calculating the median of the driving data and determining the sample running state data.
4. The method according to claim 2, wherein before the comparing the current operating status data with the sample operating status data to determine a comparison result, the method further comprises:
calculating a time difference between the first time stamp and the second time stamp;
judging whether the time difference is larger than a preset time threshold value or not;
if the time difference is larger than the preset time threshold, comparing the current running state data with the sample running state data;
and if the time difference is smaller than the preset time threshold, determining that the current operation state data is invalid data.
5. The method according to claim 2, wherein the comparing the current operating status data with the sample operating status data to determine a comparison result comprises:
calculating a data difference value between the current running state data and the sample running state data;
judging whether the data difference value is larger than a preset data threshold value or not;
if the data difference value is larger than the preset data threshold value, determining that the current operation state data is abnormal;
and if the data difference value is smaller than the preset data threshold value, determining that the current running state data is target running state data.
6. The method according to claim 5, wherein after the comparing the current operating status data with the sample operating status data and determining a comparison result, the method further comprises:
if the current running state data is determined to be abnormal, adopting the historical running state data as the target running state data, and storing the historical running state data into the database;
and if the current operation state data is determined to be the target operation state data, storing the current operation state data into the database.
7. The utility model provides a car thing networking data calibration equipment which characterized in that includes:
the receiving module is used for receiving the current running state data of the target vehicle and acquiring the historical running state data of the target vehicle;
the processing module is used for carrying out median filtering processing on the historical running state data and determining sample running state data;
the comparison module is used for comparing the current running state data with the sample running state data to determine a comparison result;
and the checking module is used for finishing data checking based on the comparison result.
8. A non-volatile storage medium, wherein the non-volatile storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the data verification method for the internet of things of automobiles according to any one of claims 1 to 6.
9. A processor, characterized in that the processor is configured to run a program, wherein the program is configured to execute the data verification method of the internet of things of the automobile according to any one of claims 1 to 6 when running.
10. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to perform the method for verifying data of the internet of things of a vehicle as claimed in any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211371919.2A CN115914036A (en) | 2022-11-03 | 2022-11-03 | Automobile Internet of things data verification method and device, storage medium and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211371919.2A CN115914036A (en) | 2022-11-03 | 2022-11-03 | Automobile Internet of things data verification method and device, storage medium and equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115914036A true CN115914036A (en) | 2023-04-04 |
Family
ID=86492643
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211371919.2A Pending CN115914036A (en) | 2022-11-03 | 2022-11-03 | Automobile Internet of things data verification method and device, storage medium and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115914036A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104331947A (en) * | 2014-10-14 | 2015-02-04 | 深圳创维数字技术有限公司 | Vehicle monitoring method and related equipment and system |
CN109634979A (en) * | 2019-01-04 | 2019-04-16 | 北京互金新融科技有限公司 | Data-updating method and device |
CN112702219A (en) * | 2019-10-22 | 2021-04-23 | 中国移动通信有限公司研究院 | Internet of things network monitoring method, device, equipment and storage medium |
CN114771599A (en) * | 2022-04-27 | 2022-07-22 | 上海申浙数智轨道科技有限公司 | Method and system for positioning rail fault, storage medium and electronic equipment |
-
2022
- 2022-11-03 CN CN202211371919.2A patent/CN115914036A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104331947A (en) * | 2014-10-14 | 2015-02-04 | 深圳创维数字技术有限公司 | Vehicle monitoring method and related equipment and system |
CN109634979A (en) * | 2019-01-04 | 2019-04-16 | 北京互金新融科技有限公司 | Data-updating method and device |
CN112702219A (en) * | 2019-10-22 | 2021-04-23 | 中国移动通信有限公司研究院 | Internet of things network monitoring method, device, equipment and storage medium |
CN114771599A (en) * | 2022-04-27 | 2022-07-22 | 上海申浙数智轨道科技有限公司 | Method and system for positioning rail fault, storage medium and electronic equipment |
Non-Patent Citations (1)
Title |
---|
倪治中: "网络与滤波", 30 September 1994, pages: 12 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8676432B2 (en) | Fault prediction framework using temporal data mining | |
JP2019125867A (en) | Monitoring device, monitoring system and monitoring method | |
CN110634021A (en) | Big data based vehicle estimation method, system, device and readable storage medium | |
CN112606779B (en) | Automobile fault early warning method and electronic equipment | |
JP2018531458A6 (en) | Automatic discovery method, automatic discovery apparatus, storage medium and equipment for gas station POI | |
CN111489459A (en) | Vehicle data analysis method | |
CN113409488A (en) | Data processing method and device, vehicle-mounted terminal and automobile | |
CN114199274A (en) | Vehicle travel determining method, device and equipment and readable storage medium | |
US11474889B2 (en) | Log transmission controller | |
KR20160062259A (en) | Method, system and computer readable medium for managing abnormal state of vehicle | |
CN115223273A (en) | TCU data monitoring method and device, terminal equipment and storage medium | |
CN112272358B (en) | Weather early warning method and device and electronic equipment | |
CN115914036A (en) | Automobile Internet of things data verification method and device, storage medium and equipment | |
CN111780799A (en) | Instrument data verification method and device | |
CN114327557A (en) | Vehicle OTA (over the air) upgrade time evaluation method and device | |
CN115326122A (en) | Abnormity processing method and device for vehicle sensor | |
CN114837776A (en) | SCR system control method, electronic device, and storage medium | |
CN110912900B (en) | Boundary intelligent security monitoring method, device and equipment based on Internet of things | |
CN112559000B (en) | Whole vehicle software updating method and device for vehicle | |
CN113806131A (en) | Access control method and device for fault code library, electronic equipment and storage medium | |
CN113867314A (en) | Access control method and device for fault code library, electronic equipment and storage medium | |
CN112346441A (en) | Automobile online diagnosis method and system and automobile diagnosis equipment | |
CN118227512B (en) | Method and device for generating test case and terminal equipment | |
US11909755B2 (en) | Log transmission controller | |
WO2021124914A1 (en) | State output system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |