WO2021068267A1 - Data processing method, device and system, and storage medium - Google Patents

Data processing method, device and system, and storage medium Download PDF

Info

Publication number
WO2021068267A1
WO2021068267A1 PCT/CN2019/110900 CN2019110900W WO2021068267A1 WO 2021068267 A1 WO2021068267 A1 WO 2021068267A1 CN 2019110900 W CN2019110900 W CN 2019110900W WO 2021068267 A1 WO2021068267 A1 WO 2021068267A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
target
storage device
data processing
data block
Prior art date
Application number
PCT/CN2019/110900
Other languages
French (fr)
Chinese (zh)
Inventor
耿畅
邸健
Original Assignee
深圳市大疆创新科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市大疆创新科技有限公司 filed Critical 深圳市大疆创新科技有限公司
Priority to PCT/CN2019/110900 priority Critical patent/WO2021068267A1/en
Priority to CN201980030323.6A priority patent/CN112119383A/en
Publication of WO2021068267A1 publication Critical patent/WO2021068267A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/06Addressing a physical block of locations, e.g. base addressing, module addressing, memory dedication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/604Tools and structures for managing or administering access control systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Bioethics (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Automation & Control Theory (AREA)
  • Traffic Control Systems (AREA)

Abstract

A data processing method, device and system, and a storage medium. Said method comprises: a data processing device sending a first read request to a data storage device, the first read request comprising address information of a target data block, the data storage device storing one or more data blocks, the one or more data blocks comprising at least the target data block, the target data block comprising target no-flight area data, and the address information of the target data block being used for the data storage device to acquire the target no-flight area data (S201); and the data processing device receiving the target no-flight area data sent by the data storage device (S202). By means of such block reading, the data processing efficiency is improved, and the memory consumption is reduced.

Description

一种数据处理方法、设备、系统及存储介质Data processing method, equipment, system and storage medium
版权申明Copyright statement
本专利文件披露的内容包含受版权保护的材料。该版权为版权所有人所有。版权所有人不反对任何人复制专利与商标局的官方记录和档案中所存在的该专利文件或者该专利披露。The content disclosed in this patent document contains copyrighted material. The copyright belongs to the copyright owner. The copyright owner does not object to anyone copying the patent document or the patent disclosure in the official records and archives of the Patent and Trademark Office.
技术领域Technical field
本发明涉及控制技术领域,尤其涉及一种数据处理方法、设备、系统及存储介质。The present invention relates to the field of control technology, in particular to a data processing method, equipment, system and storage medium.
背景技术Background technique
目前,无人机地理围栏系统有两种实现方式:一种是利用不具备高性能处理器的产品(即无前视避障等高级功能)来实现,而不具备高性能处理器的产品数据库的存储空间很小,只适用于简单的圆形限飞区。另一种是利用具备高性能处理器的产品(即具有视觉避障的高级功能)来实现,而这种实施方式需要一次性读入所有的数据,会造成很大的内存消耗,增加硬件成本。At present, there are two ways to implement the UAV geofencing system: one is to use products that do not have high-performance processors (ie, advanced functions such as no forward-looking obstacle avoidance) to achieve, and do not have a product database with high-performance processors The storage space is very small and is only suitable for simple circular restricted-flying areas. The other is to use a product with a high-performance processor (that is, an advanced function of visual obstacle avoidance) to achieve, and this implementation method needs to read all the data at once, which will cause a lot of memory consumption and increase hardware costs. .
因此,如何将复杂的地理围栏系统应用在低性能处理器上,以降低内存消耗以及提高数据处理效率具有十分重要的意义。Therefore, how to apply a complex geofencing system to a low-performance processor to reduce memory consumption and improve data processing efficiency is of great significance.
发明内容Summary of the invention
本发明实施例提供了一种数据处理方法、设备、系统及存储介质,提高了数据处理效率,降低了内存消耗。The embodiments of the present invention provide a data processing method, equipment, system and storage medium, which improve data processing efficiency and reduce memory consumption.
第一方面,本发明实施例提供了一种数据处理方法,包括:In the first aspect, an embodiment of the present invention provides a data processing method, including:
数据处理设备向数据存储设备发送第一读取请求,所述第一读取请求中包括目标数据块的地址信息,所述数据存储设备中存储一个或多个数据块,所述一个或多个数据块中至少包括所述目标数据块,所述目标数据块中包括目标限飞区数据,所述目标数据块的地址信息用于所述数据存储设备获取目标限飞区数据;The data processing device sends a first read request to the data storage device, where the first read request includes address information of the target data block, the data storage device stores one or more data blocks, and the one or more data blocks are stored in the data storage device. The data block includes at least the target data block, the target data block includes target restricted-fly zone data, and the address information of the target data block is used by the data storage device to obtain the target restricted-fly zone data;
所述数据处理设备接收所述数据存储设备发送的所述目标限飞区数据。The data processing device receives the target restricted-fly zone data sent by the data storage device.
第二方面,本发明实施例提供了另一种数据处理方法,包括:In the second aspect, embodiments of the present invention provide another data processing method, including:
数据存储设备获取数据处理设备发送的第一读取请求,所述第一读取请求中包括目标数据块的地址信息,所述数据存储设备中存储一个或多个数据块,所述一个或多个数据块中至少包括所述目标数据块,所述目标数据块中包括目标限飞区数据,所述目标数据块的地址信息用于所述数据存储设备获取目标限飞区数据;The data storage device acquires a first read request sent by the data processing device, where the first read request includes address information of the target data block, the data storage device stores one or more data blocks, and the one or more data blocks are stored in the data storage device. Each data block includes at least the target data block, the target data block includes target restricted-fly zone data, and the address information of the target data block is used by the data storage device to obtain the target restricted-fly zone data;
数据存储设备响应所述第一读取请求获取与所述目标数据块的地址信息对应的目标限飞区数据;The data storage device responds to the first read request to obtain target flight restricted zone data corresponding to the address information of the target data block;
数据存储设备将所述目标限飞区数据发送给所述数据处理设备。The data storage device sends the target restricted-fly zone data to the data processing device.
第三方面,本发明实施例提供了一种数据处理设备,包括:存储器、处理器和通信接口;In a third aspect, an embodiment of the present invention provides a data processing device, including: a memory, a processor, and a communication interface;
所述存储器,用于存储程序;The memory is used to store programs;
所述处理器,用于调用所述程序,当所述程序被执行时,用于执行以下操作:The processor is used to call the program, and when the program is executed, it is used to perform the following operations:
通过所述通信接口向数据存储设备发送第一读取请求,所述第一读取请求中包括目标数据块的地址信息,所述数据存储设备中存储一个或多个数据块,所述一个或多个数据块中至少包括所述目标数据块,所述目标数据块中包括目标限飞区数据,所述目标数据块的地址信息用于所述数据存储设备获取目标限飞区数据;A first read request is sent to a data storage device through the communication interface, the first read request includes address information of a target data block, the data storage device stores one or more data blocks, the one or The multiple data blocks include at least the target data block, the target data block includes target restricted-fly zone data, and the address information of the target data block is used by the data storage device to obtain the target restricted-fly zone data;
通过所述通信接口接收所述数据存储设备发送的所述目标限飞区数据。Receiving the target restricted-fly zone data sent by the data storage device through the communication interface.
第四方面,本发明实施例提供了一种数据存储设备,包括:存储器、处理器和通信接口;In a fourth aspect, an embodiment of the present invention provides a data storage device, including: a memory, a processor, and a communication interface;
所述存储器,用于存储程序;The memory is used to store programs;
所述处理器,用于调用所述程序,当所述程序被执行时,用于执行以下操作:The processor is used to call the program, and when the program is executed, it is used to perform the following operations:
通过所述通信接口获取数据处理设备发送的第一读取请求,所述第一读取请求中包括目标数据块的地址信息,所述数据存储设备中存储一个或多个数据块,所述一个或多个数据块中至少包括所述目标数据块,所述目标数据块中包括目标限飞区数据,所述目标数据块的地址信息用于获取目标限飞区数据;The first read request sent by the data processing device is acquired through the communication interface, the first read request includes the address information of the target data block, the data storage device stores one or more data blocks, and the one Or a plurality of data blocks include at least the target data block, the target data block includes target restricted-fly zone data, and the address information of the target data block is used to obtain the target restricted-fly zone data;
响应所述第一读取请求获取与所述目标数据块的地址信息对应的目标限飞区数据;Responding to the first read request to obtain target flight restricted zone data corresponding to the address information of the target data block;
通过所述通信接口将所述目标限飞区数据发送给所述数据处理设备。The target flight restricted zone data is sent to the data processing device through the communication interface.
第五方面,本发明实施例提供了一种数据处理系统,包括:In a fifth aspect, an embodiment of the present invention provides a data processing system, including:
上述第三方面所述的数据处理设备以及上述第四方面所述的数据存储设备。The data processing device described in the third aspect and the data storage device described in the fourth aspect.
第六方面,本发明实施例提供了一种计算机可读存储介质,该计算机可读存储介质存储有计算机程序,该计算机程序被处理器执行时实现如上述第一方面或第二方面所述的方法。In a sixth aspect, an embodiment of the present invention provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the above-mentioned first or second aspect is implemented. method.
本发明实施例中,数据处理设备可以向数据存储设备发送第一读取请求,所述第一读取请求中包括目标数据块的地址信息,所述数据存储设备中存储一个或多个数据块,所述一个或多个数据块中至少包括所述目标数据块,所述目标数据块中包括目标限飞区数据,所述目标数据块的地址信息用于所述数据存储设备获取目标限飞区数据,并接收所述数据存储设备发送的所述目标限飞区数据。通过这种分块读取的方式,可以提高数据处理效率,降低内存消耗。In the embodiment of the present invention, the data processing device may send a first read request to the data storage device, where the first read request includes address information of the target data block, and the data storage device stores one or more data blocks , The one or more data blocks include at least the target data block, the target data block includes target flight restriction zone data, and the address information of the target data block is used by the data storage device to obtain the target flight restriction Zone data, and receive the target restricted-fly zone data sent by the data storage device. Through this block reading method, data processing efficiency can be improved and memory consumption can be reduced.
附图说明Description of the drawings
下面将对实施例中所需要使用的附图作简单地介绍。The following will briefly introduce the drawings that need to be used in the embodiments.
图1a是本发明实施例提供的一种数据处理系统的结构示意图;Figure 1a is a schematic structural diagram of a data processing system provided by an embodiment of the present invention;
图1b是本发明实施例提供的另一种数据处理系统的结构示意图;Figure 1b is a schematic structural diagram of another data processing system provided by an embodiment of the present invention;
图2是本发明实施例提供的一种数据处理方法的流程示意图;2 is a schematic flowchart of a data processing method provided by an embodiment of the present invention;
图3是本发明实施例提供的一种数据库头部信息的示意图;Figure 3 is a schematic diagram of a database header information provided by an embodiment of the present invention;
图4是本发明实施例提供的另一种数据处理方法的流程示意图;4 is a schematic flowchart of another data processing method provided by an embodiment of the present invention;
图5是本发明实施例提供的一种数据处理设备的结构示意图;Figure 5 is a schematic structural diagram of a data processing device provided by an embodiment of the present invention;
图6是本发明实施例提供的一种数据存储设备的结构示意图。Fig. 6 is a schematic structural diagram of a data storage device provided by an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。The following clearly describes the technical solutions in the embodiments of the present invention 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, rather than all the embodiments.
下面结合附图,对本发明的一些实施方式作详细说明。在不冲突的情况下,下述的实施例及实施例中的特征可以相互组合。Hereinafter, some embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the case of no conflict, the following embodiments and features in the embodiments can be combined with each other.
本发明实施例中提供的数据处理方法可以由数据处理系统执行。在某些实施例中,所述数据处理系统中包括数据处理设备和数据存储设备。在某些实施例中,所述数据处理设备和数据存储设备可以均安装在飞行设备(如无人机)上,即飞行设备包括所述数据处理设备和数据存储设备。在某些实施例中,所述数据处理设备可以安装在飞行设备(如无人机)上,即飞行设备包括所述数据处理设备,所述数据存储设备可以安装在控制设备上,即控制设备包括所述数据存储设备。在某些实施例中,所述控制设备可以包括用于控制飞行设备飞行的终端、控制器或服务器等。在某些实施例中,所述数据处理设备和/或数据存储设备可以在空间上独立于飞行设备。在某些实施例中,数据处理设备和/或数据存储设备与飞行设备之间建立通信连接。在某些实施例中,所述飞行设备包括用于为飞行设备提供移动动力的一个或多个电机,所述飞行设备可以是任务依靠所述电机自主移动的无人机。在其他实施例中,所述数据处理方法还可以应用于其他可移动设备上,如能够自主移动的机器人、无人车、无人船等可移动设备。The data processing method provided in the embodiment of the present invention may be executed by a data processing system. In some embodiments, the data processing system includes a data processing device and a data storage device. In some embodiments, the data processing device and the data storage device may both be installed on a flying device (such as a drone), that is, the flying device includes the data processing device and the data storage device. In some embodiments, the data processing device may be installed on a flight device (such as a drone), that is, the flight device includes the data processing device, and the data storage device may be installed on a control device, that is, the control device Including the data storage device. In some embodiments, the control device may include a terminal, a controller, or a server for controlling the flight of the flight device. In some embodiments, the data processing device and/or data storage device may be spatially independent of the flight device. In some embodiments, a communication connection is established between the data processing device and/or the data storage device and the flight device. In some embodiments, the flying device includes one or more motors for providing moving power for the flying device, and the flying device may be an unmanned aerial vehicle whose mission depends on the motor to move autonomously. In other embodiments, the data processing method can also be applied to other mobile devices, such as mobile devices that can move autonomously, such as robots, unmanned vehicles, and unmanned ships.
下面结合图1a和图1b对本发明实施例提供的数据处理系统进行示意性说明。In the following, a data processing system provided by an embodiment of the present invention will be schematically described in conjunction with FIG. 1a and FIG.
请参见图1a,图1a是本发明实施例提供的一种数据处理系统的结构示意图。所述数据处理系统包括:数据处理设备11、数据存储设备12和飞行设备13,在某些实施例中,所述数据处理设备11可以与数据存储设备12位于不同设备中,在某些实施例中,所述数据处理设备11位于飞行设备13中,所述数据存储设备12位于控制设备中,在某些实施例中,所述控制设备包括终端、控制器、服务器等中的任意一种。如图1a所示,飞行设备13包括数据处理设备11,飞行设备13和数据处理设备11与数据存储设备12彼此相互独立,例如,数据存储设备12设置在云端服务器中,通过无线通信连接方式与飞行设备13和数据处理设备11建立通信连接。在某些实施例中,所述飞行设备13包括动力系统131,所述动力系统131用于为飞行设备13提供移动的动力。Please refer to FIG. 1a, which is a schematic structural diagram of a data processing system according to an embodiment of the present invention. The data processing system includes: a data processing device 11, a data storage device 12, and a flight device 13. In some embodiments, the data processing device 11 and the data storage device 12 may be located in different devices. In some embodiments, The data processing device 11 is located in the flight device 13, and the data storage device 12 is located in the control device. In some embodiments, the control device includes any one of a terminal, a controller, and a server. As shown in Figure 1a, the flight device 13 includes a data processing device 11. The flight device 13 and the data processing device 11 and the data storage device 12 are independent of each other. For example, the data storage device 12 is set in a cloud server and is connected with The flight device 13 and the data processing device 11 establish a communication connection. In some embodiments, the flying equipment 13 includes a power system 131, and the power system 131 is used to provide the flying equipment 13 with moving power.
在一些实施例中,所述数据处理设备11可以与数据存储设备12位于同一设备中,所述同一设备可以为飞行设备13,即飞行设备13可以包括数据处理设备11和数据存储设备12,如图1b所示,图1b是本发明实施例提供的另一 种数据处理系统的结构示意图,在某些实施例中,所述数据处理设备11可以为飞控处理器,所述数据存储设备12可以为应用处理器,在其他实施例中,所述飞行设备13包括动力系统131,所述动力系统131用于为飞行设备13提供移动的动力。In some embodiments, the data processing device 11 and the data storage device 12 may be located in the same device, and the same device may be the flight device 13, that is, the flight device 13 may include the data processing device 11 and the data storage device 12, such as As shown in Figure 1b, Figure 1b is a schematic structural diagram of another data processing system provided by an embodiment of the present invention. In some embodiments, the data processing device 11 may be a flight control processor, and the data storage device 12 It may be an application processor. In other embodiments, the flight device 13 includes a power system 131, and the power system 131 is used to provide power for the flight device 13 to move.
在其他实施例中,飞行设备13还可以包括数据存储设备12,飞行设备13和数据处理设备11与数据存储设备12彼此相互独立,例如,数据处理设备11设置在云端服务器中,通过无线通信连接方式与飞行设备13和数据存储设备12建立通信连接。In other embodiments, the flight device 13 may also include a data storage device 12. The flight device 13 and the data processing device 11 and the data storage device 12 are independent of each other. For example, the data processing device 11 is set in a cloud server and is connected through wireless communication. Way to establish a communication connection with the flight device 13 and the data storage device 12.
本发明实施例中,数据处理设备11可以向数据存储设备12发送第一读取请求,所述第一读取请求中包括目标数据块的地址信息,所述数据存储设备12中存储一个或多个数据块,所述一个或多个数据块中至少包括所述目标数据块,所述目标数据块中包括目标限飞区数据。所述数据存储设备12在接收到所述数据处理设备11发送的第一读取请求时,可以响应所述第一读取请求,根据所述第一读取请求中携带的所述目标数据块的地址信息获取目标限飞区数据,并将该目标限飞区数据发送给数据处理设备11。所述数据处理设备11接收所述数据存储设备12发送的所述目标限飞区数据,并根据所述目标限飞区数据确定所述飞行设备与所述目标限飞区的位置关系,以控制所述飞行设备规避所述目标限飞区飞行。In the embodiment of the present invention, the data processing device 11 may send a first read request to the data storage device 12. The first read request includes the address information of the target data block, and the data storage device 12 stores one or more Data blocks, the one or more data blocks include at least the target data block, and the target data block includes target restricted-fly zone data. When the data storage device 12 receives the first read request sent by the data processing device 11, it may respond to the first read request according to the target data block carried in the first read request. Obtain the target restricted-fly zone data from the address information, and send the target restricted-fly zone data to the data processing device 11. The data processing device 11 receives the target restricted-fly zone data sent by the data storage device 12, and determines the positional relationship between the flight equipment and the target restricted-fly zone according to the target restricted-fly zone data to control The flying equipment flies in evading the target restricted-flying zone.
需要说明的是,在图1a中,数据处理设备11的安装位置仅用于表征数据处理设备11是设置在飞行设备13上的,并非用于限定数据处理设备11在飞行设备13上的安装位置,例如,数据处理设备11可以安装在飞行设备13内部。同样的,在图1b,数据处理设备11和数据存储设备12的安装位置仅用于表征数据处理设备11和数据存储设备12是设置在飞行设备13上的,并非用于限定数据处理设备11和数据存储设备12在飞行设备13上的安装位置,例如,数据处理设备11和数据存储设备12可以安装在飞行设备13内部。It should be noted that in FIG. 1a, the installation position of the data processing device 11 is only used to characterize that the data processing device 11 is installed on the flight device 13, and is not used to limit the installation position of the data processing device 11 on the flight device 13. For example, the data processing device 11 may be installed inside the flight device 13. Similarly, in Figure 1b, the installation positions of the data processing device 11 and the data storage device 12 are only used to characterize that the data processing device 11 and the data storage device 12 are installed on the flight device 13, and are not used to limit the data processing device 11 and The installation location of the data storage device 12 on the flight device 13, for example, the data processing device 11 and the data storage device 12 may be installed inside the flight device 13.
下面结合附图2-图4对本发明实施例提供的数据处理方法进行示意性说明。Hereinafter, the data processing method provided by the embodiment of the present invention will be schematically described with reference to FIGS. 2 to 4.
具体请参见图2,图2是本发明实施例提供的一种数据处理方法的流程示意图,所述数据处理方法可以由数据处理设备执行,其中,所述数据处理设备 与前述数据处理设备相同,所述数据处理设备的具体解释如前所述。具体地,本发明实施例的所述方法包括如下步骤。For details, please refer to Figure 2. Figure 2 is a schematic flowchart of a data processing method provided by an embodiment of the present invention. The data processing method can be executed by a data processing device, where the data processing device is the same as the aforementioned data processing device. The specific explanation of the data processing device is as described above. Specifically, the method of the embodiment of the present invention includes the following steps.
S201:数据处理设备向数据存储设备发送第一读取请求,所述第一读取请求中包括目标数据块的地址信息,所述数据存储设备中存储一个或多个数据块,所述一个或多个数据块中至少包括所述目标数据块,所述目标数据块中包括目标限飞区数据,所述目标数据块的地址信息用于所述数据存储设备获取目标限飞区数据。S201: The data processing device sends a first read request to a data storage device, where the first read request includes address information of a target data block, the data storage device stores one or more data blocks, and the one or more data blocks are stored in the data storage device. The multiple data blocks include at least the target data block, the target data block includes target restricted-fly zone data, and the address information of the target data block is used by the data storage device to obtain the target restricted-fly zone data.
本发明实施例中,数据处理设备可以向数据存储设备发送第一读取请求,所述第一读取请求中包括目标数据块的地址信息,所述数据存储设备中存储一个或多个数据块,所述一个或多个数据块中至少包括所述目标数据块,所述目标数据块中包括目标限飞区数据,所述目标数据块的地址信息用于所述数据存储设备获取目标限飞区数据。In the embodiment of the present invention, the data processing device may send a first read request to the data storage device, where the first read request includes address information of the target data block, and the data storage device stores one or more data blocks , The one or more data blocks include at least the target data block, the target data block includes target flight restriction zone data, and the address information of the target data block is used by the data storage device to obtain the target flight restriction District data.
可见,通过向数据存储设备发送第一读取请求,有助于数据存储设备根据该第一读取请求中携带的目标数据块的地址信息获取目标限飞区数据。It can be seen that by sending the first read request to the data storage device, it is helpful for the data storage device to obtain the target flight restricted zone data according to the address information of the target data block carried in the first read request.
在一些实施例中,所述数据处理设备和数据存储设备均包括通信接口,以实现数据处理设备和数据存储设备之间的通信。In some embodiments, the data processing device and the data storage device both include a communication interface to implement communication between the data processing device and the data storage device.
在一种实施方式中,当所述数据处理设备包括飞控处理器,数据存储设备包括应用处理器时,且所述飞控处理器和所述应用处理器均位于同一设备时,所述飞控处理器和应用处理器之间是通过总线连接的。In an embodiment, when the data processing device includes an flight control processor and the data storage device includes an application processor, and the flight control processor and the application processor are both located in the same device, the flight control processor and the application processor are both located in the same device. The control processor and the application processor are connected through a bus.
在一种实施方式中,当所述数据处理设备是位于飞行设备上的飞控处理器,所述数据存储设备位于远端控制器,则飞行设备和远端控制器是通过收发器来通信的,飞控处理器生成的数据通过飞行设备的收发器发送给远端控制器,同样的,飞行设备的收发器接收到远端控制器发送的数据后,再通过总线传送给飞控处理器。即可以理解为:飞行设备包括:飞控处理器、应用处理器以及收发器,进一步的,飞行设备还可以包括各种传感器、动力系统等,其中,飞控处理器是专门处理飞控相关的执行指令,如确定是否落入限飞区,是否需要改变航线等。In one embodiment, when the data processing device is a flight control processor located on the flight device and the data storage device is located on the remote controller, the flight device and the remote controller communicate through a transceiver The data generated by the flight control processor is sent to the remote controller through the transceiver of the flight device. Similarly, the transceiver of the flight device receives the data sent by the remote controller and then transmits it to the flight control processor through the bus. It can be understood as: flight equipment includes: flight control processor, application processor, and transceiver. Further, flight equipment can also include various sensors, power systems, etc., among which the flight control processor is dedicated to handling flight control related Executing instructions, such as determining whether to fall into the restricted flight zone, whether to change the route, etc.
在某些实施例中,所述数据存储设备包括随机读取接口,该随机读取接口用于所述数据存储设备读取目标限飞区数据。In some embodiments, the data storage device includes a random read interface, and the random read interface is used for the data storage device to read target restricted-fly zone data.
在一个实施例中,所述数据处理设备向数据存储设备发送第一读取请求之 前,可以根据飞行设备的当前位置信息确定与所述当前位置信息对应的所述目标数据块的地址信息。在某些实施例中,所述数据处理设备安装在飞行设备上的,飞行设备中除了包括飞控处理器以外,还包括应用处理器以及各种传感器,该传感器可以获取到飞行设备当前位置信息,并传送给应用处理器。在某些实施例中,飞控处理器可以通过总线方式从应用处理器获取到位置信息,在其他实施例中,传感器获取到飞行设备当前位置信息后,可以传送给飞控处理器,飞控处理器即可获取所述飞行设备的当前位置信息。In one embodiment, before the data processing device sends the first read request to the data storage device, the address information of the target data block corresponding to the current location information may be determined according to the current location information of the flying device. In some embodiments, the data processing device is installed on the flight device. In addition to the flight control processor, the flight device also includes an application processor and various sensors, which can obtain the current location information of the flight device. , And send it to the application processor. In some embodiments, the flight control processor can obtain the position information from the application processor through a bus. In other embodiments, the sensor can transmit the current position information of the flight device to the flight control processor. The processor can then obtain the current location information of the flight equipment.
在一个实施例中,所述数据处理设备在根据飞行设备的当前位置信息确定与所述当前位置信息对应的所述目标数据块的地址信息时,可以根据所述飞行设备的当前位置信息,确定所述飞行设备的当前位置对应的目标编码值,并根据所述目标编码值,从地址映射表中确定与所述目标编码值对应的所述目标数据块的地址信息,所述地址映射表中包括一个或多个编码值与一个或多个数据块的地址信息的对应关系。In one embodiment, when the data processing device determines the address information of the target data block corresponding to the current location information according to the current location information of the flying device, it may determine according to the current location information of the flying device The target code value corresponding to the current position of the flying device, and the address information of the target data block corresponding to the target code value is determined from an address mapping table according to the target code value, in the address mapping table It includes the correspondence between one or more coded values and the address information of one or more data blocks.
在某些实施例中,所述编码值可以是由哈希算法计算得到的,所述编码值为哈希值。在其他实施例中,所述编码值还可以是由其他编码算法计算得到。在其他实施例中,所述编码值还可以是由用户自定义的编码规则计算得到,本发明实施例不做具体限定。In some embodiments, the code value may be calculated by a hash algorithm, and the code value is a hash value. In other embodiments, the encoding value may also be calculated by other encoding algorithms. In other embodiments, the encoding value may also be calculated from a user-defined encoding rule, which is not specifically limited in the embodiment of the present invention.
可见,通过这种方式,可以快速地从地址映射表中获取目标数据块的地址信息,提高了获取目标数据块的地址信息的效率。It can be seen that in this way, the address information of the target data block can be quickly obtained from the address mapping table, which improves the efficiency of obtaining the address information of the target data block.
在一种实施方式中,所述数据处理设备在根据所述目标编码值,从地址映射表中确定与所述目标编码值对应的所述目标数据块的地址信息时,可以在根据飞行设备的当前位置信息计算得到目标编码值后,从地址映射表中查询到包括起始地址和数据块长度,并将起始地址和数据块长度发送给数据存储设备,数据存储设备可以根据起始地址找到对应的起始位置,根据数据块长度确定需要读取的目标数据块的数量,并根据所述起始地址和数据块长度生成目标数据块的地址信息,数据存储设备可以将确定的目标数据块的地址信息发送给数据处理设备。可见,通过这种实施方式,可以快速地获取到目标数据块的地址信息。In one embodiment, when the data processing device determines the address information of the target data block corresponding to the target encoding value from an address mapping table according to the target encoding value, it may After the current position information is calculated to obtain the target code value, the address mapping table is queried including the start address and data block length, and the start address and data block length are sent to the data storage device. The data storage device can be found according to the start address According to the corresponding starting position, the number of target data blocks that need to be read is determined according to the length of the data block, and the address information of the target data block is generated according to the starting address and the length of the data block. The data storage device can convert the determined target data block The address information is sent to the data processing device. It can be seen that through this implementation manner, the address information of the target data block can be quickly obtained.
在一些实施例中,所述地址映射表可以存储在数据处理设备中。在某些实施例中,所述地址映射表可以存储在数据存储设备的数据库的头部信息中,在 某些实施例中,所述数据库的头部信息包含数据块的地址信息、数据块的大小、数据块的签名的地址信息、总数据块的数量等信息。具体可以图3为例进行说明,图3是本发明实施例提供的一种数据库头部信息的示意图,如图3所示,所述数据库的头部信息中存储了地址映射表,所述地址映射表中包括一个或多个编码值与一个或多个数据块的地址信息的对应关系;在某些实施例中,所述数据库的头部信息中还存储了一个或多个数据块的签名的地址信息与一个或多个数据块的地址信息的对应关系,如数据块1与签名1对应,数据块2与签名2对应。In some embodiments, the address mapping table may be stored in a data processing device. In some embodiments, the address mapping table may be stored in the header information of the database of the data storage device. In some embodiments, the header information of the database includes the address information of the data block and the information of the data block. The size, the address information of the signature of the data block, the number of the total data block and other information. Specifically, Figure 3 is used as an example for description. Figure 3 is a schematic diagram of a database header information provided by an embodiment of the present invention. As shown in Figure 3, an address mapping table is stored in the database header information, and the address The mapping table includes the correspondence between one or more encoding values and the address information of one or more data blocks; in some embodiments, the header information of the database also stores the signatures of one or more data blocks The corresponding relationship between the address information and the address information of one or more data blocks, for example, data block 1 corresponds to signature 1, and data block 2 corresponds to signature 2.
在一个实施例中,所述数据处理设备根据所述目标编码值,从地址映射表中确定与所述目标编码值对应的所述目标数据块的地址信息之前,还可以向所述数据存储设备发送第二读取请求,所述第二读取请求用于请求获取所述地址映射表,并接收所述数据存储设备发送的所述地址映射表。通过这种地址映射表有助于快速查询目标数据块的地址信息。In one embodiment, before determining the address information of the target data block corresponding to the target encoding value from the address mapping table according to the target encoding value, the data processing device may also send the data to the data storage device Send a second read request, where the second read request is used to request to obtain the address mapping table and receive the address mapping table sent by the data storage device. This kind of address mapping table helps to quickly query the address information of the target data block.
在一种实施方式中,数据处理设备可以向所述数据存储设备发送第二读取请求,第二设在获取到所述第二读取请求后,可以响应所述第二读取请求获取所述地址映射表,并将获取到的地址映射表发送给数据处理设备,数据处理设备接收所述数据存储设备发送的所述地址映射表。In one embodiment, the data processing device may send a second read request to the data storage device, and the second device may obtain the data in response to the second read request after obtaining the second read request. The address mapping table is described, and the acquired address mapping table is sent to the data processing device, and the data processing device receives the address mapping table sent by the data storage device.
在一个实施例中,所述数据处理设备根据飞行设备的当前位置信息确定与所述当前位置信息对应的所述目标数据块的地址信息时,可以根据所述飞行设备的当前位置信息,确定所述飞行设备的当前位置对应的目标编码值,并根据所述目标编码值,确定与所述目标编码值对应的目标限飞区的索引,从而根据所述目标限飞区的索引,确定与所述目标限飞区的索引对应的所述目标数据块的地址信息。通过这种实施方式,可以快速地通过索引获取目标数据块的地址信息,有助于提高获取目标数据块对应的限飞区数据的效率。In an embodiment, when the data processing device determines the address information of the target data block corresponding to the current location information according to the current location information of the flying device, it may determine the address information according to the current location information of the flying device. According to the target code value corresponding to the current position of the flight equipment, and according to the target code value, the index of the target flight restriction zone corresponding to the target code value is determined, so as to determine the index of the target flight restriction zone according to the index of the target flight restriction zone. The address information of the target data block corresponding to the index of the target restricted area. Through this implementation manner, the address information of the target data block can be quickly obtained through the index, which helps to improve the efficiency of obtaining the restricted-fly zone data corresponding to the target data block.
在一些实施例中,所述目标数据块的地址信息包括所述目标数据块的起始地址、所述目标数据块的结束地址、所述目标数据块的长度中的任意一种或多种。In some embodiments, the address information of the target data block includes any one or more of the start address of the target data block, the end address of the target data block, and the length of the target data block.
在一种实施方式中,所述目标数据块的地址信息包括所述目标数据块的起始地址和所述目标数据块的长度,数据处理设备可以向数据存储设备发送包括目标数据块的起始地址和所述目标数据块的长度的地址信息的第一读取请求。In an embodiment, the address information of the target data block includes the start address of the target data block and the length of the target data block, and the data processing device may send the start address of the target data block to the data storage device. A first read request for address information and the length of the target data block.
例如,假设所述目标数据块的起始地址为0,目标数据块的长度2,则数据处理设备可以向数据存储设备发送一次第一读取请求,该第一读取请求携带地址0,数据存储设备响应该第一读取请求读取地址0对应的数据块1,并向数据处理设备反馈该地址0对应的数据块1。所述数据处理设备可以再次向数据存储设备发送第一读取请求,该第一读取请求携带了数据块1对应的签名的地址100,数据存储设备可以响应该第一读取请求读取地址100对应的数据块1的签名,并向数据处理设备反馈地址100对应的数据块1的签名。数据处理设备可以再次向数据存储设备发送第一读取请求,该第一读取请求携带了地址1,数据存储设备响应该第一读取请求读取地址1对应的数据块2,并向数据处理设备反馈该地址1对应的数据块2。数据处理设备可以再向数据存储设备发送一次第一读取请求,该第一读取请求携带了数据块2对应的签名的地址101,数据存储设备可以响应该第一读取请求读取地址101对应的数据块2的签名,并向数据处理设备反馈地址101对应的数据块2的签名。For example, assuming that the start address of the target data block is 0 and the length of the target data block is 2, the data processing device may send a first read request to the data storage device once, and the first read request carries address 0 and data The storage device reads data block 1 corresponding to address 0 in response to the first read request, and feeds back data block 1 corresponding to address 0 to the data processing device. The data processing device may send a first read request to the data storage device again. The first read request carries the signed address 100 corresponding to the data block 1, and the data storage device may read the address in response to the first read request. The signature of data block 1 corresponding to 100, and the signature of data block 1 corresponding to address 100 is fed back to the data processing device. The data processing device may again send a first read request to the data storage device, the first read request carries address 1, and the data storage device responds to the first read request to read data block 2 corresponding to address 1 and send it to the data storage device. The processing device feeds back the data block 2 corresponding to the address 1. The data processing device may send a first read request to the data storage device again. The first read request carries the address 101 of the signature corresponding to the data block 2, and the data storage device may read the address 101 in response to the first read request. The signature of the corresponding data block 2 and the signature of the data block 2 corresponding to the address 101 are fed back to the data processing device.
在一种实施方式中,所述目标数据块的地址信息包括所述目标数据块的起始地址、结束地址和所述目标数据块的签名的地址信息,数据处理设备可以向数据存储设备发送包括目标数据块的起始地址、结束地址和所述目标数据块的签名的地址信息的第一读取请求。In an embodiment, the address information of the target data block includes the start address, the end address of the target data block, and the address information of the signature of the target data block, and the data processing device may send to the data storage device including The first read request of the start address, the end address of the target data block, and the address information of the signature of the target data block.
例如,假设所述目标数据块的起始地址为0,结束地址为1,目标数据块对应的签名的地址信息为地址100和地址101,则数据处理设备可以向数据存储设备发送一次第一读取请求,该第一读取请求携带地址0、地址1、地址100和地址101,数据存储设备响应该第一读取请求读取地址0对应的数据块1,读取地址100对应的数据块1的签名,读取地址1对应的数据块2以及读取地址101对应的数据块2的签名,并向数据处理设备反馈数据块1、数据块1的签名、数据块2以及数据块2的签名。For example, assuming that the start address of the target data block is 0, the end address is 1, and the address information of the signature corresponding to the target data block is address 100 and address 101, the data processing device may send a first read to the data storage device. A fetch request, the first read request carries address 0, address 1, address 100, and address 101. The data storage device responds to the first read request to read data block 1 corresponding to address 0 and read data block corresponding to address 100 The signature of data block 1, read the signature of data block 2 corresponding to address 1 and the signature of data block 2 corresponding to address 101, and feed back the signature of data block 1, data block 1, data block 2 and data block 2 to the data processing device signature.
在一种实施方式中,所述目标数据块的地址信息包括所述目标数据块的起始地址、目标数据块的签名的地址信息和目标数据块的长度,数据处理设备可以向数据存储设备发送包括目标数据块的起始地址、目标数据块的签名的地址信息和目标数据块的长度的第一读取请求。In one embodiment, the address information of the target data block includes the start address of the target data block, the address information of the signature of the target data block, and the length of the target data block, and the data processing device may send to the data storage device The first read request including the start address of the target data block, the address information of the signature of the target data block, and the length of the target data block.
例如,假设所述目标数据块的起始地址为0,目标数据块的长度为2,目标数据块对应的签名的地址信息为地址100,则数据处理设备可以向数据存储 设备发送一次第一读取请求,该第一读取请求携带地址0和地址100,数据存储设备响应该第一读取请求读取地址0对应的数据块1,读取地址100对应的数据块1的签名,并向数据处理设备反馈数据块1和数据块1的签名。所述数据处理设备可以再向数据存储设备发送一次第一读取请求,其中,该第一读取请求携带地址1和地址101,数据存储设备响应该第一读取请求读取地址1对应的数据块2以及读取地址101对应的数据块2的签名,并向数据处理设备反馈数据块2以及数据块2的签名。For example, assuming that the start address of the target data block is 0, the length of the target data block is 2, and the address information of the signature corresponding to the target data block is address 100, the data processing device may send a first read to the data storage device. Fetch request, the first read request carries address 0 and address 100, the data storage device responds to the first read request to read data block 1 corresponding to address 0, reads the signature of data block 1 corresponding to address 100, and sends The data processing device feeds back the signatures of data block 1 and data block 1. The data processing device may send a first read request to the data storage device again, where the first read request carries address 1 and address 101, and the data storage device responds to the first read request to read the address corresponding to address 1. Data block 2 and the signature of data block 2 corresponding to address 101 are read, and the data block 2 and the signature of data block 2 are fed back to the data processing device.
在一个实施例中,所述数据处理设备和所述数据存储设备可以位于同一设备中,所述数据处理设备包括飞控处理器,所述数据存储设备包括应用处理器。在某些实施例中,所述同一设备可以为飞行设备。在某些实施例中,所述飞控处理器可以是飞控系统(Flight Control,FC)的处理器如微控制单元(Microcontroller Unit,MCU)。在某些实施例中,所述应用处理器可以为(Application Processer,AP)In an embodiment, the data processing device and the data storage device may be located in the same device, the data processing device includes a flight control processor, and the data storage device includes an application processor. In some embodiments, the same device may be a flying device. In some embodiments, the flight control processor may be a processor of a flight control system (Flight Control, FC) such as a Microcontroller Unit (MCU). In some embodiments, the application processor may be (Application Processor, AP)
在一个实施例中,所述数据处理设备和所述数据存储设备可以位于不同设备中,在某些实施例中,所述数据处理设备可以位于飞行设备中,所述数据存储设备可以位于控制设备中,在某些实施例中,所述数据处理设备可以包括飞控处理器,所述控制设备可以包括终端、控制器或服务器等。在某些实施例中,所述数据处理设备的存储容量小于或等于所述数据存储设备的存储容量。In one embodiment, the data processing device and the data storage device may be located in different devices. In some embodiments, the data processing device may be located in a flight device, and the data storage device may be located in a control device. In some embodiments, the data processing device may include a flight control processor, and the control device may include a terminal, a controller, or a server. In some embodiments, the storage capacity of the data processing device is less than or equal to the storage capacity of the data storage device.
在一个实施例中,所述数据读取请求中还包括所述目标数据块对应的签名的地址信息,所述签名的地址信息用于所述数据存储设备获取所述签名,所述数据处理设备可以接收所述数据存储设备发送的所述签名,并根据所述签名对所述目标数据块进行验证。In an embodiment, the data read request further includes address information of the signature corresponding to the target data block, and the address information of the signature is used by the data storage device to obtain the signature, and the data processing device The signature sent by the data storage device may be received, and the target data block may be verified according to the signature.
在一种实施方式中,所述数据处理设备在根据所述签名对所述目标数据块进行验证时,可以根据预设的密钥对所述目标数据块进行计算,得到验证签名,并将所述签名与所述验证签名进行对比,如果所述签名与所述验证签名一致,则可以确定对所述目标数据块验证成功。In an implementation manner, when the data processing device verifies the target data block according to the signature, it may calculate the target data block according to a preset key to obtain a verification signature, and combine all The signature is compared with the verification signature, and if the signature is consistent with the verification signature, it can be determined that the verification of the target data block is successful.
例如,假设预设的密钥为X,所述数据处理设备在根据所述签名对所述目标数据块进行验证时,可以根据预设的密钥X对所述目标数据块进行计算,得到验证签名,并将所述签名与所述验证签名进行对比,如果所述签名与所述验证签名一致,则可以确定对所述目标数据块验证成功。For example, assuming that the preset key is X, when the data processing device verifies the target data block according to the signature, it can calculate the target data block according to the preset key X to obtain verification Sign, and compare the signature with the verification signature. If the signature is consistent with the verification signature, it can be determined that the verification of the target data block is successful.
可见,通过这种实施方式,可以对目标数据块的签名进行验证,有助于确保目标数据块对应的限飞区数据的安全性。It can be seen that through this implementation manner, the signature of the target data block can be verified, which helps to ensure the safety of the restricted-fly zone data corresponding to the target data block.
S202:所述数据处理设备接收所述数据存储设备发送的所述目标限飞区数据。S202: The data processing device receives the target restricted-flying zone data sent by the data storage device.
本发明实施例中,数据处理设备可以接收所述数据存储设备发送的所述目标限飞区数据。In the embodiment of the present invention, the data processing device may receive the target restricted-fly zone data sent by the data storage device.
在一个实施例中,所述数据处理设备接收所述数据存储设备发送的所述目标限飞区数据之后,还可以根据所述目标限飞区数据确定所述飞行设备与所述目标限飞区的位置关系。通过这种实施方式,有助于控制飞行设备规避目标限飞区飞行,以确保飞行设备的安全性。In one embodiment, after the data processing device receives the target restricted-fly zone data sent by the data storage device, it may also determine the flight equipment and the target restricted-fly zone according to the target restricted-fly zone data The positional relationship. Through this implementation manner, it is helpful to control the flight equipment to avoid the target flight restricted area to ensure the safety of the flight equipment.
本发明实施例中,数据处理设备可以向数据存储设备发送第一读取请求,所述第一读取请求中包括目标数据块的地址信息,所述数据存储设备中存储一个或多个数据块,所述一个或多个数据块中至少包括所述目标数据块,所述目标数据块中包括目标限飞区数据,所述目标数据块的地址信息用于所述数据存储设备获取目标限飞区数据,并接收所述数据存储设备发送的所述目标限飞区数据。通过这种分块读取的方式,提高了数据处理效率,降低了内存消耗。In the embodiment of the present invention, the data processing device may send a first read request to the data storage device, where the first read request includes address information of the target data block, and the data storage device stores one or more data blocks , The one or more data blocks include at least the target data block, the target data block includes target flight restriction zone data, and the address information of the target data block is used by the data storage device to obtain the target flight restriction Zone data, and receive the target restricted-fly zone data sent by the data storage device. Through this block reading method, data processing efficiency is improved and memory consumption is reduced.
具体请参见图4,图4是本发明实施例提供的另一种数据处理方法的流程示意图,所述方法可以由数据存储设备执行,其中,所述数据存储设备与前述数据存储设备相同,所述数据存储设备的具体解释如前所述。具体地,本发明实施例的所述方法包括如下步骤。For details, please refer to Figure 4. Figure 4 is a schematic flowchart of another data processing method provided by an embodiment of the present invention. The method can be executed by a data storage device, where the data storage device is the same as the aforementioned data storage device. The specific explanation of the data storage device is as described above. Specifically, the method of the embodiment of the present invention includes the following steps.
S401:数据存储设备获取数据处理设备发送的第一读取请求,所述第一读取请求中包括目标数据块的地址信息,所述数据存储设备中存储一个或多个数据块,所述一个或多个数据块中至少包括所述目标数据块,所述目标数据块中包括目标限飞区数据,所述目标数据块的地址信息用于所述数据存储设备获取目标限飞区数据。S401: The data storage device acquires a first read request sent by the data processing device, where the first read request includes address information of a target data block, the data storage device stores one or more data blocks, and the one The or multiple data blocks include at least the target data block, the target data block includes target restricted-fly zone data, and the address information of the target data block is used by the data storage device to obtain the target restricted-fly zone data.
本发明实施例中,数据存储设备可以获取数据处理设备发送的第一读取请求,所述第一读取请求中包括目标数据块的地址信息,所述数据存储设备中存储一个或多个数据块,所述一个或多个数据块中至少包括所述目标数据块,所述目标数据块中包括目标限飞区数据,所述目标数据块的地址信息用于所述数 据存储设备获取目标限飞区数据。通过这种实施方式,有助于数据存储设备根据该第一读取请求中携带的目标数据块的地址信息获取目标限飞区数据。In the embodiment of the present invention, the data storage device may obtain the first read request sent by the data processing device, where the first read request includes the address information of the target data block, and the data storage device stores one or more data Block, the one or more data blocks include at least the target data block, the target data block includes target restricted flight zone data, and the address information of the target data block is used by the data storage device to obtain the target limit Fly zone data. Through this implementation manner, it is helpful for the data storage device to obtain the target restricted-fly zone data according to the address information of the target data block carried in the first read request.
在某些实施例中,所述数据处理设备和数据存储设备均包括通信接口,以实现数据处理设备和数据存储设备之间的通信。在某些实施例中,所述数据存储设备包括随机读取接口,该随机读取接口用于所述数据存储设备读取目标限飞区数据。In some embodiments, the data processing device and the data storage device both include a communication interface to implement communication between the data processing device and the data storage device. In some embodiments, the data storage device includes a random read interface, and the random read interface is used for the data storage device to read target restricted-fly zone data.
S402:数据存储设备响应所述第一读取请求获取与所述目标数据块的地址信息对应的目标限飞区数据。S402: The data storage device responds to the first read request to obtain target flight restricted zone data corresponding to the address information of the target data block.
本发明实施例中,数据存储设备可以响应所述第一读取请求获取与所述目标数据块的地址信息对应的目标限飞区数据。In the embodiment of the present invention, the data storage device may obtain the target restricted area data corresponding to the address information of the target data block in response to the first read request.
在一个实施例中,所述数据存储设备还可以接收所述数据处理设备发送的第二读取请求,并响应所述第二读取请求获取地址映射表,并将所述地址映射表发送给所述数据处理设备,所述地址映射表中包括一个或多个编码值与一个或多个数据块的地址信息的对应关系。通过这种实施方式,有助于数据处理设备从地址映射表中确定出目标数据块的地址信息。In an embodiment, the data storage device may also receive a second read request sent by the data processing device, obtain an address mapping table in response to the second read request, and send the address mapping table to In the data processing device, the address mapping table includes a correspondence relationship between one or more coded values and address information of one or more data blocks. Through this implementation manner, it is helpful for the data processing device to determine the address information of the target data block from the address mapping table.
在一个实施例中,所述目标数据块的地址信息包括所述目标数据块的起始地址、所述目标数据块的结束地址、所述目标数据块的长度中的任意一种或多种。In an embodiment, the address information of the target data block includes any one or more of the start address of the target data block, the end address of the target data block, and the length of the target data block.
在一个实施例中,所述数据处理设备和所述数据存储设备可以位于不同设备中,在某些实施例中,所述数据处理设备可以位于飞行设备中,所述数据存储设备可以位于控制设备中,在某些实施例中,所述数据处理设备可以包括飞控处理器,所述控制设备可以包括终端、控制器或服务器等。在某些实施例中,所述数据处理设备的存储容量小于或等于所述数据存储设备的存储容量。In one embodiment, the data processing device and the data storage device may be located in different devices. In some embodiments, the data processing device may be located in a flight device, and the data storage device may be located in a control device. In some embodiments, the data processing device may include a flight control processor, and the control device may include a terminal, a controller, or a server. In some embodiments, the storage capacity of the data processing device is less than or equal to the storage capacity of the data storage device.
在一个实施例中,所述第一读取请求中还包括所述目标数据块对应的签名的地址信息,所述签名的地址信息用于所述数据存储设备获取所述签名,所述数据存储设备可以响应所述第一读取请求获取与所述数据块对应的签名的地址信息对应的签名,并将所述签名发送给所述数据处理设备。通过这种实施方式,有助于数据处理设备对所述目标数据块的签名进行验证,从而确保目标数据块中的限飞区数据的安全性。In an embodiment, the first read request further includes address information of the signature corresponding to the target data block, the address information of the signature is used by the data storage device to obtain the signature, and the data storage The device may obtain a signature corresponding to the address information of the signature corresponding to the data block in response to the first read request, and send the signature to the data processing device. Through this implementation manner, it is helpful for the data processing device to verify the signature of the target data block, thereby ensuring the safety of the restricted-fly zone data in the target data block.
在一种实施方式中,所述目标数据块对应的签名的地址信息包括所述目标 数据块对应的签名的地址和所述目标数据块的长度,数据存储设备可以响应所述第一读取请求获取与所述数据块对应的签名的地址信息对应的签名。In an embodiment, the address information of the signature corresponding to the target data block includes the address of the signature corresponding to the target data block and the length of the target data block, and the data storage device can respond to the first read request Obtain a signature corresponding to the address information of the signature corresponding to the data block.
例如,假设第一读取请求中包括目标数据块对应的签名的地址为100,目标数据块的长度2,则数据存储设备可以响应该第一读取请求获取地址100对应的数据块1的签名,并向数据处理设备反馈地址100对应的数据块1的签名。数据存储设备可以响应该第一读取请求获取地址101对应的数据块2的签名,并向数据处理设备反馈地址102对应的数据块2的签名。For example, assuming that the first read request includes the address of the signature corresponding to the target data block as 100 and the length of the target data block is 2, the data storage device can respond to the first read request to obtain the signature of data block 1 corresponding to address 100 , And feedback the signature of data block 1 corresponding to address 100 to the data processing device. The data storage device may obtain the signature of the data block 2 corresponding to the address 101 in response to the first read request, and feed back the signature of the data block 2 corresponding to the address 102 to the data processing device.
S403:数据存储设备将所述目标限飞区数据发送给所述数据处理设备。S403: The data storage device sends the target restricted-fly zone data to the data processing device.
本发明实施例中,数据存储设备可以将所述目标限飞区数据发送给所述数据处理设备。通过这种实施方式,有助于数据处理设备根据所述目标限飞区数据确定所述飞行设备与所述目标限飞区的位置关系,从而更好地控制飞行设备规避目标限飞区飞行,以确保飞行设备的安全性。In the embodiment of the present invention, the data storage device may send the target restricted-fly zone data to the data processing device. Through this implementation manner, it is helpful for the data processing device to determine the positional relationship between the flight device and the target flight restriction zone based on the target flight restriction zone data, so as to better control the flight equipment to avoid the target flight restriction zone to fly. To ensure the safety of flight equipment.
本发明实施例中,数据存储设备可以获取数据处理设备发送的第一读取请求,所述第一读取请求中包括目标数据块的地址信息,所述数据存储设备中存储一个或多个数据块,所述一个或多个数据块中至少包括所述目标数据块,所述目标数据块中包括目标限飞区数据,所述目标数据块的地址信息用于所述数据存储设备获取目标限飞区数据,通过响应所述第一读取请求获取与所述目标数据块的地址信息对应的目标限飞区数据,并将所述目标限飞区数据发送给所述数据处理设备,提高了数据处理效率,降低了内存消耗。In the embodiment of the present invention, the data storage device may obtain the first read request sent by the data processing device, where the first read request includes the address information of the target data block, and the data storage device stores one or more data Block, the one or more data blocks include at least the target data block, the target data block includes target restricted flight zone data, and the address information of the target data block is used by the data storage device to obtain the target limit The flying zone data is obtained by responding to the first read request to obtain target restricted flying zone data corresponding to the address information of the target data block, and sending the target restricted flying zone data to the data processing device, which improves Data processing efficiency reduces memory consumption.
在一种可选的实施方式中,飞行设备中至少包括FC的MCU和AP这2个处理器,其中,AP的性能高于MCU,且AP的存储容量大于MCU。可以将全球范围或者某些范围内的限飞区数据全部存储在AP上,MCU中则不需要存储这些限飞区数据,当MCU需要获取飞行设备当前位置信息周围的限飞区数据时,可以通过通信接口向AP获取,具体的获取方式可以参考前述实施例中的相关描述,此处不再赘述。In an optional implementation manner, the flight equipment includes at least two processors, an FC MCU and an AP, where the performance of the AP is higher than that of the MCU, and the storage capacity of the AP is greater than that of the MCU. It is possible to store all the restricted-fly zone data on a global scale or within a certain range on the AP. The MCU does not need to store the restricted-fly zone data. When the MCU needs to obtain the restricted-fly zone data around the current position information of the flight equipment, it can It is obtained from the AP through the communication interface, and the specific obtaining method can refer to the related description in the foregoing embodiment, which will not be repeated here.
在另一种可选的实施方式中,可以将全球范围或者某些范围内的限飞区数据全部存储在飞行设备远端的控制设备或者服务器上,MCU中则不需要存储这些限飞区数据,当MCU需要获取飞行设备当前位置信息周围的限飞区数据时,可以通过飞行设备的收发器向远端的控制设备或者服务器获取,具体的获取方式可以参考前述实施例中的相关描述,此处不再赘述。In another optional implementation manner, all the restricted-fly zone data on a global scale or within certain ranges can be stored on the remote control device or server of the flight equipment, and there is no need to store these restricted-fly zone data in the MCU. When the MCU needs to obtain the flight-restricted zone data around the current location information of the flight device, it can be obtained from the remote control device or server through the transceiver of the flight device. For the specific obtaining method, refer to the relevant description in the foregoing embodiment. I won't repeat it here.
请参见图5,图5是本发明实施例提供的一种数据处理设备的结构示意图,所述设备包括存储器501和处理器502;Please refer to FIG. 5. FIG. 5 is a schematic structural diagram of a data processing device according to an embodiment of the present invention. The device includes a memory 501 and a processor 502;
当所述数据处理设备为飞控处理器,数据存储设备为应用处理器时,且所述飞控处理器和所述应用处理器位于飞行设备上时,飞控处理器和应用处理器通过通信接口进行数据传输,该通信接口可以是总线。当所述数据处理设备为飞行设备上的飞控处理器,数据存储设备为远端控制设备时,飞控处理器(或飞行设备)和远端控制设备通过通信接口进行数据传输,该通信接口可以是收发器,以通过无线通信方式传输。When the data processing device is a flight control processor, the data storage device is an application processor, and the flight control processor and the application processor are located on the flight equipment, the flight control processor and the application processor communicate The interface performs data transmission, and the communication interface may be a bus. When the data processing device is the flight control processor on the flight device and the data storage device is the remote control device, the flight control processor (or flight device) and the remote control device perform data transmission through a communication interface. It can be a transceiver to transmit via wireless communication.
所述存储器501可以包括易失性存储器(volatile memory);存储器501也可以包括非易失性存储器(non-volatile memory);存储器501还可以包括上述种类的存储器的组合。所述处理器502可以是中央处理器(central processing unit,CPU)。所述处理器502还可以进一步包括硬件芯片。上述硬件芯片可以是专用集成电路(application-specific integrated circuit,ASIC),可编程逻辑器件(programmable logic device,PLD)或其组合。上述PLD可以是复杂可编程逻辑器件(complex programmable logic device,CPLD),现场可编程逻辑门阵列(field-programmable gate array,FPGA)或其任意组合。The memory 501 may include a volatile memory (volatile memory); the memory 501 may also include a non-volatile memory (non-volatile memory); the memory 501 may also include a combination of the foregoing types of memories. The processor 502 may be a central processing unit (CPU). The processor 502 may further include a hardware chip. The aforementioned hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The above-mentioned PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), or any combination thereof.
所述处理器502,用于调用所述程序,当所述程序被执行时,用于执行以下操作:The processor 502 is configured to call the program, and when the program is executed, it is configured to perform the following operations:
通过所述通信接口向数据存储设备发送第一读取请求,所述第一读取请求中包括目标数据块的地址信息,所述数据存储设备中存储一个或多个数据块,所述一个或多个数据块中至少包括所述目标数据块,所述目标数据块中包括目标限飞区数据,所述目标数据块的地址信息用于所述数据存储设备获取目标限飞区数据;Send a first read request to the data storage device through the communication interface, the first read request includes address information of the target data block, the data storage device stores one or more data blocks, the one or The multiple data blocks include at least the target data block, the target data block includes target restricted-fly zone data, and the address information of the target data block is used by the data storage device to obtain the target restricted-fly zone data;
通过所述通信接口接收所述数据存储设备发送的所述目标限飞区数据。Receiving the target restricted-fly zone data sent by the data storage device through the communication interface.
进一步地,所述处理器502通过所述通信接口向数据存储设备发送第一读取请求之前,还用于:Further, before sending the first read request to the data storage device through the communication interface, the processor 502 is further configured to:
根据飞行设备的当前位置信息确定与所述当前位置信息对应的所述目标数据块的地址信息。The address information of the target data block corresponding to the current position information is determined according to the current position information of the flying device.
进一步地,所述处理器502根据飞行设备的当前位置信息确定与所述当前 位置信息对应的所述目标数据块的地址信息时,具体用于:Further, when the processor 502 determines the address information of the target data block corresponding to the current position information according to the current position information of the flying device, it is specifically configured to:
根据所述飞行设备的当前位置信息,确定所述飞行设备的当前位置对应的目标编码值;Determine the target code value corresponding to the current location of the flying device according to the current location information of the flying device;
根据所述目标编码值,从地址映射表中确定与所述目标编码值对应的所述目标数据块的地址信息,所述地址映射表中包括一个或多个编码值与一个或多个数据块的地址信息的对应关系。According to the target code value, the address information of the target data block corresponding to the target code value is determined from an address mapping table, and the address mapping table includes one or more code values and one or more data blocks Correspondence of the address information.
进一步地,所述编码值是由哈希GEOHASH算法、三词地址What3Words算法或者公开位置代码OLC算法计算得到的。Further, the encoding value is calculated by the hash GEOHASH algorithm, the three-word address What3Words algorithm, or the public location code OLC algorithm.
进一步地,所述编码值是由哈希GEOHASH算法计算得到的,所述编码值为哈希值。Further, the coded value is calculated by the hash GEOHASH algorithm, and the coded value is a hash value.
进一步地,所述处理器502根据所述目标编码值,从地址映射表中确定与所述目标编码值对应的所述目标数据块的地址信息之前,还用于:Further, before determining the address information of the target data block corresponding to the target encoding value from the address mapping table according to the target encoding value, the processor 502 is further configured to:
通过所述通信接口向所述数据存储设备发送第二读取请求,所述第二读取请求用于请求获取所述地址映射表;Sending a second read request to the data storage device through the communication interface, where the second read request is used to request to obtain the address mapping table;
通过所述通信接口接收所述数据存储设备发送的所述地址映射表。Receiving the address mapping table sent by the data storage device through the communication interface.
进一步地,所述处理器502根据飞行设备的当前位置信息确定与所述当前位置信息对应的所述目标数据块的地址信息时,具体用于:Further, when the processor 502 determines the address information of the target data block corresponding to the current position information according to the current position information of the flying device, it is specifically configured to:
根据所述飞行设备的当前位置信息,确定所述飞行设备的当前位置对应的目标编码值;Determine the target code value corresponding to the current location of the flying device according to the current location information of the flying device;
根据所述目标编码值,确定与所述目标编码值对应的目标限飞区的索引;Determine, according to the target code value, the index of the target flight restriction zone corresponding to the target code value;
根据所述目标限飞区的索引,确定与所述目标限飞区的索引对应的所述目标数据块的地址信息。According to the index of the target restricted area, the address information of the target data block corresponding to the index of the target restricted area is determined.
进一步地,所述目标数据块的地址信息包括所述目标数据块的起始地址、所述目标数据块的结束地址或所述目标数据块的长度中的任意一种或多种。Further, the address information of the target data block includes any one or more of the start address of the target data block, the end address of the target data block, or the length of the target data block.
进一步地,所述处理器502通过所述通信接口接收所述数据存储设备发送的所述目标限飞区数据之后,还用于:Further, after the processor 502 receives the target restricted area data sent by the data storage device through the communication interface, it is further configured to:
根据所述目标限飞区数据确定飞行设备与所述目标限飞区的位置关系。Determine the positional relationship between the flying equipment and the target flight restriction zone according to the target flight restriction zone data.
进一步地,所述数据处理设备和所述数据存储设备位于同一设备中。Further, the data processing device and the data storage device are located in the same device.
进一步地,所述数据处理设备包括飞控处理器,所述数据存储设备包括应用处理器。Further, the data processing device includes a flight control processor, and the data storage device includes an application processor.
进一步地,所述同一设备为飞行设备。Further, the same device is a flying device.
进一步地,所述数据处理设备和所述数据存储设备位于不同设备中。Further, the data processing device and the data storage device are located in different devices.
进一步地,所述数据处理设备位于飞行设备中,所述数据存储设备位于控制设备中。Further, the data processing device is located in the flight device, and the data storage device is located in the control device.
进一步地,所述数据处理设备包括飞控处理器,所述控制设备包括终端、控制器或服务器。Further, the data processing device includes a flight control processor, and the control device includes a terminal, a controller or a server.
进一步地,所述数据处理设备的存储容量小于或等于所述数据存储设备的存储容量。Further, the storage capacity of the data processing device is less than or equal to the storage capacity of the data storage device.
进一步地,所述数据读取请求中还包括所述目标数据块对应的签名的地址信息,所述签名的地址信息用于所述数据存储设备获取所述签名;所述处理器502还用于:Further, the data read request further includes the address information of the signature corresponding to the target data block, and the address information of the signature is used for the data storage device to obtain the signature; the processor 502 is also used for :
通过所述通信接口接收所述数据存储设备发送的所述签名;Receiving the signature sent by the data storage device through the communication interface;
根据所述签名对所述目标数据块进行验证。The target data block is verified according to the signature.
进一步地,所述处理器502根据所述签名对所述目标数据块进行验证时,具体用于:Further, when the processor 502 verifies the target data block according to the signature, it is specifically configured to:
根据预设的密钥对所述目标数据块进行计算,得到验证签名;Calculate the target data block according to the preset key to obtain a verification signature;
将所述签名与所述验证签名进行对比;Comparing the signature with the verification signature;
如果所述签名与所述验证签名一致,则确定对所述目标数据块验证成功。If the signature is consistent with the verification signature, it is determined that the verification of the target data block is successful.
本发明实施例中,数据处理设备可以向数据存储设备发送第一读取请求,所述第一读取请求中包括目标数据块的地址信息,所述数据存储设备中存储一个或多个数据块,所述一个或多个数据块中至少包括所述目标数据块,所述目标数据块中包括目标限飞区数据,所述目标数据块的地址信息用于所述数据存储设备获取目标限飞区数据,并接收所述数据存储设备发送的所述目标限飞区数据。通过这种分块读取的方式,提高了数据处理效率,降低了内存消耗。In the embodiment of the present invention, the data processing device may send a first read request to the data storage device, where the first read request includes address information of the target data block, and the data storage device stores one or more data blocks , The one or more data blocks include at least the target data block, the target data block includes target flight restriction zone data, and the address information of the target data block is used by the data storage device to obtain the target flight restriction Zone data, and receive the target restricted-fly zone data sent by the data storage device. Through this block reading method, data processing efficiency is improved and memory consumption is reduced.
请参见图6,图6是本发明实施例提供的一种数据存储设备的结构示意图,所述设备包括存储器601和处理器602;Please refer to FIG. 6, which is a schematic structural diagram of a data storage device according to an embodiment of the present invention. The device includes a memory 601 and a processor 602;
当数据处理设备为飞控处理器,数据存储设备为应用处理器时,且所述飞控处理器和所述应用处理器位于飞行设备上时,飞控处理器和应用处理器通过通信接口进行数据传输,该通信接口可以是总线。当数据处理设备为飞控处理 器,数据存储设备为远端控制设备时,飞控处理器(或飞行设备)和远端控制设备通过通信接口进行数据传输,该通信接口可以是收发器,以通过无线通信方式传输。When the data processing device is a flight control processor, and the data storage device is an application processor, and the flight control processor and the application processor are located on the flight equipment, the flight control processor and the application processor perform communication through the communication interface. For data transmission, the communication interface can be a bus. When the data processing device is a flight control processor and the data storage device is a remote control device, the flight control processor (or flight device) and the remote control device carry out data transmission through a communication interface, which can be a transceiver. Transmission via wireless communication.
所述存储器601可以包括易失性存储器(volatile memory);存储器601也可以包括非易失性存储器(non-volatile memory);存储器601还可以包括上述种类的存储器的组合。所述处理器602可以是中央处理器(central processing unit,CPU)。所述处理器602还可以进一步包括硬件芯片。上述硬件芯片可以是专用集成电路(application-specific integrated circuit,ASIC),可编程逻辑器件(programmable logic device,PLD)或其组合。上述PLD可以是复杂可编程逻辑器件(complex programmable logic device,CPLD),现场可编程逻辑门阵列(field-programmable gate array,FPGA)或其任意组合。The memory 601 may include a volatile memory (volatile memory); the memory 601 may also include a non-volatile memory (non-volatile memory); the memory 601 may also include a combination of the foregoing types of memories. The processor 602 may be a central processing unit (CPU). The processor 602 may further include a hardware chip. The aforementioned hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The above-mentioned PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), or any combination thereof.
所述处理器602,用于调用所述程序,当所述程序被执行时,用于执行以下操作:The processor 602 is configured to call the program, and when the program is executed, it is configured to perform the following operations:
通过所述通信接口获取数据处理设备发送的第一读取请求,所述第一读取请求中包括目标数据块的地址信息,所述数据存储设备中存储一个或多个数据块,所述一个或多个数据块中至少包括所述目标数据块,所述目标数据块中包括目标限飞区数据,所述目标数据块的地址信息用于获取目标限飞区数据;The first read request sent by the data processing device is acquired through the communication interface, the first read request includes the address information of the target data block, the data storage device stores one or more data blocks, and the one Or a plurality of data blocks include at least the target data block, the target data block includes target restricted-fly zone data, and the address information of the target data block is used to obtain the target restricted-fly zone data;
响应所述第一读取请求获取与所述目标数据块的地址信息对应的目标限飞区数据;Responding to the first read request to obtain target flight restricted zone data corresponding to the address information of the target data block;
通过所述通信接口将所述目标限飞区数据发送给所述数据处理设备。The target flight restricted zone data is sent to the data processing device through the communication interface.
进一步地,所述处理器602还用于:Further, the processor 602 is further configured to:
通过所述通信接口接收所述数据处理设备发送的第二读取请求;Receiving a second read request sent by the data processing device through the communication interface;
响应所述第二读取请求获取地址映射表,并将所述地址映射表发送给所述数据处理设备,所述地址映射表中包括一个或多个编码值与一个或多个数据块的地址信息的对应关系。Obtain an address mapping table in response to the second read request, and send the address mapping table to the data processing device. The address mapping table includes one or more coded values and addresses of one or more data blocks Correspondence of information.
进一步地,所述编码值是由哈希GEOHASH算法、三词地址What3Words算法或者公开位置代码OLC算法计算得到的。Further, the encoding value is calculated by the hash GEOHASH algorithm, the three-word address What3Words algorithm, or the public location code OLC algorithm.
进一步地,所述编码值是由哈希GEOHASH算法计算得到的,所述编码值为哈希值。Further, the coded value is calculated by the hash GEOHASH algorithm, and the coded value is a hash value.
进一步地,所述目标数据块的地址信息包括所述目标数据块的起始地址、 所述目标数据块的结束地址、所述目标数据块的长度中的任意一种或多种。Further, the address information of the target data block includes any one or more of the start address of the target data block, the end address of the target data block, and the length of the target data block.
进一步地,所述数据处理设备和所述数据存储设备位于同一设备中。Further, the data processing device and the data storage device are located in the same device.
进一步地,所述数据处理设备包括飞控处理器,所述数据存储设备包括应用处理器。Further, the data processing device includes a flight control processor, and the data storage device includes an application processor.
进一步地,所述同一设备为飞行设备。Further, the same device is a flying device.
进一步地,所述数据处理设备和所述数据存储设备位于不同设备中。Further, the data processing device and the data storage device are located in different devices.
进一步地,所述数据处理设备位于飞行设备中,所述数据存储设备位于控制设备中。Further, the data processing device is located in the flight device, and the data storage device is located in the control device.
进一步地,所述数据处理设备包括飞控处理器,所述控制设备包括终端、控制器或服务器。Further, the data processing device includes a flight control processor, and the control device includes a terminal, a controller or a server.
进一步地,所述数据处理设备的存储容量小于或等于所述数据存储设备的存储容量。Further, the storage capacity of the data processing device is less than or equal to the storage capacity of the data storage device.
进一步地,所述第一读取请求中还包括所述目标数据块对应的签名的地址信息,所述签名的地址信息用于所述数据存储设备获取所述签名;所述处理器602还用于:Further, the first read request also includes the address information of the signature corresponding to the target data block, and the address information of the signature is used by the data storage device to obtain the signature; the processor 602 also uses in:
响应所述第一读取请求获取与所述数据块对应的签名的地址信息对应的签名;Obtaining a signature corresponding to the address information of the signature corresponding to the data block in response to the first read request;
通过所述通信接口将所述签名发送给所述数据处理设备。The signature is sent to the data processing device through the communication interface.
本发明实施例中,数据存储设备可以获取数据处理设备发送的第一读取请求,所述第一读取请求中包括目标数据块的地址信息,所述数据存储设备中存储一个或多个数据块,所述一个或多个数据块中至少包括所述目标数据块,所述目标数据块中包括目标限飞区数据,所述目标数据块的地址信息用于所述数据存储设备获取目标限飞区数据,通过响应所述第一读取请求获取与所述目标数据块的地址信息对应的目标限飞区数据,并将所述目标限飞区数据发送给所述数据处理设备,提高了数据处理效率,降低了内存消耗。In the embodiment of the present invention, the data storage device may obtain the first read request sent by the data processing device, where the first read request includes the address information of the target data block, and the data storage device stores one or more data Block, the one or more data blocks include at least the target data block, the target data block includes target restricted flight zone data, and the address information of the target data block is used by the data storage device to obtain the target limit The flying zone data is obtained by responding to the first read request to obtain target restricted flying zone data corresponding to the address information of the target data block, and sending the target restricted flying zone data to the data processing device, which improves Data processing efficiency reduces memory consumption.
本发明实施例还提供了一种数据处理系统,所述系统包括前述数据处理设备和前述数据存储设备。The embodiment of the present invention also provides a data processing system, which includes the aforementioned data processing device and the aforementioned data storage device.
进一步地,所述数据处理系统为飞行设备,所述数据处理设备为飞控处理器,所述数据存储设备为应用处理器。Further, the data processing system is a flight device, the data processing device is a flight control processor, and the data storage device is an application processor.
进一步地,所述数据处理系统包括飞行设备和控制设备,所述飞行设备包括前述的数据处理设备,所述控制设备包括前述的数据存储设备。Further, the data processing system includes a flight device and a control device, the flight device includes the aforementioned data processing device, and the control device includes the aforementioned data storage device.
进一步地,所述数据处理设备为飞控制处理器,所述数据存储设备为应用处理器。Further, the data processing device is a flight control processor, and the data storage device is an application processor.
本发明实施例中,数据处理设备可以向数据存储设备发送第一读取请求,所述第一读取请求中包括目标数据块的地址信息,所述数据存储中存储一个或多个数据块,所述一个或多个数据块中至少包括所述目标数据块,所述目标数据块中包括目标限飞区数据,所述目标数据块的地址信息用于所述数据存储获取目标限飞区数据,并接收所述数据存储发送的所述目标限飞区数据。通过这种分块读取的方式,提高了数据处理效率,降低了内存消耗。In the embodiment of the present invention, the data processing device may send a first read request to the data storage device, where the first read request includes address information of the target data block, and the data storage stores one or more data blocks, The one or more data blocks include at least the target data block, the target data block includes target restricted-fly zone data, and the address information of the target data block is used for the data storage to obtain the target restricted-fly zone data , And receive the target restricted-fly zone data sent by the data storage. Through this block reading method, data processing efficiency is improved and memory consumption is reduced.
本发明的实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现本发明实施例中图2或图4描述的方法,也可实现本发明所对应实施例图5或图6描述的设备,在此不再赘述。The embodiment of the present invention also provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the computer program described in FIG. 2 or FIG. 4 in the embodiment of the present invention The method can also implement the device described in FIG. 5 or FIG. 6 in the corresponding embodiment of the present invention, which will not be repeated here.
所述计算机可读存储介质可以是前述任一实施例所述的设备的内部存储单元,例如设备的硬盘或内存。所述计算机可读存储介质也可以是所述设备的外部存储设备,例如所述设备上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,所述计算机可读存储介质还可以既包括所述设备的内部存储单元也包括外部存储设备。所述计算机可读存储介质用于存储所述计算机程序以及所述终端所需的其他程序和数据。所述计算机可读存储介质还可以用于暂时地存储已经输出或者将要输出的数据。The computer-readable storage medium may be an internal storage unit of the device described in any of the foregoing embodiments, for example, a hard disk or a memory of the device. The computer-readable storage medium may also be an external storage device of the device, such as a plug-in hard disk equipped on the device, a Smart Media Card (SMC), or a Secure Digital (SD) card. , Flash Card, etc. Further, the computer-readable storage medium may also include both an internal storage unit of the device and an external storage device. The computer-readable storage medium is used to store the computer program and other programs and data required by the terminal. The computer-readable storage medium can also be used to temporarily store data that has been output or will be output.
以上所揭露的仅为本发明部分实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。The above-disclosed are only some of the embodiments of the present invention, which of course cannot be used to limit the scope of the present invention. Therefore, equivalent changes made according to the claims of the present invention still fall within the scope of the present invention.

Claims (68)

  1. 一种数据处理方法,其特征在于,包括:A data processing method, characterized in that it comprises:
    数据处理设备向数据存储设备发送第一读取请求,所述第一读取请求中包括目标数据块的地址信息,所述数据存储设备中存储一个或多个数据块,所述一个或多个数据块中至少包括所述目标数据块,所述目标数据块中包括目标限飞区数据,所述目标数据块的地址信息用于所述数据存储设备获取目标限飞区数据;The data processing device sends a first read request to the data storage device, where the first read request includes address information of the target data block, the data storage device stores one or more data blocks, and the one or more data blocks are stored in the data storage device. The data block includes at least the target data block, the target data block includes target restricted-fly zone data, and the address information of the target data block is used by the data storage device to obtain the target restricted-fly zone data;
    所述数据处理设备接收所述数据存储设备发送的所述目标限飞区数据。The data processing device receives the target restricted-fly zone data sent by the data storage device.
  2. 根据权利要求1所述的方法,其特征在于,所述数据处理设备向数据存储设备发送第一读取请求之前,还包括:The method according to claim 1, wherein before the data processing device sends the first read request to the data storage device, the method further comprises:
    所述数据处理设备根据飞行设备的当前位置信息确定与所述当前位置信息对应的所述目标数据块的地址信息。The data processing device determines the address information of the target data block corresponding to the current location information according to the current location information of the flying device.
  3. 根据权利要求2所述的方法,其特征在于,所述数据处理设备根据飞行设备的当前位置信息确定与所述当前位置信息对应的所述目标数据块的地址信息,包括:The method according to claim 2, wherein the data processing device determining the address information of the target data block corresponding to the current location information according to the current location information of the flying device comprises:
    所述数据处理设备根据所述飞行设备的当前位置信息,确定所述飞行设备的当前位置对应的目标编码值;The data processing device determines the target code value corresponding to the current location of the flying device according to the current location information of the flying device;
    所述数据处理设备根据所述目标编码值,从地址映射表中确定与所述目标编码值对应的所述目标数据块的地址信息,所述地址映射表中包括一个或多个编码值与一个或多个数据块的地址信息的对应关系。The data processing device determines the address information of the target data block corresponding to the target encoding value from an address mapping table according to the target encoding value, and the address mapping table includes one or more encoding values and one Or the correspondence between the address information of multiple data blocks.
  4. 根据权利要求3所述的方法,其特征在于,所述编码值是由哈希GEOHASH算法、三词地址What3Words算法或者公开位置代码OLC算法计算得到的。The method according to claim 3, wherein the coded value is calculated by hash GEOHASH algorithm, three-word address What3Words algorithm, or public location code OLC algorithm.
  5. 根据权利要求4所述的方法,其特征在于,所述编码值是由哈希GEOHASH算法计算得到的,所述编码值为哈希值。The method according to claim 4, wherein the coded value is calculated by the hash GEOHASH algorithm, and the coded value is a hash value.
  6. 根据权利要求3所述的方法,其特征在于,所述数据处理设备根据所述目标编码值,从地址映射表中确定与所述目标编码值对应的所述目标数据块的地址信息之前,还包括:The method according to claim 3, characterized in that, before the data processing device determines the address information of the target data block corresponding to the target encoding value from an address mapping table according to the target encoding value, further include:
    所述数据处理设备向所述数据存储设备发送第二读取请求,所述第二读取请求用于请求获取所述地址映射表;Sending, by the data processing device, a second read request to the data storage device, where the second read request is used to request to obtain the address mapping table;
    所述数据处理设备接收所述数据存储设备发送的所述地址映射表。The data processing device receives the address mapping table sent by the data storage device.
  7. 根据权利要求2所述的方法,其特征在于,所述数据处理设备根据飞行设备的当前位置信息确定与所述当前位置信息对应的所述目标数据块的地址信息,包括:The method according to claim 2, wherein the data processing device determining the address information of the target data block corresponding to the current location information according to the current location information of the flying device comprises:
    所述数据处理设备根据所述飞行设备的当前位置信息,确定所述飞行设备的当前位置对应的目标编码值;The data processing device determines the target code value corresponding to the current location of the flying device according to the current location information of the flying device;
    所述数据处理设备根据所述目标编码值,确定与所述目标编码值对应的目标限飞区的索引;Determining, by the data processing device, the index of the target restricted-flying zone corresponding to the target encoding value according to the target encoding value;
    所述数据处理设备根据所述目标限飞区的索引,确定与所述目标限飞区的索引对应的所述目标数据块的地址信息。The data processing device determines the address information of the target data block corresponding to the index of the target restricted area according to the index of the restricted area of target.
  8. 根据权利要求1至7任一项所述的方法,其特征在于,The method according to any one of claims 1 to 7, characterized in that:
    所述目标数据块的地址信息包括所述目标数据块的起始地址、所述目标数据块的结束地址或所述目标数据块的长度中的任意一种或多种。The address information of the target data block includes any one or more of the start address of the target data block, the end address of the target data block, or the length of the target data block.
  9. 根据权利要求1至8任一项所述的方法,其特征在于,所述数据处理设备接收所述数据存储设备发送的所述目标限飞区数据之后,还包括:The method according to any one of claims 1 to 8, wherein after the data processing device receives the target restricted-fly zone data sent by the data storage device, the method further comprises:
    所述数据处理设备根据所述目标限飞区数据确定飞行设备与所述目标限飞区的位置关系。The data processing device determines the positional relationship between the flight device and the target flight restriction zone according to the target flight restriction zone data.
  10. 根据权利要求1至9任一项所述的方法,其特征在于,所述数据处理设备和所述数据存储设备位于同一设备中。The method according to any one of claims 1 to 9, wherein the data processing device and the data storage device are located in the same device.
  11. 根据权利要求10所述的方法,其特征在于,所述数据处理设备包括飞控处理器,所述数据存储设备包括应用处理器。The method according to claim 10, wherein the data processing device comprises a flight control processor, and the data storage device comprises an application processor.
  12. 根据权利要求11所述的方法,其特征在于,所述同一设备为飞行设备。The method according to claim 11, wherein the same device is a flying device.
  13. 根据权利要求1至9任一项所述的方法,其特征在于,所述数据处理设备和所述数据存储设备位于不同设备中。The method according to any one of claims 1 to 9, wherein the data processing device and the data storage device are located in different devices.
  14. 根据权利要求13所述的方法,其特征在于,所述数据处理设备位于飞行设备中,所述数据存储设备位于控制设备中。The method according to claim 13, wherein the data processing device is located in a flight device, and the data storage device is located in a control device.
  15. 根据权利要求14所述的方法,其特征在于,所述数据处理设备包括飞控处理器,所述控制设备包括终端、控制器或服务器。The method according to claim 14, wherein the data processing device comprises a flight control processor, and the control device comprises a terminal, a controller or a server.
  16. 根据权利要求1至15任一项所述的方法,其特征在于,所述数据处理设备的存储容量小于或等于所述数据存储设备的存储容量。The method according to any one of claims 1 to 15, wherein the storage capacity of the data processing device is less than or equal to the storage capacity of the data storage device.
  17. 根据权利要求1至16任一项所述的方法,其特征在于,所述数据读取请求中还包括所述目标数据块对应的签名的地址信息,所述签名的地址信息用于所述数据存储设备获取所述签名;所述方法还包括:The method according to any one of claims 1 to 16, wherein the data read request further includes signed address information corresponding to the target data block, and the signed address information is used for the data The storage device obtains the signature; the method further includes:
    所述数据处理设备接收所述数据存储设备发送的所述签名;The data processing device receives the signature sent by the data storage device;
    所述数据处理设备根据所述签名对所述目标数据块进行验证。The data processing device verifies the target data block according to the signature.
  18. 根据权利要求17所述的方法,其特征在于,所述数据处理设备根据所述签名对所述目标数据块进行验证,包括:The method according to claim 17, wherein the data processing device verifying the target data block according to the signature comprises:
    所述数据处理设备根据预设的密钥对所述目标数据块进行计算,得到验证签名;The data processing device calculates the target data block according to a preset key to obtain a verification signature;
    所述数据处理设备将所述签名与所述验证签名进行对比;The data processing device compares the signature with the verification signature;
    如果所述签名与所述验证签名一致,则所述数据处理设备确定对所述目标 数据块验证成功。If the signature is consistent with the verification signature, the data processing device determines that the verification of the target data block is successful.
  19. 一种数据处理方法,其特征在于,包括:A data processing method, characterized in that it comprises:
    数据存储设备获取数据处理设备发送的第一读取请求,所述第一读取请求中包括目标数据块的地址信息,所述数据存储设备中存储一个或多个数据块,所述一个或多个数据块中至少包括所述目标数据块,所述目标数据块中包括目标限飞区数据,所述目标数据块的地址信息用于所述数据存储设备获取目标限飞区数据;The data storage device acquires a first read request sent by the data processing device, where the first read request includes address information of the target data block, the data storage device stores one or more data blocks, and the one or more data blocks are stored in the data storage device. Each data block includes at least the target data block, the target data block includes target restricted-fly zone data, and the address information of the target data block is used by the data storage device to obtain the target restricted-fly zone data;
    数据存储设备响应所述第一读取请求获取与所述目标数据块的地址信息对应的目标限飞区数据;The data storage device responds to the first read request to obtain target flight restricted zone data corresponding to the address information of the target data block;
    数据存储设备将所述目标限飞区数据发送给所述数据处理设备。The data storage device sends the target restricted-fly zone data to the data processing device.
  20. 根据权利要求19所述的方法,其特征在于,还包括:The method according to claim 19, further comprising:
    所述数据存储设备接收所述数据处理设备发送的第二读取请求;The data storage device receives a second read request sent by the data processing device;
    所述数据存储设备响应所述第二读取请求获取地址映射表,并将所述地址映射表发送给所述数据处理设备,所述地址映射表中包括一个或多个编码值与一个或多个数据块的地址信息的对应关系。The data storage device obtains an address mapping table in response to the second read request, and sends the address mapping table to the data processing device. The address mapping table includes one or more encoding values and one or more Correspondence of the address information of each data block.
  21. 根据权利要求20所述的方法,其特征在于,所述编码值是由哈希GEOHASH算法、三词地址What3Words算法或者公开位置代码OLC算法计算得到的。The method according to claim 20, wherein the coded value is calculated by the hash GEOHASH algorithm, the three-word address What3Words algorithm, or the public location code OLC algorithm.
  22. 根据权利要求21所述的方法,其特征在于,所述编码值是由哈希GEOHASH算法计算得到的,所述编码值为哈希值。The method according to claim 21, wherein the coded value is calculated by the hash GEOHASH algorithm, and the coded value is a hash value.
  23. 根据权利要求19至22任一项所述的方法,其特征在于,The method according to any one of claims 19 to 22, characterized in that:
    所述目标数据块的地址信息包括所述目标数据块的起始地址、所述目标数据块的结束地址、所述目标数据块的长度中的任意一种或多种。The address information of the target data block includes any one or more of the start address of the target data block, the end address of the target data block, and the length of the target data block.
  24. 根据权利要求19至23任一项所述的方法,其特征在于,所述数据处 理设备和所述数据存储设备位于同一设备中。The method according to any one of claims 19 to 23, wherein the data processing device and the data storage device are located in the same device.
  25. 根据权利要求24所述的方法,其特征在于,所述数据处理设备包括飞控处理器,所述数据存储设备包括应用处理器。The method according to claim 24, wherein the data processing device comprises a flight control processor, and the data storage device comprises an application processor.
  26. 根据权利要求25所述的方法,其特征在于,所述同一设备为飞行设备。The method according to claim 25, wherein the same device is a flying device.
  27. 根据权利要求19至23任一项所述的方法,其特征在于,所述数据处理设备和所述数据存储设备位于不同设备中。The method according to any one of claims 19 to 23, wherein the data processing device and the data storage device are located in different devices.
  28. 根据权利要求27所述的方法,其特征在于,所述数据处理设备位于飞行设备中,所述数据存储设备位于控制设备中。The method according to claim 27, wherein the data processing device is located in a flight device, and the data storage device is located in a control device.
  29. 根据权利要求28所述的方法,其特征在于,所述数据处理设备包括飞控处理器,所述控制设备包括终端、控制器或服务器。The method according to claim 28, wherein the data processing device comprises a flight control processor, and the control device comprises a terminal, a controller or a server.
  30. 根据权利要求19至29任一项所述的方法,其特征在于,所述数据处理设备的存储容量小于或等于所述数据存储设备的存储容量。The method according to any one of claims 19 to 29, wherein the storage capacity of the data processing device is less than or equal to the storage capacity of the data storage device.
  31. 根据权利要求19所述的方法,其特征在于,所述第一读取请求中还包括所述目标数据块对应的签名的地址信息,所述签名的地址信息用于所述数据存储设备获取所述签名;所述方法还包括:The method according to claim 19, wherein the first read request further includes signed address information corresponding to the target data block, and the signed address information is used by the data storage device to obtain all The signature; the method also includes:
    所述数据存储设备响应所述第一读取请求获取与所述数据块对应的签名的地址信息对应的签名;The data storage device responds to the first read request to obtain a signature corresponding to the address information of the signature corresponding to the data block;
    所述数据存储设备将所述签名发送给所述数据处理设备。The data storage device sends the signature to the data processing device.
  32. 一种数据处理设备,其特征在于,包括存储器和处理器;A data processing device, characterized in that it comprises a memory and a processor;
    所述存储器,用于存储程序;The memory is used to store programs;
    所述处理器,用于调用所述程序,当所述程序被执行时,用于执行以下操 作:The processor is used to call the program, and when the program is executed, it is used to perform the following operations:
    通过通信接口向数据存储设备发送第一读取请求,所述第一读取请求中包括目标数据块的地址信息,所述数据存储设备中存储一个或多个数据块,所述一个或多个数据块中至少包括所述目标数据块,所述目标数据块中包括目标限飞区数据,所述目标数据块的地址信息用于所述数据存储设备获取目标限飞区数据;A first read request is sent to the data storage device through the communication interface, the first read request includes the address information of the target data block, the data storage device stores one or more data blocks, and the one or more data blocks are stored in the data storage device. The data block includes at least the target data block, the target data block includes target restricted-fly zone data, and the address information of the target data block is used by the data storage device to obtain the target restricted-fly zone data;
    通过所述通信接口接收所述数据存储设备发送的所述目标限飞区数据。Receiving the target restricted-fly zone data sent by the data storage device through the communication interface.
  33. 根据权利要求32所述的设备,其特征在于,所述处理器通过所述通信接口向数据存储设备发送第一读取请求之前,所述处理器还用于:The device according to claim 32, wherein before the processor sends the first read request to the data storage device through the communication interface, the processor is further configured to:
    根据飞行设备的当前位置信息确定与所述当前位置信息对应的所述目标数据块的地址信息。The address information of the target data block corresponding to the current position information is determined according to the current position information of the flying device.
  34. 根据权利要求33所述的设备,其特征在于,所述处理器根据飞行设备的当前位置信息确定与所述当前位置信息对应的所述目标数据块的地址信息时,具体用于:The device according to claim 33, wherein when the processor determines the address information of the target data block corresponding to the current location information according to the current location information of the flying device, it is specifically configured to:
    根据所述飞行设备的当前位置信息,确定所述飞行设备的当前位置对应的目标编码值;Determine the target code value corresponding to the current location of the flying device according to the current location information of the flying device;
    根据所述目标编码值,从地址映射表中确定与所述目标编码值对应的所述目标数据块的地址信息,所述地址映射表中包括一个或多个编码值与一个或多个数据块的地址信息的对应关系。According to the target code value, the address information of the target data block corresponding to the target code value is determined from an address mapping table, and the address mapping table includes one or more code values and one or more data blocks Correspondence of the address information.
  35. 根据权利要求34所述的设备,其特征在于,所述编码值是由哈希GEOHASH算法、三词地址What3Words算法或者公开位置代码OLC算法计算得到的。The device according to claim 34, wherein the coded value is calculated by the hash GEOHASH algorithm, the three-word address What3Words algorithm, or the public location code OLC algorithm.
  36. 根据权利要求35所述的设备,其特征在于,所述编码值是由哈希GEOHASH算法计算得到的,所述编码值为哈希值。The device according to claim 35, wherein the coded value is calculated by a hash GEOHASH algorithm, and the coded value is a hash value.
  37. 根据权利要求34所述的设备,其特征在于,所述处理器根据所述目 标编码值,从地址映射表中确定与所述目标编码值对应的所述目标数据块的地址信息之前,还用于:The device according to claim 34, characterized in that, before the processor determines the address information of the target data block corresponding to the target encoding value from an address mapping table according to the target encoding value, it also uses in:
    通过所述通信接口向所述数据存储设备发送第二读取请求,所述第二读取请求用于请求获取所述地址映射表;Sending a second read request to the data storage device through the communication interface, where the second read request is used to request to obtain the address mapping table;
    通过所述通信接口接收所述数据存储设备发送的所述地址映射表。Receiving the address mapping table sent by the data storage device through the communication interface.
  38. 根据权利要求33所述的设备,其特征在于,所述处理器根据飞行设备的当前位置信息确定与所述当前位置信息对应的所述目标数据块的地址信息时,具体用于:The device according to claim 33, wherein when the processor determines the address information of the target data block corresponding to the current location information according to the current location information of the flying device, it is specifically configured to:
    根据所述飞行设备的当前位置信息,确定所述飞行设备的当前位置对应的目标编码值;Determine the target code value corresponding to the current location of the flying device according to the current location information of the flying device;
    根据所述目标编码值,确定与所述目标编码值对应的目标限飞区的索引;Determine, according to the target code value, the index of the target flight restriction zone corresponding to the target code value;
    根据所述目标限飞区的索引,确定与所述目标限飞区的索引对应的所述目标数据块的地址信息。According to the index of the target restricted area, the address information of the target data block corresponding to the index of the target restricted area is determined.
  39. 根据权利要求32至38任一项所述的设备,其特征在于,The device according to any one of claims 32 to 38, characterized in that:
    所述目标数据块的地址信息包括所述目标数据块的起始地址、所述目标数据块的结束地址或所述目标数据块的长度中的任意一种或多种。The address information of the target data block includes any one or more of the start address of the target data block, the end address of the target data block, or the length of the target data block.
  40. 根据权利要求32至39任一项所述的设备,其特征在于,所述处理器通过所述通信接口接收所述数据存储设备发送的所述目标限飞区数据之后,还用于:The device according to any one of claims 32 to 39, wherein after the processor receives the target restricted-fly zone data sent by the data storage device through the communication interface, it is further configured to:
    根据所述目标限飞区数据确定飞行设备与所述目标限飞区的位置关系。Determine the positional relationship between the flying equipment and the target flight restriction zone according to the target flight restriction zone data.
  41. 根据权利要求32至39任一项所述的设备,其特征在于,所述数据处理设备和所述数据存储设备位于同一设备中。The device according to any one of claims 32 to 39, wherein the data processing device and the data storage device are located in the same device.
  42. 根据权利要求41所述的设备,其特征在于,所述数据处理设备包括飞控处理器,所述数据存储设备包括应用处理器。The device according to claim 41, wherein the data processing device comprises a flight control processor, and the data storage device comprises an application processor.
  43. 根据权利要求42所述的设备,其特征在于,所述同一设备为飞行设备。The device according to claim 42, wherein the same device is a flying device.
  44. 根据权利要求32至39任一项所述的设备,其特征在于,所述数据处理设备和所述数据存储设备位于不同设备中。The device according to any one of claims 32 to 39, wherein the data processing device and the data storage device are located in different devices.
  45. 根据权利要求44所述的设备,其特征在于,所述数据处理设备位于飞行设备中,所述数据存储设备位于控制设备中。The device according to claim 44, wherein the data processing device is located in a flight device, and the data storage device is located in a control device.
  46. 根据权利要求45所述的设备,其特征在于,所述数据处理设备包括飞控处理器,所述控制设备包括终端、控制器或服务器。The device according to claim 45, wherein the data processing device comprises a flight control processor, and the control device comprises a terminal, a controller or a server.
  47. 根据权利要求32至46任一项所述的设备,其特征在于,所述数据处理设备的存储容量小于或等于所述数据存储设备的存储容量。The device according to any one of claims 32 to 46, wherein the storage capacity of the data processing device is less than or equal to the storage capacity of the data storage device.
  48. 根据权利要求32至47任一项所述的设备,其特征在于,所述数据读取请求中还包括所述目标数据块对应的签名的地址信息,所述签名的地址信息用于所述数据存储设备获取所述签名;所述处理器还用于:The device according to any one of claims 32 to 47, wherein the data read request further includes signed address information corresponding to the target data block, and the signed address information is used for the data The storage device obtains the signature; the processor is further configured to:
    通过所述通信接口接收所述数据存储设备发送的所述签名;Receiving the signature sent by the data storage device through the communication interface;
    根据所述签名对所述目标数据块进行验证。The target data block is verified according to the signature.
  49. 根据权利要求48所述的设备,其特征在于,所述处理器根据所述签名对所述目标数据块进行验证时,具体用于:The device according to claim 48, wherein when the processor verifies the target data block according to the signature, it is specifically configured to:
    根据预设的密钥对所述目标数据块进行计算,得到验证签名;Calculate the target data block according to the preset key to obtain a verification signature;
    将所述签名与所述验证签名进行对比;Comparing the signature with the verification signature;
    如果所述签名与所述验证签名一致,则确定对所述目标数据块验证成功。If the signature is consistent with the verification signature, it is determined that the verification of the target data block is successful.
  50. 一种数据存储设备,其特征在于,包括存储器和处理器;A data storage device, characterized in that it comprises a memory and a processor;
    所述存储器,用于存储程序;The memory is used to store programs;
    所述处理器,用于调用所述程序,当所述程序被执行时,用于执行以下操 作:The processor is used to call the program, and when the program is executed, it is used to perform the following operations:
    通过通信接口获取数据处理设备发送的第一读取请求,所述第一读取请求中包括目标数据块的地址信息,所述数据存储设备中存储一个或多个数据块,所述一个或多个数据块中至少包括所述目标数据块,所述目标数据块中包括目标限飞区数据,所述目标数据块的地址信息用于获取目标限飞区数据;Acquire the first read request sent by the data processing device through the communication interface, the first read request includes the address information of the target data block, the data storage device stores one or more data blocks, and the one or more data blocks are stored in the data storage device. Each data block includes at least the target data block, the target data block includes target restricted-fly zone data, and the address information of the target data block is used to obtain the target restricted-fly zone data;
    响应所述第一读取请求获取与所述目标数据块的地址信息对应的目标限飞区数据;Responding to the first read request to obtain target flight restricted zone data corresponding to the address information of the target data block;
    通过所述通信接口将所述目标限飞区数据发送给所述数据处理设备。The target flight restricted zone data is sent to the data processing device through the communication interface.
  51. 根据权利要求50所述的设备,其特征在于,所述处理器还用于:The device according to claim 50, wherein the processor is further configured to:
    通过所述通信接口接收所述数据处理设备发送的第二读取请求;Receiving a second read request sent by the data processing device through the communication interface;
    响应所述第二读取请求获取地址映射表,并将所述地址映射表发送给所述数据处理设备,所述地址映射表中包括一个或多个编码值与一个或多个数据块的地址信息的对应关系。Obtain an address mapping table in response to the second read request, and send the address mapping table to the data processing device. The address mapping table includes one or more coded values and addresses of one or more data blocks Correspondence of information.
  52. 根据权利要求51所述的设备,其特征在于,所述编码值是由哈希GEOHASH算法、三词地址What3Words算法或者公开位置代码OLC算法计算得到的。The device according to claim 51, wherein the coded value is calculated by the hash GEOHASH algorithm, the three-word address What3Words algorithm, or the public location code OLC algorithm.
  53. 根据权利要求52所述的设备,其特征在于,所述编码值是由哈希GEOHASH算法计算得到的,所述编码值为哈希值。The device according to claim 52, wherein the coded value is calculated by a hash GEOHASH algorithm, and the coded value is a hash value.
  54. 根据权利要求48至53任一项所述的设备,其特征在于,The device according to any one of claims 48 to 53, wherein:
    所述目标数据块的地址信息包括所述目标数据块的起始地址、所述目标数据块的结束地址、所述目标数据块的长度中的任意一种或多种。The address information of the target data block includes any one or more of the start address of the target data block, the end address of the target data block, and the length of the target data block.
  55. 根据权利要求48至54任一项所述的设备,其特征在于,所述数据处理设备和所述数据存储设备位于同一设备中。The device according to any one of claims 48 to 54, wherein the data processing device and the data storage device are located in the same device.
  56. 根据权利要求55所述的设备,其特征在于,所述数据处理设备包括 飞控处理器,所述数据存储设备包括应用处理器。The device according to claim 55, wherein the data processing device comprises a flight control processor, and the data storage device comprises an application processor.
  57. 根据权利要求56所述的设备,其特征在于,所述同一设备为飞行设备。The device according to claim 56, wherein the same device is a flying device.
  58. 根据权利要求48至54任一项所述的设备,其特征在于,所述数据处理设备和所述数据存储设备位于不同设备中。The device according to any one of claims 48 to 54, wherein the data processing device and the data storage device are located in different devices.
  59. 根据权利要求58所述的设备,其特征在于,所述数据处理设备位于飞行设备中,所述数据存储设备位于控制设备中。The device according to claim 58, wherein the data processing device is located in a flight device, and the data storage device is located in a control device.
  60. 根据权利要求59所述的设备,其特征在于,所述数据处理设备包括飞控处理器,所述控制设备包括终端、控制器或服务器。The device according to claim 59, wherein the data processing device comprises a flight control processor, and the control device comprises a terminal, a controller or a server.
  61. 根据权利要求48至60任一项所述的设备,其特征在于,所述数据处理设备的存储容量小于或等于所述数据存储设备的存储容量。The device according to any one of claims 48 to 60, wherein the storage capacity of the data processing device is less than or equal to the storage capacity of the data storage device.
  62. 根据权利要求48所述的设备,其特征在于,所述第一读取请求中还包括所述目标数据块对应的签名的地址信息,所述签名的地址信息用于所述数据存储设备获取所述签名;所述处理器还用于:The device according to claim 48, wherein the first read request further includes signed address information corresponding to the target data block, and the signed address information is used by the data storage device to obtain all The signature; the processor is also used for:
    响应所述第一读取请求获取与所述数据块对应的签名的地址信息对应的签名;Obtaining a signature corresponding to the address information of the signature corresponding to the data block in response to the first read request;
    通过所述通信接口将所述签名发送给所述数据处理设备。The signature is sent to the data processing device through the communication interface.
  63. 一种数据处理系统,其特征在于,包括:A data processing system, characterized in that it comprises:
    权利要求32-49任一项所述的数据处理设备和权利要求50-62任一项所述的数据存储设备。The data processing device according to any one of claims 32-49 and the data storage device according to any one of claims 50-62.
  64. 根据权利要求63所述的系统,其特征在于,所述数据处理系统为飞行设备,所述数据处理设备为飞控处理器,所述数据存储设备为应用处理器。The system according to claim 63, wherein the data processing system is a flight device, the data processing device is a flight control processor, and the data storage device is an application processor.
  65. 根据权利要求63所述的系统,其特征在于,所述数据处理系统包括飞行设备和控制设备,所述飞行设备包括权利要求32-49任一项所述的数据处理设备,所述控制设备包括权利要求50-62任一项所述的数据存储设备。The system according to claim 63, wherein the data processing system comprises a flying device and a control device, the flying device comprises the data processing device according to any one of claims 32-49, and the control device comprises The data storage device of any one of claims 50-62.
  66. 根据权利要求65所述的系统,其特征在于,所述数据处理设备为飞控制处理器,所述数据存储设备为应用处理器。The system according to claim 65, wherein the data processing device is an airplane control processor, and the data storage device is an application processor.
  67. 根据权利要求65所述的系统,其特征在于,所述控制设备包括终端、控制器或服务器。The system according to claim 65, wherein the control device comprises a terminal, a controller or a server.
  68. 一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机程序,其特征在于:所述计算机程序被处理器执行时实现如权利要求1至31中任一项所述方法的步骤。A computer-readable storage medium in which a computer program is stored, characterized in that: when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 31 are implemented .
PCT/CN2019/110900 2019-10-12 2019-10-12 Data processing method, device and system, and storage medium WO2021068267A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2019/110900 WO2021068267A1 (en) 2019-10-12 2019-10-12 Data processing method, device and system, and storage medium
CN201980030323.6A CN112119383A (en) 2019-10-12 2019-10-12 Data processing method, device, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/110900 WO2021068267A1 (en) 2019-10-12 2019-10-12 Data processing method, device and system, and storage medium

Publications (1)

Publication Number Publication Date
WO2021068267A1 true WO2021068267A1 (en) 2021-04-15

Family

ID=73798848

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/110900 WO2021068267A1 (en) 2019-10-12 2019-10-12 Data processing method, device and system, and storage medium

Country Status (2)

Country Link
CN (1) CN112119383A (en)
WO (1) WO2021068267A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114063931B (en) * 2021-11-26 2023-04-25 重庆科创职业学院 Data storage method based on big data

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102629234A (en) * 2012-01-18 2012-08-08 物联微电子(常熟)有限公司 Fast retrieval method for data of built-in Flash of single chip microcomputer
CN102682110A (en) * 2012-05-10 2012-09-19 北京大学 High-performance cache design method orienting to massive spatial information
CN104932525A (en) * 2015-05-28 2015-09-23 深圳一电科技有限公司 Drone control method and device, ground control system and drone
CN107194744A (en) * 2017-06-21 2017-09-22 微梦创科网络科技(中国)有限公司 A kind of method and device for determining user place commercial circle
CN108780459A (en) * 2017-12-29 2018-11-09 深圳市大疆创新科技有限公司 Unmanned aerial vehicle (UAV) control method and apparatus

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10229051B2 (en) * 2015-12-30 2019-03-12 Samsung Electronics Co., Ltd. Storage device including nonvolatile memory device and controller, operating method of storage device, and method for accessing storage device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102629234A (en) * 2012-01-18 2012-08-08 物联微电子(常熟)有限公司 Fast retrieval method for data of built-in Flash of single chip microcomputer
CN102682110A (en) * 2012-05-10 2012-09-19 北京大学 High-performance cache design method orienting to massive spatial information
CN104932525A (en) * 2015-05-28 2015-09-23 深圳一电科技有限公司 Drone control method and device, ground control system and drone
CN107194744A (en) * 2017-06-21 2017-09-22 微梦创科网络科技(中国)有限公司 A kind of method and device for determining user place commercial circle
CN108780459A (en) * 2017-12-29 2018-11-09 深圳市大疆创新科技有限公司 Unmanned aerial vehicle (UAV) control method and apparatus

Also Published As

Publication number Publication date
CN112119383A (en) 2020-12-22

Similar Documents

Publication Publication Date Title
EP3275154B1 (en) Authenticated messages between unmanned vehicles
CN107922049B (en) Apparatus and system for unmanned aerial vehicle source content creation
US9714088B2 (en) Unmanned vehicle rollback
US9912655B2 (en) Unmanned vehicle message exchange
US20210350320A1 (en) Automated delivery device and method for delivering a package
US20160280370A1 (en) Influencing acceptance of messages in unmanned vehicles
US20150283706A1 (en) Enhanced system and method for planning and controlling for robotic devices
JP6281720B2 (en) Imaging system
IL268328A (en) Device, system and method for traffic management
WO2021068267A1 (en) Data processing method, device and system, and storage medium
US10904755B2 (en) Data distribution from a movable object
JP2022023209A (en) Anonymization system
US11134526B2 (en) Automatic update of connection to a movable object
US20200351710A1 (en) Data processing method, apparatus and system, mobile device, and storage medium
US8453160B2 (en) Methods and systems for authorizing an effector command in an integrated modular environment
US20230192084A1 (en) Autonomous vehicle, control system for sharing information with autonomous vehicle, and method thereof
WO2017214861A1 (en) Supporting protocol independent movable object application development
WO2021081828A1 (en) Data processing method, device, system, and storage medium
US20180210460A1 (en) Control of Autonomous Vehicles
WO2020107391A1 (en) Load control method and apparatus, and movable platform
JP7041108B2 (en) Management device
WO2021068268A1 (en) Data processing method, processing and storage devices, flight device and control system
WO2021035612A1 (en) Management method, device, and system for unmanned aerial vehicle, unmanned aerial vehicle, and storage medium
US20230302926A1 (en) Electric vehicles and wireless charging systems
WO2022209040A1 (en) Moving body authentication device, moving body authentication system, moving body authentication method, and non-transitory computer-readable medium

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: 19948334

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: 19948334

Country of ref document: EP

Kind code of ref document: A1