WO2022061880A1 - Movable platform and online data processing method and apparatus therefor, and storage medium - Google Patents
Movable platform and online data processing method and apparatus therefor, and storage medium Download PDFInfo
- Publication number
- WO2022061880A1 WO2022061880A1 PCT/CN2020/118384 CN2020118384W WO2022061880A1 WO 2022061880 A1 WO2022061880 A1 WO 2022061880A1 CN 2020118384 W CN2020118384 W CN 2020118384W WO 2022061880 A1 WO2022061880 A1 WO 2022061880A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- data
- compression
- different
- compressed
- time
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/41—Bandwidth or redundancy reduction
Definitions
- the present invention relates to the technical field of mobile platforms, in particular to the processing of online data of the mobile platforms.
- Embodiments of the present invention provide a movable platform and a method, device, and storage medium for processing online data thereof, so as to solve at least one of the above problems.
- a method for processing online data of a mobile platform includes a plurality of sensors, and the method includes:
- the compressed first data is stored.
- a method for processing online data of a mobile platform includes:
- the online data of the movable platform is obtained offline, wherein the online data of the movable platform includes compressed first data; wherein, the compressed first data is obtained by compressing the first data through corresponding compression parameters, and different attributes The first data corresponding to different compression parameters;
- Offline processing is performed based on the decompressed data.
- a method for processing online data of a mobile platform includes a plurality of sensors, and the method includes:
- Offline processing is performed based on the decompressed data.
- an apparatus for processing online data of a mobile platform comprising:
- one or more programs stored in the memory and configured to be executed by the processor, the processor performing the following steps when executing the one or more programs:
- the compressed first data is stored.
- an apparatus for processing online data of a mobile platform includes:
- one or more programs stored in the memory and configured to be executed by the processor, the processor performing the following steps when executing the one or more programs:
- the online data of the movable platform is obtained offline, wherein the online data of the movable platform includes compressed first data; wherein, the compressed first data is obtained by compressing the first data through corresponding compression parameters, and different attributes The first data corresponding to different compression parameters;
- Offline processing is performed based on the decompressed data.
- an apparatus for processing online data of a mobile platform comprising:
- one or more programs stored in the memory and configured to be executed by the processor, the processor performing the following steps when executing the one or more programs:
- Offline processing is performed based on the decompressed data.
- a computer-readable storage medium comprising: a program that can be executed by a processor to implement the first to third aspects of the embodiments of the present invention method.
- a movable platform comprising: the apparatus according to the fourth aspect to the sixth aspect of the embodiment of the present invention.
- the movable platform and the online data processing method, device, and storage medium according to the embodiments of the present invention greatly reduce the storage amount of online data, save storage space, and improve the efficiency of data transmission by performing real-time compression when collecting data online. speed and efficiency of data processing.
- FIG. 1 is a schematic flowchart of a method for processing online data of a mobile platform according to an embodiment of the present invention
- FIG. 2 is an example of a method for processing online data of a mobile platform according to an embodiment of the present invention
- FIG. 3 is a schematic flowchart of a method for processing online data of a mobile platform according to an embodiment of the present invention
- FIG. 5 is a schematic flowchart of a method for processing online data of a mobile platform according to an embodiment of the present invention
- FIG. 6 is a schematic block diagram of an apparatus for processing online data of a mobile platform according to an embodiment of the present invention.
- the intelligent machine can be a movable platform, including an air vehicle (such as an unmanned aerial vehicle), a ground vehicle (such as a gimbal vehicle, an autonomous vehicle), or other suitable mobile devices (such as a handheld gimbal, a driving recorder) instrument).
- an air vehicle such as an unmanned aerial vehicle
- a ground vehicle such as a gimbal vehicle, an autonomous vehicle
- mobile devices such as a handheld gimbal, a driving recorder
- the aerial vehicle when the aerial vehicle moves in the air, it may be necessary to collect image data in at least one direction, distance data from other objects, moving position data, sound data, machine internal temperature data, machine One or more of ambient temperature data, machine operating parameters, etc.; when ground vehicles move on the ground, such as PTZ vehicles and autonomous vehicles, it may be necessary to collect image data and/or sound data in at least one direction;
- the self-driving vehicle may also need to collect distance data between itself and other objects, movement position data, etc.; while other suitable mobile devices may also need to collect image data and/or image data in at least one direction when working. or sound data, etc.
- FIG. 1 shows a schematic flow of the method for processing online data of a mobile platform according to an embodiment of the present invention.
- the movable platform includes a plurality of sensors, and the method 100 includes:
- Step S110 acquiring the first data generated by the sensor online in real time to determine the attribute of the first data
- Step S120 based on the attributes of the first data, using corresponding compression parameters to compress the first data in real time; wherein, the first data of different attributes correspond to different compression parameters;
- Step S130 storing the compressed first data.
- the first data is compressed in real time with corresponding compression parameters according to the attributes of the data, which not only reduces the space used for storing data, but also improves the rate of data transmission and data. processing efficiency. Suitable for any data processing occasions such as online data acquisition and/or storage.
- the plurality of sensors may include a variety of different types of sensors.
- sensors include: image sensors, sound sensors, inertial measurement sensors (Inertial Measurement Unit, IMU), positioning sensors (Global Positioning System, GPS), temperature sensors, or a variety of distance sensors.
- IMU Inertial Measurement Unit
- GPS Global Positioning System
- temperature sensors or a variety of distance sensors.
- different types of sensors generate different first data; different first data have different properties.
- an image sensor may acquire image information around the movable platform to generate image data.
- the image data may include one or more consecutive or consecutive image frames.
- the acquisition of the image information may be acquired by the user controlling the image sensor, for example, acquisition according to an image acquisition program preset by the user, or acquisition according to the current trigger operation of the user.
- sound sensors may collect sound information around the movable platform to generate sound data.
- the inertial measurement sensor may collect at least one of acceleration data, tilt data, shock data, vibration data, rotation data, and multi-degree-of-freedom motion data of the movable platform.
- a positioning sensor may collect position information of the movable platform to generate position data.
- a temperature sensor may collect temperature information and/or ambient temperature information inside the movable platform to generate interior temperature data and/or ambient temperature data.
- a distance sensor may collect distance information from the movable platform to the target to generate target distance data.
- the attribute of the first data may be determined according to at least one of the following: data type, data importance, data volume, or data source.
- different first data have their own different characteristics. According to the characteristics of different first data, the attribute of the first data can be determined, and it is convenient to determine the corresponding compression parameter based on the attribute, thereby improving data collection, storage, and transmission. , processing efficiency, etc.
- attributes may include multiple pre-sorted different categories.
- different categories of the same attribute may correspond to different compression parameters, or at least some of the categories may have the same compression parameters at least partially.
- different categories of different attributes may correspond to different compression parameters respectively, and the corresponding compression parameters may be at least partially the same.
- the first data may include a variety of different attributes, therefore, based on the categories of different attributes of the first data, the first data may correspond to a variety of different compression parameters.
- the compression parameters include at least one of the following: compression ratio, compression speed, or compression quality.
- the compression rate may refer to the ratio of the size of the compressed data to the size of the data before compression;
- the compression speed may refer to the time used to compress the data of a unit size;
- the compression quality may include lossy compression or lossless compression.
- categories of data types may include: image data and non-image data. Further, the category of non-image data may further include: at least one of sound data, temperature data, target distance data, and location data.
- the first data of different attributes corresponds to different compression parameters, which may include:
- the first data When the first data is image data, it corresponds to at least one of the following compression parameters: a first compression rate and lossy compression;
- the first data is non-image data
- no compression is performed, or corresponds to at least one of the following compression parameters: a second compression rate, lossless compression; wherein, the first compression rate is smaller than the second compression rate.
- the data volume of image data is usually much larger than that of non-image data, but the data quality requirements are relatively low, so a smaller first compression rate and/or lossy compression can be used to compress the image data in real time,
- a smaller first compression rate and/or lossy compression can be used to compress the image data in real time,
- the storage space of the entire online data is reduced to store more data; the amount of non-image data is generally small, and a larger second compression rate and/or lossless compression can be used for real-time compression, or even no compression.
- data types can also be divided into more categories, and each category can correspond to at least one of the following: different compression rates, different compression speeds, or different compression qualities; in other embodiments, the data types Different categories of , may also correspond to at least one compression parameter of the same compression ratio, compression speed, or compression quality, which is not limited herein.
- the categories of data importance may include: important data and unimportant data.
- the category of the data importance level can also be set with multiple different importance levels; for example, the first importance level, the second importance level, ..., the nth importance level, where n is a positive integer, the data importance level can be From the first importance level to the nth importance level, it increases or decreases sequentially, which is not limited here.
- the first data of different attributes corresponds to different compression parameters, which may include:
- the first data is important data
- no compression is performed, or corresponds to at least one of the following compression parameters: a third compression rate, lossless compression;
- the first data When the first data is unimportant data, it corresponds to at least one of the following compression parameters: a fourth compression ratio and lossy compression; wherein, the fourth compression ratio is smaller than the third compression ratio.
- the different importance levels may respectively correspond to at least one of the following: different compression rates, different compression speeds, or different compression qualities .
- the ith importance level may correspond to at least one of the following compression parameters: the ith 1st compression rate, the ith 2nd compression rate, and the ith 3rd compression quality; if i is less than n, the ith 3rd compression quality includes lossy compression or lossless compression;
- the i-1 th importance level may correspond to at least one of the following compression parameters: i-1 1st compression rate, i-1 2nd compression rate, i-1 3rd compression quality; i-1 3rd compression quality includes lossy compression or lossless compression.
- the i- 1th compression rate is greater than the i- 1 -th compression rate; when the i-th importance level is less important than the i-1th importance level, The i 1 th compression ratio is smaller than the i-1 1 th compression ratio.
- the categories of data sources may include: a first sensor and a second sensor. Further, the category of the data source may also include other sensors in the mobile platform, which is not limited here.
- the first data of different attributes corresponds to different compression parameters, which may include:
- the data source of the first data is the second sensor, it corresponds to at least one of the following compression parameters: a sixth compression ratio and lossy compression; wherein the sixth compression ratio is smaller than the fifth compression ratio.
- the categories of data sources when they include multiple different sensors, they may correspond to at least one of the following: different compression rates, different compression speeds, or different compression qualities. In other embodiments, different categories of data sources may also correspond to at least one compression parameter of the same compression ratio, compression speed, or compression quality, which is not limited herein.
- the categories of the size of the data volume may include: greater than or equal to a data volume threshold and less than a data volume threshold.
- the first data of different attributes corresponds to different compression parameters, which may include:
- the eighth compression ratio When the data volume of the first data is greater than or equal to the data volume threshold, it corresponds to at least one of the following compression parameters: the eighth compression ratio, lossy compression; the eighth compression ratio is smaller than the seventh compression ratio.
- the first data with a large amount of data may occupy a large storage space, and a smaller compression rate can be used to reduce the storage space occupied by the first data, while the storage space occupied by the first data with a small amount of data Not much, larger compression ratios and/or lossless compression can be used.
- multiple different data volume thresholds may also be set for the category of the size of the data volume, so as to divide multiple data volume levels; for example, the first data volume threshold, ..., the mth data volume threshold, where m is positive integer.
- the categories of the data volume size may include: the first data volume level, which is smaller than the first data volume level a data volume threshold; a second data volume level, greater than or equal to the first data volume threshold and less than the second data volume threshold; ...; the mth data volume level, greater than or equal to the m-1th data volume threshold and less than the mth data volume threshold Data volume threshold; the m+1th data volume level, greater than or equal to the mth data volume threshold.
- the different data volume levels may respectively correspond to at least one of the following: different compression rates, different compression speeds, or different compression rates quality.
- the pth data volume level may correspond to at least one of the following compression parameters: the p1th compression rate, the p2th compression rate, and the p3th compression quality; if p is less than m, the p3th compression quality includes lossy compression or lossless compression ;
- the p-1 data volume level may correspond to at least one of the following compression parameters: the p-1 1st compression rate, the p-1 2nd compression rate, the p-1 3rd compression quality; the p-1 3rd compression quality includes: lossy or lossless compression.
- a larger data volume level indicates a larger data volume of the first data
- the p1th compression rate is smaller than the p ⁇ 11th compression rate.
- step S120 based on the attributes of the first data, the first data is compressed in real time by using corresponding compression parameters, including:
- the first data is compressed in real time using different compression parameters based on different categories of attributes.
- the compression parameters are determined according to different attributes of the first data, which can meet the user's data requirements from different angles. For example, when a user uses a mobile platform to take images or record videos, he wants to collect image data for as long as possible. At this time, according to the data type, a compression parameter with a smaller compression ratio can be determined under the premise of satisfying the image quality requirements. In order to save the storage space as much as possible, the image data can be collected for a longer period of time; when the user pays less attention to some data of the mobile platform, such as when the user is using the hand-held PTZ or driving recorder, the user may not pay much attention to the hand-held camera.
- the location information, temperature information and other data in the PTZ and driving recorder or even do not need these data at all, you can use these data as unimportant data, use compression parameters with a smaller compression rate, and compress as much as possible, so that you can More or more accurate storage of relatively important data (such as image data, sound data); when the user may pay less attention to the data content of the mobile platform itself, and hope to collect as many and comprehensive data of each sensor as possible.
- relatively important data such as image data, sound data
- the data with a large amount of data can be compressed using the compression parameters with a small compression rate to release the storage space as much as possible, so that the first data generated by each sensor can be stored more and comprehensively; at that time, the user may
- the performance of some devices of the movable platform is more concerned, such as the accuracy and sensitivity of the positioning sensors and inertial measurement sensors of unmanned aerial vehicles, and the accuracy and sensitivity of distance sensors and positioning sensors of unmanned vehicles, which require accurate data from these sensors. Therefore, it can be determined according to the data source that these sensors can use a larger compression rate or lossless compression, or even no compression, to ensure the integrity and accuracy of the first data generated by these sensors, and it is convenient for users to monitor the performance of these sensors. .
- the different compression parameters used by the above-mentioned various attributes are only examples and are not intended to limit the compression parameters of the attributes. In different cases, the compression parameters can be set according to user needs, which is not limited here. .
- the attribute includes a data type
- the categories of the data type include: image data and non-image data, and based on the attribute of the first data, the first data is compressed in real time using corresponding compression parameters, including:
- the first data is image data
- real-time compression is performed using a second compression rate and/or lossless compression, or no compression is performed; wherein the first compression rate is smaller than the second compression rate.
- the first compression rate is used to make the compression quality of the image data meet a preset standard and also meet a preset compression time.
- the image data may be compressed at a minimum compression rate that enables the compression quality of the image data to reach a preset standard, so as to compress the image data as much as possible to save storage space.
- the movable platform can be an unmanned aerial vehicle, a gimbal vehicle, a handheld gimbal, or a driving recorder.
- the user controls the operation of the movable platform, and the movable platform can pass an image sensor (such as a camera) during the movement process.
- the image data can belong to: image data category in the data type attribute, non-important data category in the data importance attribute, and data volume
- the category of the size attribute is greater than or equal to the data volume threshold, or the camera category in the data source attribute; different categories of the above attributes correspond to different compression parameters, and the mobile platform can use the corresponding compression parameters to perform real-time processing on the first data.
- Compression for example, compressing the image data in real time with a first compression rate and/or a lossy compression manner to obtain compressed image data, and storing the compressed image data locally on the mobile platform.
- the collected image data is compressed in real time, the storage space of the collected data is reduced, and more image data can be collected , take more photos or record more videos.
- the user may wish to view the captured photos or videos on the computer device, and the compressed image data stored in the mobile platform can be moved to the computer device, because the compressed image data is moved.
- Image data compared to moving uncompressed image data in the traditional method, has a faster transmission rate, which greatly shortens the user's waiting time.
- the first data may include image data and/or sound data
- the method may further include:
- the designated terminal uses different compression parameters to compress the image data and/or the sound data based on the attributes of the image data and/or the sound data, and stores the compressed image data and/or the sound data.
- the designated terminal may be a ground control terminal, for example, a ground controller, a control base station, etc.; it may also be a designated server.
- the ground control terminal is used for communication connection with the movable platform, and the user can send control instructions to the movable platform through the ground control terminal.
- the manner in which the movable platform can communicate with the ground control terminal may be line-of-sight communication or non-line-of-sight communication.
- the line-of-sight communication method may be WIFI, Bluetooth, and the like.
- the non-line-of-sight communication method can be 2G, 3G, 4G, 5G and other communication networks.
- the first data can be sent to the designated terminal through line-of-sight communication or non-line-of-sight communication, and the designated terminal receives the first data online in real time, and determines The attribute of the first data; if the first data includes image data and/or sound data, then the designated terminal obtains the image data and/or sound data in real time online, and it can be determined that the image data and/or sound data can belong to the data type attribute image data category and/or sound data category; the image data category and/or sound data category may correspond to different compression parameters, or may correspond to the same compression parameters, and the corresponding compression parameters perform real-time on the image data and/or sound data Compression; and then store the compressed image data and/or sound data in the designated terminal.
- the storage space occupied by the online data of the mobile platform is saved, but also the time for moving the online data from the mobile platform to the designated terminal can be saved, which further improves the efficiency of data processing.
- image data and/or sound data may also belong to categories in attributes such as data importance, data volume, or data source.
- the designated terminal may also compress image data based on compression parameters corresponding to other attribute categories. and/or sound data is compressed, which is not limited here.
- the attribute includes data importance
- the categories of the importance include: important data and non-important data.
- the first data is compressed in real time using corresponding compression parameters, including:
- real-time compression is performed using a fourth compression rate and/or lossy compression, wherein the fourth compression rate is smaller than the third compression rate.
- the movable platform may be a handheld gimbal.
- the user When the user can hold the handheld gimbal to work, he may wish to have strong followability and stability of the handheld gimbal, and the followability and stability can be achieved through inertial If the measurement data is reflected, the inertial measurement data is important data for the user, and a large compression rate and/or lossless compression, or even no compression can be used to ensure the comprehensiveness and accuracy of the inertial measurement data and facilitate accurate judgment by the user.
- the performance of the handheld gimbal for other unimportant data, a smaller compression ratio and/or lossy compression can be used to provide more storage space for important data.
- the storage space occupied by non-important data can be reduced in a targeted manner, more important data can be collected, and the data efficiency can be greatly improved.
- the efficiency of data processing such as collection and storage also meets the user's personalized needs for data and improves the user experience.
- the attribute includes a data source
- the category of the data source includes: a first sensor and a second sensor, and based on the attribute of the first data, the first data is compressed in real time using corresponding compression parameters, including:
- the data source of the first data is the first sensor
- a sixth compression rate and/or lossy compression are used to perform real-time compression, wherein the sixth compression rate is smaller than the fifth compression rate.
- the existing software platform Ros Robot Operating System
- Rosbag Robot Operating System Bag
- FIG. 2 shows an example of a method for processing online data of a mobile platform according to an embodiment of the present invention.
- the camera sensor in the mobile platform collects image data
- the data source of the image data is the camera sensor
- other sensors such as inertial measurement sensors collect motion data, positioning sensors collect position data
- the data source of the motion data is Inertial measurement sensor
- the data source of the position data is the positioning sensor
- the movable platform can determine that the image data belongs to the camera sensor category of the data source attribute, and compress the image data in real time with the corresponding compression parameters, and the image data is compressed after compression.
- the data volume can be reduced to several times (such as 10 times), while the data collected by other sensors, such as motion data and position data, is relatively small and does not need to be compressed; the mobile platform will compress the data.
- the resulting image data and uncompressed data collected by other sensors are stored in the storage medium of the removable platform. Then, it can not only solve the problem that the mobile platform cannot collect data due to the huge amount of data, but also the amount of data stored after compression is smaller, which saves the storage space and the time for users to move the data, and greatly improves the data processing efficiency. effectiveness.
- the attribute includes the size of the data amount
- the category of the size of the data amount includes: greater than or equal to the data amount threshold and less than the data amount threshold, and based on the attribute of the first data, the first data is processed by using corresponding compression parameters.
- Real-time compression including:
- real-time compression is performed using an eighth compression ratio and/or lossy compression, wherein the eighth compression ratio is smaller than the seventh compression ratio.
- the movable platform may be an autonomous vehicle, and the autonomous vehicle may generate various types of image data, distance data to other objects, inertial measurement data, position data, temperature data, etc.
- the safe operation of autonomous vehicles requires comprehensive consideration of multiple types of data. Users want to store multiple types of data comprehensively, and the accuracy requirements for each type of data are relatively low, such as image data. Since the autonomous vehicle collects a large amount of image data in multiple directions, it occupies a large storage space, and the user wants to store more types of sensor data, the image data can meet the image quality requirements.
- Image data with a data volume threshold is compressed with a smaller compression rate, and other sensor data whose data volume does not exceed the data volume threshold are compressed with a larger compression rate or lossless compression, or even no compression; compared with the traditional method All sensor data are directly stored, and the method according to the embodiment of the present invention can reduce the storage space occupied by data with a large amount of data, enable users to obtain more comprehensive sensor data, and improve the efficiency of data processing such as data collection and storage .
- sensor data corresponding to various attributes and categories are only examples, and are not intended to limit the various attributes and categories of the first data.
- storing the compressed first data may include: storing the compressed first data locally on the mobile platform.
- the movable platform includes at least one of: an unmanned aerial vehicle, a car, a remote control car, and a robot.
- the user may need to obtain the online data on other devices; and/or perform data processing on the online data on other devices. Then, the compressed online data can be moved (eg, copied) to other devices (eg, computer devices) for data processing.
- the compressed online data can be moved (eg, copied) to other devices (eg, computer devices) for data processing.
- FIG. 3 shows a schematic flowchart of a method for processing online data of a mobile platform according to an embodiment of the present invention.
- method 300 includes:
- Step S310 obtain the online data of the movable platform offline, wherein the online data of the movable platform includes compressed first data; wherein, the compressed first data is obtained by compressing the first data through corresponding compression parameters, and the first data of different attributes is obtained.
- the data corresponds to different compression parameters;
- Step S320 decompress the compressed first data to obtain decompressed data
- Step S330 offline processing is performed based on the decompressed data.
- the compressed first data is obtained offline, and is decompressed for offline processing. Compared with directly obtaining the uncompressed first data in the traditional method, the data volume of the compressed first data is smaller, which greatly improves the data transmission rate.
- the offline processing includes: offline simulation, or offline playback.
- the offline simulation includes:
- the movable platform is simulated and operated based on at least part of the decompressed data.
- the decompressed data is played according to the time stamp in the simulation environment corresponding to the mobile platform, so as to simulate the actual operation of the mobile platform, so as to realize the function of offline simulation. Users can adjust the parameters of the movable platform in the offline simulation process to continuously improve and perfect the performance of the movable platform.
- step S330 offline processing is performed based on the decompressed data, including:
- the decompressed data is screened based on a screening strategy to obtain filtered data, including one of the following:
- data within a preset time period, interval preset period, preset type, preset data source, or data quality that meets preset requirements is selected as the filtered data.
- the filtering of the decompressed data based on the filtering strategy may be performed manually or based on a machine, which is not limited herein.
- filtering the data within a preset time period in the decompressed data as the filtered data may be obtaining data of one or more preset time periods in the decompressed data as the filtered data.
- data For example, it takes a certain period of time for the mobile platform to start to run stably.
- the sensor data during this period may not necessarily be stable data, or it is less useful to the user. Data is removed, and the sensor data after stable operation is screened as the data basis for subsequent processing, thereby further reducing the amount of data processed, saving computing resources, and improving the efficiency of data processing.
- the data in the decompressed data at intervals of a preset period is selected as the filtered data, which may be a certain amount of data or data of a certain period of time obtained at every preset period, or may be obtained at every preset period. Periodically obtain the data at this moment as the filtered data. For example, if the sensor data collected by the mobile platform does not change much with time, based on the sampling principle, one frame or a certain amount of data or data in a certain period of time can be screened at a certain interval to reduce the amount of data processed. , save computing resources and improve the efficiency of data processing.
- filtering data of a preset type in the decompressed data as the filtered data may be obtaining data of one or more data types. For example, when the user pays more attention to some types of data, such as the user may want to watch the image data collected by the gimbal vehicle, the hand-held gimbal, and the unmanned aerial vehicle, the mobile platform compresses at least part of the first data online in real time, and obtains For the compressed first data, the image data and/or sound data in the decompressed first data can be filtered, and the filtered data can be played offline in any suitable display device.
- the preset data sources in the filtered decompressed data may be data obtained from one or more data sources. For example, filtering data derived from inertial measurement sensors, and/or positioning sensors, as filtered data.
- filtering the decompressed data whose data quality meets a preset requirement may include: acquiring data whose image resolution reaches a preset resolution in the image data, as the filtered data.
- the image resolution may be determined based on a machine learning algorithm. For example, a user may wish to view image data with better image quality collected by a gimbal vehicle, a handheld gimbal, or an unmanned aerial vehicle. , the image data that meets the preset resolution is directly provided to the user, which saves the user's manual screening time and improves the efficiency of data processing.
- the method 300 may further include:
- FIG. 4 shows an example of a method for processing online data of a mobile platform according to an embodiment of the present invention.
- the online data stored locally on the mobile platform includes compressed first data, where the compressed first data may include camera data compressed with corresponding compression parameters and other uncompressed sensor data ;
- the user can obtain the online data of the mobile platform offline based on any suitable electronic device (for example, personal computer, notebook computer, tablet computer, smart phone or other suitable electronic device), and decompress the compressed camera data to obtain the decompressed camera. data; and offline processing of decompressed camera data and other sensor data.
- any suitable electronic device for example, personal computer, notebook computer, tablet computer, smart phone or other suitable electronic device
- FIG. 5 shows a schematic flowchart of a method for processing online data of a mobile platform according to an embodiment of the present invention.
- the movable platform includes a plurality of sensors, and the method 500 includes:
- Step S510 obtain the first data generated by the sensor online in real time to determine the attribute of the first data
- Step S520 Based on the attributes of the first data, use corresponding compression parameters to compress the first data in real time; wherein, the first data of different attributes correspond to different compression parameters;
- Step S530 storing the compressed first data
- Step S540 obtain the compressed first data offline
- Step S550 decompress the compressed first data to obtain decompressed data
- Step S560 offline processing is performed based on the decompressed data.
- the sensor collects parameters online to generate the first data during the operation of the movable platform, and the first data can have different attributes and correspond to one category in each attribute; each category in each attribute has Corresponding compression parameters, these compression parameters may be the same or different, and are not limited here; the movable platform may compress the first data in real time according to the compression parameters corresponding to the category of one of the attributes of the first data, and obtain The compressed first data; and the compressed first data is stored locally on the mobile platform.
- the user can obtain the compressed first data offline on other terminals, such as computer equipment, and decompress the compressed first data to obtain decompressed data; and then perform offline processing on the decompressed data.
- FIG. 6 shows a schematic block diagram of an apparatus for processing online data of a mobile platform according to an embodiment of the present invention.
- Apparatus 600 includes:
- One or more programs are stored in the memory 610 and are configured to be executed by the processor 620, and the processor 620, when executing the one or more programs, implements the mobile platform online data according to embodiments of the present invention Some or all of the steps or any combination of the steps in the processing method.
- the memory 610 may be loaded with various computer programs such as an operating system and application programs for the processor 620 to execute, and data required for executing the computer programs.
- memory 210 may be volatile memory or non-volatile memory, and may include both volatile and non-volatile memory.
- the non-volatile memory can be a read-only memory (ROM, Read Only Memory), a programmable read-only memory (PROM, Programmable Read-Only Memory), an erasable programmable read-only memory (EPROM, Erasable Programmable Read-only memory) Only Memory), Electrically Erasable Programmable Read-Only Memory (EEPROM, Electrically Erasable Programmable Read-Only Memory), Magnetic Random Access Memory (FRAM, ferromagnetic random access memory), Flash Memory (Flash Memory), Magnetic Surface Memory , CD-ROM, or CD-ROM (Compact Disc Read-Only Memory); magnetic surface memory can be disk memory or tape memory.
- RAM Random Access Memory
- SRAM Static Random Access Memory
- SSRAM Synchronous Static Random Access Memory
- DRAM Dynamic Random Access Memory
- SDRAM Synchronous Dynamic Random Access Memory
- DDRSDRAM Double Data Rate Synchronous Dynamic Random Access Memory
- ESDRAM Enhanced Type Synchronous Dynamic Random Access Memory
- SLDRAM Synchronous Link Dynamic Random Access Memory
- DRRAM Direct Rambus Random Access Memory
- the memory 610 described in the embodiments of the present invention is intended to include these and any other suitable types of memory.
- the processor 620 may be implemented by software, hardware, firmware, or a combination thereof, and may use circuits, single or multiple application-specific integrated circuits (ASICs), digital signal processors (Digital Signal Processors) Processor, DSP), Digital Signal Processing Device (DSPD), Programmable Logic Device (Programmable Logic Device, PLD), Field Programmable Gate Array (Field Programmable Gate Array, FPGA), Central Processing Unit (Central Processing) At least one of Unit, CPU), controller, microcontroller, and microprocessor, so that the processor 620 can execute part of the steps in the method for processing online data of the mobile platform in the various embodiments of the present application or All or any combination of steps.
- ASICs application-specific integrated circuits
- DSP digital signal processors
- DSPD Digital Signal Processing Device
- PLD Programmable Logic Device
- Field Programmable Gate Array Field Programmable Gate Array
- FPGA Field Programmable Gate Array
- CPU Central Processing Unit
- a computer-readable storage medium stores a plurality of program instructions. After the plurality of program instructions are called and executed by a processor, the program instructions in the various embodiments of the present invention can be executed. Part or all of the steps or any combination of the steps in the method for processing the online data of the mobile platform.
- a mobile platform including: an online data processing apparatus based on the mobile platform according to the embodiment of the present invention.
- the movable platform and the online data processing method, device and storage medium of the embodiment of the present invention greatly reduce the storage capacity of online data, save storage space and improve the performance of online data by performing real-time compression when collecting data online.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
A movable platform and an online data processing method and apparatus therefor, and a storage medium. The movable platform comprises multiple sensors. The method comprises: obtaining, online and in real time, first data generated by sensors, so as to determine an attribute of the first data (S110); performing, on the basis of the attribute of the first data, real-time compression on the first data by using a corresponding compression parameter, wherein the first data having different attributes corresponds to different compression parameters (S120); and storing the compressed first data (S130). Real-time compression is performed when data is acquired online, such that the storage volume of online data is greatly reduced, the storage space is saved, and the data transmission rate and the data processing efficiency are improved.
Description
本发明涉及可移动平台技术领域,尤其涉及可移动平台在线数据的处理。The present invention relates to the technical field of mobile platforms, in particular to the processing of online data of the mobile platforms.
现有的智能机器(如机器人)都设置有很多不同类型的传感器,这些不同类型的传感器在智能机器工作时采集相应的数据,尤其是图像传感器采集图像数据,这使得采集和存储的数据量越来越大。然而,目前成本相对较低的存储介质,如SATA口的固态硬盘,实际使用的速度带宽无法满足大数据量的数据采集,且将采集到的大量数据转移至其他存储装置时,传输效率低,费时费力,同时占用大量的存储空间。Existing intelligent machines (such as robots) are equipped with many different types of sensors. These different types of sensors collect corresponding data when the intelligent machine is working, especially the image sensor collects image data, which makes the amount of collected and stored data more and more. come bigger. However, the current relatively low-cost storage media, such as solid-state drives with SATA ports, cannot actually use the speed bandwidth to collect large amounts of data, and the transmission efficiency is low when the large amounts of collected data are transferred to other storage devices. It is time-consuming and labor-intensive, and takes up a lot of storage space at the same time.
发明内容SUMMARY OF THE INVENTION
本发明实施例提供一种可移动平台及其在线数据的处理方法、装置、存储介质,以至少解决上述问题之一。Embodiments of the present invention provide a movable platform and a method, device, and storage medium for processing online data thereof, so as to solve at least one of the above problems.
根据本发明实施例的第一方面,提供了一种可移动平台在线数据的处理方法,所述可移动平台包括多个传感器,所述方法包括:According to a first aspect of the embodiments of the present invention, a method for processing online data of a mobile platform is provided, the mobile platform includes a plurality of sensors, and the method includes:
在线实时获取所述传感器生成的第一数据,以确定所述第一数据的属性;Obtain the first data generated by the sensor online in real time to determine the attribute of the first data;
基于所述第一数据的属性,采用相应的压缩参数对所述第一数据进行实时压缩;其中,不同属性的第一数据对应不同的压缩参数;Based on the attributes of the first data, use corresponding compression parameters to compress the first data in real time; wherein, the first data of different attributes correspond to different compression parameters;
存储压缩后的第一数据。The compressed first data is stored.
根据本发明实施例的第二方面,提供了一种可移动平台在线数据的处理方法,其特征在于,所述方法包括:According to a second aspect of the embodiments of the present invention, a method for processing online data of a mobile platform is provided, wherein the method includes:
离线获取所述可移动平台在线数据,其中所述可移动平台在线数据包括被压缩的第一数据;其中,所述被压缩的第一数据由第一数据经过相应的压缩参数压缩得到,不同属性的第一数据对应不同的压缩参数;The online data of the movable platform is obtained offline, wherein the online data of the movable platform includes compressed first data; wherein, the compressed first data is obtained by compressing the first data through corresponding compression parameters, and different attributes The first data corresponding to different compression parameters;
对所述被压缩的第一数据进行解压缩,得到解压缩后的数据;Decompressing the compressed first data to obtain decompressed data;
基于所述解压缩后的数据进行离线处理。Offline processing is performed based on the decompressed data.
根据本发明实施例的第三方面,提供了一种可移动平台在线数据的处理方法,所述可移动平台包括多个传感器,所述方法包括:According to a third aspect of the embodiments of the present invention, a method for processing online data of a mobile platform is provided, the mobile platform includes a plurality of sensors, and the method includes:
在线实时获取所述传感器生成的第一数据,以确定所述第一数据的属性;Obtain the first data generated by the sensor online in real time to determine the attribute of the first data;
基于所述第一数据的属性,采用相应的压缩参数对所述第一数据进行实时压缩;其中,不同属性的第一数据对应不同的压缩参数;Based on the attributes of the first data, use corresponding compression parameters to compress the first data in real time; wherein, the first data of different attributes correspond to different compression parameters;
存储压缩后的第一数据;storing the compressed first data;
离线获取所述被压缩后的第一数据;obtaining the compressed first data offline;
对所述被压缩的第一数据进行解压缩,得到解压缩后的数据;Decompressing the compressed first data to obtain decompressed data;
基于所述解压缩后的数据进行离线处理。Offline processing is performed based on the decompressed data.
根据本发明实施例的第四方面,提供了一种可移动平台在线数据的处理装置,所述装置包括:According to a fourth aspect of the embodiments of the present invention, there is provided an apparatus for processing online data of a mobile platform, the apparatus comprising:
存储器;memory;
处理器;processor;
一个或多个程序,所述一个或多个程序被存储在所述存储器中,并且被配置成由所述处理器执行,所述处理器执行所述一个或多个程序时实现以下步骤:one or more programs stored in the memory and configured to be executed by the processor, the processor performing the following steps when executing the one or more programs:
在线实时获取所述传感器生成的第一数据,以确定所述第一数据的属性;Obtain the first data generated by the sensor online in real time to determine the attribute of the first data;
基于所述第一数据的属性,采用相应的压缩参数对所述第一数据进行实时压缩;其中,不同属性的第一数据对应不同的压缩参数;Based on the attributes of the first data, use corresponding compression parameters to compress the first data in real time; wherein, the first data of different attributes correspond to different compression parameters;
存储压缩后的第一数据。The compressed first data is stored.
根据本发明实施例的第五方面,提供了一种可移动平台在线数据的处理装置,所述装置包括:According to a fifth aspect of the embodiments of the present invention, an apparatus for processing online data of a mobile platform is provided, and the apparatus includes:
存储器;memory;
处理器;processor;
一个或多个程序,所述一个或多个程序被存储在所述存储器中,并且被配置成由所述处理器执行,所述处理器执行所述一个或多个程序时实现以下步骤:one or more programs stored in the memory and configured to be executed by the processor, the processor performing the following steps when executing the one or more programs:
离线获取所述可移动平台在线数据,其中所述可移动平台在线数据包括被压缩的第一数据;其中,所述被压缩的第一数据由第一数据经过相应的压缩参数压缩得到,不同属性的第一数据对应不同的压缩参数;The online data of the movable platform is obtained offline, wherein the online data of the movable platform includes compressed first data; wherein, the compressed first data is obtained by compressing the first data through corresponding compression parameters, and different attributes The first data corresponding to different compression parameters;
对所述被压缩的第一数据进行解压缩,得到解压缩后的数据;Decompressing the compressed first data to obtain decompressed data;
基于所述解压缩后的数据进行离线处理。Offline processing is performed based on the decompressed data.
根据本发明实施例的第六方面,提供了一种可移动平台在线数据的处理装置,所述装置包括:According to a sixth aspect of the embodiments of the present invention, there is provided an apparatus for processing online data of a mobile platform, the apparatus comprising:
存储器;memory;
处理器;processor;
一个或多个程序,所述一个或多个程序被存储在所述存储器中,并且被配置成由所述处理器执行,所述处理器执行所述一个或多个程序时实现以下步骤:one or more programs stored in the memory and configured to be executed by the processor, the processor performing the following steps when executing the one or more programs:
在线实时获取所述传感器生成的第一数据,以确定所述第一数据的属性;Obtain the first data generated by the sensor online in real time to determine the attribute of the first data;
基于所述第一数据的属性,采用相应的压缩参数对所述第一数据进行实时压缩;其中,不同属性的第一数据对应不同的压缩参数;Based on the attributes of the first data, use corresponding compression parameters to compress the first data in real time; wherein, the first data of different attributes correspond to different compression parameters;
存储压缩后的第一数据;storing the compressed first data;
离线获取所述被压缩后的第一数据;对所述被压缩的第一数据进行解压缩,得到解压缩后的数据;Obtaining the compressed first data offline; decompressing the compressed first data to obtain decompressed data;
基于所述解压缩后的数据进行离线处理。Offline processing is performed based on the decompressed data.
根据本发明实施例的第七方面,提供了一种计算机可读存储介质,包括:程序,所述程序能够被处理器执行以实现根据本发明实施例的第一方面至第三方面所述的方法。According to a seventh aspect of the embodiments of the present invention, there is provided a computer-readable storage medium, comprising: a program that can be executed by a processor to implement the first to third aspects of the embodiments of the present invention method.
根据本发明实施例的第八方面,提供了一种可移动平台,包括:根据本发 明实施例的第四方面至第六方面所述的装置。According to an eighth aspect of an embodiment of the present invention, there is provided a movable platform, comprising: the apparatus according to the fourth aspect to the sixth aspect of the embodiment of the present invention.
本发明实施例的可移动平台及其在线数据的处理方法、装置、存储介质,通过在线采集数据时进行实时压缩,极大降低了在线数据的存储量,节省了存储空间并提高了数据传输的速率和数据处理的效率。The movable platform and the online data processing method, device, and storage medium according to the embodiments of the present invention greatly reduce the storage amount of online data, save storage space, and improve the efficiency of data transmission by performing real-time compression when collecting data online. speed and efficiency of data processing.
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained according to these drawings without creative efforts.
图1是根据本发明实施例的可移动平台在线数据的处理方法的示意性流程图;1 is a schematic flowchart of a method for processing online data of a mobile platform according to an embodiment of the present invention;
图2是根据本发明实施例的可移动平台在线数据的处理方法的示例;2 is an example of a method for processing online data of a mobile platform according to an embodiment of the present invention;
图3是根据本发明实施例的可移动平台在线数据的处理方法的示意性流程图;3 is a schematic flowchart of a method for processing online data of a mobile platform according to an embodiment of the present invention;
图4是根据本发明实施例的可移动平台在线数据的处理方法的示例;4 is an example of a method for processing online data of a mobile platform according to an embodiment of the present invention;
图5是根据本发明实施例的可移动平台在线数据的处理方法的示意性流程图;5 is a schematic flowchart of a method for processing online data of a mobile platform according to an embodiment of the present invention;
图6是根据本发明实施例的可移动平台在线数据的处理装置的示意性框图。FIG. 6 is a schematic block diagram of an apparatus for processing online data of a mobile platform according to an embodiment of the present invention.
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
由于现有存储介质的存储速度和存储空间的制约,极大限制了数据的采集和存储等数据处理的效率。随着数据量的不断增加,现有的存储介质实际使用 的速度带宽无法满足大数据量的数据采集,例如,现有的智能机器在运行过程中,所产生的传感器数据的数据量极大,智能机器自身的存储能力有限,有时不能实现大数据量的数据采集,或者将采集的数据转移到其他存储装置中时,费时费力,且也占用了巨大的存储空间。Due to the limitation of the storage speed and storage space of the existing storage medium, the efficiency of data processing such as data collection and storage is greatly limited. With the continuous increase of the amount of data, the speed bandwidth actually used by the existing storage media cannot meet the data collection of large amounts of data. The storage capacity of the intelligent machine itself is limited, and sometimes it cannot realize the data collection of a large amount of data, or when the collected data is transferred to other storage devices, it is time-consuming and laborious, and it also occupies a huge storage space.
其中,智能机器可以是可移动平台,包括空中载具(例如无人飞行器)、地面载具(例如云台车、自动驾驶车辆)、或其他适合的可移动设备(例如手持云台、行车记录仪)。在上述智能机器的使用过程中,空中载具在空中移动时,可能需要采集至少一个方向上的图像数据、与其他物体之间的距离数据、移动位置数据、声音数据,机器内部温度数据、机器环境温度数据、以及机器运行参数等中的一种或多种数据;地面载具在地面移动时,例如云台车、自动驾驶车辆可能需要采集至少一个方向上的图像数据和/或声音数据;其中,自动驾驶车辆可能还需要采集其自身周围与其他物体之间的距离数据、移动位置数据等;而其他适合的可移动设备在工作时,也可能需要采集至少一个方向上的图像数据和/或声音数据等。所以,智能机器需要采集的数据的数据量不断增加,尤其是图像数据、声音数据等类型的数据量的急剧增加,给智能机器的数据采集、存储等均带来了巨大的压力,导致智能机器不能实现大数据量的数据采集和/存储。Wherein, the intelligent machine can be a movable platform, including an air vehicle (such as an unmanned aerial vehicle), a ground vehicle (such as a gimbal vehicle, an autonomous vehicle), or other suitable mobile devices (such as a handheld gimbal, a driving recorder) instrument). During the use of the above-mentioned intelligent machine, when the aerial vehicle moves in the air, it may be necessary to collect image data in at least one direction, distance data from other objects, moving position data, sound data, machine internal temperature data, machine One or more of ambient temperature data, machine operating parameters, etc.; when ground vehicles move on the ground, such as PTZ vehicles and autonomous vehicles, it may be necessary to collect image data and/or sound data in at least one direction; Among them, the self-driving vehicle may also need to collect distance data between itself and other objects, movement position data, etc.; while other suitable mobile devices may also need to collect image data and/or image data in at least one direction when working. or sound data, etc. Therefore, the amount of data that needs to be collected by smart machines continues to increase, especially the sharp increase in the amount of data such as image data and sound data, which brings enormous pressure to the data collection and storage of smart machines. Data collection and/storage of large amounts of data cannot be achieved.
而且,在智能机器采集完的数据后,用户往往希望在其他电子设备(例如,个人计算机、手机、显示装置等种合适的设备)上进行播放或处理,这又需要将如此大数据量的数据从智能机器转移到其他电子设备的存储装置中,而传统的智能机器的数据采集、存储方式,在进行数据传输时也由于数据量巨大而限制了数据的传输效率,造成用户在整个获取和/或处理数据的过程中效率低,浪费巨大的时间和精力。基于上述考虑,根据本发明实施例,提供了一种可移动平台在线数据的处理方法,参见图1,图1示出了根据本发明实施例的可移动平台在线数据的处理方法的示意性流程图。如图1所示,可移动平台包括多个传感器,方法100包括:Moreover, after the data collected by the smart machine, users often want to play or process it on other electronic devices (for example, personal computers, mobile phones, display devices and other suitable devices), which in turn needs to convert such a large amount of data From smart machines to storage devices of other electronic devices, the traditional data collection and storage methods of smart machines also limit the efficiency of data transmission due to the huge amount of data during data transmission. Or the process of processing data is inefficient and wastes huge time and energy. Based on the above considerations, according to an embodiment of the present invention, a method for processing online data of a mobile platform is provided. Referring to FIG. 1 , FIG. 1 shows a schematic flow of the method for processing online data of a mobile platform according to an embodiment of the present invention. picture. As shown in FIG. 1, the movable platform includes a plurality of sensors, and the method 100 includes:
步骤S110,在线实时获取传感器生成的第一数据,以确定第一数据的属性;Step S110, acquiring the first data generated by the sensor online in real time to determine the attribute of the first data;
步骤S120,基于第一数据的属性,采用相应的压缩参数对第一数据进行实时压缩;其中,不同属性的第一数据对应不同的压缩参数;Step S120, based on the attributes of the first data, using corresponding compression parameters to compress the first data in real time; wherein, the first data of different attributes correspond to different compression parameters;
步骤S130,存储压缩后的第一数据。Step S130, storing the compressed first data.
其中,在线获取可移动平台的传感器所产生的数据后,根据数据的属性以相应的压缩参数对第一数据进行实时压缩,不仅减少了存储数据所用的空间,而且提高了数据传输的速率和数据处理的效率。适合广泛用于任何在线数据采集和/或存储等数据处理的场合。Among them, after the data generated by the sensors of the movable platform are obtained online, the first data is compressed in real time with corresponding compression parameters according to the attributes of the data, which not only reduces the space used for storing data, but also improves the rate of data transmission and data. processing efficiency. Suitable for any data processing occasions such as online data acquisition and/or storage.
可选地,多个传感器可以包括多种不同类型的传感器。Optionally, the plurality of sensors may include a variety of different types of sensors.
进一步地,多种不同类型的传感器包括:图像传感器、声音传感器、惯性测量传感器(Inertial Measurement Unit,IMU)、定位传感器(Global Positioning System,GPS)、温度传感器、或距离传感器中的多种。其中,不同类型的传感器生成不同的第一数据;不同的第一数据具有不同的属性。Further, the various types of sensors include: image sensors, sound sensors, inertial measurement sensors (Inertial Measurement Unit, IMU), positioning sensors (Global Positioning System, GPS), temperature sensors, or a variety of distance sensors. Wherein, different types of sensors generate different first data; different first data have different properties.
在一些实施例中,图像传感器可以采集可移动平台周围的图像信息以生成图像数据。该图像数据可以包括一个或多个连续或连续的图像帧。该图像信息的采集,可以是用户控制图像传感器进行采集的,比如,根据用户预先设定的图像采集程序来获取,或者根据用户的当前触发操作而获取。In some embodiments, an image sensor may acquire image information around the movable platform to generate image data. The image data may include one or more consecutive or consecutive image frames. The acquisition of the image information may be acquired by the user controlling the image sensor, for example, acquisition according to an image acquisition program preset by the user, or acquisition according to the current trigger operation of the user.
在一些实施例中,声音传感器可以采集可移动平台周围的声音信息以生成声音数据。在一些实施例中,惯性测量传感器可以采集可移动平台的加速度数据、倾斜数据、冲击数据、振动数据、旋转数据和多自由度运动数据中的至少一种数据。In some embodiments, sound sensors may collect sound information around the movable platform to generate sound data. In some embodiments, the inertial measurement sensor may collect at least one of acceleration data, tilt data, shock data, vibration data, rotation data, and multi-degree-of-freedom motion data of the movable platform.
在一些实施例中,定位传感器可以采集可移动平台的位置信息以生成位置数据。In some embodiments, a positioning sensor may collect position information of the movable platform to generate position data.
在一些实施例中,温度传感器可以采集可移动平台内部的温度信息和/或环境温度信息以生成内部温度数据和/或环境温度数据。In some embodiments, a temperature sensor may collect temperature information and/or ambient temperature information inside the movable platform to generate interior temperature data and/or ambient temperature data.
在一些实施例中,距离传感器可以采集可移动平台与目标的距离信息以生成目标距离数据。In some embodiments, a distance sensor may collect distance information from the movable platform to the target to generate target distance data.
根据本发明实施例,在步骤S110中,第一数据的属性可以根据如下至少一种确定:数据类型、数据重要程度、数据量的大小、或数据来源。According to an embodiment of the present invention, in step S110, the attribute of the first data may be determined according to at least one of the following: data type, data importance, data volume, or data source.
其中,不同的第一数据均具有各自的不同特性,根据不同的第一数据的特 性,可以对确定第一数据的属性,便于基于该属性确定对应的压缩参数,从而提高数据采集、存储、传输、处理等的效率。Wherein, different first data have their own different characteristics. According to the characteristics of different first data, the attribute of the first data can be determined, and it is convenient to determine the corresponding compression parameter based on the attribute, thereby improving data collection, storage, and transmission. , processing efficiency, etc.
可选地,属性可以包括多个预先分类的不同类别。Optionally, attributes may include multiple pre-sorted different categories.
在一些实施例中,同一属性的不同类别之间可以分别对应不同的压缩参数,也可以有至少部分类别对应的压缩参数至少部分相同。In some embodiments, different categories of the same attribute may correspond to different compression parameters, or at least some of the categories may have the same compression parameters at least partially.
在一些实施例中,不同属性的不同类别可以分别对应不同的压缩参数,可以对应的压缩参数至少部分相同。In some embodiments, different categories of different attributes may correspond to different compression parameters respectively, and the corresponding compression parameters may be at least partially the same.
其中,第一数据可以包括多种不同的属性,因此,基于第一数据的不同属性的类别,第一数据可以对应多种不同的压缩参数。Wherein, the first data may include a variety of different attributes, therefore, based on the categories of different attributes of the first data, the first data may correspond to a variety of different compression parameters.
可选地,压缩参数包括如下至少一种:压缩率、压缩速度、或压缩质量。其中,压缩率可以指压缩后的数据大小与压缩前的数据大小之比;压缩速度可以指压缩单位大小的数据所使用的时间;压缩质量可以包括有损压缩或无损压缩。Optionally, the compression parameters include at least one of the following: compression ratio, compression speed, or compression quality. The compression rate may refer to the ratio of the size of the compressed data to the size of the data before compression; the compression speed may refer to the time used to compress the data of a unit size; and the compression quality may include lossy compression or lossless compression.
在一些实施例中,数据类型的类别可以包括:图像数据和非图像数据。进一步地,非图像数据的类别还可以包括:声音数据、温度数据、目标距离数据、位置数据中的至少一种。In some embodiments, categories of data types may include: image data and non-image data. Further, the category of non-image data may further include: at least one of sound data, temperature data, target distance data, and location data.
相应地,在一些实施例中,不同属性的第一数据对应不同的压缩参数,可以包括:Correspondingly, in some embodiments, the first data of different attributes corresponds to different compression parameters, which may include:
当第一数据为图像数据时,对应如下至少一种压缩参数:第一压缩率、有损压缩;When the first data is image data, it corresponds to at least one of the following compression parameters: a first compression rate and lossy compression;
当第一数据为非图像数据时,不进行压缩,或对应如下至少一种压缩参数:第二压缩率、无损压缩;其中,第一压缩率小于第二压缩率。When the first data is non-image data, no compression is performed, or corresponds to at least one of the following compression parameters: a second compression rate, lossless compression; wherein, the first compression rate is smaller than the second compression rate.
其中,图像数据的数据量通常比非图像数据的数据量大得多,但数据质量要求相对较低,所以可以采用较小的第一压缩率和/或有损压缩对图像数据进行实时压缩,从而减小整个在线数据的存储空间,以存储更多的数据;而非图像数据的数据量一般较小,可以采用较大的第二压缩率和/或无损压缩进行实时压缩,甚至不压缩。Among them, the data volume of image data is usually much larger than that of non-image data, but the data quality requirements are relatively low, so a smaller first compression rate and/or lossy compression can be used to compress the image data in real time, Thus, the storage space of the entire online data is reduced to store more data; the amount of non-image data is generally small, and a larger second compression rate and/or lossless compression can be used for real-time compression, or even no compression.
应了解,也可以将数据类型分为更多种类别,每种类别可以分别对应如下至少一种:不同的压缩率、不同的压缩速度,或不同的压缩质量;在其他实施 例中,数据类型的不同类别也可以对应于相同的压缩率、压缩速度、或压缩质量中的至少一种压缩参数,在此不做限制。It should be understood that data types can also be divided into more categories, and each category can correspond to at least one of the following: different compression rates, different compression speeds, or different compression qualities; in other embodiments, the data types Different categories of , may also correspond to at least one compression parameter of the same compression ratio, compression speed, or compression quality, which is not limited herein.
在一些实施例中,数据重要程度的类别可以包括:重要数据和非重要数据。在一些实施例中,数据重要程度的类别还可以设置多个不同的重要级别;例如,第一重要级别、第二重要级别、……、第n重要级别,n为正整数,数据重要程度可以从第一重要级别至第n重要级别依次递增或依次递减,在此不做限制。In some embodiments, the categories of data importance may include: important data and unimportant data. In some embodiments, the category of the data importance level can also be set with multiple different importance levels; for example, the first importance level, the second importance level, ..., the nth importance level, where n is a positive integer, the data importance level can be From the first importance level to the nth importance level, it increases or decreases sequentially, which is not limited here.
相应地,在一些实施例中,不同属性的第一数据对应不同的压缩参数,可以包括:Correspondingly, in some embodiments, the first data of different attributes corresponds to different compression parameters, which may include:
当第一数据为重要数据时,不进行压缩,或对应如下至少一种压缩参数:第三压缩率、无损压缩;When the first data is important data, no compression is performed, or corresponds to at least one of the following compression parameters: a third compression rate, lossless compression;
当第一数据为非重要数据时,对应如下至少一种压缩参数:第四压缩率、有损压缩;其中,第四压缩率小于第三压缩率。When the first data is unimportant data, it corresponds to at least one of the following compression parameters: a fourth compression ratio and lossy compression; wherein, the fourth compression ratio is smaller than the third compression ratio.
其中,对于比较重要的数据,对数据的精度要求较高,需要保留更多的原始数据信息,所以可以采用更大的压缩率和/或无损压缩对重要数据进行实时压缩,甚至不压缩,以保证数据信息的全面性;而对于不重要的数据,则可以采用较小的压缩率和/或有损压缩,尽量减少不重要的数据所占用的存储空间。Among them, for the more important data, the precision of the data is required to be higher, and more original data information needs to be retained, so a larger compression rate and/or lossless compression can be used to compress the important data in real time, or even not The comprehensiveness of data information is guaranteed; for unimportant data, a smaller compression rate and/or lossy compression can be used to minimize the storage space occupied by unimportant data.
应了解,在上述实施例中,数据重要程度的类别包括多个不同的重要级别时,不同的重要级别可以分别对应如下至少一种:不同的压缩率、不同的压缩速度,或不同的压缩质量。例如,第i重要级别可以对应如下至少一种压缩参数:第i
1压缩率、第i
2压缩速率、第i
3压缩质量;i小于n,第i
3压缩质量包括有损压缩或无损压缩;第i-1重要级别可以对应如下至少一种压缩参数:第i-1
1压缩率、第i-1
2压缩速率、第i-1
3压缩质量;第i-1
3压缩质量包括有损压缩或无损压缩。其中,当第i重要级别的重要程度大于第i-1重要级别时,第i
1压缩率大于第i-1
1压缩率;当第i重要级别的重要程度小于第i-1重要级别时,第i
1压缩率小于第i-1
1压缩率。
It should be understood that, in the above-mentioned embodiment, when the categories of data importance levels include multiple different importance levels, the different importance levels may respectively correspond to at least one of the following: different compression rates, different compression speeds, or different compression qualities . For example, the ith importance level may correspond to at least one of the following compression parameters: the ith 1st compression rate, the ith 2nd compression rate, and the ith 3rd compression quality; if i is less than n, the ith 3rd compression quality includes lossy compression or lossless compression; The i-1 th importance level may correspond to at least one of the following compression parameters: i-1 1st compression rate, i-1 2nd compression rate, i-1 3rd compression quality; i-1 3rd compression quality includes lossy compression or lossless compression. Among them, when the importance of the i-th importance level is greater than the i-1-th importance level, the i- 1th compression rate is greater than the i- 1 -th compression rate; when the i-th importance level is less important than the i-1th importance level, The i 1 th compression ratio is smaller than the i-1 1 th compression ratio.
在一些实施例中,数据来源的类别可以包括:第一传感器和第二传感器。进一步地,数据来源的类别还可以包括移动平台中的其他传感器,在此不做限制。In some embodiments, the categories of data sources may include: a first sensor and a second sensor. Further, the category of the data source may also include other sensors in the mobile platform, which is not limited here.
相应地,在一些实施例中,不同属性的第一数据对应不同的压缩参数,可以包括:Correspondingly, in some embodiments, the first data of different attributes corresponds to different compression parameters, which may include:
当第一数据的数据来源为第一传感器时,不进行压缩,或对应如下至少一种压缩参数:第五压缩率、无损压缩;When the data source of the first data is the first sensor, no compression is performed, or corresponding to at least one of the following compression parameters: fifth compression ratio, lossless compression;
当第一数据的数据来源为第二传感器时,对应如下至少一种压缩参数:第六压缩率、有损压缩;其中,第六压缩率小于第五压缩率。When the data source of the first data is the second sensor, it corresponds to at least one of the following compression parameters: a sixth compression ratio and lossy compression; wherein the sixth compression ratio is smaller than the fifth compression ratio.
应了解,在上述实施例中,数据来源的类别包括多个不同传感器时,可以分别对应如下至少一种:不同的压缩率、不同的压缩速度,或不同的压缩质量。在其他实施例中,数据来源的不同类别也可以对应于相同的压缩率、压缩速度、或压缩质量中的至少一种压缩参数,在此不做限制。It should be understood that, in the foregoing embodiment, when the categories of data sources include multiple different sensors, they may correspond to at least one of the following: different compression rates, different compression speeds, or different compression qualities. In other embodiments, different categories of data sources may also correspond to at least one compression parameter of the same compression ratio, compression speed, or compression quality, which is not limited herein.
在一些实施例中,数据量的大小的类别可以包括:大于或等于数据量阈值和小于数据量阈值。In some embodiments, the categories of the size of the data volume may include: greater than or equal to a data volume threshold and less than a data volume threshold.
相应地,在一些实施例中,不同属性的第一数据对应不同的压缩参数,可以包括:Correspondingly, in some embodiments, the first data of different attributes corresponds to different compression parameters, which may include:
当第一数据的数据量小于数据量阈值时,不进行压缩,或对应如下至少一种压缩参数:第七压缩率、无损压缩;When the data volume of the first data is less than the data volume threshold, no compression is performed, or corresponding to at least one of the following compression parameters: seventh compression ratio, lossless compression;
当第一数据的数据量大于或等于数据量阈值时,对应如下至少一种压缩参数:第八压缩率、有损压缩;第八压缩率小于第七压缩率。When the data volume of the first data is greater than or equal to the data volume threshold, it corresponds to at least one of the following compression parameters: the eighth compression ratio, lossy compression; the eighth compression ratio is smaller than the seventh compression ratio.
其中,数据量大的第一数据可能占用很大的存储空间,则可以采用更小的压缩率,以更多地减少其占用的存储空间,而数据量小的第一数据由于占用的存储空间不大,可以采用较大的压缩率和/或无损压缩。Among them, the first data with a large amount of data may occupy a large storage space, and a smaller compression rate can be used to reduce the storage space occupied by the first data, while the storage space occupied by the first data with a small amount of data Not much, larger compression ratios and/or lossless compression can be used.
在一些实施例中,数据量的大小的类别还可以设置多个不同的数据量阈值,以划分多个数据量等级;例如,第一数据量阈值、……、第m数据量阈值,m为正整数。In some embodiments, multiple different data volume thresholds may also be set for the category of the size of the data volume, so as to divide multiple data volume levels; for example, the first data volume threshold, ..., the mth data volume threshold, where m is positive integer.
其中,当第一数据量阈值至第m数据量阈值依次增加时,数据量等级越大表示第一数据的数据量越大,数据量的大小的类别可以包括:第一数据量等级,小于第一数据量阈值;第二数据量等级,大于或等于第一数据量阈值且小于第二数据量阈值;……;第m数据量等级,大于或等于第m-1数据量阈值且小于第m数据量阈值;第m+1数据量等级,大于或等于第m数据量阈值。Wherein, when the first data volume threshold to the mth data volume threshold increase sequentially, the larger the data volume level is, the larger the data volume of the first data is, and the categories of the data volume size may include: the first data volume level, which is smaller than the first data volume level a data volume threshold; a second data volume level, greater than or equal to the first data volume threshold and less than the second data volume threshold; ...; the mth data volume level, greater than or equal to the m-1th data volume threshold and less than the mth data volume threshold Data volume threshold; the m+1th data volume level, greater than or equal to the mth data volume threshold.
当第一数据量阈值至第m数据量阈值依次减小时,数据量等级越大表示第一数据的数据量越小,数据量的大小的类别可以包括:第一数据量等级,大于第一数据量阈值;第二数据量等级,小于或等于第一数据量阈值且大于第二数据量阈值;……;第m数据量等级,小于或等于第m-1数据量阈值且大于第m数据量阈值;第m+1数据量等级,小于或等于第m数据量阈值。When the first data volume threshold to the mth data volume threshold decrease in sequence, the larger the data volume level, the smaller the data volume of the first data. volume threshold; the second data volume level, less than or equal to the first data volume threshold and greater than the second data volume threshold; ...; the mth data volume level, less than or equal to the m-1th data volume threshold and greater than the mth data volume Threshold; the m+1th data volume level, less than or equal to the mth data volume threshold.
应了解,在上述实施例中,数据量的大小的类别包括多个数据量等级时,不同的数据量等级可以分别对应如下至少一种:不同的压缩率、不同的压缩速度,或不同的压缩质量。例如,第p数据量等级可以对应如下至少一种压缩参数:第p
1压缩率、第p
2压缩速率、第p
3压缩质量;p小于m,第p
3压缩质量包括有损压缩或无损压缩;第p-1数据量等级可以对应如下至少一种压缩参数:第p-1
1压缩率、第p-1
2压缩速率、第p-1
3压缩质量;第p-1
3压缩质量包括有损压缩或无损压缩。其中,当第一数据量阈值至第m数据量阈值依次增加时,数据量等级越大表示第一数据的数据量越大,第p
1压缩率小于第p-1
1压缩率。当第一数据量阈值至第m数据量阈值依次减少时,数据量等级越大表示第一数据的数据量大小越小,第p
1压缩率大于第p-1
1压缩率。
It should be understood that, in the above embodiment, when the category of the size of the data volume includes multiple data volume levels, the different data volume levels may respectively correspond to at least one of the following: different compression rates, different compression speeds, or different compression rates quality. For example, the pth data volume level may correspond to at least one of the following compression parameters: the p1th compression rate, the p2th compression rate, and the p3th compression quality; if p is less than m, the p3th compression quality includes lossy compression or lossless compression ; The p-1 data volume level may correspond to at least one of the following compression parameters: the p-1 1st compression rate, the p-1 2nd compression rate, the p-1 3rd compression quality; the p-1 3rd compression quality includes: lossy or lossless compression. Wherein, when the first data volume threshold to the mth data volume threshold increase in sequence, a larger data volume level indicates a larger data volume of the first data, and the p1th compression rate is smaller than the p − 11th compression rate. When the first data volume threshold to the mth data volume threshold decrease in sequence, the larger the data volume level is, the smaller the data volume of the first data is, and the p1th compression rate is greater than the p - 11th compression rate.
根据本发明实施例,在步骤S120中,基于第一数据的属性,采用相应的压缩参数对第一数据进行实时压缩,包括:According to an embodiment of the present invention, in step S120, based on the attributes of the first data, the first data is compressed in real time by using corresponding compression parameters, including:
基于属性的不同类别采用不同的压缩参数对第一数据进行实时压缩。The first data is compressed in real time using different compression parameters based on different categories of attributes.
其中,在实际应用中,用户在不同的场景下对数据会存在不同的关注度,根据第一数据的不同属性来确定压缩参数,可以从不同的角度来满足用户对数据的需求。例如,用户在使用可移动平台进行拍摄图像或录制视频时,希望尽可能长时间的采集图像数据,那么此时可以根据数据类型确定在满足图像质量要求的前提下压缩率较小的压缩参数,以尽量节省存储空间,从而可以采集更长时间的图像数据;当用户对可移动平台的一些数据关注较少时,如用户在使用手持云台、行车记录仪时,可能用户并不太关注手持云台、行车记录仪中的位置信息、温度信息等数据,甚至根本不需要这些数据,则可以将这些数据作为不重要的数据,采用压缩率较小的压缩参数,尽可能进行压缩,从而可以更多或更精确地存储相对比较重要的数据(如图像数据、声音数据);当用户可能对可移动平台的数据内容本身的关注度较低,而希望尽可能多且全面的采集 各个传感器的数据,则可以将数据量较大的数据采用压缩率较小的压缩参数进行压缩,尽可能的释放存储空间,从而可以更多且全面的存储各个传感器所产生的第一数据;当时用户可能对可移动平台的一些器件的性能比较关注,如无人飞行器的定位传感器和惯性测量传感的精度和灵敏度,无人驾驶车辆的距离传感器和定位传感器的精度和灵敏度,则需要这些传感器的精确数据,所以,可以根据数据来源来确定这些传感器可以采用较大压缩率或无损压缩,甚至不压缩,以保证这些传感器所产生的第一数据的完整性和精确,便于用户对这些传感器的性能进行监控。Among them, in practical applications, users have different degrees of attention to data in different scenarios, and the compression parameters are determined according to different attributes of the first data, which can meet the user's data requirements from different angles. For example, when a user uses a mobile platform to take images or record videos, he wants to collect image data for as long as possible. At this time, according to the data type, a compression parameter with a smaller compression ratio can be determined under the premise of satisfying the image quality requirements. In order to save the storage space as much as possible, the image data can be collected for a longer period of time; when the user pays less attention to some data of the mobile platform, such as when the user is using the hand-held PTZ or driving recorder, the user may not pay much attention to the hand-held camera. The location information, temperature information and other data in the PTZ and driving recorder, or even do not need these data at all, you can use these data as unimportant data, use compression parameters with a smaller compression rate, and compress as much as possible, so that you can More or more accurate storage of relatively important data (such as image data, sound data); when the user may pay less attention to the data content of the mobile platform itself, and hope to collect as many and comprehensive data of each sensor as possible. data, the data with a large amount of data can be compressed using the compression parameters with a small compression rate to release the storage space as much as possible, so that the first data generated by each sensor can be stored more and comprehensively; at that time, the user may The performance of some devices of the movable platform is more concerned, such as the accuracy and sensitivity of the positioning sensors and inertial measurement sensors of unmanned aerial vehicles, and the accuracy and sensitivity of distance sensors and positioning sensors of unmanned vehicles, which require accurate data from these sensors. Therefore, it can be determined according to the data source that these sensors can use a larger compression rate or lossless compression, or even no compression, to ensure the integrity and accuracy of the first data generated by these sensors, and it is convenient for users to monitor the performance of these sensors. .
应了解,上述各种属性采用的不同压缩参数仅为举例说明,并不旨在对属性的压缩参数进行限制,在不同的情况下,压缩参数均可以根据用户需要进行设置,在此不做限制。It should be understood that the different compression parameters used by the above-mentioned various attributes are only examples and are not intended to limit the compression parameters of the attributes. In different cases, the compression parameters can be set according to user needs, which is not limited here. .
在一些实施例中,属性包括数据类型,数据类型的类别包括:图像数据和非图像数据,基于第一数据的属性,采用相应的压缩参数对第一数据进行实时压缩,包括:In some embodiments, the attribute includes a data type, and the categories of the data type include: image data and non-image data, and based on the attribute of the first data, the first data is compressed in real time using corresponding compression parameters, including:
当第一数据为图像数据时,采用第一压缩率和/或有损压缩进行实时压缩;When the first data is image data, use the first compression rate and/or lossy compression to perform real-time compression;
当第一数据为非图像数据时,采用第二压缩率和/或无损压缩进行实时压缩,或不压缩;其中,第一压缩率小于第二压缩率。When the first data is non-image data, real-time compression is performed using a second compression rate and/or lossless compression, or no compression is performed; wherein the first compression rate is smaller than the second compression rate.
在一些实施例中,第一压缩率用于使图像数据的压缩质量达到预设标准的同时也满足预设的压缩时间。在一个实施例中,可以采用使图像数据的压缩质量达到预设标准的最小压缩率对图像数据进行压缩,以尽可能对图像数据见压缩以节省存储空间。In some embodiments, the first compression rate is used to make the compression quality of the image data meet a preset standard and also meet a preset compression time. In one embodiment, the image data may be compressed at a minimum compression rate that enables the compression quality of the image data to reach a preset standard, so as to compress the image data as much as possible to save storage space.
在一些实施例中,可移动平台可以是无人飞行器、云台车、手持云台、或行车记录仪,用户控制可移动平台运行,可移动平台在移动过程中可以通过图像传感器(如相机)拍照或录制视频生成图像数据,根据每种属性的多个预先分类的不同类别可以确定该图像数据可以属于:数据类型属性中的图像数据类别、数据重要程度属性中的非重要数据类别、数据量的大小属性中的大于或等于数据量阈值的类别、或数据来源属性中的相机类别;上述属性的不同类别分别对应不同的压缩参数,可移动平台可以采用对应的压缩参数对第一数据进行实时压缩,例如,以第一压缩率和/或有损压缩方式对该图像数据进行实时压 缩,得到压缩后的图像数据,并将该压缩后的图像数据存储于可移动平台本地。如此,相比于传统方法中将采集的图像数据直接进行存储,根据本发明实施例的方法,对采集的图像数据进行实时压缩,减少了已采集数据的存储空间,可以采集更多的图像数据,拍摄更多的照片或录制更多的视频。而用户在可移动平台结束运行之后,可能希望在计算机设备上观看拍到的照片或视频,可以将存储在可移动平台中压缩后的图像数据移动到计算机设备中,由于移动的是压缩后的图像数据,相比于传统方法中移动未经压缩的图像数据,具有更快速的传输速率,极大缩短了用户的等待时间。In some embodiments, the movable platform can be an unmanned aerial vehicle, a gimbal vehicle, a handheld gimbal, or a driving recorder. The user controls the operation of the movable platform, and the movable platform can pass an image sensor (such as a camera) during the movement process. Taking pictures or recording videos to generate image data, according to multiple pre-classified different categories of each attribute, it can be determined that the image data can belong to: image data category in the data type attribute, non-important data category in the data importance attribute, and data volume The category of the size attribute is greater than or equal to the data volume threshold, or the camera category in the data source attribute; different categories of the above attributes correspond to different compression parameters, and the mobile platform can use the corresponding compression parameters to perform real-time processing on the first data. Compression, for example, compressing the image data in real time with a first compression rate and/or a lossy compression manner to obtain compressed image data, and storing the compressed image data locally on the mobile platform. In this way, compared with the traditional method of directly storing the collected image data, according to the method of the embodiment of the present invention, the collected image data is compressed in real time, the storage space of the collected data is reduced, and more image data can be collected , take more photos or record more videos. After the mobile platform finishes running, the user may wish to view the captured photos or videos on the computer device, and the compressed image data stored in the mobile platform can be moved to the computer device, because the compressed image data is moved. Image data, compared to moving uncompressed image data in the traditional method, has a faster transmission rate, which greatly shortens the user's waiting time.
在一些实施例中,第一数据可以包括图像数据和/或声音数据,方法还可以包括:In some embodiments, the first data may include image data and/or sound data, and the method may further include:
指定终端在线实时获取图像数据和/或声音数据,以确定图像数据和/或声音数据的属性;Designate the terminal to acquire image data and/or sound data online in real time to determine the attributes of the image data and/or sound data;
指定终端基于图像数据和/或声音数据的属性,采用不同的压缩参数对图像数据和/或声音数据进行压缩,并存储压缩后的图像数据和/或声音数据。The designated terminal uses different compression parameters to compress the image data and/or the sound data based on the attributes of the image data and/or the sound data, and stores the compressed image data and/or the sound data.
可选地,指定终端可以是地面控制端,例如,地面控制器、控制基站等;还可以是指定服务器。其中,地面控制端用于与可移动平台通信连接,用户能够通过地面控制端向可移动平台发送控制指令。Optionally, the designated terminal may be a ground control terminal, for example, a ground controller, a control base station, etc.; it may also be a designated server. Among them, the ground control terminal is used for communication connection with the movable platform, and the user can send control instructions to the movable platform through the ground control terminal.
在一些实施例中,可移动平台能够与地面控制终端通信方式可以为视距通信方式,或者非视距通信方式。视距通信方式可以为WIFI、蓝牙等。非视距通信方式可以为2G、3G、4G、5G等通信网络。In some embodiments, the manner in which the movable platform can communicate with the ground control terminal may be line-of-sight communication or non-line-of-sight communication. The line-of-sight communication method may be WIFI, Bluetooth, and the like. The non-line-of-sight communication method can be 2G, 3G, 4G, 5G and other communication networks.
具体来说,可移动平台中的传感器生成第一数据后,可以通过视距通信方式,或者非视距通信方式将第一数据发送至指定终端,指定终端在线实时接收该第一数据,并且确定第一数据的属性;如果第一数据包括图像数据和/或声音数据,则指定终端在线实时获取该图像数据和/或声音数据,即可以确定图像数据和/或声音数据可以属于数据类型属性中的图像数据类别和/或声音数据类别;图像数据类别和/或声音数据类别可以对应不同的压缩参数,也可以对应相同的压缩参数,分别对应的压缩参数对图像数据和/或声音数据进行实时压缩;然后将压缩后的图像数据和/或声音数据存储至指定终端中。如此,不仅节省了可移动平台在线数据占用的存储空间,而且还可以省去将在线数据从 可移动平台中移动到指定终端中的时间,进一步提高了数据处理的效率。Specifically, after the sensor in the movable platform generates the first data, the first data can be sent to the designated terminal through line-of-sight communication or non-line-of-sight communication, and the designated terminal receives the first data online in real time, and determines The attribute of the first data; if the first data includes image data and/or sound data, then the designated terminal obtains the image data and/or sound data in real time online, and it can be determined that the image data and/or sound data can belong to the data type attribute image data category and/or sound data category; the image data category and/or sound data category may correspond to different compression parameters, or may correspond to the same compression parameters, and the corresponding compression parameters perform real-time on the image data and/or sound data Compression; and then store the compressed image data and/or sound data in the designated terminal. In this way, not only the storage space occupied by the online data of the mobile platform is saved, but also the time for moving the online data from the mobile platform to the designated terminal can be saved, which further improves the efficiency of data processing.
应了解,图像数据和/或声音数据还可以属于数据重要程度、数据量的大小、或数据来源等属性中的类别,类似地,指定终端也可以基于其他属性类别所对应的压缩参数对图像数据和/或声音数据进行压缩,在此不做限制。It should be understood that image data and/or sound data may also belong to categories in attributes such as data importance, data volume, or data source. Similarly, the designated terminal may also compress image data based on compression parameters corresponding to other attribute categories. and/or sound data is compressed, which is not limited here.
在一些实施例中,属性包括数据重要程度,重要程度的类别包括:重要数据和非重要数据,基于第一数据的属性,采用相应的压缩参数对第一数据进行实时压缩,包括:In some embodiments, the attribute includes data importance, and the categories of the importance include: important data and non-important data. Based on the attribute of the first data, the first data is compressed in real time using corresponding compression parameters, including:
当第一数据为重要数据时,采用第三压缩率和/或无损压缩进行实时压缩,或不压缩;When the first data is important data, use the third compression rate and/or lossless compression to perform real-time compression, or not compress;
当第一数据为非重要数据时,采用第四压缩率和/或有损压缩进行实时压缩;其中,第四压缩率小于第三压缩率。When the first data is unimportant data, real-time compression is performed using a fourth compression rate and/or lossy compression, wherein the fourth compression rate is smaller than the third compression rate.
在一些实施例中,可移动平台可以是手持云台,用户可以手持该手持云台进行工作时,可能希望手持云台具有较强的跟随性和稳定性,而跟随性和稳定性可以通过惯性测量数据进行反映,则惯性测量数据对于用户来说属于重要数据,可以采用较大压缩率和/或无损压缩、甚至不进行压缩,以保证惯性测量数据的全面性和准确性,便于用户准确判断手持云台的性能;对于其他不重要的数据则可以采用较小的压缩率和/或有损压缩,以为重要数据提供更多的存储空间。相比于传统方法中将所有传感器数据直接进行存储,根据本发明实施例的方法,可以有针对性的减少了非重要数据占用的存储空间,可以采集更多重要数据,极大提高了数据的采集、存储等数据处理的效率,也满足了用户对数据的个性化需求,提升了用户体验。在一些实施例中,属性包括数据来源,数据来源的类别包括:第一传感器和第二传感器,基于第一数据的属性,采用相应的压缩参数对第一数据进行实时压缩,包括:In some embodiments, the movable platform may be a handheld gimbal. When the user can hold the handheld gimbal to work, he may wish to have strong followability and stability of the handheld gimbal, and the followability and stability can be achieved through inertial If the measurement data is reflected, the inertial measurement data is important data for the user, and a large compression rate and/or lossless compression, or even no compression can be used to ensure the comprehensiveness and accuracy of the inertial measurement data and facilitate accurate judgment by the user. The performance of the handheld gimbal; for other unimportant data, a smaller compression ratio and/or lossy compression can be used to provide more storage space for important data. Compared with the traditional method of directly storing all sensor data, according to the method of the embodiment of the present invention, the storage space occupied by non-important data can be reduced in a targeted manner, more important data can be collected, and the data efficiency can be greatly improved. The efficiency of data processing such as collection and storage also meets the user's personalized needs for data and improves the user experience. In some embodiments, the attribute includes a data source, the category of the data source includes: a first sensor and a second sensor, and based on the attribute of the first data, the first data is compressed in real time using corresponding compression parameters, including:
当第一数据的数据来源为第一传感器,采用第五压缩率和/或无损压缩进行实时压缩,或不压缩;When the data source of the first data is the first sensor, use the fifth compression rate and/or lossless compression to perform real-time compression, or not to compress;
当第一数据的数据来源为第二传感器,采用第六压缩率和/或有损压缩进行实时压缩;其中,第六压缩率小于第五压缩率。When the data source of the first data is the second sensor, a sixth compression rate and/or lossy compression are used to perform real-time compression, wherein the sixth compression rate is smaller than the fifth compression rate.
在可移动平台的传统调试过程中,通常需要在线采集可移动平台数据,然后将采集下来的在线数据移动到计算机设备中进行处理,例如,目前已有的软 件平台Ros(Robot Operating System)中的Rosbag(Robot Operating System Bag)工具可以实现对在线数据的采集,将采集到的数据以标准消息的形式按照时间戳存储到存储介质中,鉴于可移动平台具体的相机传感器越来越多,产生的图像数据的数据量更是巨大,导致现有的在线数据采集工具无法进行大数据量的采集和存储。In the traditional debugging process of the mobile platform, it is usually necessary to collect the data of the mobile platform online, and then move the collected online data to the computer equipment for processing. For example, the existing software platform Ros (Robot Operating System) Rosbag (Robot Operating System Bag) tool can realize the collection of online data, and store the collected data in the storage medium in the form of standard messages according to time stamps. In view of the increasing number of specific camera sensors on the mobile platform, the generated The data volume of image data is even more huge, which makes the existing online data acquisition tools unable to collect and store large data volumes.
基于上述考虑,在一些实施例中,参见图2,图2示出了根据本发明实施例的可移动平台在线数据的处理方法的示例。如图2所示,可移动平台中的相机传感器采集图像数据,且该图像数据的数据来源为相机传感器;其他传感器如惯性测量传感器采集运动数据、定位传感器采集位置数据,运动数据的数据来源为惯性测量传感器,位置数据的数据来源为定位传感器;可移动平台可以确定图像数据属于数据来源属性的相机传感器类别,并以相应的压缩参数对图像数据进行实时压缩,该图像数据通过压缩后得到压缩后的图像数据,其数据量可以缩小至若干倍(如10倍),而其他传感器所采集的数据,如运动数据、位置数据的数据量相对较小,可以不需要压缩;可移动平台将压缩后的图像数据和未压缩的其他传感器所采集的数据存储在可移动平台的存储介质中。那么,不仅可以解决可移动平台由于数据量巨大而造成的无法采集数据的问题,而且经压缩后存储的数据量更小,节省了存储空间以及用户移动数据的时间,极大提高了数据处理的效率。Based on the above considerations, in some embodiments, referring to FIG. 2 , FIG. 2 shows an example of a method for processing online data of a mobile platform according to an embodiment of the present invention. As shown in Figure 2, the camera sensor in the mobile platform collects image data, and the data source of the image data is the camera sensor; other sensors such as inertial measurement sensors collect motion data, positioning sensors collect position data, and the data source of the motion data is Inertial measurement sensor, the data source of the position data is the positioning sensor; the movable platform can determine that the image data belongs to the camera sensor category of the data source attribute, and compress the image data in real time with the corresponding compression parameters, and the image data is compressed after compression. After image data, the data volume can be reduced to several times (such as 10 times), while the data collected by other sensors, such as motion data and position data, is relatively small and does not need to be compressed; the mobile platform will compress the data. The resulting image data and uncompressed data collected by other sensors are stored in the storage medium of the removable platform. Then, it can not only solve the problem that the mobile platform cannot collect data due to the huge amount of data, but also the amount of data stored after compression is smaller, which saves the storage space and the time for users to move the data, and greatly improves the data processing efficiency. effectiveness.
在一些实施例中,属性包括数据量的大小,数据量的大小的类别包括:大于或等于数据量阈值和小于数据量阈值,基于第一数据的属性,采用相应的压缩参数对第一数据进行实时压缩,包括:In some embodiments, the attribute includes the size of the data amount, and the category of the size of the data amount includes: greater than or equal to the data amount threshold and less than the data amount threshold, and based on the attribute of the first data, the first data is processed by using corresponding compression parameters. Real-time compression, including:
当第一数据的数据量小于数据量阈值时,采用第七压缩率和/或无损压缩进行实时压缩,或不压缩;When the data volume of the first data is less than the data volume threshold, use the seventh compression ratio and/or lossless compression to perform real-time compression, or not compress;
当第一数据的数据量大于或等于数据量阈值时,采用第八压缩率和/或有损压缩进行实时压缩;其中,第八压缩率小于第七压缩率。When the data volume of the first data is greater than or equal to the data volume threshold, real-time compression is performed using an eighth compression ratio and/or lossy compression, wherein the eighth compression ratio is smaller than the seventh compression ratio.
在一些实施例中,可移动平台可以是自动驾驶车辆,自动驾驶车辆在形式过程中可能会产生图像数据、与其他目标之间的距离数据、惯性测量数据、位置数据、温度数据等多种类型的数据,而自动驾驶车辆的安全运行需要综合考虑多种类型的数据,用户希望全面地存储多种类型的数据,而对每种类型的数 据精度要求相对较低,例如图像数据。由于自动驾驶车辆在多个方向均采集大量的图像数据,占用了较大的存储空间,而用户希望存储更多类型的传感器数据,则可以在图像数据满足图像质量要求的前提下,可以将超过一数据量阈值的图像数据采用较小的压缩率进行压缩,对数据量没有超过数据量阈值的其他传感器数据采用较大的压缩率进行压缩或无损压缩,甚至不压缩;相比于传统方法中将所有传感器数据直接进行存储,根据本发明实施例的方法,可以减少了大数据量的数据所占用的存储空间,使得用户获取更全面的传感器数据,提高数据的采集、存储等数据处理的效率。In some embodiments, the movable platform may be an autonomous vehicle, and the autonomous vehicle may generate various types of image data, distance data to other objects, inertial measurement data, position data, temperature data, etc. However, the safe operation of autonomous vehicles requires comprehensive consideration of multiple types of data. Users want to store multiple types of data comprehensively, and the accuracy requirements for each type of data are relatively low, such as image data. Since the autonomous vehicle collects a large amount of image data in multiple directions, it occupies a large storage space, and the user wants to store more types of sensor data, the image data can meet the image quality requirements. Image data with a data volume threshold is compressed with a smaller compression rate, and other sensor data whose data volume does not exceed the data volume threshold are compressed with a larger compression rate or lossless compression, or even no compression; compared with the traditional method All sensor data are directly stored, and the method according to the embodiment of the present invention can reduce the storage space occupied by data with a large amount of data, enable users to obtain more comprehensive sensor data, and improve the efficiency of data processing such as data collection and storage .
需要说明的是,根据本发明实施例中的各种属性及其类别对应的传感器数据仅为举例,并不旨在对第一数据的各种属性及其类别进行限制。It should be noted that the sensor data corresponding to various attributes and categories according to the embodiments of the present invention are only examples, and are not intended to limit the various attributes and categories of the first data.
根据本发明实施例,在步骤S130中,存储压缩后的第一数据可以包括:将压缩后的第一数据存储于可移动平台本地。According to an embodiment of the present invention, in step S130, storing the compressed first data may include: storing the compressed first data locally on the mobile platform.
根据本发明实施例,可移动平台包括:无人飞行器、汽车、遥控车、机器人中的至少一种。According to an embodiment of the present invention, the movable platform includes at least one of: an unmanned aerial vehicle, a car, a remote control car, and a robot.
在实际应用中,可移动平台在运行时获取了压缩后的在线数据后,用户可能需要对其他设备上获取该在线数据;和/或,在其他设备上对该在线数据进行数据处理。那么,可以将该压缩后的在线数据移动(如复制)到其他设备(如,计算机设备)上,以进行数据处理。In practical applications, after the mobile platform obtains the compressed online data at runtime, the user may need to obtain the online data on other devices; and/or perform data processing on the online data on other devices. Then, the compressed online data can be moved (eg, copied) to other devices (eg, computer devices) for data processing.
因此,根据本发明实施例,提供了一种可移动平台在线数据的处理方法。参见图3,图3示出了本发明实施例的可移动平台在线数据的处理方法的示意性流程图。如图3所示,方法300包括:Therefore, according to an embodiment of the present invention, a method for processing online data of a mobile platform is provided. Referring to FIG. 3 , FIG. 3 shows a schematic flowchart of a method for processing online data of a mobile platform according to an embodiment of the present invention. As shown in FIG. 3, method 300 includes:
步骤S310,离线获取可移动平台在线数据,其中可移动平台在线数据包括被压缩的第一数据;其中,被压缩的第一数据由第一数据经过相应的压缩参数压缩得到,不同属性的第一数据对应不同的压缩参数;Step S310, obtain the online data of the movable platform offline, wherein the online data of the movable platform includes compressed first data; wherein, the compressed first data is obtained by compressing the first data through corresponding compression parameters, and the first data of different attributes is obtained. The data corresponds to different compression parameters;
步骤S320,对被压缩的第一数据进行解压缩,得到解压缩后的数据;Step S320, decompress the compressed first data to obtain decompressed data;
步骤S330,基于解压缩后的数据进行离线处理。Step S330, offline processing is performed based on the decompressed data.
其中,离线获取经过压缩的第一数据,并解压所后进行离线处理。相比于传统方法中直接获取未经压缩的第一数据,经过压缩的第一数据数据量更小,极大提高了数据传输的速率。Wherein, the compressed first data is obtained offline, and is decompressed for offline processing. Compared with directly obtaining the uncompressed first data in the traditional method, the data volume of the compressed first data is smaller, which greatly improves the data transmission rate.
可选地,离线处理包括:离线仿真,或离线播放。Optionally, the offline processing includes: offline simulation, or offline playback.
在一些实施例中,离线仿真包括:In some embodiments, the offline simulation includes:
在可移动平台对应的模拟环境中,基于解压缩后的数据中的至少部分数据模拟运行可移动平台。In a simulation environment corresponding to the movable platform, the movable platform is simulated and operated based on at least part of the decompressed data.
其中,将解压缩后的数据在可移动平台对应的模拟环境中,按照时间戳进行播放,以模拟可移动平台的实际运行,从而实现离线仿真的功能。用户可以在离线仿真过程中,对可移动平台的参数进行调整,以不断改进和完善可移动平台的性能。Among them, the decompressed data is played according to the time stamp in the simulation environment corresponding to the mobile platform, so as to simulate the actual operation of the mobile platform, so as to realize the function of offline simulation. Users can adjust the parameters of the movable platform in the offline simulation process to continuously improve and perfect the performance of the movable platform.
根据本发明实施例,在步骤S330中,基于解压缩后的数据进行离线处理,包括:According to an embodiment of the present invention, in step S330, offline processing is performed based on the decompressed data, including:
基于筛选策略对解压缩后的数据进行筛选,得到筛选后的数据;Filter the decompressed data based on the filtering strategy to obtain the filtered data;
基于筛选后的数据进行离线处理。Offline processing based on filtered data.
可选地,基于筛选策略对解压缩后的数据进行筛选,得到筛选后的数据,包括如下一种:Optionally, the decompressed data is screened based on a screening strategy to obtain filtered data, including one of the following:
筛选解压缩后的数据中预设时间段内、间隔预设周期、预设类型、预设数据来源、或数据质量符合预设要求的数据作为筛选后的数据。In the decompressed data, data within a preset time period, interval preset period, preset type, preset data source, or data quality that meets preset requirements is selected as the filtered data.
在离线处理的过程中,用户有时并不会用到所有采集到的数据,所以,可以根据需要对解压缩后的数据进行筛选后,选取需要的数据进行离线处理,以减少数据处理的计算量,节约计算资源,进一步提高数据处理的效率。应了解,基于筛选策略对解压缩后的数据进行筛选可以是人工执行,也可以基于机器执行,在此不做限制。In the process of offline processing, users sometimes do not use all the collected data. Therefore, after filtering the decompressed data as needed, the required data can be selected for offline processing to reduce the amount of calculation for data processing. , save computing resources and further improve the efficiency of data processing. It should be understood that the filtering of the decompressed data based on the filtering strategy may be performed manually or based on a machine, which is not limited herein.
在一些实施例中,筛选解压缩后的数据中预设时间段内的数据作为筛选后的数据,可以是获取解压缩后的数据中一个或多个预设时间段的数据,作为筛选后的数据。例如,可移动平台从启动到稳定运行需要一定的时间,这段时间内的传感器数据可能不一定是稳定数据,或者对于用户来说用处较小,则可以将启动到稳定运行这一段时间内传感器数据移除,而筛选稳定运行之后的传感器数据作为后续处理的数据基础,从而进一步减少数据处理的数据量,节约计算资源,提高数据处理的效率。In some embodiments, filtering the data within a preset time period in the decompressed data as the filtered data may be obtaining data of one or more preset time periods in the decompressed data as the filtered data. data. For example, it takes a certain period of time for the mobile platform to start to run stably. The sensor data during this period may not necessarily be stable data, or it is less useful to the user. Data is removed, and the sensor data after stable operation is screened as the data basis for subsequent processing, thereby further reducing the amount of data processed, saving computing resources, and improving the efficiency of data processing.
在一些实施例中,筛选解压缩后的数据中间隔预设周期的数据作为筛选后 的数据,可以是每间隔预设周期获取一定数据量或一定时间段的数据,还可以是每间隔预设周期获取该时刻的数据,作为筛选后的数据。例如,可移动平台所采集的传感器数据随着时间变化的变动不大,则可以基于采样原理,每间隔一定时间筛选一帧或一定数据量或一定时间段的数据,以减少数据处理的数据量,节约计算资源,提高数据处理的效率。In some embodiments, the data in the decompressed data at intervals of a preset period is selected as the filtered data, which may be a certain amount of data or data of a certain period of time obtained at every preset period, or may be obtained at every preset period. Periodically obtain the data at this moment as the filtered data. For example, if the sensor data collected by the mobile platform does not change much with time, based on the sampling principle, one frame or a certain amount of data or data in a certain period of time can be screened at a certain interval to reduce the amount of data processed. , save computing resources and improve the efficiency of data processing.
在一些实施例中,筛选解压缩后的数据中预设类型的数据作为筛选后的数据,可以是获取一种或多种数据类型的数据。例如,当用户更关注一些类型的数据时,如用户可能想观看云台车、手持云台、无人飞行器所采集的图像数据,可移动平台在线对至少部分第一数据进行实时压缩后,得到经压缩的第一数据,则可以筛选解压缩后的第一数据中的图像数据,和/或声音数据,作为筛选后的数据,在任何合适的显示装置中进行离线播放。In some embodiments, filtering data of a preset type in the decompressed data as the filtered data may be obtaining data of one or more data types. For example, when the user pays more attention to some types of data, such as the user may want to watch the image data collected by the gimbal vehicle, the hand-held gimbal, and the unmanned aerial vehicle, the mobile platform compresses at least part of the first data online in real time, and obtains For the compressed first data, the image data and/or sound data in the decompressed first data can be filtered, and the filtered data can be played offline in any suitable display device.
在一些实施例中,筛选解压缩后的数据中预设数据来源可以是获取一种或多种数据来源的数据。例如,筛选来源于惯性测量传感器,和/或定位传感器的数据,作为筛选后的数据。In some embodiments, the preset data sources in the filtered decompressed data may be data obtained from one or more data sources. For example, filtering data derived from inertial measurement sensors, and/or positioning sensors, as filtered data.
在一些实施例中,筛选解压缩后的数据中数据质量符合预设要求的数据可以包括:获取图像数据中图像分辨度达到预设分辨度的数据,作为筛选后的数据。其中,图像分辨度可以基于机器学习算法进行确定。例如,用户可能希望观看云台车、手持云台、无人飞行器所采集的图像质量较好的图像数据,则可以在筛选解压缩后的数据中的图像分辨度达到预设分辨度的数据之后,将符合预设分辨度的图像数据直接提供给用户,节省了用户人工筛选的时间,提高了数据处理的效率。In some embodiments, filtering the decompressed data whose data quality meets a preset requirement may include: acquiring data whose image resolution reaches a preset resolution in the image data, as the filtered data. The image resolution may be determined based on a machine learning algorithm. For example, a user may wish to view image data with better image quality collected by a gimbal vehicle, a handheld gimbal, or an unmanned aerial vehicle. , the image data that meets the preset resolution is directly provided to the user, which saves the user's manual screening time and improves the efficiency of data processing.
根据本发明实施例,方法300还可以包括:According to an embodiment of the present invention, the method 300 may further include:
对于解压缩后的数据中不符合筛选策略的剩余数据,不进行离线处理。For the remaining data in the decompressed data that do not meet the screening strategy, offline processing is not performed.
在一些实施例中,参见图4,图4示出了根据本发明实施例的可移动平台在线数据的处理方法的示例。如图4所示,可移动平台本地所存储的在线数据包括被压缩的第一数据,其中,被压缩的第一数据可以包括以相应的压缩参数压缩的相机数据,以及未压缩的其他传感器数据;用户可以基于任何适合的电子设备(例如,个人计算机、笔记本电脑、平板电脑、智能手机或其他适合的电子设备)离线获取可移动平台在线数据,将压缩的相机数据进行解压得到解 压后的相机数据;并对解压后的相机数据以及其他传感器数据进行离线处理。In some embodiments, referring to FIG. 4 , FIG. 4 shows an example of a method for processing online data of a mobile platform according to an embodiment of the present invention. As shown in FIG. 4 , the online data stored locally on the mobile platform includes compressed first data, where the compressed first data may include camera data compressed with corresponding compression parameters and other uncompressed sensor data ; The user can obtain the online data of the mobile platform offline based on any suitable electronic device (for example, personal computer, notebook computer, tablet computer, smart phone or other suitable electronic device), and decompress the compressed camera data to obtain the decompressed camera. data; and offline processing of decompressed camera data and other sensor data.
根据本发明实施例,还提供了一种可移动平台在线数据的处理方法。参见图5,图5示出了根据本发明实施例的可移动平台在线数据的处理方法的示意性流程图。如图5所示,可移动平台包括多个传感器,方法500包括:According to an embodiment of the present invention, a method for processing online data of a mobile platform is also provided. Referring to FIG. 5 , FIG. 5 shows a schematic flowchart of a method for processing online data of a mobile platform according to an embodiment of the present invention. As shown in FIG. 5, the movable platform includes a plurality of sensors, and the method 500 includes:
步骤S510,在线实时获取传感器生成的第一数据,以确定第一数据的属性;Step S510, obtain the first data generated by the sensor online in real time to determine the attribute of the first data;
步骤S520,基于第一数据的属性,采用相应的压缩参数对第一数据进行实时压缩;其中,不同属性的第一数据对应不同的压缩参数;Step S520: Based on the attributes of the first data, use corresponding compression parameters to compress the first data in real time; wherein, the first data of different attributes correspond to different compression parameters;
步骤S530,存储压缩后的第一数据;Step S530, storing the compressed first data;
步骤S540,离线获取被压缩后的第一数据;Step S540, obtain the compressed first data offline;
步骤S550,对被压缩的第一数据进行解压缩,得到解压缩后的数据;Step S550, decompress the compressed first data to obtain decompressed data;
步骤S560,基于解压缩后的数据进行离线处理。Step S560, offline processing is performed based on the decompressed data.
其中,可移动平台在运行过程中传感器在线采集参数以生成第一数据,第一数据可以具有不同的属性,并对应于每种属性中的一种类别;每种属性中的每种类别均具有对应的压缩参数,这些压缩参数可以相同,也可以不同,在此不做限制;可移动平台可以根据第一数据的其中一种属性的类别所对应的压缩参数对第一数据进行实时压缩,得到压缩后的第一数据;并将该压缩后的第一数据存储于可移动平台本地。用户可以在其他终端,如计算机设备上离线获取被压缩的第一数据,并对被压缩的第一数据进行解压缩,得到解压缩后的数据;再对解压缩后的数据进行离线处理。Among them, the sensor collects parameters online to generate the first data during the operation of the movable platform, and the first data can have different attributes and correspond to one category in each attribute; each category in each attribute has Corresponding compression parameters, these compression parameters may be the same or different, and are not limited here; the movable platform may compress the first data in real time according to the compression parameters corresponding to the category of one of the attributes of the first data, and obtain The compressed first data; and the compressed first data is stored locally on the mobile platform. The user can obtain the compressed first data offline on other terminals, such as computer equipment, and decompress the compressed first data to obtain decompressed data; and then perform offline processing on the decompressed data.
应了解,方法500中的步骤均可以与方法100和/或方法300中相同、等同或相似目的任意步骤进行组合或替代。It should be understood that the steps in method 500 can be combined or replaced with any steps in method 100 and/or method 300 for the same, equivalent or similar purpose.
根据本发明实施例,还提供了一种可移动平台在线数据的处理装置。参见图6,图6示出了根据本发明实施例的可移动平台在线数据的处理装置的示意性框图。装置600包括:According to an embodiment of the present invention, an apparatus for processing online data of a mobile platform is also provided. Referring to FIG. 6, FIG. 6 shows a schematic block diagram of an apparatus for processing online data of a mobile platform according to an embodiment of the present invention. Apparatus 600 includes:
存储器610;memory 610;
处理器620;processor 620;
一个或多个程序,一个或多个程序被存储在存储器610中,并且被配置成由处理器620执行,处理器620执行一个或多个程序时实现根据本发明实施例 的可移动平台在线数据的处理方法的部分步骤或全部步骤或其中步骤的任意组合。One or more programs, the one or more programs are stored in the memory 610 and are configured to be executed by the processor 620, and the processor 620, when executing the one or more programs, implements the mobile platform online data according to embodiments of the present invention Some or all of the steps or any combination of the steps in the processing method.
其中,存储器610中可以装有操作系统和应用程序等供处理器620执行的各种计算机程序及执行该计算机程序所需的数据。The memory 610 may be loaded with various computer programs such as an operating system and application programs for the processor 620 to execute, and data required for executing the computer programs.
在一些实施例中,存储器210可以是易失性存储器或非易失性存储器,也可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(ROM,Read Only Memory)、可编程只读存储器(PROM,Programmable Read-Only Memory)、可擦除可编程只读存储器(EPROM,Erasable Programmable Read-Only Memory)、电可擦除可编程只读存储器(EEPROM,Electrically Erasable Programmable Read-Only Memory)、磁性随机存取存储器(FRAM,ferromagnetic random access memory)、快闪存储器(Flash Memory)、磁表面存储器、光盘、或只读光盘(CD-ROM,Compact Disc Read-Only Memory);磁表面存储器可以是磁盘存储器或磁带存储器。易失性存储器可以是随机存取存储器(RAM,Random Access Memory),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(SRAM,Static Random Access Memory)、同步静态随机存取存储器(SSRAM,Synchronous Static Random Access Memory)、动态随机存取存储器(DRAM,Dynamic Random Access Memory)、同步动态随机存取存储器(SDRAM,Synchronous Dynamic Random Access Memory)、双倍数据速率同步动态随机存取存储器(DDRSDRAM,Double Data Rate Synchronous Dynamic Random Access Memory)、增强型同步动态随机存取存储器(ESDRAM,Enhanced Synchronous Dynamic Random Access Memory)、同步连接动态随机存取存储器(SLDRAM,SyncLink Dynamic Random Access Memory)、直接内存总线随机存取存储器(DRRAM,Direct Rambus Random Access Memory)。本发明实施例描述的存储器610旨在包括这些和任意其它适合类型的存储器。In some embodiments, memory 210 may be volatile memory or non-volatile memory, and may include both volatile and non-volatile memory. Among them, the non-volatile memory can be a read-only memory (ROM, Read Only Memory), a programmable read-only memory (PROM, Programmable Read-Only Memory), an erasable programmable read-only memory (EPROM, Erasable Programmable Read-only memory) Only Memory), Electrically Erasable Programmable Read-Only Memory (EEPROM, Electrically Erasable Programmable Read-Only Memory), Magnetic Random Access Memory (FRAM, ferromagnetic random access memory), Flash Memory (Flash Memory), Magnetic Surface Memory , CD-ROM, or CD-ROM (Compact Disc Read-Only Memory); magnetic surface memory can be disk memory or tape memory. Volatile memory may be Random Access Memory (RAM), which acts as an external cache. By way of example but not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory Memory (DRAM, Dynamic Random Access Memory), Synchronous Dynamic Random Access Memory (SDRAM, Synchronous Dynamic Random Access Memory), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM, Double Data Rate Synchronous Dynamic Random Access Memory), Enhanced Type Synchronous Dynamic Random Access Memory (ESDRAM, Enhanced Synchronous Dynamic Random Access Memory), Synchronous Link Dynamic Random Access Memory (SLDRAM, SyncLink Dynamic Random Access Memory), Direct Memory Bus Random Access Memory (DRRAM, Direct Rambus Random Access Memory) ). The memory 610 described in the embodiments of the present invention is intended to include these and any other suitable types of memory.
在一些实施例中,处理器620可以通过软件、硬件、固件或者其组合实现,可以使用电路、单个或多个为特定用途集成电路(Application Specific Integrated Circuit,ASIC)、数字信号处理器(Digital Signal Processor,DSP)、数字信号处理装置(Digital Signal Processing Device,DSPD)、可编程逻辑装置 (Programmable Logic Device,PLD)、现场可编程门阵列(Field Programmable Gate Array,FPGA)、中央处理器(Central Processing Unit,CPU)、控制器、微控制器、微处理器中的至少一种,从而使得该处理器620可以执行本申请的各个实施例中的可移动平台在线数据的处理方法中的部分步骤或全部步骤或其中步骤的任意组合。In some embodiments, the processor 620 may be implemented by software, hardware, firmware, or a combination thereof, and may use circuits, single or multiple application-specific integrated circuits (ASICs), digital signal processors (Digital Signal Processors) Processor, DSP), Digital Signal Processing Device (DSPD), Programmable Logic Device (Programmable Logic Device, PLD), Field Programmable Gate Array (Field Programmable Gate Array, FPGA), Central Processing Unit (Central Processing) At least one of Unit, CPU), controller, microcontroller, and microprocessor, so that the processor 620 can execute part of the steps in the method for processing online data of the mobile platform in the various embodiments of the present application or All or any combination of steps.
根据本发明实施例,还提供了一种计算机可读存储介质,该计算机可读存储介质存储有多条程序指令,该多条程序指令被处理器调用执行后,可执行本发明各个实施例中的可移动平台在线数据的处理方法中的部分步骤或全部步骤或其中步骤的任意组合。According to an embodiment of the present invention, a computer-readable storage medium is also provided. The computer-readable storage medium stores a plurality of program instructions. After the plurality of program instructions are called and executed by a processor, the program instructions in the various embodiments of the present invention can be executed. Part or all of the steps or any combination of the steps in the method for processing the online data of the mobile platform.
根据本发明实施例,还提供了一种可移动平台,包括:根据本发明实施例的基于可移动平台的在线数据处理装置。According to an embodiment of the present invention, a mobile platform is also provided, including: an online data processing apparatus based on the mobile platform according to the embodiment of the present invention.
综上,本发明实施例的可移动平台及其在线数据的处理方法、装置、存储介质,通过在线采集数据时进行实时压缩,极大降低了在线数据的存储量,节省了存储空间并提高了数据传输的速率和数据处理的效率。To sum up, the movable platform and the online data processing method, device and storage medium of the embodiment of the present invention greatly reduce the storage capacity of online data, save storage space and improve the performance of online data by performing real-time compression when collecting data online. The rate of data transmission and the efficiency of data processing.
本领域的技术人员可以理解,除了特征之间相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。It will be understood by those skilled in the art that all features disclosed in this specification (including the accompanying claims, abstract and drawings) and any method or apparatus so disclosed may be used in any combination, except that the features are mutually exclusive. Processes or units are combined. Each feature disclosed in this specification (including accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本实用新型的范围之内并且形成不同的实施例。例如,在权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。Furthermore, it will be understood by those skilled in the art that although some of the embodiments described herein include certain features included in other embodiments and not others, combinations of features of different embodiments are meant to be within the scope of the present invention. range and form different embodiments. For example, in the claims, any of the claimed embodiments may be used in any combination.
本发明实施例中所使用的技术术语仅用于说明特定实施例而并不旨在限定本发明。在本文中,单数形式“一”、“该”及“所述”用于同时包括复数形式,除非上下文中明确另行说明。进一步地,在说明书中所使用的用于“包括”和/或“包含”是指存在所述特征、整体、步骤、操作、元件和/或构件,但是并不排除存在或增加一个或多个其它特征、整体、步骤、操作、元件和/或构件。The technical terms used in the embodiments of the present invention are only used to describe specific embodiments and are not intended to limit the present invention. As used herein, the singular forms "a," "the," and "the" are used to include the plural forms as well, unless the context clearly dictates otherwise. Further, as used in the specification for "comprising" and/or "comprising" refers to the presence of the stated features, integers, steps, operations, elements and/or components, but does not preclude the presence or addition of one or more Other features, integers, steps, operations, elements and/or components.
在所附权利要求中对应结构、材料、动作以及所有装置或者步骤以及功能元件的等同形式(如果存在的话)旨在包括结合其他明确要求的元件用于执行该功能的任何结构、材料或动作。本发明的描述出于实施例和描述的目的被给出,但并不旨在是穷举的或者将被发明限制在所公开的形式。在不偏离本发明的范围和精神的情况下,多种修改和变形对于本领域的一般技术人员而言是显而易见的。本发明中所描述的实施例能够更好地揭示本发明的原理与实际应用,并使本领域的一般技术人员可了解本发明。The corresponding structures, materials, acts, and equivalents of all means or step and function elements in the appended claims, if any, are intended to include any structure, material, or act for performing the function in combination with other explicitly claimed elements. The description of the present invention has been presented for purposes of example and description, but is not intended to be exhaustive or to limit the invention to the form disclosed. Various modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the invention. The embodiments described in the present invention can better disclose the principles and practical applications of the present invention, and enable those skilled in the art to understand the present invention.
本发明中所描述的流程图仅仅为一个实施例,在不偏离本发明的精神的情况下对此图示或者本发明中的步骤可以有多种修改变化。比如,可以不同次序的执行这些步骤,或者可以增加、删除或者修改某些步骤。本领域的一般技术人员可以理解实现上述实施例的全部或部分流程,并依本发明权利要求所作的等同变化,仍属于发明所涵盖的范围。The flowchart described in the present invention is only an embodiment, and various modifications and changes may be made to this illustration or the steps in the present invention without departing from the spirit of the present invention. For example, the steps may be performed in a different order, or certain steps may be added, deleted, or modified. Those skilled in the art can understand that all or part of the flow of the above-mentioned embodiments, and the equivalent changes made according to the claims of the present invention, still belong to the scope covered by the present invention.
Claims (42)
- 一种可移动平台在线数据的处理方法,其特征在于,所述可移动平台包括多个传感器,所述方法包括:A method for processing online data of a movable platform, wherein the movable platform includes a plurality of sensors, and the method includes:在线实时获取所述传感器生成的第一数据,以确定所述第一数据的属性;Obtain the first data generated by the sensor online in real time to determine the attribute of the first data;基于所述第一数据的属性,采用相应的压缩参数对所述第一数据进行实时压缩;其中,不同属性的第一数据对应不同的压缩参数;Based on the attributes of the first data, use corresponding compression parameters to compress the first data in real time; wherein, the first data of different attributes correspond to different compression parameters;存储压缩后的第一数据。The compressed first data is stored.
- 根据权利要求1所述的方法,其特征在于,所述属性根据如下至少一种确定:数据类型、数据重要程度、数据量的大小、或数据来源。The method according to claim 1, wherein the attribute is determined according to at least one of the following: data type, data importance, data volume, or data source.
- 根据权利要求1所述的方法,其特征在于,基于所述第一数据的属性,采用相应的压缩参数对所述第一数据进行实时压缩,包括:The method according to claim 1, wherein, based on the attributes of the first data, using corresponding compression parameters to perform real-time compression on the first data, comprising:基于所述属性的不同类别采用不同的所述压缩参数对所述第一数据进行实时压缩。The first data is compressed in real time using different compression parameters based on different categories of the attribute.
- 根据权利要求1所述的方法,其特征在于,所述压缩参数包括如下至少一种:压缩率、压缩速度、或压缩质量。The method according to claim 1, wherein the compression parameters include at least one of the following: compression ratio, compression speed, or compression quality.
- 根据权利要求1所述的方法,其特征在于,所述属性包括数据类型,所述数据类型的类别包括:图像数据和非图像数据,基于所述第一数据的属性,采用相应的压缩参数对所述第一数据进行实时压缩,包括:The method according to claim 1, wherein the attributes include data types, the categories of the data types include image data and non-image data, and based on the attributes of the first data, corresponding compression parameters are used to pair The first data is compressed in real time, including:当所述第一数据为图像数据时,采用第一压缩率和/或有损压缩进行实时压缩;When the first data is image data, use the first compression rate and/or lossy compression to perform real-time compression;当所述第一数据为非图像数据时,采用第二压缩率和/或无损压缩进行实时压缩,或不压缩;其中,所述第一压缩率小于所述第二压缩率。When the first data is non-image data, real-time compression is performed using a second compression rate and/or lossless compression, or no compression is performed; wherein, the first compression rate is smaller than the second compression rate.
- 根据权利要求5所述的方法,其特征在于,所述第一压缩率用于使所述图像数据的压缩质量达到预设标准的同时也满足预设的压缩时间。The method according to claim 5, wherein the first compression rate is used to make the compression quality of the image data meet a preset standard and also meet a preset compression time.
- 根据权利要求1所述的方法,其特征在于,所述属性包括数据重要程度,所述重要程度的类别包括:重要数据和非重要数据,基于所述第一数据的属性,采用相应的压缩参数对所述第一数据进行实时压缩,包括:The method according to claim 1, wherein the attribute includes data importance, the categories of the importance include: important data and non-important data, and a corresponding compression parameter is adopted based on the attribute of the first data Perform real-time compression on the first data, including:当所述第一数据为重要数据时,采用第三压缩率和/或无损压缩进行实时压缩,或不压缩;When the first data is important data, use a third compression rate and/or lossless compression to perform real-time compression, or not compress;当所述第一数据为非重要数据时,采用第四压缩率和/或有损压缩进行实时压缩;其中,所述第四压缩率小于所述第三压缩率。When the first data is unimportant data, real-time compression is performed using a fourth compression rate and/or lossy compression, wherein the fourth compression rate is smaller than the third compression rate.
- 根据权利要求1所述的方法,其特征在于,所述属性包括数据来源,所述数据来源的类别包括:第一传感器和第二传感器,基于所述第一数据的属性,采用相应的压缩参数对所述第一数据进行实时压缩,包括:The method according to claim 1, wherein the attribute includes a data source, the category of the data source includes: a first sensor and a second sensor, and a corresponding compression parameter is adopted based on the attribute of the first data Perform real-time compression on the first data, including:当所述第一数据的数据来源为第一传感器,采用第五压缩率和/或无损压缩进行实时压缩,或不压缩;When the data source of the first data is the first sensor, use the fifth compression rate and/or lossless compression to perform real-time compression, or not to compress;当所述第一数据的数据来源为第二传感器,采用第六压缩率和/或有损压缩进行实时压缩;其中,所述第六压缩率小于所述第五压缩率。When the data source of the first data is the second sensor, a sixth compression ratio and/or lossy compression is used to perform real-time compression, wherein the sixth compression ratio is smaller than the fifth compression ratio.
- 根据权利要求1所述的方法,其特征在于,所述属性包括数据量的大小,所述数据量的大小的类别包括:大于或等于数据量阈值和小于数据量阈值,基于所述第一数据的属性,采用相应的压缩参数对所述第一数据进行实时压缩,包括:The method according to claim 1, wherein the attribute includes the size of the data amount, and the categories of the size of the data amount include: greater than or equal to a data amount threshold and less than a data amount threshold, based on the first data attribute, and use corresponding compression parameters to compress the first data in real time, including:当所述第一数据的数据量小于所述数据量阈值时,采用第七压缩率和/或无损压缩进行实时压缩,或不压缩;When the data amount of the first data is less than the data amount threshold, use the seventh compression rate and/or lossless compression to perform real-time compression, or not compress;当所述第一数据的数据量大于或等于所述数据量阈值时,采用第八压缩率和/或有损压缩进行实时压缩;其中,所述第八压缩率小于所述第七压缩率。When the data volume of the first data is greater than or equal to the data volume threshold, real-time compression is performed using an eighth compression ratio and/or lossy compression, wherein the eighth compression ratio is smaller than the seventh compression ratio.
- 根据权利要求1所述的方法,其特征在于,所述第一数据包括:图像数据和/或声音数据,所述方法还包括:The method according to claim 1, wherein the first data comprises: image data and/or sound data, and the method further comprises:指定终端在线实时获取所述图像数据和/或所述声音数据,以确定所述图 像数据和/或所述声音数据的属性;The designated terminal obtains the image data and/or the sound data in real time online to determine the attributes of the image data and/or the sound data;所述指定终端基于所述图像数据和/或声音数据的属性,采用不同的压缩参数对所述图像数据和/或声音数据进行压缩,并存储压缩后的图像数据和/或声音数据。The designated terminal uses different compression parameters to compress the image data and/or sound data based on attributes of the image data and/or sound data, and stores the compressed image data and/or sound data.
- 根据权利要求1所述的方法,其特征在于,所述属性包括多个预先分类的不同类别。The method of claim 1, wherein the attributes comprise a plurality of pre-categorized different categories.
- 根据权利要求1所述的方法,其特征在于,所述多个传感器包括多种不同类型的传感器,其中,所述多种不同类型的传感器包括:图像传感器、声音传感器、惯性测量传感器、定位传感器、温度传感器、或距离传感器中的多种。The method of claim 1, wherein the plurality of sensors comprises a plurality of different types of sensors, wherein the plurality of different types of sensors include: image sensors, sound sensors, inertial measurement sensors, positioning sensors , temperature sensor, or a variety of distance sensors.
- 根据权利要求1所述的方法,其特征在于,所述可移动平台包括:无人飞行器、汽车、遥控车、机器人中的至少一种。The method according to claim 1, wherein the movable platform comprises at least one of: an unmanned aerial vehicle, a car, a remote control car, and a robot.
- 一种可移动平台在线数据的处理方法,其特征在于,所述方法包括:A method for processing online data of a mobile platform, characterized in that the method comprises:离线获取所述可移动平台在线数据,其中所述可移动平台在线数据包括被压缩的第一数据;其中,所述被压缩的第一数据由第一数据经过相应的压缩参数压缩得到,不同属性的第一数据对应不同的压缩参数;The online data of the movable platform is obtained offline, wherein the online data of the movable platform includes compressed first data; wherein, the compressed first data is obtained by compressing the first data through corresponding compression parameters, and different attributes The first data corresponding to different compression parameters;对所述被压缩的第一数据进行解压缩,得到解压缩后的数据;Decompressing the compressed first data to obtain decompressed data;基于所述解压缩后的数据进行离线处理。Offline processing is performed based on the decompressed data.
- 根据权利要求14所述的方法,其特征在于,所述离线处理包括:离线仿真,或离线播放。The method according to claim 14, wherein the offline processing comprises: offline simulation or offline playback.
- 根据权利要求14所述的方法,其特征在于,所述基于所述解压缩后的数据进行离线处理,包括:The method according to claim 14, wherein the performing offline processing based on the decompressed data comprises:基于筛选策略对所述解压缩后的数据进行筛选,得到筛选后的数据;Screening the decompressed data based on the screening strategy to obtain screened data;基于所述筛选后的数据进行离线处理。Offline processing is performed based on the filtered data.
- 根据权利要求16所述的方法,其特征在于,所述基于筛选策略对所述解压缩后的数据进行筛选,得到筛选后的数据,包括如下一种:The method according to claim 16, wherein the decompressed data is screened based on a screening strategy to obtain the screened data, including one of the following:筛选所述解压缩后的数据中预设时间段内、间隔预设周期、预设类型、预设数据来源、或数据质量符合预设要求的数据作为所述筛选后的数据。In the decompressed data, the data within the preset time period, the interval preset period, the preset type, the preset data source, or the data quality that meets the preset requirements is selected as the filtered data.
- 根据权利要求15所述的方法,其特征在于,所述离线仿真包括:The method of claim 15, wherein the offline simulation comprises:在所述可移动平台对应的模拟环境中,基于所述解压缩后的数据中的至少部分数据模拟运行所述可移动平台。In a simulation environment corresponding to the movable platform, the movable platform is simulated and operated based on at least part of the decompressed data.
- 根据权利要求14所述的方法,其特征在于,所述方法还包括:The method of claim 14, wherein the method further comprises:对于所述解压缩后的数据中不符合筛选策略的剩余数据,不进行离线处理。For the remaining data in the decompressed data that does not meet the screening strategy, offline processing is not performed.
- 一种可移动平台在线数据的处理方法,其特征在于,所述可移动平台包括多个传感器,所述方法包括:A method for processing online data of a movable platform, wherein the movable platform includes a plurality of sensors, and the method includes:在线实时获取所述传感器生成的第一数据,以确定所述第一数据的属性;Obtain the first data generated by the sensor online in real time to determine the attribute of the first data;基于所述第一数据的属性,采用相应的压缩参数对所述第一数据进行实时压缩;其中,不同属性的第一数据对应不同的压缩参数;Based on the attributes of the first data, use corresponding compression parameters to compress the first data in real time; wherein, the first data of different attributes correspond to different compression parameters;存储压缩后的第一数据;storing the compressed first data;离线获取所述被压缩后的第一数据;obtaining the compressed first data offline;对所述被压缩的第一数据进行解压缩,得到解压缩后的数据;Decompressing the compressed first data to obtain decompressed data;基于所述解压缩后的数据进行离线处理。Offline processing is performed based on the decompressed data.
- 一种可移动平台在线数据的处理装置,其特征在于,所述装置包括:A device for processing online data of a mobile platform, characterized in that the device comprises:存储器;memory;处理器;processor;一个或多个程序,所述一个或多个程序被存储在所述存储器中,并且被配 置成由所述处理器执行,所述处理器执行所述一个或多个程序时实现以下步骤:one or more programs stored in the memory and configured to be executed by the processor, the processor performing the following steps when executing the one or more programs:在线实时获取所述传感器生成的第一数据,以确定所述第一数据的属性;Obtain the first data generated by the sensor online in real time to determine the attribute of the first data;基于所述第一数据的属性,采用相应的压缩参数对所述第一数据进行实时压缩;其中,不同属性的第一数据对应不同的压缩参数;Based on the attributes of the first data, use corresponding compression parameters to compress the first data in real time; wherein, the first data of different attributes correspond to different compression parameters;存储压缩后的第一数据。The compressed first data is stored.
- 根据权利要求21所述的装置,其特征在于,所述属性根据如下至少一种确定:数据类型、数据重要程度、数据量的大小、或数据来源。The apparatus according to claim 21, wherein the attribute is determined according to at least one of the following: data type, data importance, data volume, or data source.
- 根据权利要求21所述的装置,其特征在于,所述基于所述第一数据的属性,采用相应的压缩参数对所述第一数据进行实时压缩,包括:The apparatus according to claim 21, wherein the real-time compression of the first data by using corresponding compression parameters based on the attributes of the first data, comprising:基于所述属性的不同类别采用不同的所述压缩参数对所述第一数据进行实时压缩。The first data is compressed in real time using different compression parameters based on different categories of the attribute.
- 根据权利要求21所述的装置,其特征在于,所述压缩参数包括如下至少一种:压缩率、压缩速度、或压缩质量。The apparatus according to claim 21, wherein the compression parameter comprises at least one of the following: compression ratio, compression speed, or compression quality.
- 根据权利要求21所述的装置,其特征在于,所述属性包括数据类型,所述数据类型的类别包括:图像数据和非图像数据,基于所述属性的不同类别采用不同的压缩参数对所述第一数据进行实时压缩,包括:The apparatus according to claim 21, wherein the attribute includes a data type, and the categories of the data type include: image data and non-image data, and different compression parameters are used for different compression parameters based on different categories of the attribute. The first data is compressed in real time, including:当所述第一数据为图像数据时,采用第一压缩率和/或有损压缩进行实时压缩;When the first data is image data, use the first compression rate and/or lossy compression to perform real-time compression;当所述第一数据为非图像数据时,采用第二压缩率和/或无损压缩进行实时压缩,或不压缩;其中,所述第一压缩率小于所述第二压缩率。When the first data is non-image data, real-time compression is performed using a second compression rate and/or lossless compression, or no compression is performed; wherein, the first compression rate is smaller than the second compression rate.
- 根据权利要求25所述的装置,其特征在于,所述第一压缩率用于使所述图像数据的压缩质量达到预设标准的同时也满足预设的压缩时间。The apparatus according to claim 25, wherein the first compression rate is used to make the compression quality of the image data meet a preset standard and also meet a preset compression time.
- 根据权利要求21所述的装置,其特征在于,所述属性包括数据重要程度,所述重要程度的类别包括:重要数据和非重要数据,基于所述属性的不同类别采用不同的压缩参数对所述第一数据进行实时压缩,包括:The apparatus according to claim 21, wherein the attribute includes data importance, and the categories of the importance include: important data and non-important data, and different compression parameters are used based on different categories of the attribute to The first data is compressed in real time, including:当所述第一数据为重要数据时,采用第三压缩率和/或无损压缩进行实时压缩,或不压缩;When the first data is important data, use a third compression rate and/or lossless compression to perform real-time compression, or not compress;当所述第一数据为非重要数据时,采用第四压缩率和/或有损压缩进行实时压缩;其中,所述第四压缩率小于所述第三压缩率。When the first data is unimportant data, real-time compression is performed using a fourth compression rate and/or lossy compression, wherein the fourth compression rate is smaller than the third compression rate.
- 根据权利要求21所述的装置,其特征在于,所述属性包括数据来源,所述数据来源的类别包括:第一传感器和第二传感器,基于所述属性的不同类别采用不同的压缩参数对所述第一数据进行实时压缩,包括:The apparatus according to claim 21, wherein the attribute includes a data source, the categories of the data source include: a first sensor and a second sensor, and different compression parameters are used for the data based on different categories of the attribute. The first data is compressed in real time, including:当所述第一数据的数据来源为第一传感器,采用第五压缩率和/或无损压缩进行实时压缩,或不压缩;When the data source of the first data is the first sensor, use the fifth compression rate and/or lossless compression to perform real-time compression, or not to compress;当所述第一数据的数据来源为第二传感器,采用第六压缩率和/或有损压缩进行实时压缩;其中,所述第六压缩率小于所述第五压缩率。When the data source of the first data is the second sensor, a sixth compression ratio and/or lossy compression is used to perform real-time compression, wherein the sixth compression ratio is smaller than the fifth compression ratio.
- 根据权利要求21所述的装置,其特征在于,所述属性包括数据量的大小,所述数据量的大小的类别包括:大于或等于数据量阈值和小于数据量阈值,基于所述第一数据的属性,采用相应的压缩参数对所述第一数据进行实时压缩,包括:The apparatus according to claim 21, wherein the attribute includes a size of a data amount, and the categories of the size of the data amount include: greater than or equal to a data amount threshold and less than a data amount threshold, based on the first data attribute, and use corresponding compression parameters to compress the first data in real time, including:当所述第一数据的数据量小于所述数据量阈值时,采用第七压缩率和/或无损压缩进行实时压缩,或不压缩;When the data amount of the first data is less than the data amount threshold, use the seventh compression rate and/or lossless compression to perform real-time compression, or not compress;当所述第一数据的数据量大于或等于所述数据量阈值时,采用第八压缩率和/或有损压缩进行实时压缩;其中,所述第八压缩率小于所述第七压缩率。When the data volume of the first data is greater than or equal to the data volume threshold, real-time compression is performed using an eighth compression ratio and/or lossy compression, wherein the eighth compression ratio is smaller than the seventh compression ratio.
- 根据权利要求21所述的装置,其特征在于,所述第一数据包括图像数据和/或声音数据,所述处理器执行所述一个或多个程序时还实现以下步骤:The apparatus according to claim 21, wherein the first data includes image data and/or sound data, and the processor further implements the following steps when executing the one or more programs:指定终端在线实时获取所述图像数据和/或所述声音数据,以确定所述图像数据和/或所述声音数据的属性;The designated terminal acquires the image data and/or the sound data in real time online to determine the attributes of the image data and/or the sound data;所述指定终端基于所述图像数据和/或声音数据的属性,采用不同的压缩参数对所述图像数据和/或声音数据进行压缩,并存储压缩后的图像数据和/或声音数据。The designated terminal uses different compression parameters to compress the image data and/or sound data based on attributes of the image data and/or sound data, and stores the compressed image data and/or sound data.
- 根据权利要求21所述的装置,其特征在于,所述属性包括多个预先分类的不同类别。21. The apparatus of claim 21, wherein the attributes comprise a plurality of different pre-categorized categories.
- 根据权利要求21所述的装置,其特征在于,所述多个传感器包括多种不同类型的传感器,其中,所述多种不同类型的传感器包括:图像传感器、声音传感器、惯性测量传感器、定位传感器、温度传感器、或距离传感器中的多种。The apparatus of claim 21, wherein the plurality of sensors comprises a plurality of different types of sensors, wherein the plurality of different types of sensors include: image sensors, sound sensors, inertial measurement sensors, positioning sensors , temperature sensor, or a variety of distance sensors.
- 根据权利要求21所述的装置,其特征在于,所述可移动平台包括:无人飞行器、汽车、遥控车、机器人中的至少一种。The device according to claim 21, wherein the movable platform comprises at least one of: an unmanned aerial vehicle, a car, a remote control car, and a robot.
- 一种可移动平台在线数据的处理装置,其特征在于,所述装置包括:A device for processing online data of a mobile platform, characterized in that the device comprises:存储器;memory;处理器;processor;一个或多个程序,所述一个或多个程序被存储在所述存储器中,并且被配置成由所述处理器执行,所述处理器执行所述一个或多个程序时实现以下步骤:one or more programs stored in the memory and configured to be executed by the processor, the processor performing the following steps when executing the one or more programs:离线获取所述可移动平台在线数据,其中所述可移动平台在线数据包括被压缩的第一数据;其中,所述被压缩的第一数据由第一数据经过相应的压缩参数压缩得到,不同属性的第一数据对应不同的压缩参数;The online data of the movable platform is obtained offline, wherein the online data of the movable platform includes compressed first data; wherein, the compressed first data is obtained by compressing the first data through corresponding compression parameters, and different attributes The first data corresponding to different compression parameters;对所述被压缩的第一数据进行解压缩,得到解压缩后的数据;Decompressing the compressed first data to obtain decompressed data;基于所述解压缩后的数据进行离线处理。Offline processing is performed based on the decompressed data.
- 根据权利要求34所述的装置,其特征在于,所述离线处理包括:离线仿真,或离线播放。The apparatus according to claim 34, wherein the offline processing comprises: offline simulation or offline playback.
- 根据权利要求34所述的装置,其特征在于,所述基于所述解压缩后的数据进行离线处理,包括:The apparatus according to claim 34, wherein the offline processing based on the decompressed data comprises:基于筛选策略对所述解压缩后的数据进行筛选,得到筛选后的数据;Screening the decompressed data based on the screening strategy to obtain screened data;基于所述筛选后的数据进行离线处理。Offline processing is performed based on the filtered data.
- 根据权利要求36所述的装置,其特征在于,所述基于筛选策略对所述解压缩后的数据进行筛选,得到筛选后的数据,包括如下一种:The device according to claim 36, wherein the decompressed data is screened based on a screening strategy to obtain the screened data, including one of the following:筛选所述解压缩后的数据中预设时间段内、间隔预设周期、预设类型、预设数据来源、或数据质量符合预设要求的数据作为所述筛选后的数据。In the decompressed data, data within a preset time period, interval preset period, preset type, preset data source, or data quality that meets preset requirements is selected as the filtered data.
- 根据权利要求35所述的装置,其特征在于,所述离线仿真包括:The apparatus of claim 35, wherein the offline simulation comprises:在所述可移动平台对应的模拟环境中,基于所述解压缩后的数据中的至少部分数据模拟运行所述可移动平台。In a simulation environment corresponding to the movable platform, the movable platform is simulated and operated based on at least part of the decompressed data.
- 根据权利要求34所述的装置,其特征在于,所述方法还包括:The apparatus of claim 34, wherein the method further comprises:对于所述解压缩后的数据中不符合筛选策略的剩余数据,不进行离线处理。For the remaining data in the decompressed data that does not meet the screening strategy, offline processing is not performed.
- 一种可移动平台在线数据的处理装置,其特征在于,所述装置包括:A device for processing online data of a mobile platform, characterized in that the device comprises:存储器;memory;处理器;processor;一个或多个程序,所述一个或多个程序被存储在所述存储器中,并且被配置成由所述处理器执行,所述处理器执行所述一个或多个程序时实现以下步骤:one or more programs stored in the memory and configured to be executed by the processor, the processor performing the following steps when executing the one or more programs:在线实时获取所述传感器生成的第一数据,以确定所述第一数据的属性;Obtain the first data generated by the sensor online in real time to determine the attribute of the first data;基于所述第一数据的属性,采用相应的压缩参数对所述第一数据进行实时压缩;其中,不同属性的第一数据对应不同的压缩参数;Based on the attributes of the first data, use corresponding compression parameters to compress the first data in real time; wherein, the first data of different attributes correspond to different compression parameters;存储压缩后的第一数据;storing the compressed first data;离线获取所述被压缩后的第一数据;对所述被压缩的第一数据进行解压缩,得到解压缩后的数据;Obtaining the compressed first data offline; decompressing the compressed first data to obtain decompressed data;基于所述解压缩后的数据进行离线处理。Offline processing is performed based on the decompressed data.
- 一种计算机可读存储介质,其特征在于,包括:程序,所述程序能够被处理器执行以实现根据权利要求1-20中任一项所述的方法。A computer-readable storage medium, comprising: a program that can be executed by a processor to implement the method according to any one of claims 1-20.
- 一种可移动平台,其特征在于,包括:根据权利要求21-40中任一项所述的装置。A movable platform, characterized by comprising: the device according to any one of claims 21-40.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2020/118384 WO2022061880A1 (en) | 2020-09-28 | 2020-09-28 | Movable platform and online data processing method and apparatus therefor, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2020/118384 WO2022061880A1 (en) | 2020-09-28 | 2020-09-28 | Movable platform and online data processing method and apparatus therefor, and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022061880A1 true WO2022061880A1 (en) | 2022-03-31 |
Family
ID=80846136
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/118384 WO2022061880A1 (en) | 2020-09-28 | 2020-09-28 | Movable platform and online data processing method and apparatus therefor, and storage medium |
Country Status (1)
Country | Link |
---|---|
WO (1) | WO2022061880A1 (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103347185A (en) * | 2013-06-28 | 2013-10-09 | 北京航空航天大学 | Unmanned aerial vehicle scouting image synthesis compressed encoding method based on selective block transformation |
CN104754340A (en) * | 2015-03-09 | 2015-07-01 | 南京航空航天大学 | Reconnaissance image compression method for unmanned aerial vehicle |
US9536324B1 (en) * | 2015-03-16 | 2017-01-03 | D.R. Systems, Inc. | Dynamic digital image compression based on digital image characteristics |
CN110278163A (en) * | 2019-01-25 | 2019-09-24 | 中国航空无线电电子研究所 | A method of for unmanned aerial vehicle onboard information processing and organizing transmission |
CN110869981A (en) * | 2016-12-30 | 2020-03-06 | 迪普迈普有限公司 | Vector data encoding of high definition map data for autonomous vehicles |
-
2020
- 2020-09-28 WO PCT/CN2020/118384 patent/WO2022061880A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103347185A (en) * | 2013-06-28 | 2013-10-09 | 北京航空航天大学 | Unmanned aerial vehicle scouting image synthesis compressed encoding method based on selective block transformation |
CN104754340A (en) * | 2015-03-09 | 2015-07-01 | 南京航空航天大学 | Reconnaissance image compression method for unmanned aerial vehicle |
US9536324B1 (en) * | 2015-03-16 | 2017-01-03 | D.R. Systems, Inc. | Dynamic digital image compression based on digital image characteristics |
CN110869981A (en) * | 2016-12-30 | 2020-03-06 | 迪普迈普有限公司 | Vector data encoding of high definition map data for autonomous vehicles |
CN110278163A (en) * | 2019-01-25 | 2019-09-24 | 中国航空无线电电子研究所 | A method of for unmanned aerial vehicle onboard information processing and organizing transmission |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108293123B (en) | Method and apparatus for generating time-scaled images | |
US8374421B1 (en) | Methods and systems for extracting still frames from a compressed video | |
KR101994574B1 (en) | Cloud-based analysis of robotic system component use | |
US20180367729A1 (en) | Digital Image Generation using Capture Support Data | |
US9258392B2 (en) | Method and apparatus for generating metadata of immersive media | |
US20150186073A1 (en) | Integration of a device with a storage network | |
CN106941631A (en) | Abstract video generation method and video data processing system | |
JP6300792B2 (en) | Enhancing captured data | |
US11601598B2 (en) | Methods and systems for displaying and recording multiple video feeds using a single, unified window | |
JP6274067B2 (en) | Information processing apparatus and information processing method | |
CN112530205A (en) | Airport parking apron airplane state detection method and device | |
CN110095111A (en) | A kind of construction method of map scene, building system and relevant apparatus | |
CN110896497A (en) | Image processing method, video playing method and device | |
JP2019133659A (en) | Dispersion type indoor positioning system and method of the same | |
WO2019047663A1 (en) | Video format-based end-to-end automatic driving data storage method and device | |
WO2022061880A1 (en) | Movable platform and online data processing method and apparatus therefor, and storage medium | |
EP2564334A1 (en) | Methods and apparatuses for facilitating remote data processing | |
US20240019702A1 (en) | Control method for head-mounted device and image rendering method | |
JP6290949B2 (en) | Photo cluster detection and compression | |
JP2012527801A (en) | Method and apparatus for capturing a digital image | |
WO2019215924A1 (en) | Operation data classification system, operation data classification method, and program | |
WO2022065504A1 (en) | Recognition process execution program and recognition process execution device | |
CN102523513A (en) | Implementation method for accurately obtaining images of original video file on basis of video player | |
WO2022082457A1 (en) | Video processing method, apparatus, and device, unmanned aerial vehicle, and image transmission system | |
WO2024188547A1 (en) | Video processing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20954730 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20954730 Country of ref document: EP Kind code of ref document: A1 |