CN117742638A - Data playing method and device, electronic equipment and storage medium - Google Patents

Data playing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN117742638A
CN117742638A CN202311770020.2A CN202311770020A CN117742638A CN 117742638 A CN117742638 A CN 117742638A CN 202311770020 A CN202311770020 A CN 202311770020A CN 117742638 A CN117742638 A CN 117742638A
Authority
CN
China
Prior art keywords
data
displayed
target data
target
instruction
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
CN202311770020.2A
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.)
China Automotive Innovation Co Ltd
Original Assignee
China Automotive Innovation 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 China Automotive Innovation Co Ltd filed Critical China Automotive Innovation Co Ltd
Priority to CN202311770020.2A priority Critical patent/CN117742638A/en
Publication of CN117742638A publication Critical patent/CN117742638A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the application relates to the field of automatic driving, in particular to a data playing method, a device, electronic equipment and a storage medium. The method comprises the following steps: storing the received first data to a first buffer database in a double buffer database; in the first data storage process, if the residual capacity in the first buffer database meets the preset capacity, copying the first data in the first buffer database to a second buffer database in the double buffer database to obtain second data; performing block processing on the second data based on the equipment type and time to obtain a data set to be displayed; the data set to be displayed comprises data to be displayed corresponding to different devices in different time periods; displaying target data in response to a data display instruction for the target data; the data set to be displayed includes target data. In the embodiment of the application, the data can be conveniently, quickly and intuitively acquired by storing the data through the double-buffer database and displaying the data after the data is processed in a blocking mode.

Description

Data playing method and device, electronic equipment and storage medium
Technical Field
The application belongs to the field of automatic driving, and particularly relates to a data playing method, a device, electronic equipment and a storage medium.
Background
As a key link of the intellectualization and networking of automobiles, automatic driving becomes a new race track competing in the global science and technology world and the industry. The automobile is smart, a plurality of technologies are not needed to cooperate with each other, and the technology related to automatic driving is quite large. The three elements of automatic driving comprise perception, decision and execution. The core of the perception layer is a sensor, the recognition of external environment information is completed by the sensor, and the receiving, analyzing and displaying of information data are completed in the information recognition process; the decision layer algorithm plays a role in supporting the upward and downward actions, analyzes information of the sensing layer in real time, and converts useful external information into an execution instruction; the execution layer makes corresponding operation according to the instruction, and realizes automatic driving.
At the sensing layer, sources of target-level data from environmental perception include cameras, lidars, ultrasonic radar and millimeter wave radar. The target level data is complicated, the data volume is very large in operation, and data analysis and display are needed by means of external tools, but the external tools still have a plurality of inconveniences in the data display process after the data analysis is completed.
Disclosure of Invention
In order to solve the technical problems, embodiments of the present application provide a data playing method, a device, an electronic apparatus, and a storage medium.
In a first aspect, an embodiment of the present application provides a data playing method, which is applied to an automobile with lightweight equipment, where the method includes:
storing the received first data to a first buffer database in a double buffer database;
in the first data storage process, if the residual capacity in the first buffer database meets the preset capacity, copying the first data in the first buffer database to a second buffer database in the double buffer database to obtain second data in the second buffer database;
performing block processing on the second data based on the equipment type and time to obtain a data set to be displayed; the data set to be displayed comprises data to be displayed corresponding to different devices in different time periods;
displaying target data in response to a data display instruction for the target data; the data set to be displayed includes target data.
In some of the possible embodiments of the present invention,
before storing the received first data in a first buffer database of the double buffer databases, the method comprises:
acquiring third data;
packaging the third data to obtain fourth data to be analyzed;
analyzing the fourth data to obtain fifth data;
and converting the format of the fifth data to obtain the first data to be displayed.
In some of the possible embodiments of the present invention,
displaying the target data in response to a data display instruction for the target data, including:
the target data are transferred to an offline database;
displaying target data in response to a data display instruction for the target data; the display is an offline display.
In some of the possible embodiments of the present invention,
the data display instruction comprises a first data display instruction displayed in a table form;
displaying the target data in response to a data display instruction for the target data, including:
the target data is displayed in tabular form in response to a first data display instruction for the target data.
In some of the possible embodiments of the present invention,
the data display instructions include a second data display instruction graphically displayed;
displaying the target data in response to a data display instruction for the target data, including:
the target data is displayed in graphical form in response to a second data display instruction for the target data.
In some of the possible embodiments of the present invention,
the second data display instructions include a third data display instruction indicating display in waveform graphic form;
displaying the target data in a graphical form in response to a second data display instruction for the target data, comprising:
displaying the target data in the form of a waveform diagram in response to a third data display instruction for the target data; the waveform diagram includes a time value calibration control.
In some of the possible embodiments of the present invention,
the method further comprises the steps of:
receiving a time inquiry instruction, wherein the time inquiry instruction comprises a data value;
if the value corresponding to the target data displayed in the waveform graph form contains the data value, the control time value calibration control is controlled to move to the position corresponding to the data value, and the position is the position contained in the waveform graph.
In a second aspect, an embodiment of the present application provides a data playing device, which is applied to an automobile with lightweight equipment, and the device includes:
the first data storage module is used for storing the received first data to a first buffer database in the double-buffer database;
the second data storage module is used for copying the first data in the first buffer database to the second buffer database in the double buffer database to obtain the second data in the second buffer database if the residual capacity in the first buffer database meets the preset capacity in the first data storage process;
the data to be displayed acquisition module is used for carrying out blocking processing on the second data based on the equipment type and time to obtain a data set to be displayed; the data set to be displayed comprises data to be displayed corresponding to different devices in different time periods;
a target data display module for displaying target data in response to a data display instruction for the target data; the data set to be displayed includes target data.
In some of the possible embodiments of the present invention,
the apparatus further comprises first data acquisition means for:
acquiring third data;
packaging the third data to obtain fourth data to be analyzed;
analyzing the fourth data to obtain fifth data;
and converting the format of the fifth data to obtain the first data to be displayed.
In some of the possible embodiments of the present invention,
the target data display module is further configured to:
the target data are transferred to an offline database;
displaying target data in response to a data display instruction for the target data; the display is an offline display.
In some of the possible embodiments of the present invention,
the data display instruction comprises a first data display instruction displayed in a table form;
the target data display module comprises a table target data display module which is used for:
the target data is displayed in tabular form in response to a first data display instruction for the target data.
In some of the possible embodiments of the present invention,
the data display instructions include a second data display instruction graphically displayed;
the target data display module comprises a graphic target data display module, and the graphic target data display module is used for:
the target data is displayed in graphical form in response to a second data display instruction for the target data.
In some of the possible embodiments of the present invention,
the second data display instructions include a third data display instruction indicating display in waveform graphic form;
the graphic object data display module is further configured to:
displaying the target data in the form of a waveform diagram in response to a third data display instruction for the target data; the waveform diagram includes a time value calibration control.
In some of the possible embodiments of the present invention,
the graphic object data display module is further configured to:
receiving a time inquiry instruction, wherein the time inquiry instruction comprises a data value;
if the value corresponding to the target data displayed in the waveform graph form contains the data value, the control time value calibration control is controlled to move to the position corresponding to the data value, and the position is the position contained in the waveform graph.
In a third aspect, an embodiment of the present application provides an electronic device, where the electronic device includes a processor and a memory, and the memory stores at least one instruction, at least one program, a code set, or an instruction set, and the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by the processor to implement the data playing method described above.
In a fourth aspect, embodiments of the present application provide a computer readable storage medium having stored therein at least one instruction, at least one program, a code set, or a set of instructions, which are loaded and executed by a processor to implement the data playing method described above.
The technical scheme provided by the embodiment of the application at least brings the following beneficial effects:
storing the received first data to a first buffer database in a double buffer database; in the first data storage process, if the residual capacity in the first buffer database meets the preset capacity, copying the first data in the first buffer database to a second buffer database in the double buffer database to obtain second data; performing block processing on the second data based on the equipment type and time to obtain a data set to be displayed; the data set to be displayed comprises data to be displayed corresponding to different devices in different time periods; displaying target data in response to a data display instruction for the target data; the data set to be displayed includes target data. In the embodiment of the application, the data can be conveniently, quickly and intuitively acquired by storing the data through the double-buffer database and displaying the data after the data is processed in a blocking mode.
Drawings
In order to more clearly illustrate the technical solutions of the present application, the following description will make a brief introduction to the drawings used in the description of the embodiments or the prior art. It is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained from these drawings without inventive effort for a person of ordinary skill in the art.
Fig. 1 is a schematic diagram of an application scenario of a data playing method provided in an embodiment of the present application;
FIG. 2 is an exemplary diagram of functional modules of a DAS tool provided in an embodiment of the present application;
fig. 3 is a flowchart of a data playing method provided in an embodiment of the present application;
fig. 4 is a flowchart of a method for acquiring first data according to an embodiment of the present application;
FIG. 5 is a schematic diagram of a display interface for displaying target data in a tabular form according to an embodiment of the present application;
FIG. 6 is a schematic diagram of a display interface for graphically displaying target data according to an embodiment of the present application;
FIG. 7 is a second schematic diagram of a display interface for graphically displaying target data according to an embodiment of the present disclosure;
fig. 8 is a schematic diagram of a data playing device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present application based on the embodiments herein.
It is noted that the terms "comprises" and "comprising," and any variations thereof, in the description and claims of the present application and in the foregoing figures, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or server comprising a list of steps or elements is not necessarily limited to those steps or elements expressly listed or inherent to such process, method, article, or apparatus.
Referring to fig. 1, fig. 1 is a schematic diagram of an application scenario of a data playing method according to an embodiment of the present application, where, as shown in fig. 1, the application scenario includes a perception layer 101, a decision layer 102, and an execution layer 103. The application scene is in an automatic driving automobile or an intelligent driving automobile. The perception layer 01 completes the identification of external environment information by receiving data, analyzing the data and playing the data, wherein the data playing function is realized by the data playing method in the embodiment of the application. The information receiving devices of the sensing layer 101 include environment sensing devices such as cameras, laser radars, ultrasonic radars and millimeter wave radars for receiving external information, and devices for assisting in vehicle positioning such as high-precision maps, inertial navigation, global satellite positioning and vehicle-to-external information exchange (vehicle to everything, V2X). The decision layer 102 plays a role in performing information fusion and analysis processing on the information data acquired from the perception layer 101, and converts useful external information into execution instructions, such as track path planning and processing of abnormal situations. The execution layer 103 performs corresponding operations, such as steering control, driving control and braking control, on the vehicle according to the instruction provided by the decision layer 102, so as to realize automatic driving of the vehicle. It can be seen that the efficiency of playing data in the perception layer 101 is important, and directly related to the efficiency of the subsequent decision layer 102 and the execution layer 103, thereby affecting the efficiency of automatic driving.
In this embodiment of the present application, a specific application scenario of the data playing method is the perception layer 101. In the sensing layer 101, data received from a camera, a laser radar, an ultrasonic radar, a millimeter wave radar, and the like are complicated, and the amount of data is large, and data analysis and data playback by an external tool are required. The current tool layer for analyzing and playing the data is endless, but a lot of inconveniences still exist in the process of playing the analyzed data. The current tool stores the data into the offline file, and then guides the offline file into analysis software for analysis, so that online data receiving, analysis and playing cannot be completed, and the efficiency is low. The online playing data is real-time playing, the system receives new data while analyzing the received data, analyzes the new data while playing the analyzed data, and the receiving data, the analyzing data and the playing data are continuously carried out, so that the online playing can realize faster and more timely playing of the data. Accordingly, the online playing technology has higher requirements on the system, and the system is required to support the rapid processing of a large amount of data to complete the data synchronization and the data playing; if the system cannot meet the performance requirement, the problems of data analysis errors, data playing clamping and the like are caused, namely, online data playing cannot be achieved. If the system performance is improved according to the requirement of playing the data online, the system becomes more complex and the cost is higher. At present, due to the requirements of environmental protection and energy conservation, the light weight of equipment has become the trend of world automobile development; in order to meet the light weight of equipment, the requirement of playing data online can be met by improving a data playing method.
Embodiments of the present application parse and play data via a data abstraction service (Data Abstract Service, DAS) tool based on the data distribution service (Data Distribution Service, DDS) protocol. The DDS is a new generation of distributed real-time communication middleware protocol, adopts a publish/subscribe system architecture, emphasizes the centering of data, provides rich service quality (Quality of Service, qoS) strategies, ensures the real-time, efficient and flexible distribution of data, and can meet the application requirements of various distributed real-time communication. In DDS, users only concern about the data that they want, the data is identified by Topic (Topic), publishers publish data according to Topic, subscribers subscribe data according to Topic that they are interested in. That is, the DDS can fulfill the data receiving requirement in the sensing layer 101, and the DAS tool performs data parsing and data playing on the data received by the DDS.
Referring to fig. 2, fig. 2 is an exemplary diagram of a functional module of a DAS tool provided in an embodiment of the present application, and as shown in fig. 2, the functional module of the DAS tool includes a data processing module 201 and a data display module 202, which are respectively configured to perform data analysis and data playing on data received through a DDS.
Fig. 3 is a flowchart of a data playing method according to an embodiment of the present application, as shown in fig. 3, the data playing method may be applied to an automobile with light equipment, and includes the following steps:
s301: the received first data is stored to a first buffer database of the double buffer databases.
S302: in the first data storage process, if the residual capacity in the first buffer database meets the preset capacity, copying the first data in the first buffer database to a second buffer database in the double buffer database to obtain second data in the second buffer database.
In this embodiment, the data processing module 201 in the DAS tool parses the information received from the information receiving device in the sense layer 101 and converts the parsed information into the first data that can be displayed in the data display module 202 in the DAS tool. In order to prevent the phenomenon of software blocking in the process of playing data, the DAS tool adopts a double-buffer storage mode to store the data into a double-buffer database in the process of storing the first data, wherein the double-buffer database comprises a first buffer database and a second buffer database. In the single buffer storage mode commonly used before the double buffer storage mode appears, only one buffer area is stored in the database, and the data is updated and the data to be displayed is prepared in the buffer area; after the data is updated, the data to be displayed can be displayed through the display device, so that the problems of flickering, tearing and the like can be easily caused in the refreshing process of the data playing. In the double-buffer storage mode, two buffer areas are arranged in the storage database, updated data are continuously stored in the rear buffer area (namely the first buffer database in the embodiment of the application), and when the updated data in the rear buffer area reach a certain capacity, the updated data are copied to the front buffer area (namely the second buffer database in the embodiment of the application) and then displayed through the display device; in the whole process, the updating and the displaying of the data can be performed simultaneously, so that the fluency of the data playing is greatly improved. Compared with the single buffer storage mode, the double buffer storage mode has complex program, but has high efficiency, can improve the fluency of data playing, and solves the possible phenomena of data blocking and software blocking in online playing.
In an alternative embodiment, when the preset capacity of the remaining capacity in the first buffer database is 0 or other preset capacity smaller than the total capacity of the first buffer database, the first data in the first buffer database is copied to the second buffer database, so as to obtain the second data. The DAS tool automatically deletes the copied first data in the first buffer database after completing the conversion of the first data and the second data according to the program setting, and the preset capacity of the residual capacity in the first buffer database is kept unchanged, so that the conversion process of the first data and the second data is continuously performed. The data is deleted in time, so that the capacity of a storage database can be reduced, the efficiency is improved, and the lightweight design of equipment is facilitated.
In another alternative embodiment, when the preset capacity of the remaining capacity in the first buffer database is 0 or other preset capacity smaller than the total capacity of the first buffer database, the first data in the first buffer database is copied to the second buffer database, so as to obtain the second data. The DAS tool temporarily retains the copied first data in the first buffer database after completing the conversion of the first data and the second data according to the program setting, appropriately changes the preset capacity of the residual capacity in the first buffer database, and deletes the copied first data in batches after reaching a certain capacity, so that the conversion process of the first data and the second data is continuously performed. Data is temporarily reserved, occurrence of unexpected situations can be effectively prevented, and data security is improved; after a period of time, the data is deleted, so that the capacity of the storage database can be reduced to a certain extent, the efficiency is improved, and the lightweight design of equipment is facilitated.
S303: performing block processing on the second data based on the equipment type and time to obtain a data set to be displayed; the data set to be displayed comprises data to be displayed corresponding to different devices in different time periods.
In the embodiment of the application, the second data is subjected to block processing based on the device type to obtain data to be displayed of a plurality of topics (Topic), such as Topic 1, topic 2 and Topic 3; and performing further blocking processing on the second data based on the time length to obtain data to be displayed of a plurality of themes (Topic), wherein each Topic comprises the data to be displayed of the same time length, for example, the data in Topic 1 are divided into Topic 1.1, topic 1.2 and Topic 1.3. The data set to be displayed comprises data to be displayed corresponding to different devices in different time periods, and the data set to be displayed is located in a data display module 202 in the DAS tool. According to the method and the device, based on equipment and time, the target data are played in different topics, the problems of software blocking and low data playing efficiency caused by overlarge data quantity are solved, and the data playing efficiency is improved.
In an alternative embodiment, after the second data is subjected to the blocking processing based on the device type, further blocking processing may be performed on the second data based on the size of the data capacity, so as to obtain data to be displayed of multiple topics (Topic), where each Topic includes data to be displayed of the same size. The second data is partitioned based on the equipment and the data capacity, so that the problems of software blocking and low data playing efficiency caused by overlarge data volume can be solved, and the data playing efficiency is improved.
S304: displaying target data in response to a data display instruction for the target data; the data set to be displayed includes target data.
In the embodiment of the application, the DAS tool responds to the data display instruction for the target data, selects the target data corresponding to Topic and displays the data. The target data is located in a set of data to be displayed in a data display module 202 in the DAS tool.
In this embodiment, before step S301, the data playing method further includes obtaining first data. Fig. 4 is a flowchart of a method for acquiring first data according to an embodiment of the present application, where, as shown in fig. 4, the method for acquiring first data includes the following steps:
s401: acquiring third data;
in this embodiment, the third data is information data directly received in real time by the information receiving device in the sensing layer 101, such as data received by a camera, a laser radar, an ultrasonic radar, a millimeter wave radar, and the like.
In an alternative embodiment, the third data is not directly derived from the data received by the information receiving device in real time, but is data that is stored after the information receiving device receives the data, such as data stored in an offline file or a removable storage device. In this case, the third data may be derived from a lightweight car of a device using the data playback method, or may be derived from another car.
S402: and packaging the third data to obtain fourth data to be analyzed.
In this embodiment of the present application, due to the difference in data formats, the data processing module 201 in the functional module of the DAS tool encapsulates the third data, and converts the format of the third data into a format that can be used for data parsing, that is, the fourth data. Due to the difference of the information receiving devices, the data types of different topics, such as can data, struct data and proto data, are obtained.
S403: and analyzing the fourth data to obtain fifth data.
In the embodiment of the present application, in the data parsing process, the data processing module 201 establishes a mapping relationship between data types of different topics corresponding to different information receiving devices and different parsing modules, and parses the data types of the different topics through the different parsing modules, so as to obtain parsed fifth data. Wherein can data passes through the DBC analysis module, struct data passes through the struct analysis module, and proto data passes through the proto analysis module.
In an alternative embodiment, the parsed fifth data is recorded and analyzed, and the fifth data may be modified according to the analysis result, so as to optimize the data. The modified fifth data becomes new third data, and the operation from step S401 is continued.
S404: and converting the format of the fifth data to obtain the first data to be displayed.
In this embodiment of the present application, due to the difference in data formats, the data processing module 201 in the functional module of the DAS tool performs format conversion on the fifth data, and converts the format of the fifth data into a format that can be displayed in the data display module 202, that is, the first data. Also, in this process, format conversion is performed by using a format conversion module corresponding to data types (can data, struct data, proto data).
In this embodiment, after step S304, the data playing method further includes offline playing data, that is, transferring the target data to an offline database; displaying target data in response to a data display instruction for the target data; the display is an offline display. In the online broadcasting display data, the system receives new data while analyzing the received data, analyzes the new data while playing the analyzed data, and the receiving data, the analyzing data and the playing data are continuously performed; in contrast, the offline display of data only plays the data. The target data already stored in the offline database is displayed offline at any time as needed.
In some possible embodiments, the data display instructions include first data display instructions displayed in tabular form. In step S304, the target data is displayed in a tabular form in response to the first data display instruction for the target data. The data set to be displayed comprises device-based, time-based (or data volume) target data for different topics. Fig. 5 is a schematic diagram of a display interface for displaying target data in a table format, where, as shown in fig. 5, according to a first data display instruction, a specific Topic is selected from a left Topic list, and then the target data can be played in a right table display area. The table may display target data of one data type (selected Topic) or target data of multiple data types (based on more refined Topic of the selected Topic, such as Topic 1.1 including Topic 1.1.1 and Topic 1.1.2) simultaneously. The horizontal header of the table represents the data type, the vertical header of the table represents the time, and the table corresponding to a certain time and a certain data type is the target data of the time and the data type. In either an online or offline state, the target data may be displayed in tabular form. When playing data online, the form can automatically move down and automatically update the playing target data according to the time information without mouse operation; the mouse can be dragged up and down to play the target data. When the data is played offline, the mouse can be dragged up and down to play the target data. According to the method and the device, based on equipment and time (or data volume), the target data are played in different Topic modes, the problem that data playing efficiency is low due to overlarge data volume of the table is solved, and the data playing efficiency is improved.
In some possible embodiments, the data display instructions include second data display instructions that are displayed in graphical form. In step S304, the target data is displayed in a graphic form in response to the second data display instruction for the target data. The data set to be displayed comprises device-based, time-based (or data volume) target data for different topics. Fig. 6 is a schematic diagram of a display interface for displaying target data in a graphic form, as shown in fig. 6, according to a second data display instruction, a Topic is selected from a Topic list on the left side, and the target data can be played in a graphic display area on the right side. With respect to the table, the graph can only display the target data of one data type (selected Topic), the horizontal axis of the graph represents time, the vertical axis of the graph represents data of a certain data type, and the target data corresponding to a certain time can be determined in the graph. The target data may be displayed in graphical form, either online or offline. When the data is played online, the graph can automatically and continuously update and play the latest displayed target data from right to left according to the time information without mouse operation; the mouse can be dragged left and right to play the target data. When the data is played offline, the mouse can be dragged left and right to play the target data. According to the method and the device, based on equipment and time (or data volume), the target data are played in different Topic modes, the problems of software blocking and low data playing efficiency caused by overlarge graphic data volume are solved, and the data playing efficiency is improved.
In some possible embodiments, the second data display instructions include third data display instructions that indicate display in a waveform diagram. In step S304, the target data is displayed in the form of a waveform diagram in response to the third data display instruction for the target data. Fig. 7 is a schematic diagram of a second display interface for graphically displaying target data according to an embodiment of the present application, where, as shown in fig. 7, a waveform chart includes at least one time-value calibration control 701. The time value calibration control 701 can move left and right in the waveform diagram, and when the time value calibration control 701 stays at a certain moment, the target data corresponding to the moment can be displayed. When the data at a certain moment is required to be acquired, a time value calibration control 701 is selected, and the time value calibration control 701 is dragged to the moment, so that the data corresponding to the moment can be displayed in real time on the ruler line toolbar; when the data range of a certain time period needs to be acquired, two time value calibration controls 701 are selected, and the two time value calibration controls 701 are dragged to the starting time and the ending time of the time period respectively, so that the difference value between the data corresponding to the two time value calibration controls 701 can be displayed in real time on the ruler line toolbar. In this embodiment of the present application, the target data corresponding to a certain time and the data range within a certain time period may be conveniently and accurately obtained through the time value calibration control 701.
In some possible embodiments, the data playback method further comprises receiving a time inquiry instruction, the time inquiry instruction comprising at least one data value. If the value corresponding to the target data displayed in the waveform pattern includes the data value, the control time value calibration control 701 is moved to the position corresponding to the data value, where the position is the position included in the waveform pattern. That is, if a certain data value in the time inquiry command is also a value corresponding to the target data in the waveform diagram, after receiving the time inquiry command of the data value, at least one time value calibration control 701 in the waveform diagram moves to a position corresponding to the data value in the waveform diagram, and displays the moment corresponding to the data value in real time in the ruler line toolbar. And if the two data values in the time inquiry command are both data values corresponding to the target data in the waveform diagram, after the time inquiry command of the two data values is received, at least two time value calibration controls in the waveform diagram can be moved to positions corresponding to the data values in the waveform diagram, and the difference between the moments corresponding to the two data values is displayed in real time in the ruler line toolbar. Since there may be a case where the same data value corresponds to a plurality of times in the waveform diagram, a plurality of results may occur when a time corresponding to a certain data value is queried by the time query command. In this case, the appropriate result is selected as needed in the process of analyzing the displayed data. In the embodiment of the application, the time corresponding to a certain data value and the time period corresponding to a certain data value range can be conveniently and accurately obtained through the time inquiry instruction.
In the embodiment of the application, in an online or offline state, the data playing method can play the target data in a form of a table and a graphic, can manually play the target data in a dragging mode, and can automatically play the target data in a scrolling mode. In addition, in the target data in the form of a waveform diagram, the target data corresponding to a certain time and the data range in a certain time period can be conveniently and accurately obtained through the time value calibration control 701, and the time corresponding to a certain data value and the time period corresponding to a certain data value range can also be conveniently and accurately obtained through the time query instruction. Therefore, the data can be acquired more conveniently, quickly and intuitively by the data playing method, so that existing data can be analyzed more accurately and quickly by a research and development or test engineer in the field of automatic driving or intelligent driving, and vehicle system algorithm optimization or product verification can be carried out.
Fig. 8 is a schematic diagram of a data playing device according to an embodiment of the present application, where the device is applied to an automobile with light equipment, as shown in fig. 8, and the device includes: a first data storage module 801 for storing the received first data in a first buffer database of the double buffer databases; the second data storage module 802 is configured to copy, in the first data storage process, the first data in the first buffer database to the second buffer database in the double buffer database if the remaining capacity in the first buffer database meets the preset capacity, so as to obtain the second data in the second buffer database; the to-be-displayed data obtaining module 803 is configured to perform a blocking process on the second data based on the device type and time, so as to obtain a to-be-displayed data set; the data set to be displayed comprises data to be displayed corresponding to different devices in different time periods; a target data display module 804 for displaying target data in response to a data display instruction for the target data; the data set to be displayed includes target data.
In some possible embodiments, the apparatus further comprises first data acquisition means for: acquiring third data; packaging the third data to obtain fourth data to be analyzed; analyzing the fourth data to obtain fifth data; and converting the format of the fifth data to obtain the first data to be displayed.
In some possible embodiments, the target data display module 804 is further configured to: the target data are transferred to an offline database; displaying target data in response to a data display instruction for the target data; the display is an offline display.
In some possible embodiments, the data display instructions include first data display instructions displayed in tabular form; the target data display module 804 includes a tabular target data display module for: the target data is displayed in tabular form in response to a first data display instruction for the target data.
In some possible embodiments, the data display instructions include second data display instructions that are graphically displayed; the target data display module 804 includes a graphic target data display module for: the target data is displayed in graphical form in response to a second data display instruction for the target data.
In some possible embodiments, the second data display instructions include third data display instructions that indicate display in waveform graphical form; the graphic object data display module is further configured to: displaying the target data in the form of a waveform diagram in response to a third data display instruction for the target data; the waveform diagram includes a time value calibration control.
In some possible embodiments, the graphical object data display module is further to: receiving a time inquiry instruction, wherein the time inquiry instruction comprises a data value; if the value corresponding to the target data displayed in the waveform graph form contains the data value, the control time value calibration control is controlled to move to the position corresponding to the data value, and the position is the position contained in the waveform graph.
It should be noted that the apparatus and method embodiments in this apparatus embodiment are based on the same application concept.
The embodiment of the application also provides electronic equipment, which comprises a processor and a memory, wherein at least one instruction, at least one section of program, a code set or an instruction set is stored in the memory, and the at least one instruction, the at least one section of program, the code set or the instruction set is loaded and executed by the processor to realize the data playing method provided by the embodiment of the method.
The memory may be used to store software programs and modules that the processor executes to perform various functional applications and data processing by executing the software programs and modules stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, application programs required for functions, and the like; the storage data area may store data created according to the use of the device, etc. In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory may also include a memory controller to provide access to the memory by the processor.
The embodiment of the application also provides a computer readable storage medium, in which at least one instruction, at least one section of program, a code set or an instruction set is stored, and the at least one instruction, the at least one section of program, the code set or the instruction set is loaded and executed by the processor to implement the data playing method provided by the embodiment of the method.
Alternatively, in this embodiment, the storage medium may be located in at least one network server among a plurality of network servers of the computer network. Alternatively, in the present embodiment, the storage medium may include, but is not limited to: a U-disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
It should be noted that: the foregoing sequence of the embodiments of the present application is only for describing, and does not represent the advantages and disadvantages of the embodiments. And the foregoing description has been directed to specific embodiments of this specification. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for system and server embodiments, the description is relatively simple, as it is substantially similar to method embodiments, with reference to the partial description of method embodiments being relevant.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program for instructing relevant hardware, where the program may be stored in a computer readable storage medium, and the storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The foregoing description of the preferred embodiments of the present application is not intended to limit the invention to the particular embodiments of the present application, but to limit the scope of the invention to the particular embodiments of the present application.

Claims (10)

1. The data playing method is characterized by being applied to an automobile with light equipment and comprising the following steps of:
storing the received first data to a first buffer database in a double buffer database;
in the first data storage process, if the residual capacity in the first buffer database meets the preset capacity, copying the first data in the first buffer database to a second buffer database in the double buffer database to obtain second data in the second buffer database;
performing blocking processing on the second data based on the equipment type and time to obtain a data set to be displayed; the data set to be displayed comprises data to be displayed corresponding to different devices in different time periods;
displaying target data in response to a data display instruction for the target data; the data set to be displayed comprises the target data.
2. The method for playing data according to claim 1, wherein before storing the received first data in the first buffer database of the double buffer databases, the method comprises:
acquiring third data;
packaging the third data to obtain fourth data to be analyzed;
analyzing the fourth data to obtain fifth data;
and carrying out format conversion on the fifth data to obtain the first data to be displayed.
3. The data playback method as recited in claim 1, wherein the displaying the target data in response to a data display instruction for the target data comprises:
the target data are transferred to an offline database;
displaying the target data in response to a data display instruction for the target data; the display is an offline display.
4. A data playing method according to claim 1 or 3, wherein the data display instruction includes a first data display instruction displayed in a tabular form;
the displaying the target data in response to a data display instruction for the target data includes:
the target data is displayed in tabular form in response to a first data display instruction for the target data.
5. A data playing method according to claim 1 or 3, wherein the data display instruction includes a second data display instruction displayed in a graphic form;
the displaying the target data in response to a data display instruction for the target data includes:
the target data is graphically displayed in response to a second data display instruction for the target data.
6. The data playback method of claim 5, wherein the second data display instruction includes a third data display instruction that indicates display in waveform graphics;
the displaying the target data in graphical form in response to a second data display instruction for the target data, comprising:
displaying the target data in a waveform diagram form in response to a third data display instruction for the target data; the oscillogram comprises a time value calibration control.
7. The method of claim 6, further comprising:
receiving a time inquiry instruction, wherein the time inquiry instruction comprises a data value;
if the data value is contained in the value corresponding to the target data displayed in the form of a waveform diagram, controlling the time value calibration control to move to the position corresponding to the data value; the position is the position contained in the waveform diagram.
8. A data playback apparatus, characterized by being applied to an automobile with lightweight equipment, comprising:
the first data storage module is used for storing the received first data to a first buffer database in the double-buffer database;
the second data storage module is used for copying the first data in the first buffer database to the second buffer database in the double buffer database to obtain the second data in the second buffer database if the residual capacity in the first buffer database meets the preset capacity in the first data storage process;
the data to be displayed acquisition module is used for carrying out blocking processing on the second data based on the equipment type and time to obtain a data set to be displayed; the data set to be displayed comprises data to be displayed corresponding to different devices in different time periods;
a target data display module for displaying target data in response to a data display instruction for the target data; the data set to be displayed comprises the target data.
9. An electronic device comprising a processor and a memory, wherein the memory stores at least one instruction, at least one program, a set of codes, or a set of instructions, the at least one instruction, the at least one program, the set of codes, or the set of instructions being loaded and executed by the processor to implement the data playback method of any one of claims 1-7.
10. A computer readable storage medium having stored therein at least one instruction, at least one program, code set, or instruction set, the at least one instruction, the at least one program, the code set, or instruction set being loaded and executed by a processor to implement the data playback method of any one of claims 1-7.
CN202311770020.2A 2023-12-20 2023-12-20 Data playing method and device, electronic equipment and storage medium Pending CN117742638A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311770020.2A CN117742638A (en) 2023-12-20 2023-12-20 Data playing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311770020.2A CN117742638A (en) 2023-12-20 2023-12-20 Data playing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117742638A true CN117742638A (en) 2024-03-22

Family

ID=90260533

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311770020.2A Pending CN117742638A (en) 2023-12-20 2023-12-20 Data playing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117742638A (en)

Similar Documents

Publication Publication Date Title
CN110517533A (en) A kind of autonomous parking method and system
CN110103987B (en) Decision planning method and device applied to automatic driving vehicle
CN107544298B (en) A kind of camera call method and device
CN112156461A (en) Animation processing method and device, computer storage medium and electronic equipment
CN114021332A (en) Debugging method, device, equipment and storage medium
CN115016435A (en) Automatic driving vehicle test method, device, system, equipment and medium
CN117742638A (en) Data playing method and device, electronic equipment and storage medium
CN102930581A (en) General representations for data frame animations
CN112036442A (en) Method and device for tracking and labeling objects in multi-frame 3D point cloud data and storage medium
EP4040291A1 (en) Vehicle control and task processing method and apparatus, computing device and system
CN112025704B (en) Real-time distributed robot control method and system based on memory type database
CN108401003B (en) Radar data synchronization method, device, equipment and computer storage medium
CN116342773A (en) Automatic driving information visualization method and device based on rendering engine and vehicle
CN116244905A (en) Method, system, terminal and medium for monitoring state in real time in robot production process
CN112884942B (en) Data recording and playback system and playback method thereof
CN115115705A (en) Point cloud labeling method and device and vehicle
CN114285114A (en) Charging control method and device, electronic equipment and storage medium
CN112965917A (en) Test method, device, equipment and storage medium for automatic driving
JP2022507939A (en) Coordinated component interface control framework
CN103699707A (en) Graph space automatic-expansion method for power distribution network
Hoffmann et al. Integrating Autonomous Vehicle Simulation Tools using SmartData
CN109635051B (en) Method and device for generating high-precision electronic map and readable storage medium
DE102023100740A1 (en) MONITORING ELECTRICAL CONTROL ARCHITECTURE FOR AUTOMATIC AND MANUAL DRIVING
CN117914842A (en) Unmanned vehicle monitoring method, device and system and electronic equipment
CN110412890A (en) A kind of emulation mode of servo-driver, 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