CN112667497A - Data processing device and method for debugging and verifying trajectory algorithm - Google Patents

Data processing device and method for debugging and verifying trajectory algorithm Download PDF

Info

Publication number
CN112667497A
CN112667497A CN202011502039.5A CN202011502039A CN112667497A CN 112667497 A CN112667497 A CN 112667497A CN 202011502039 A CN202011502039 A CN 202011502039A CN 112667497 A CN112667497 A CN 112667497A
Authority
CN
China
Prior art keywords
data
track
track data
playback
trace
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
Application number
CN202011502039.5A
Other languages
Chinese (zh)
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.)
Chery Automobile Co Ltd
Lion Automotive Technology Nanjing Co Ltd
Wuhu Lion Automotive Technologies Co Ltd
Original Assignee
Chery Automobile Co Ltd
Lion Automotive Technology Nanjing Co Ltd
Wuhu Lion Automotive Technologies Co Ltd
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 Chery Automobile Co Ltd, Lion Automotive Technology Nanjing Co Ltd, Wuhu Lion Automotive Technologies Co Ltd filed Critical Chery Automobile Co Ltd
Priority to CN202011502039.5A priority Critical patent/CN112667497A/en
Publication of CN112667497A publication Critical patent/CN112667497A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention relates to the technical field of data processing, and provides a data processing method for trace algorithm debugging and verification, which comprises the following steps: and S1, entering a recording mode of the track data based on the recording instruction: collecting user operation data, collecting track data detected by a sensor, and storing the track data; s2, stopping the recording mode of the track data based on the playback instruction, entering the playback mode of the track data: and sequentially reading each piece of track data from the stored data, wherein the track data comprises position data and detection time thereof, inputting a track algorithm, circularly reading the next piece of track data after the track data is completely executed, and finishing track data playback until the track data is completely read. The track playback time is compressed, the playback speed can be adjusted by adjusting the time interval parameters, and data which needs to be calculated and output in the moving process can be accurately output.

Description

Data processing device and method for debugging and verifying trajectory algorithm
Technical Field
The invention relates to the technical field of data processing, and provides a data processing device and a data processing method for trace algorithm debugging and verification.
Background
After the 21 st century, the space positioning technology and the mobile network have been developed rapidly, and particularly with the development of the mobile internet and the car networking technology, the location service is widely applied to the fields of engineering, monitoring, sports health, travel and the like. In the field of sports and travel, the trajectory needs to be paid attention to in particular, but due to the existence of errors (precision) in the position service, the position information obtained through the original position service is inaccurate, and the formed trajectory has the situations of drift, broken lines, burrs and the like, so that a software developer needs to correct the trajectory through a trajectory algorithm (filtering, rectifying, smoothing, thinning, slicing and the like), and can relatively accurately reflect the real trajectory of a user. In different service scenes, the acquisition time is different, and in the process of developing and debugging a trajectory algorithm, the longer the time is, the greater the data size is, the greater the difficulty in debugging the position information is, so that a method is needed for improving the efficiency of debugging and verifying the algorithm.
At present, the trace algorithm debugging in the field of sports and trip is generally implemented by collecting original data and importing the data into software to modify debugging and verification algorithms. The method for collecting original position information data and importing the original position information data into software is generally called track playback, and if the collection time is long, the algorithm debugging and verification takes a long time and the efficiency is low.
Disclosure of Invention
The invention provides a data processing device for debugging and verifying a trajectory algorithm, aiming at improving the problems.
The invention is realized in such a way that a data processing device for trace algorithm debugging and verification comprises:
the data acquisition unit, the data storage unit and the playback unit;
the data acquisition unit includes: user acquisition module and system acquisition module, wherein, user acquisition module gathers user's operating data, includes: the system comprises an operation instruction and issuing time of the instruction, and a system acquisition module for acquiring track data acquired by various sensors in the system, wherein the track data comprises position data and acquisition time;
the data storage unit is used for storing the data acquired by the data acquisition unit;
and a playback unit that plays back the track data stored in the data storage unit.
Further, the playback unit includes:
the data reading module reads the next track data stored in the data storage unit and outputs the next track data to the track algorithm;
and the detection unit is used for detecting whether the track data in the track algorithm is completely executed or not, and if the detection result is yes, the data reading module is triggered to read the next track data until all the track data are completely executed.
The invention is realized in such a way that a data processing method for trace algorithm debugging and verification is provided, and the method specifically comprises the following steps:
and S1, entering a recording mode of the track data based on the recording instruction: collecting user operation data, collecting track data detected by a sensor, and storing the track data;
s2, stopping the recording mode of the track data based on the playback instruction, entering the playback mode of the track data: and sequentially reading each piece of track data from the stored data, wherein the track data comprises position data and detection time thereof, inputting a track algorithm, circularly reading the next piece of track data after the track data is completely executed, and finishing track data playback until the track data is completely read.
Further, the playback rate of the track data, i.e. the number of playback of the track data per unit time is defined, is set in the data playback mode.
Further, after the track data is played back, the playback mode of the track data is exited.
Further, the track data is divided into target track data and non-target track data, and the target track data is played back in a playback mode.
Further, the target trajectory data is trajectory data of motion.
The track data processing method provided by the invention enables the track playback time to be compressed, the playback speed can be adjusted by adjusting the time interval parameter, and the data which needs to be calculated and output in the moving process can be accurately output.
Drawings
FIG. 1 is a schematic structural diagram of a data processing apparatus for trace algorithm debugging and verification according to an embodiment of the present invention;
fig. 2 is a flowchart of a data processing method for trace algorithm debugging and verification according to an embodiment of the present invention.
Detailed Description
The following description of preferred embodiments of the invention will be made in further detail with reference to the accompanying drawings.
Fig. 1 is a schematic structural diagram of a data processing apparatus for trace algorithm debugging and verification according to an embodiment of the present invention, and for convenience of description, only a part related to the embodiment of the present invention is shown.
The device includes:
the data acquisition unit, the data storage unit and the playback unit;
the data acquisition unit includes: user acquisition module and system acquisition module, wherein, user acquisition module gathers user's operating data, includes: the system comprises an operation instruction and issuing time of the instruction, and a system acquisition module for acquiring track data acquired by various sensors in the system, wherein the track data comprises position data and acquisition time;
the data storage unit is used for storing the data acquired by the data acquisition unit;
the data storage unit stores the data in a file mode, each line records one piece of data, and the middle of each field can be separated by an identifier.
A playback unit that plays back the track data stored in the data storage unit, the playback unit including:
the data reading module reads the next track data stored in the data storage unit and outputs the next track data to the track algorithm;
and the detection module is used for detecting whether the track data in the track algorithm is completely executed or not, and if the detection result is yes, the data reading module is triggered to read the next track data until all the track data are completely executed.
Fig. 2 is a flowchart of a data processing method for trace algorithm debugging and verification according to an embodiment of the present invention, where the method specifically includes the following steps:
and S1, entering a recording mode of the track data based on the recording instruction: collecting user operation data, collecting track data detected by a sensor, and storing the track data;
the data storage unit stores the data in a file mode, each line records one piece of data, and the middle of each field can be separated by an identifier.
S2, stopping the recording mode of the track data based on the playback instruction, entering the playback mode of the track data: and sequentially reading each piece of track data from the stored data, wherein the track data comprises position data and detection time thereof, inputting a track algorithm, circularly reading the next piece of track data after the track data is completely executed, and finishing track data playback until the track data is completely read.
In the embodiment of the present invention, the playback rate of the track data, that is, the number of playback of the track data per unit time is defined, is set in the data playback mode, and the playback rate may be set based on the processing capability of the device and cannot exceed the set processing capability.
In another embodiment of the invention, after the track data is played back, the playback mode of the track data is exited, and the normal mode is entered, i.e. the vehicle runs normally, and the data sensed by the relevant sensor is not collected and played back.
In the embodiment of the present invention, in order to further increase the playback rate of the track data, the track data is divided into target track data and non-target track data, and the target track data is played back in the playback mode, where the target track data in the embodiment of the present invention refers to moving track data, and the identification method of the target track data and the non-target track data is specifically as follows:
defining track data of an instruction operation room as target track data, taking a motion track of an automobile as an example for explanation, wherein an operation instruction input by a user comprises the following steps: the method comprises the steps of vehicle starting operation and vehicle flameout operation, track data are collected through a GPS and an angular speed sensor in a system, the track data between the starting operation and the flameout operation are motion track data, the vehicle is in a static state between the flameout operation and the starting operation, the track data in the period of time are non-target track data, and in order to shorten the playback time of the data, the playback mode does not perform playback aiming at the non-target track data.
The track data processing method provided by the invention enables the track playback time to be compressed, the playback speed can be adjusted by adjusting the time interval parameter, and the data which needs to be calculated and output in the moving process can be accurately output.
It is clear that the specific implementation of the invention is not restricted to the above-described embodiments, but that various insubstantial modifications of the inventive process concept and technical solutions are within the scope of protection of the invention.

Claims (7)

1. A data processing apparatus for trace algorithm debugging and validation, the apparatus comprising:
the data acquisition unit, the data storage unit and the playback unit;
the data acquisition unit includes: user acquisition module and system acquisition module, wherein, user acquisition module gathers user's operating data, includes: the system comprises an operation instruction and issuing time of the instruction, and a system acquisition module for acquiring track data acquired by various sensors in the system, wherein the track data comprises position data and acquisition time;
the data storage unit is used for storing the data acquired by the data acquisition unit;
and a playback unit that plays back the track data stored in the data storage unit.
2. The data processing apparatus for trace algorithm debugging and verification of claim 1, wherein the playback unit comprises:
the data reading module reads the next track data stored in the data storage unit and outputs the next track data to the track algorithm;
and the detection unit is used for detecting whether the track data in the track algorithm is completely executed or not, and if the detection result is yes, the data reading module is triggered to read the next track data until all the track data are completely executed.
3. The data processing method of the data processing apparatus for trace algorithm debugging and verification according to claim 1 or 2, the method specifically comprising the steps of:
and S1, entering a recording mode of the track data based on the recording instruction: collecting user operation data, collecting track data detected by a sensor, and storing the track data;
s2, stopping the recording mode of the track data based on the playback instruction, entering the playback mode of the track data: and sequentially reading each piece of track data from the stored data, wherein the track data comprises position data and detection time thereof, inputting a track algorithm, circularly reading the next piece of track data after the track data is completely executed, and finishing track data playback until the track data is completely read.
4. The data processing method for trace algorithm debugging and verification according to claim 3, wherein a playback rate of the trace data, which defines a number of playback of the trace data per unit time, is set in the data playback mode.
5. The data processing method for trace algorithm debugging and verification according to claim 3, wherein the playback mode of the trace data is exited after the playback of the trace data is completed.
6. The data processing method for trace algorithm debugging and verification according to claim 3, wherein the trace data is divided into target trace data and non-target trace data, and the playback mode plays back the target trace data.
7. The data processing method for trace algorithm debugging and verification of claim 6 wherein the target trace data is trace data of a motion.
CN202011502039.5A 2020-12-18 2020-12-18 Data processing device and method for debugging and verifying trajectory algorithm Pending CN112667497A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011502039.5A CN112667497A (en) 2020-12-18 2020-12-18 Data processing device and method for debugging and verifying trajectory algorithm

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011502039.5A CN112667497A (en) 2020-12-18 2020-12-18 Data processing device and method for debugging and verifying trajectory algorithm

Publications (1)

Publication Number Publication Date
CN112667497A true CN112667497A (en) 2021-04-16

Family

ID=75406306

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011502039.5A Pending CN112667497A (en) 2020-12-18 2020-12-18 Data processing device and method for debugging and verifying trajectory algorithm

Country Status (1)

Country Link
CN (1) CN112667497A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105679018A (en) * 2016-01-28 2016-06-15 福建航天星联信息科技有限公司 Vehicle tracking system based on vehicle driving track
CN106153054A (en) * 2015-04-21 2016-11-23 沈阳美行科技有限公司 Wheelpath point and real video gather the system and method simultaneously played back simultaneously
CN106652102A (en) * 2017-01-04 2017-05-10 江西沃可视发展有限公司 Driving record replaying method and terminal equipment based on map track
CN107454356A (en) * 2016-05-31 2017-12-08 沈阳美行科技有限公司 Associated storage and the method, system and device of synchronous displaying planning driving path and image
CN108181638A (en) * 2017-12-21 2018-06-19 吉旗(成都)科技有限公司 Electronic map precisely shows the solution device and method of anchor point and track data
CN108415936A (en) * 2018-01-24 2018-08-17 武汉智博创享科技股份有限公司 A kind of trajectory playback method and device of electronic map
CN109348422A (en) * 2018-10-19 2019-02-15 海南易乐物联科技有限公司 Based on OBD/TBOX equipment trajectory segment processing method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106153054A (en) * 2015-04-21 2016-11-23 沈阳美行科技有限公司 Wheelpath point and real video gather the system and method simultaneously played back simultaneously
CN105679018A (en) * 2016-01-28 2016-06-15 福建航天星联信息科技有限公司 Vehicle tracking system based on vehicle driving track
CN107454356A (en) * 2016-05-31 2017-12-08 沈阳美行科技有限公司 Associated storage and the method, system and device of synchronous displaying planning driving path and image
CN106652102A (en) * 2017-01-04 2017-05-10 江西沃可视发展有限公司 Driving record replaying method and terminal equipment based on map track
CN108181638A (en) * 2017-12-21 2018-06-19 吉旗(成都)科技有限公司 Electronic map precisely shows the solution device and method of anchor point and track data
CN108415936A (en) * 2018-01-24 2018-08-17 武汉智博创享科技股份有限公司 A kind of trajectory playback method and device of electronic map
CN109348422A (en) * 2018-10-19 2019-02-15 海南易乐物联科技有限公司 Based on OBD/TBOX equipment trajectory segment processing method

Similar Documents

Publication Publication Date Title
CN109961106B (en) Training method and device of trajectory classification model and electronic equipment
US20200269853A1 (en) Method and device for eliminating steady-state lateral deviation and storage medium
CN109407131B (en) Method, device and equipment for determining direction of vehicle head
CN103295272A (en) Odometer monitoring and redundant storage system
CN111368134B (en) Traffic data processing method and device, electronic equipment and storage medium
CN111369801B (en) Vehicle identification method, device, equipment and storage medium
GB2507857A (en) A method and system for tracking a vehicle
JP3882808B2 (en) Abnormality determination method and program for moving body trajectory information, and trajectory information processing apparatus
CN111798354A (en) Passenger information management method and device for public transport
EP2829938B1 (en) Route verification from wireless networks
US10906363B2 (en) Warrant recording system and setting apparatus for pressure detector
CN111563988A (en) Gate pass authentication method, system and computer storage medium
CN112667497A (en) Data processing device and method for debugging and verifying trajectory algorithm
CN109711743A (en) A kind of wire examination method that construction tunnel vehicle is turned out for work, computer installation and computer readable storage medium
JP2000268291A (en) License plate recognition device
CN106600740A (en) Method and device for verifying transmitting outside line data
JP6059932B2 (en) Travel speed management vehicle-mounted device
CN112598314A (en) Method, device, equipment and medium for determining perception confidence of intelligent driving automobile
CN112833912B (en) V-SLAM map verification method, device and equipment
JP6279022B2 (en) Operation data analysis device and operation data analysis program
CN111986347A (en) Device management method, device, electronic device and storage medium
CN111964686A (en) Road data acquisition method, device, server, automobile data recorder and medium
CN104751627A (en) Traffic condition parameter determining method and device
CN112255658B (en) Method, device and medium for counting number of vehicle running turns based on GPS positioning points
CN111526313B (en) Vehicle quality inspection video display method and device and video recording equipment

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