Data visualization method and device, computer equipment, readable storage medium and program product

By configuring the data management platform and storage cloud in the cloud, and using meta-information tag lists and storage paths for visual processing of intelligent driving data, the problem of strong platform dependency and operational complexity of the RVIZ tool is solved, and the efficiency and availability of data visualization are improved. Portability enables user-friendly intelligent driving data visualization.

CN118535637APending Publication Date: 2024-08-23NINGBO LOTUS ROBOTICS CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410712365.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-04
Publication Date
2024-08-23

Smart Images

  • Figure CN118535637A
    Figure CN118535637A
Patent Text Reader

Abstract

The invention relates to a data visualization method and device, computer equipment, a readable storage medium and a program product. The method comprises the following steps: writing a meta-information label into a meta-information label list when a data management platform receives the meta-information label reported by a data terminal; the data management platform responds to inquiry information sent by the service cloud and sends the meta-information labels in the meta-information label list to the service cloud; and the service cloud obtains a first storage path of the to-be-converted data in the storage cloud according to the meta-information label, obtains the to-be-converted data from the storage cloud according to the first storage path, carries out data visualization processing on the to-be-converted data to obtain visual data corresponding to the to-be-converted data, and stores the visual data to the storage cloud. By adopting the method, the data visualization efficiency can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of data visualization, and in particular to a data visualization method, apparatus, computer device, computer-readable storage medium, and computer program product. Background Art

[0002] Intelligent driving refers to the technology of machines helping people to drive, and completely replacing human driving in special circumstances. With the continuous development of intelligent driving technology, more and more assisted driving functions and even intelligent driving functions are coming out. Due to the time series and complexity of intelligent driving data, visual analysis and display of these data is an extremely important part of intelligent driving development and testing, which can greatly improve the efficiency of intelligent driving data analysis and accelerate the problem location and function iteration of intelligent driving algorithms. Due to the time series, complexity and diversity of intelligent driving data, how to efficiently and accurately visualize these data has also become a matter of great concern to developers and testers in the field of intelligent driving.

[0003] ROS (Robot Operating System) is an open source robot operating system that provides a series of software libraries and tools to help developers create, deploy and manage robot applications. ROS is widely used in various robotics fields, including industrial robots, service robots, unmanned vehicles, etc. In ROS, the RVIZ visualization tool that comes with the ROS toolbox is used more frequently. RVIZ is a 3D visualization-based tool in ROS that is used to visualize the perception, status and operation of robots. It provides a user interface that can display robot models, sensor data, motion planning results, etc. in real time. RVIZ needs to be connected to the ROS operating environment when used. In the ROS environment on the vehicle side, RVIZ can be used to visualize multiple ROS topic messages received in real time, such as the vehicle's position status, the point cloud of the lidar, and the obstacle information of the perception algorithm; in the local ROS development environment, the rosbag play command can be used to replay the collected ROSBAG historical data. The use of RVIZ is the same as that on the vehicle side. The principle is to listen to the messages of the ROS topic in real time and visualize these messages.

[0004] The biggest problem with using RVIZ for visualization is its strong platform dependency. It relies on a complete ROS environment, which can only be installed in the Linux operating system and has specific requirements for the Linux version. The installation is difficult, time-consuming, and resource-intensive. In addition, RVIZ has many functions and is not user-friendly for novice users. It is difficult to get started quickly and the operation is cumbersome and complicated.

[0005] In the development and testing of intelligent driving, a common scenario is the need to visualize and analyze the ROSBAG data of historical road tests. Before using RVIZ, you need to download the corresponding ROSBAG data to your local computer, then replay the ROSBAG through the rosbag play command, and visualize it on RVIZ. Because ROSBAG data contains complete road test messages, the size is often at the GB level, which takes time to download and affects efficiency.

[0006] Currently, the efficiency of data visualization processing for intelligent driving is low. Summary of the invention

[0007] Based on this, it is necessary to provide a data visualization method, device, computer equipment, computer-readable storage medium and computer program product that can improve the efficiency of intelligent driving data visualization in response to the above-mentioned technical problems.

[0008] In a first aspect, the present application provides a data visualization method, which is applied to a data management platform configured in a cloud in a data visualization system, wherein the cloud also includes a storage cloud and a service cloud, and the data visualization system also includes a data terminal and a user terminal, and the method includes:

[0009] When receiving the meta information tag reported by the data terminal, writing the meta information tag into the meta information tag list;

[0010] In response to the query information sent by the service cloud, the meta information tags in the meta information tag list are sent to the service cloud; the service cloud is used to obtain the first storage path of the data to be converted in the storage cloud according to the meta information tags, obtain the data to be converted from the storage cloud according to the first storage path, perform data visualization processing on the data to be converted, obtain visualization data corresponding to the data to be converted, and store the visualization data in the storage cloud.

[0011] In one embodiment, the method further comprises:

[0012] Access the storage cloud to obtain the storage path of the visualization data in the storage cloud;

[0013] Write the storage path of the visualization data in the storage cloud into the visualization data list.

[0014] In one embodiment, the method further comprises:

[0015] In response to a data access request issued by a user terminal, identifying target visual data in the data access request;

[0016] According to the visualization data list, obtain a second storage path of the target visualization data in the storage cloud;

[0017] The second storage path is sent to the user terminal; the user terminal is used to download the target visualization data from the storage cloud according to the second storage path.

[0018] In one embodiment, the method further comprises:

[0019] The meta-information tag uploaded by the receiving data terminal is generated by the data terminal when uploading the data to be converted to the storage cloud; the data to be converted is obtained by the data terminal according to the intelligent driving time series data of the target vehicle.

[0020] In a second aspect, the present application provides a data visualization method, which is applied to a service cloud configured in a cloud in a data visualization system, wherein the cloud also includes a data management platform and a storage cloud, and the data visualization system also includes a data terminal and a user terminal, and the method includes:

[0021] When receiving the meta information tag sent by the data management platform, obtaining a first storage path of the data to be converted in the storage cloud according to the meta information tag;

[0022] According to the first storage path, obtaining the data to be converted from the storage cloud;

[0023] Perform data visualization processing on the data to be converted to obtain visualization data corresponding to the data to be converted, and store the visualization data in the storage cloud.

[0024] In one embodiment, data visualization processing is performed on the data to be converted to obtain visualization data corresponding to the data to be converted, including:

[0025] Determine the target data structure of the visualization data, and align and combine the original data structure of the data to be converted and the target data structure;

[0026] According to the alignment combination result of the data structure, source data is obtained from the data to be converted;

[0027] Get the visualization coordinates of the source data, and obtain the visualization data according to the source data and the visualization coordinates.

[0028] In one embodiment, the method further comprises:

[0029] According to the preset inquiry cycle, inquiry information is sent to the data management platform, and the metadata tag sent by the data management platform in response to the inquiry information is received; the metadata tag is generated by the data terminal based on the data to be converted uploaded to the storage cloud; the data to be converted is obtained by the data terminal based on the intelligent driving timing data of the target vehicle.

[0030] In a third aspect, the present application further provides a data visualization device, which is applied to a data management platform configured in the cloud in a data visualization system, wherein the cloud also includes a storage cloud and a service cloud, and the data visualization system also includes a data terminal and a user terminal, and the device includes:

[0031] A list module, used for writing the meta information tag into the meta information tag list when receiving the meta information tag reported by the data terminal;

[0032] The transmission module is used to respond to the query information sent by the service cloud and send the meta-information tags in the meta-information tag list to the service cloud; the service cloud is used to obtain the first storage path of the data to be converted in the storage cloud according to the meta-information tags, obtain the data to be converted from the storage cloud according to the first storage path, perform data visualization processing on the data to be converted, obtain the visualization data corresponding to the data to be converted, and store the visualization data in the storage cloud.

[0033] In a fourth aspect, the present application further provides a data visualization device, which is applied to a service cloud configured in a cloud in a data visualization system, wherein the cloud also includes a data management platform and a storage cloud, and the data visualization system also includes a data terminal and a user terminal, and the device includes:

[0034] An acquisition module, configured to acquire a first storage path of the data to be converted in the storage cloud according to the meta-information tag when receiving the meta-information tag sent by the data management platform;

[0035] A loading module, used for acquiring the data to be converted from the storage cloud according to the first storage path;

[0036] The processing module is used to perform data visualization processing on the data to be converted, obtain visualization data corresponding to the data to be converted, and store the visualization data in the storage cloud.

[0037] In a fifth aspect, the present application further provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0038] When receiving the meta information tag reported by the data terminal, writing the meta information tag into the meta information tag list;

[0039] In response to the query information sent by the service cloud, the meta information tags in the meta information tag list are sent to the service cloud; the service cloud is used to obtain the first storage path of the data to be converted in the storage cloud according to the meta information tags, obtain the data to be converted from the storage cloud according to the first storage path, perform data visualization processing on the data to be converted, obtain visualization data corresponding to the data to be converted, and store the visualization data in the storage cloud.

[0040] In a sixth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:

[0041] When receiving the meta information tag reported by the data terminal, writing the meta information tag into the meta information tag list;

[0042] In response to the query information sent by the service cloud, the meta information tags in the meta information tag list are sent to the service cloud; the service cloud is used to obtain the first storage path of the data to be converted in the storage cloud according to the meta information tags, obtain the data to be converted from the storage cloud according to the first storage path, perform data visualization processing on the data to be converted, obtain visualization data corresponding to the data to be converted, and store the visualization data in the storage cloud.

[0043] In a seventh aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:

[0044] When receiving the meta information tag reported by the data terminal, writing the meta information tag into the meta information tag list;

[0045] In response to the query information sent by the service cloud, the meta information tags in the meta information tag list are sent to the service cloud; the service cloud is used to obtain the first storage path of the data to be converted in the storage cloud according to the meta information tags, obtain the data to be converted from the storage cloud according to the first storage path, perform data visualization processing on the data to be converted, obtain visualization data corresponding to the data to be converted, and store the visualization data in the storage cloud.

[0046] In the above data visualization method, apparatus, computer device, computer-readable storage medium and computer program product, the data management platform writes the meta-information tag into the meta-information tag list when receiving the meta-information tag reported by the data terminal; the data management platform sends the meta-information tag in the meta-information tag list to the service cloud in response to the query information sent by the service cloud; the service cloud obtains the first storage path of the data to be converted in the storage cloud according to the meta-information tag, obtains the data to be converted from the storage cloud according to the first storage path, performs data visualization processing on the data to be converted, obtains the visualization data corresponding to the data to be converted, and stores the visualization data in the storage cloud. The storage and visualization processing of data are set in the cloud, and the visualization software can be opened conveniently and quickly on various devices and operating systems, without or only relying on a small amount of software, thereby improving the portability of the visualization software; and the user does not need to download the ROSBAG package first, and can freely choose the visualization data of ROSBAG that he wants to watch, similar to watching video playback, supporting pause, fast forward, rewind, etc., which is simple, convenient and fast. The processing and storage of different visualization data are set in different cloud servers, and there is no conflict when the user performs data processing or data viewing, which can improve the efficiency of visualization. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0048] Figure 1 is a structural block diagram of a data visualization system in one embodiment;

[0049] Figure 2 A schematic diagram of a process of a data visualization method for a data management platform in one embodiment;

[0050] Figure 3 A schematic diagram of a process of a service cloud data visualization method in one embodiment;

[0051] Figure 4 A schematic diagram of the principle of a rolling window alignment combination method in one embodiment;

[0052] Figure 5 It is a schematic diagram of the principle of a fixed Topic alignment combination method in one embodiment;

[0053] Figure 6 It is a structural block diagram of a data visualization device of a data management platform in one embodiment;

[0054] Figure 7 It is a structural block diagram of a service cloud data visualization device in one embodiment;

[0055] Figure 8 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0056] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0057] The data visualization method provided in the embodiment of the present application can be applied to Figure 1 The data visualization system shown in FIG. Among them, the data visualization system also includes a cloud, a data terminal and a user terminal. The cloud includes a data management platform, a storage cloud and a service cloud. The data terminal and the user terminal communicate with the cloud through the network. The data terminal can be, but is not limited to, a disk upload machine for uploading ROSBAG files. The user terminal can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, Internet of Things devices and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car devices, projection devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The head-mounted devices can be virtual reality (VR) devices, augmented reality (AR) devices, smart glasses, etc. The cloud can be located on an independent physical server, or on a server cluster or distributed system consisting of multiple physical servers, or on a cloud server that provides cloud computing services. The data terminal can upload data to the storage cloud on the cloud through the network. The user terminal can access the data management platform on the cloud through a browser, but is not limited to it. The storage cloud can be, but is not limited to, Alibaba Cloud OSS. Service Cloud can configure K8S / Kubernetes. Kubernetes is an open source platform for managing containerized applications on multiple hosts in the cloud platform. The goal of Kubernetes is to make the deployment of containerized applications simple and efficient. Kubernetes provides a mechanism for application deployment, planning, updating, and maintenance. K8S is configured with multiple conversion pods. The conversion pod is a concurrent resident service deployed in the K8S cluster, an independent running unit in the K8S cluster, and multiple pods are not aware of or interfere with each other.

[0058] In an exemplary embodiment, Figure 2 As shown, a data visualization method is provided, which is applied to Figure 1The data management platform in is taken as an example to illustrate, including the following steps 202 to 204. Among them:

[0059] Step 202: When receiving the meta information tag reported by the data terminal, write the meta information tag into a meta information tag list.

[0060] The meta information tag refers to the meta information of the data to be converted, and the meta information tag list is used to store the meta information of each item of data to be converted.

[0061] Optionally, after uploading each ROSBAG file to the storage cloud, the data terminal will also report the meta information of this file to the data management platform, so that the information and status of each ROSBAG file can be viewed on the data management platform. The data management platform writes this meta information into the meta information tag list.

[0062] Step 204, in response to the query information sent by the service cloud, the meta information tags in the meta information tag list are sent to the service cloud; the service cloud is used to obtain the first storage path of the data to be converted in the storage cloud according to the meta information tags, obtain the data to be converted from the storage cloud according to the first storage path, perform data visualization processing on the data to be converted, obtain visualization data corresponding to the data to be converted, and store the visualization data in the storage cloud.

[0063] The data to be converted may be, but is not limited to, a ROSBAG file.

[0064] Optionally, the conversion pod in the service cloud is a concurrent resident service deployed in the K8S cluster. They will continuously poll the data management platform to ask the platform whether there are new ROSBAGs that need to be converted into visual data. Whenever new ROSBAG information is reported to the data management platform, the conversion pod can obtain the meta information of the ROSBAG in near real time, find its storage path on the storage cloud and download it to the pod locally, convert it into visual data, and then upload the visual data to a specific directory on the storage cloud.

[0065] It should be noted that in order to ensure the timeliness of data visualization, it is necessary to ensure that there are no blocking points at each node on the visualization link. After the road test data is recorded on the vehicle side, it will be stored in the hard disk on the vehicle side, and the hard disk needs to be manually transported to a nearby computer room for uploading. Currently, the data recorded on the vehicle side is in ROSBAG format. After each ROSBAG is uploaded to the storage cloud, the meta information of the ROSBAG will also be synchronized to the data management platform, so that users can search for ROSBAG based on this meta information, and can select each ROSBAG for visualization playback, while recording the status of these ROSBAGs.

[0066] In this embodiment, when the data management platform receives the meta information tag reported by the data terminal, the meta information tag is written into the meta information tag list; the data management platform responds to the query information sent by the service cloud and sends the meta information tag in the meta information tag list to the service cloud; the service cloud obtains the first storage path of the data to be converted in the storage cloud according to the meta information tag, obtains the data to be converted from the storage cloud according to the first storage path, performs data visualization processing on the data to be converted, obtains the visualization data corresponding to the data to be converted, and stores the visualization data in the storage cloud. The storage and visualization processing of data are set in the cloud, and the visualization software can be opened on various devices and operating systems conveniently and quickly, without or only relying on a small amount of software, thereby improving the portability of the visualization software; and the user does not need to download the ROSBAG package first, and can freely choose the visualization data of ROSBAG that he wants to watch, similar to watching video playback, supporting pause, fast forward, rewind, etc., which is simple, convenient and fast. The processing and storage of different visualization data are set in different cloud servers, and there is no conflict when the user performs data processing or data viewing, which can improve the efficiency of visualization.

[0067] In one embodiment, the method further includes: accessing a storage cloud to obtain a storage path of the visualization data in the storage cloud; and writing the storage path of the visualization data in the storage cloud into a visualization data list.

[0068] Optionally, after the service cloud stores the visual data converted by ROSBAG in the storage cloud, it notifies the data management platform of the message of the completion of the ROSBAG conversion and the storage path of the visual data. The data management platform writes the storage path of the visual data in the storage cloud into the visual data list.

[0069] In this embodiment, the data management platform does not directly store data, but records the storage path of the visualized data to facilitate users to view the visualized data.

[0070] In one embodiment, the method also includes: in response to a data access request issued by a user terminal, identifying the target visualization data in the data access request; obtaining a second storage path of the target visualization data in the storage cloud according to the visualization data list; sending the second storage path to the user terminal; and the user terminal is used to download the target visualization data from the storage cloud according to the second storage path.

[0071] Optionally, the user can access the data management platform through the browser of the user terminal, select or search for a specific ROSBAG, and click the data visualization button. The browser side of the data management platform will request the storage cloud to download its visualization data according to the visualization data storage path of the ROSBAG, and finally realize the visualization of the ROSBAG data on the browser side.

[0072] In this embodiment, data storage and visualization processing are located in the cloud, and the visualization software can be opened quickly and easily on various devices and operating systems. It does not require or only relies on a small amount of software, thereby improving the portability of the visualization software; and users do not need to download the ROSBAG package first, and can freely choose the ROSBAG visualization data they want to watch, similar to watching video playback, supporting pause, fast forward, rewind, etc., which is simple, convenient and fast. The processing and storage of different visualization data are located in different cloud servers, and there is no conflict when users process or view data, which can improve the efficiency of visualization.

[0073] In one embodiment, the method also includes: receiving a meta-information tag uploaded by a data terminal; the meta-information tag is generated by the data terminal when uploading the data to be converted to a storage cloud; the data to be converted is obtained by the data terminal based on the intelligent driving timing data of the target vehicle.

[0074] Optionally, the data is recorded in real time during the vehicle road test and stored in a large number of ROSBAG files in a removable hard disk. After the vehicle test is completed every day, the hard disk will be transported to a nearby computer room and the data will be uploaded to the storage cloud using the disk upload program. Alternatively, the vehicle terminal can implement the storage of intelligent driving time series data in the local vehicle hard disk, and then regularly upload the ROSBAG files in the local vehicle hard disk to the storage cloud.

[0075] In this embodiment, data storage and visualization processing are located in the cloud, and the visualization software can be opened easily and quickly on various devices and operating systems without requiring or relying on only a small amount of software, thereby improving the portability of the visualization software.

[0076] In an exemplary embodiment, Figure 3 As shown, a data visualization method is provided, which is applied to Figure 1 The service cloud in the example is used to illustrate, including the following steps 302 to 306. Among them:

[0077] Step 302: upon receiving the meta information tag sent by the data management platform, obtaining a first storage path of the data to be converted in the storage cloud according to the meta information tag.

[0078] Step 304: Obtain the data to be converted from the storage cloud according to the first storage path.

[0079] Step 306 , performing data visualization processing on the data to be converted, obtaining visualization data corresponding to the data to be converted, and storing the visualization data in a storage cloud.

[0080] Optionally, after ROSBAG data is uploaded to the service cloud, the service cloud needs to convert the visualization format immediately. In order to minimize the conversion time, improve the conversion efficiency, and ensure that problem analysts can play back the visualization data in the shortest time, it is necessary to adopt a queuing and concurrent conversion strategy.

[0081] After the ROSBAG data is stored in the database, it is queued by time and priority, and multiple conversion pods take out the ROSBAG data from the queue for conversion. In order to prevent multiple pods from taking out the same data for conversion and causing conflicts, the concept of optimistic locking in the MySQL database is cleverly used here. The so-called optimistic lock assumes that conflicts rarely occur, so concurrency conflicts are only checked when database transactions are submitted, usually by adding a version number or timestamp field to the data table. The present invention utilizes the status value of ROSBAG corresponding to the meta data in the database. Its default value is 0, indicating the state to be converted. After the converted pod obtains it, the pod will update its value to 1 as soon as possible, indicating the state in conversion. If there are currently multiple pods that have obtained the ROSBAG and want to update its status value to 1. At this time, through this statement (set state = 1 where state = 0), it can be easily ensured that only one pod can successfully update the status value, and the rest will fail to update, ensuring that there is no conflict in the conversion of multiple pods.

[0082] Since the converted pods are running in the K8S cluster and have no impact on each other, the conversion concurrency can be adjusted by controlling the number of conversions, thereby controlling the conversion speed. The elastic scaling feature of Alibaba Cloud can be used to automatically increase or decrease the conversion concurrency according to the number of packets currently queued for conversion, thereby minimizing the cost of using cloud resources while ensuring conversion efficiency.

[0083] In this embodiment, the visualization processing of data is set up in the cloud, and the visualization software can be opened on various devices and operating systems conveniently and quickly. It does not require or only relies on a small amount of software, thereby improving the portability of the visualization software; and users do not need to download the ROSBAG package first, and can freely choose the ROSBAG visualization data they want to see, which can improve the efficiency of visualization.

[0084] In one embodiment, data visualization processing is performed on the data to be converted to obtain visualization data corresponding to the data to be converted, including: determining a target data structure of the visualization data, aligning and combining the original data structure of the data to be converted and the target data structure; obtaining source data in the data to be converted according to the alignment and combination result of the data structure; obtaining visualization coordinates of the source data, and obtaining visualization data according to the source data and the visualization coordinates.

[0085] Optionally, after the data is converted into JSON format, the browser can visualize the data by loading the batch of JSON files corresponding to the specific rosbag package. This embodiment mainly introduces how to convert ROSBAG data into JSON format, including the definition of JSON format and some key data conversion methods in JSON, so as to better enable the front-end browser to load visualization.

[0086] First, we need to determine the content represented by a JSON file. Videos are transmitted and visualized in the form of frames, so here we also define a JSON file as one frame of data. Therefore, a ROSBAG data packet can be converted into a JSON file of several frames. The number of frames is determined by the lowest frequency TOPIC. Because the lowest frequency of the TOPICs that need to be converted is the 10HZ perception algorithm output result, the frame time of the perception TOPIC data is used as the alignment target here, and the TOPIC data that needs to be converted in ROSBAG is aligned and combined according to the time of the current frame of perception data as the data source of the one-frame JSON file to be converted. In ROS, Topic is a mechanism for message passing and communication. Topic is a publish / subscribe (pub / sub) model in ROS that allows different nodes to communicate by sending and receiving messages. In ROS, Topic can be regarded as a pipeline for data flow, where one node (publisher) publishes messages to Topic, and other nodes (subscribers) can receive these messages by subscribing to the same Topic.

[0087] Alignment and combination can determine the original data used to form a complete frame, and convert the original data into data that can be used for visualization, that is, data in JSON format. The data format is determined by communication with the browser web developer. Here we only describe several important data conversion forms. The overall coordinates are uniformly based on the vehicle as the origin, the direction of the vehicle's forward movement is the positive direction of the x-axis, and the y-axis perpendicular to the direction of the vehicle's forward movement is (left positive and right negative). The rest of the visualization data is drawn with coordinates relative to the vehicle. Therefore, the first step is to determine the position of the vehicle on the web page. Here, it is decided to directly use the longitude and latitude of the vehicle as the position of the vehicle. In addition to longitude and latitude, Euler angles are also required to determine the body posture information of the vehicle. Since only the quaternion data of the vehicle is given in the original data, the following formula is needed to convert the quaternion into Euler angles.

[0088]

[0089] For targets other than the ego vehicle, coordinate conversion is also required. The original data uses the universal ENU coordinate system, that is, the global coordinate system with the power-on position as the origin. Therefore, the ENU coordinates of the target in the current frame need to be used, combined with the aligned ego vehicle ENU coordinates and posture, to convert them into coordinates relative to the current ego vehicle. The conversion formula is as follows. The coordinate conversion method for other targets is similar and will not be repeated here.

[0090]

[0091] When visualizing and analyzing intelligent driving road test problems, we often want to be able to observe the position status of the vehicle and other targets at the future moment at the same time. Based on the alignment combination of data structures and the coordinate system conversion method, each frame of JSON data conversion can flexibly include data for a specific time period in the future, such as the true value position trajectory of the vehicle in the next 5 seconds.

[0092] In a feasible implementation, the alignment combination adopts a rolling window method, such as Figure 4 As shown. According to the target frame rate, here is 10HZ, the data is segmented into 100ms frames. For each topic, only one frame in the 100ms time period is taken (the last frame is taken in the figure), and then the frame data in all topics are combined into a complete frame of JSON data.

[0093] In another feasible implementation, the alignment combination adopts a fixed topic alignment method, such as Figure 5 As shown in the figure, select the topic with the lowest frequency in the data to be visualized. Here, take the perception result topic ( / perception / fusion / object) as an example. According to each frame of perception data, find other topic data closest to the frame time to form a complete frame of JSON data.

[0094] In this embodiment, the visualization processing of data is set up in the cloud, and the visualization software can be opened on various devices and operating systems conveniently and quickly. It does not require or only relies on a small amount of software, thereby improving the portability of the visualization software; and users do not need to download the ROSBAG package first, and can freely choose the ROSBAG visualization data they want to see, which can improve the efficiency of visualization.

[0095] In one embodiment, the method also includes: sending inquiry information to the data management platform according to a preset inquiry cycle, and receiving a meta-information tag sent by the data management platform in response to the inquiry information; the meta-information tag is generated by the data terminal based on the data to be converted uploaded to the storage cloud; the data to be converted is obtained by the data terminal based on the intelligent driving timing data of the target vehicle.

[0096] Optionally, the conversion pod in the service cloud is a concurrent resident service deployed in the K8S cluster. They will continuously poll the data management platform to ask the platform whether there are new ROSBAGs that need to be converted into visual data. Whenever new ROSBAG information is reported to the data management platform, the conversion pod can obtain the meta information of the ROSBAG in near real time, find its storage path on the storage cloud and download it to the pod locally, convert it into visual data, and then upload the visual data to a specific directory on the storage cloud.

[0097] In this embodiment, the visualization processing of data is set up in the cloud, and the visualization software can be opened on various devices and operating systems conveniently and quickly, without requiring or relying on only a small amount of software, thereby improving the portability of the visualization software.

[0098] In an exemplary embodiment, a data visualization method is applied to Figure 1 Taking the data visualization system shown as an example, the method includes:

[0099] The data terminal takes the intelligent driving time series data of the target vehicle as the data to be converted, uploads the data to be converted to the storage cloud, and uploads the meta-information tags of the data to be converted to the data management platform.

[0100] When receiving the meta information tag reported by the data terminal, the data management platform writes the meta information tag into the meta information tag list.

[0101] The service cloud sends inquiry information to the data management platform according to the preset inquiry cycle.

[0102] The data management platform responds to the query information sent by the service cloud and sends the meta information tags in the meta information tag list to the service cloud.

[0103] When the service cloud receives the meta information tag sent by the data management platform, the service cloud obtains the first storage path of the data to be converted in the storage cloud according to the meta information tag; obtains the data to be converted from the storage cloud according to the first storage path; determines the target data structure of the visualization data, and aligns and combines the original data structure of the data to be converted and the target data structure; obtains the source data in the data to be converted according to the alignment result of the data structure; obtains the visualization coordinates of the source data, and obtains the visualization data according to the source data and the visualization coordinates; and stores the visualization data in the storage cloud.

[0104] The data management platform accesses the storage cloud to obtain the storage path of the visualization data in the storage cloud; and writes the storage path of the visualization data in the storage cloud into the visualization data list.

[0105] The user terminal sends a data access request to the data management platform in response to the user's visual data access operation on the browser.

[0106] The data management platform responds to a data access request issued by a user terminal, identifies the target visualization data in the data access request; obtains a second storage path of the target visualization data in the storage cloud according to the visualization data list; sends the second storage path to the user terminal; and the user terminal is used to download the target visualization data from the storage cloud according to the second storage path.

[0107] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0108] Based on the same inventive concept, the embodiment of the present application also provides a data visualization device for implementing the data visualization method involved above. The implementation solution provided by the device to solve the problem is similar to the implementation solution recorded in the above method, so the specific limitations in one or more data visualization device embodiments provided below can refer to the limitations on the data visualization method above, and will not be repeated here.

[0109] In an exemplary embodiment, Figure 6 As shown, a data visualization device 600 is provided, which is applied to a data management platform configured in the cloud in a data visualization system, the cloud also includes a storage cloud and a service cloud, the data visualization system also includes a data terminal and a user terminal, and the device includes:

[0110] The list module 601 is used to write the meta-information tag into the meta-information tag list when receiving the meta-information tag reported by the data terminal.

[0111] The transmission module 602 is used to respond to the query information sent by the service cloud and send the meta-information tags in the meta-information tag list to the service cloud; the service cloud is used to obtain the first storage path of the data to be converted in the storage cloud according to the meta-information tags, obtain the data to be converted from the storage cloud according to the first storage path, perform data visualization processing on the data to be converted, obtain the visualization data corresponding to the data to be converted, and store the visualization data in the storage cloud.

[0112] In one embodiment, the apparatus further comprises:

[0113] The access module 603 is used to access the storage cloud to obtain the storage path of the visualization data in the storage cloud; and write the storage path of the visualization data in the storage cloud into the visualization data list.

[0114] In one embodiment, the list module 601 is also used to respond to a data access request issued by a user terminal, identify the target visualization data in the data access request; obtain a second storage path of the target visualization data in the storage cloud according to the visualization data list; send the second storage path to the user terminal; and the user terminal is used to download the target visualization data from the storage cloud according to the second storage path.

[0115] In one embodiment, the list module 601 is also used to receive metadata tags uploaded by the data terminal; the metadata tags are generated by the data terminal when uploading the data to be converted to the storage cloud; the data to be converted is obtained by the data terminal based on the intelligent driving timing data of the target vehicle.

[0116] In an exemplary embodiment, Figure 7 As shown, a data visualization device 700 is provided, which is applied to a service cloud configured in a cloud in a data visualization system, the cloud also includes a data management platform and a storage cloud, the data visualization system also includes a data terminal and a user terminal, and the device includes:

[0117] The acquisition module 701 is used to acquire a first storage path of the to-be-converted data in the storage cloud according to the meta-information tag when receiving the meta-information tag sent by the data management platform.

[0118] The loading module 702 is used to obtain the data to be converted from the storage cloud according to the first storage path.

[0119] The processing module 703 is used to perform data visualization processing on the data to be converted, obtain visualization data corresponding to the data to be converted, and store the visualization data in a storage cloud.

[0120] In one embodiment, the processing module 703 is also used to determine the target data structure of the visualization data, align and combine the original data structure of the data to be converted and the target data structure; obtain the source data in the data to be converted according to the alignment and combination results of the data structures; obtain the visualization coordinates of the source data, and obtain the visualization data according to the source data and the visualization coordinates.

[0121] In one embodiment, the acquisition module 701 is also used to send inquiry information to the data management platform according to a preset inquiry cycle, and receive the metadata tag sent by the data management platform in response to the inquiry information; the metadata tag is generated by the data terminal based on the data to be converted uploaded to the storage cloud; the data to be converted is obtained by the data terminal based on the intelligent driving timing data of the target vehicle.

[0122] Each module in the above data visualization device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.

[0123] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Figure 8 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store visualization data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a data visualization method is implemented.

[0124] Those skilled in the art will understand that Figure 8 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0125] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.

[0126] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0127] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0128] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.

[0129] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.

[0130] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0131] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A data visualization method, characterized in that: A data management platform configured in a cloud in a data visualization system is applied, the cloud also includes a storage cloud and a service cloud, the data visualization system also includes a data terminal and a user terminal, and the method includes: When receiving the meta information tag reported by the data terminal, writing the meta information tag into a meta information tag list; In response to the query information sent by the service cloud, the meta information tag in the meta information tag list is sent to the service cloud; the service cloud is used to obtain a first storage path of the data to be converted in the storage cloud according to the meta information tag, obtain the data to be converted from the storage cloud according to the first storage path, perform data visualization processing on the data to be converted, obtain visualization data corresponding to the data to be converted, and store the visualization data in the storage cloud.

2. The method according to claim 1, characterized in that: The method further comprises: Accessing the storage cloud to obtain a storage path of the visualization data in the storage cloud; The storage path of the visualization data in the storage cloud is written into the visualization data list.

3. The method according to claim 2, characterized in that The method further comprises: In response to a data access request issued by the user terminal, identifying target visual data in the data access request; According to the visualization data list, obtaining a second storage path of the target visualization data in the storage cloud; The second storage path is sent to the user terminal; the user terminal is used to download the target visualization data from the storage cloud according to the second storage path.

4. The method according to claim 1, characterized in that: The method further comprises: Receive the meta information tag uploaded by the data terminal; the meta information tag is generated by the data terminal when uploading the data to be converted to the storage cloud; the data to be converted is obtained by the data terminal according to the intelligent driving timing data of the target vehicle.

5. A data visualization method, characterized in that: A service cloud configured in a cloud in a data visualization system, wherein the cloud also includes a data management platform and a storage cloud, and the data visualization system also includes a data terminal and a user terminal, and the method includes: When receiving the meta information tag sent by the data management platform, obtaining a first storage path of the data to be converted in the storage cloud according to the meta information tag; According to the first storage path, acquiring the data to be converted from the storage cloud; Perform data visualization processing on the data to be converted to obtain visualization data corresponding to the data to be converted, and store the visualization data in the storage cloud.

6. The method according to claim 5, characterized in that The performing data visualization processing on the data to be converted to obtain visualization data corresponding to the data to be converted includes: Determine the target data structure of the visualization data, and align and combine the original data structure of the to-be-converted data and the target data structure; According to the alignment combination result of the data structure, source data is obtained from the data to be converted; The visualization coordinates of the source data are acquired, and the visualization data is obtained according to the source data and the visualization coordinates.

7. The method according to claim 5, characterized in that The method further comprises: According to a preset inquiry cycle, inquiry information is sent to the data management platform, and the meta-information tag sent by the data management platform in response to the inquiry information is received; the meta-information tag is generated by the data terminal based on the data to be converted uploaded to the storage cloud; the data to be converted is obtained by the data terminal based on the intelligent driving timing data of the target vehicle.

8. A data visualization device, characterized in that: A data management platform configured in a cloud for use in a data visualization system, wherein the cloud also includes a storage cloud and a service cloud, and the data visualization system also includes a data terminal and a user terminal, wherein the device includes: A list module, configured to write the meta information tag into a meta information tag list when receiving the meta information tag reported by the data terminal; A transmission module is used to send the meta information tags in the meta information tag list to the service cloud in response to the query information sent by the service cloud; the service cloud is used to obtain a first storage path of the data to be converted in the storage cloud according to the meta information tags, obtain the data to be converted from the storage cloud according to the first storage path, perform data visualization processing on the data to be converted, obtain visualization data corresponding to the data to be converted, and store the visualization data in the storage cloud.

9. A data visualization device, characterized in that: A service cloud configured in a cloud for use in a data visualization system, wherein the cloud also includes a data management platform and a storage cloud, and the data visualization system also includes a data terminal and a user terminal, wherein the device includes: An acquisition module, configured to acquire, upon receiving the meta information tag sent by the data management platform, a first storage path of the data to be converted in the storage cloud according to the meta information tag; A loading module, used for acquiring the data to be converted from the storage cloud according to the first storage path; The processing module is used to perform data visualization processing on the data to be converted, obtain visualization data corresponding to the data to be converted, and store the visualization data in the storage cloud.

10. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.

12. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Point cloud data processing method and device, vehicle and storage medium

    CN115409936A

  • Method and system for batch analysis and structured presentation of intelligent driving Rosbag data

    CN116248917A

  • Data processing method and device

    CN116633925A

  • Vehicle data cross-platform visualization method and device, client and storage medium

    CN117194345A

  • Preparation Method Using Multi-Feature Prediction Model for Cancer Diagnosis

    KR102491322B1