Method, device, electronic device and storage medium for obtaining taxiing direction of aircraft on the ground

By acquiring and processing the aircraft taxiing position and direction in the monitoring image, and calculating the initial and optimal taxiing directions, the problem of insufficient attention to the aircraft taxiing direction in the existing technology is solved, and the accuracy of aircraft attitude estimation is improved.

CN117743739BActive Publication Date: 2024-09-20THE SECOND RES INST OF CIVIL AVIATION ADMINISTRATION OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311664813.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-06
Publication Date
2024-09-20
Estimated Expiration
2043-12-06

AI Technical Summary

Technical Problem

The existing high-precision positioning and monitoring technology for aircraft at airports mainly focuses on the position of the aircraft, but not on the taxiing direction of the aircraft, resulting in insufficient accuracy in estimating the aircraft's motion attitude.

Method used

By obtaining the taxiing position and direction of the aircraft in the monitoring image, and using the data of the taxiing position queue and the taxiing direction queue, the initial taxiing direction and the optimal taxiing direction are calculated and stored to improve the accuracy of obtaining the aircraft taxiing direction.

Benefits of technology

It improves the accuracy of aircraft operating attitude estimation, ensures accurate acquisition of aircraft taxiing direction, and enhances the surveillance function of airport surface targets.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117743739B
    Figure CN117743739B
Patent Text Reader

Abstract

The present invention provides a method, device, electronic device and storage medium for acquiring the taxiing direction of a scene aircraft, comprising: acquiring the taxiing position of an aircraft corresponding to a current monitoring image, if the taxiing position is not empty, adding the current taxiing position to the current taxiing position queue, if the number of taxiing positions in the current taxiing position queue is equal to a set value, acquiring the initial taxiing direction corresponding to the current taxiing position; storing the acquired initial taxiing direction corresponding to the current position in the current taxiing direction queue, if the number of taxiing directions in the current taxiing direction queue is equal to a set value, acquiring the optimal taxiing direction of the current taxiing position based on the taxiing directions in the current taxiing direction queue as the target taxiing direction of the current taxiing position. The present invention can acquire the taxiing direction of an aircraft in a monitoring image.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of intelligent monitoring of airport scenes, and in particular to a method, a device, an electronic device and a storage medium for acquiring the taxiing direction of an aircraft on the scene. Background Art

[0002] The taxiing direction of an aircraft on the airport surface, as one of the parameters of the aircraft taxiing motion vector, plays an important role in the estimation of the aircraft motion attitude in realizing the high-precision positioning and monitoring function of airport surface targets.

[0003] At present, for high-precision positioning and monitoring of aircraft on the airport surface, the commonly used radio wave-based monitoring technologies are: surface surveillance radar, multi-point positioning, and broadcast automatic correlation surveillance. However, the common core purpose of these monitoring technologies is to accurately locate the position of the aircraft on the airport surface, without paying attention to the aircraft's taxiing direction on the airport surface. Summary of the invention

[0004] In view of the above technical problems, the technical solution adopted by the present invention is:

[0005] An embodiment of the present invention provides a method for obtaining a taxiing direction of an aircraft, the method comprising the following steps:

[0006] S100, obtaining the taxiing position of the aircraft corresponding to the current monitoring image, and if the obtained current taxiing position is not empty, executing S200.

[0007] S200, add the current glide position to the current glide position queue. If the number of glide positions in the current glide position queue is greater than or equal to P1, execute S300; if the number of glide positions in the current glide position queue is less than P1, execute S100; P1 is the first set number threshold, P1≤n1, n1 is the length of the glide position queue, n1>1, and the initial value of the glide position queue is empty.

[0008] S300: Based on the current sliding position queue, an initial sliding direction corresponding to the current sliding position is obtained.

[0009] S400, store the obtained initial gliding direction corresponding to the current position into the current gliding direction queue. If the number of gliding directions in the current gliding direction queue is greater than or equal to P2, execute S500; the initial value of the gliding direction queue is empty, P2 is the second set number threshold, P2≤n2, n2 is the length of the gliding direction queue, and n2>1.

[0010] S500, based on the current sliding direction queue, obtaining the optimal sliding direction of the current sliding position as the target sliding direction of the current sliding position.

[0011] The embodiment of the present invention provides a device for obtaining the taxiing direction of a surface aircraft, comprising:

[0012] The image acquisition unit is used to acquire the monitoring image in the monitoring scene and send it to the sliding position acquisition unit.

[0013] The taxiing position acquisition unit is used to acquire the taxiing position of the aircraft based on the currently received monitoring image, take it as the current taxiing position and add it to the current taxiing position queue.

[0014] The initial sliding direction acquiring unit is used to acquire the initial sliding direction corresponding to the current sliding position based on the current sliding position queue, and add the acquired initial sliding direction to the current sliding direction queue.

[0015] The optimal sliding direction acquisition unit is used to acquire the optimal sliding direction corresponding to the current sliding position based on the current sliding direction queue.

[0016] An embodiment of the present invention further provides an electronic device, characterized in that it includes a processor and a memory;

[0017] The processor is used to execute the steps of the above method by calling the program or instruction stored in the memory.

[0018] An embodiment of the present invention further provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores a program or instruction, wherein the program or instruction enables a computer to execute the steps of the aforementioned method.

[0019] The present invention has at least the following beneficial effects:

[0020] The embodiment of the present invention can solve the taxiing direction of the aircraft based on the taxiing position of the aircraft, and can improve the accuracy of the aircraft running attitude estimation.

[0021] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0023] Figure 1 The present invention provides a flow chart of a method for obtaining the taxiing direction of a surface aircraft according to an embodiment of the present invention. DETAILED DESCRIPTION

[0024] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0025] The embodiment of the present invention provides a method for obtaining the taxiing direction of an aircraft on the scene, which is used to obtain the taxiing direction of an aircraft based on a series of acquired monitoring images, and mainly includes: preliminarily extracting the taxiing direction of the aircraft based on the taxiing position of the aircraft in the image, and solving the optimal taxiing direction of the aircraft in the current frame according to the preliminarily extracted taxiing direction of the aircraft. Specifically, Figure 1 As shown, the method may include the following steps:

[0026] S100, obtaining the taxiing position of the aircraft corresponding to the current monitoring image, and if the obtained current taxiing position is not empty, executing S200.

[0027] In an embodiment of the present invention, the monitoring image can be acquired by an image acquisition device installed in a monitoring scene at an airport. When a monitoring target, ie, an aircraft, enters the monitoring scene, the image acquisition device will continuously capture the video stream of the aircraft.

[0028] In an exemplary embodiment of the present invention, the monitoring scene may be a parking apron, a taxiway or a runway. The image acquisition device may be a camera.

[0029] In an embodiment of the present invention, the current monitoring image may be a frame of an image in a video stream. The taxiing position of the aircraft corresponding to the current monitoring image may be obtained based on a target detection method, such as a video background subtraction algorithm. The obtained taxiing position may be the position of the center of the aircraft in the image coordinate system, including a horizontal coordinate and a vertical coordinate.

[0030] Those skilled in the art know that any method for obtaining the taxiing position of the aircraft corresponding to the current monitoring image falls within the protection scope of the present invention.

[0031] In an embodiment of the present invention, if the current glide position obtained is empty, it means that the monitoring target may no longer be in the monitoring scene, and whether to exit the current control program can be determined according to the set exception handling conditions. In an embodiment of the present invention, the exception handling conditions can be set based on actual needs. For example, in an exemplary embodiment, if the current glide position obtained is empty, the current control program can be exited. In another exemplary embodiment, if the current glide position obtained is empty, monitoring can be continued until the glide position can be obtained, and the glide direction acquisition process of the next monitoring target can be carried out.

[0032] S200, add the current glide position to the current glide position queue. If the number of glide positions in the current glide position queue is greater than or equal to P1, execute S300; if the number of glide positions in the current glide position queue is less than P1, execute S100; P1 is the first set number threshold, P1≤n1, n1 is the length of the glide position queue, n1>1, and the initial value of the glide position queue is empty.

[0033] In an embodiment of the present invention, the taxiing position queue is a first-in-first-out queue. P1 can be a user-defined value, and P1 is at least equal to 2. In a preferred embodiment, P1=n1. In this way, since the entire queue data is used as the basis for calculation, it can ensure that the calculated initial taxiing direction is more accurate. The value of n1 can be an empirical value. Generally, if n1 is too large, it means that there are too many cached data or too much reference to historical information, which will cause too many resources to be occupied or the current direction to be updated too slowly. If n1 is too small, it means that there are too few references to historical information, and the calculated direction is prone to jump. Therefore, it is necessary to set a reasonable n1. The inventor of the present invention set n1 to different values ​​for experiments and found that when n1=20, the error of the calculated taxiing direction is within the acceptable range of the application.

[0034] S300: Based on the current sliding position queue, an initial sliding direction corresponding to the current sliding position is obtained.

[0035] Furthermore, S300 may specifically include:

[0036] S301, obtaining the feature matrix corresponding to the current sliding position Among them, L i is the i-th position vector in the current taxiing position queue, i ranges from 1 to N, N is the number of position vectors in the current taxiing position queue, It is the average value of N position vectors in the current taxiing position queue.

[0037] It is known to those skilled in the art that n1≥N≥P1.

[0038] S302, obtaining a eigenvector corresponding to a maximum eigenvalue of S as a target eigenvector of S, wherein the target eigenvector includes a first eigenvector and a second eigenvector in opposite directions.

[0039] Those skilled in the art know that any method for obtaining the eigenvalues ​​and eigenvectors of a characteristic matrix falls within the protection scope of the present invention.

[0040] S303, obtaining a reference direction vector Lc=L corresponding to the current sliding position N -L1, that is, the value of Lc is (x N -x1,y N -y1), the direction is from the 1st position to the Nth position, x1 and y1 are the horizontal and vertical coordinates of the first sliding position in the current sliding position queue, respectively, N and N They are respectively the horizontal and vertical coordinates of the last sliding position in the current sliding position queue.

[0041] S304, respectively obtaining the angle between the first eigenvector and Lc and the angle between the second eigenvector and Lc to obtain the corresponding first angle and second angle.

[0042] It is known to those skilled in the art that any method for obtaining the angle between two eigenvectors falls within the protection scope of the present invention.

[0043] In the embodiment of the present invention, it can be verified by the following contents that when the eigenvalue of the feature matrix is ​​the maximum value, the corresponding eigenvector can satisfy the maximization of the variance of the projected data set:

[0044] First, let u = (x u ,y u ) is a unit vector in a certain direction of the image plane, and the value of the current frame sliding position projected to the given direction is s n =x n u T , then the projected data set is {s n}, the mean of the projected data is:

[0045]

[0046] The variance of the projected data set is as follows:

[0047]

[0048] in

[0049]

[0050] S is the variance matrix of the projected data set.

[0051] In order to prevent ||u||→∞, a regularization term is introduced into the variance of the projected data set through the Lagrange multiplier, and the new objective function is:

[0052] f=uSu T +λ(1-uu T ) (4)

[0053] Then the variance of the projected data set uSu T The maximization of u is transformed into the maximization of f with respect to u. The derivative of f with respect to u is:

[0054] f`=2(Su-λu) (5)

[0055] Let the derivative be 0, then the stationary point satisfies Su = λu. This indicates that the given vector u is the eigenvector of the variance matrix S with the corresponding eigenvalue λ. When the eigenvalue is the maximum value, the vector u satisfies the maximization of the variance of the projected data set.

[0056] S305: Taking the feature vector corresponding to the smallest one of the first angle and the second angle as the initial sliding direction corresponding to the current sliding position.

[0057] S400, store the obtained initial gliding direction corresponding to the current position into the current gliding direction queue. If the number of gliding directions in the current gliding direction queue is greater than or equal to P2, execute S500; the initial value of the gliding direction queue is empty, P2 is the second set number threshold, P2≤n2, n2 is the length of the gliding direction queue, and n2>1.

[0058] In the embodiment of the present invention, the taxiing direction queue is a first-in-first-out queue. P2 can be a user-defined value, and P2 is at least equal to 2. In a preferred embodiment, P2=n2, so that the calculated optimal taxiing direction can be more accurate because the entire queue data is used as the calculation basis. In a preferred embodiment, n2=n1.

[0059] Those skilled in the art know that if the number of taxiing directions in the current taxiing direction queue is less than P2, no corresponding processing will be performed, and the process will continue to wait until the number of taxiing directions is equal to P2.

[0060] S500: Based on P2 glide directions in the current glide direction queue, an optimal glide direction of the current glide position is obtained as a target glide direction of the current glide position.

[0061] Furthermore, in the embodiment of the present invention, the optimal sliding direction of the current sliding position can be obtained by the following steps:

[0062] S501, obtaining the average value of the sliding direction in the current sliding direction queue dj is the jth taxiing direction in the current taxiing direction queue, j ranges from 1 to k, and k is the number of taxiing directions in the current taxiing direction queue. It is known to those skilled in the art that n2≥k≥P2.

[0063] S502, obtaining the deviation value of the jth sliding direction in the current sliding direction queue if set up ε is a set deviation coefficient used to prevent the divisor from being 0, ε>0. In an exemplary embodiment, ε=1 -6 .

[0064] S503: Obtain the optimal sliding direction corresponding to the kth sliding direction in the current sliding position, that is, the current sliding direction queue

[0065] In an embodiment of the present invention, a method for calculating the optimal sliding direction of the current sliding position can be obtained based on the following content:

[0066] Due to random fluctuations, the two sliding directions do not necessarily have a correlation. Therefore, it can be assumed that each of the k data items is independent of each other and obeys a random variable with a mean of Θ and a variance of Normal distribution, assuming that Θ = d0, and the corresponding variance is d0 is the preset sliding direction, is the preset variance, then the mean value of the sliding direction corresponding to the kth data item Θ=θ, and the prior probability density distribution of the event is:

[0067]

[0068] And the conditional probability density distribution of the event relative to historical information is:

[0069]

[0070] Where c0, c1 are normalized coefficients that are independent of θ. According to Bayes' rule, the posterior probability density distribution of the event is:

[0071]

[0072] Simplifying the above formula, we can get the form of the posterior probability density function of the aircraft's taxiing direction:

[0073]

[0074] in Θ takes the arithmetic mean of D as its initial value.

[0075] In order to obtain the best sliding direction It is necessary to solve the maximum a posteriori probability of the random variable Θ with respect to the sliding direction data set D, assuming that When , the maximum a posteriori probability criterion is satisfied, that is,

[0076]

[0077] In order to facilitate analysis and calculation, the logarithms of both ends of the posterior probability are taken, and the new objective function is:

[0078]

[0079] Solving the maximum a posteriori probability is equivalent to maximizing f(θ) with respect to θ, and the derivative of the objective function is:

[0080]

[0081] Let the derivative be 0, then the stationary point θ=m satisfies the maximum a posteriori probability criterion of the taxiing direction. This means that when the taxiing direction θ=m, the optimal taxiing direction based on the taxiing direction dataset D is obtained, that is, the optimal taxiing direction of the taxiing aircraft based on the spatiotemporal information corresponding to the video sequence.

[0082] Furthermore, the method provided by the embodiment of the present invention also includes:

[0083] S600: Visually display the target sliding direction.

[0084] It is known to those skilled in the art that any method for visually displaying the target sliding direction falls within the protection scope of the present invention.

[0085] The embodiment of the present invention further provides a device for obtaining a taxiing direction of a surface aircraft, comprising:

[0086] The image acquisition unit is used to acquire the image in the monitoring scene and send it to the sliding position acquisition unit.

[0087] In a specific application scenario, the image acquisition unit may be a front-end video surveillance terminal arranged in the surveillance scene. The front-end video surveillance terminal may be composed of a security camera and a mounting bracket, etc., and is used to capture images in the surveillance scene in real time.

[0088] The taxiing position acquisition unit is used to acquire the taxiing position of the aircraft based on the currently received image, take it as the current taxiing position and add it to the current taxiing position queue.

[0089] In an embodiment of the present invention, if the taxiing position acquisition unit fails to acquire the taxiing position of the aircraft, it means that the monitoring target may no longer be in the monitoring scene, and whether to exit the current control program can be determined based on the set exception handling conditions. In an embodiment of the present invention, the exception handling conditions can be set based on actual needs. For example, in an exemplary embodiment, if the current taxiing position acquired is empty, the current control program can be exited. In another exemplary embodiment, if the current taxiing position acquired is empty, monitoring can be continued until the taxiing position is acquired, and the taxiing direction acquisition process of the next monitoring target can be performed.

[0090] The initial sliding direction acquiring unit is used to acquire the initial sliding direction corresponding to the current sliding position based on the current sliding position queue, and add the acquired initial sliding direction to the current sliding direction queue.

[0091] In an embodiment of the present invention, the initial glide direction acquisition unit will first determine whether the number of glide positions in the current glide position queue has reached P1. If not, no processing will be performed and the unit will continue to wait until the number of glide positions is equal to P1. Then, based on the current glide position queue, the unit will acquire the initial glide direction corresponding to the current glide position and add the acquired initial glide direction to the current glide direction queue.

[0092] Furthermore, the initial sliding direction acquiring unit is specifically used for:

[0093] Get the feature matrix corresponding to the current sliding position Among them, L i is the i-th position vector in the current taxiing position queue, i ranges from 1 to N, N is the number of position vectors in the current taxiing position queue, It is the average value of N position vectors in the current sliding position queue.

[0094] It is known to those skilled in the art that n1≥N≥P1.

[0095] The eigenvector corresponding to the maximum eigenvalue of S is obtained as the target eigenvector of S, where the target eigenvector includes a first eigenvector and a second eigenvector in opposite directions.

[0096] Get the reference direction vector Lc=L corresponding to the current sliding position N -L1;

[0097] The angle between the first eigenvector and Lc and the angle between the second eigenvector and Lc are obtained respectively to obtain the corresponding first angle and second angle.

[0098] The eigenvector corresponding to the smallest one of the first angle and the second angle is used as the initial sliding direction corresponding to the current sliding position.

[0099] The optimal sliding direction acquisition unit is used to acquire the optimal sliding direction corresponding to the current sliding position based on the current sliding direction queue.

[0100] In an embodiment of the present invention, the optimal taxiing direction acquisition unit will first determine whether the number of taxiing directions in the current taxiing direction queue has reached P2. If not, no processing will be performed and the system will continue to wait until the number of taxiing directions is equal to P2. Then, the optimal taxiing direction corresponding to the current taxiing position will be acquired based on the current taxiing direction queue.

[0101] Furthermore, the optimal sliding direction acquisition unit is specifically used for:

[0102] Get the average value of the sliding direction in the current sliding direction queue d j is the jth taxiing direction in the current taxiing direction queue, j ranges from 1 to k, and k is the number of taxiing directions in the current taxiing direction queue. It is known to those skilled in the art that n2≥k≥P2.

[0103] Get the deviation value of the jth glide direction in the current glide direction queue if set up ε is the set deviation coefficient, ε>0.

[0104] Get the optimal sliding direction for the current sliding position

[0105] In an embodiment of the present invention, the taxiing position acquisition unit, the initial taxiing direction acquisition unit and the optimal taxiing direction acquisition unit can be implemented by a background data processing terminal that is communicatively connected to the front-end video monitoring terminal. The background data processing terminal is composed of one or more workstations, which are used to detect the position of the taxiing aircraft in the monitoring picture, and preliminarily extract the taxiing direction of the aircraft according to the detected position, and solve the optimal taxiing direction of the aircraft in the current frame according to the extracted taxiing direction. If the workstation is a single one, a higher performance configuration is required. If the workstation is multiple, the performance configuration is required according to each computing task.

[0106] Furthermore, the device may also include:

[0107] A display unit is used to display the optimal sliding direction.

[0108] In the embodiment of the present invention, the display unit may be a display interactive terminal, which may be composed of a terminal computer and a display screen, etc., to provide display and interaction for users. The computer is configured according to performance requirements, and the display screen may be a single display or may be composed of multiple display screens.

[0109] According to an embodiment of the present invention, the present invention also provides an electronic device, a readable storage medium and a computer program product.

[0110] In an exemplary embodiment, an electronic device includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the method described in the above embodiments.

[0111] In an exemplary embodiment, the readable storage medium may be a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause the computer to execute the method according to the above embodiments.

[0112] In an exemplary embodiment, a computer program product includes a computer program, and when the computer program is executed by a processor, the method according to the above embodiments is implemented.

[0113] Electronic devices are intended to represent various forms of user terminals, various forms of digital computers, such as desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the inventions described and / or claimed herein.

[0114] In an illustrative embodiment, the electronic device may include a computing unit that can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) or a computer program loaded from a storage unit into a random access memory (RAM). In the RAM, various programs and data required for the operation of the device may also be stored. The computing unit and the RAM are connected to each other via a bus. An input / output (I / O) interface is also connected to the bus.

[0115] Furthermore, multiple components in an electronic device are connected to the I / O interface, including: input units, such as keyboards, mice, etc.; output units, such as various types of displays, speakers, etc.; storage units, such as disks, optical disks, etc.; and communication units, such as network cards, modems, wireless communication transceivers, etc. The communication unit allows the device to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunication networks.

[0116] The computing unit may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of computing units include, but are not limited to, central processing units (CPUs), graphics processing units (GPUs), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit performs the various methods and processes described above, such as the surface aircraft taxiing direction acquisition method. For example, in some embodiments, the surface aircraft taxiing direction acquisition method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit. In some embodiments, part or all of the computer program may be loaded and / or installed on the device via a ROM and / or a communication unit. When the computer program is loaded into RAM and executed by the computing unit, one or more steps of the surface aircraft taxiing direction acquisition method described above may be performed. Alternatively, in other embodiments, the computing unit may be configured to execute the surface aircraft taxiing direction acquisition method by any other appropriate means (e.g., by means of firmware).

[0117] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0118] The program code for implementing the method of the present invention can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer or other programmable processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code can be executed entirely on the machine, partially on the machine, partially on the machine as a stand-alone software package and partially on a remote machine, or entirely on a remote machine or server.

[0119] In the context of the present invention, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0120] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0121] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.

[0122] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.

[0123] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution disclosed in the present invention can be achieved, and this document does not limit this.

[0124] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for obtaining the taxiing direction of a surface aircraft, characterized in that: The method comprises the following steps: S100, obtaining the taxiing position of the aircraft corresponding to the current monitoring image, if the obtained current taxiing position is not empty, executing S200; S200, adding the current taxiing position to the current taxiing position queue. If the number of taxiing positions in the current taxiing position queue is greater than or equal to P1, executing S300; if the number of taxiing positions in the current taxiing position queue is less than P1, executing S100; P1 is a first set number threshold, P1≤n1, n1 is the length of the taxiing position queue, n1>1, and the initial value of the taxiing position queue is empty; S300, based on the current sliding position queue, obtaining an initial sliding direction corresponding to the current sliding position; S400, storing the obtained initial sliding direction corresponding to the current position into the current sliding direction queue. If the number of sliding directions in the current sliding direction queue is greater than or equal to P2, executing S500; the initial value of the sliding direction queue is empty, P2 is the second set number threshold, P2≤n2, n2 is the length of the sliding direction queue, and n2>1; S500, based on the current sliding direction queue, obtaining the optimal sliding direction of the current sliding position as the target sliding direction of the current sliding position; S300 specifically includes: S301, obtain the characteristic matrix S corresponding to the current sliding position = (1 / N)∑ N i=1 (L i -L avg ) T (L i -L avg ), where L i is the i-th position vector in the current taxiing position queue, i ranges from 1 to N, N is the number of position vectors in the current taxiing position queue, L avg is the average value of N position vectors in the current taxiing position queue; S302, obtaining a eigenvector corresponding to a maximum eigenvalue of S as a target eigenvector of S, wherein the target eigenvector includes a first eigenvector and a second eigenvector in opposite directions; S303, obtaining a reference direction vector Lc=L corresponding to the current sliding position N -L1; S304, respectively obtaining the angle between the first eigenvector and Lc and the angle between the second eigenvector and Lc to obtain the corresponding first angle and second angle; S305, taking a feature vector corresponding to the smallest one of the first angle and the second angle as an initial sliding direction corresponding to the current sliding position; The optimal sliding direction of the current sliding position is obtained by the following steps: S501, obtaining the mean value d of the sliding direction in the current sliding direction queue avg =(1 / k)∑ k j=1 d j , d j is the jth taxiing direction in the current taxiing direction queue, where j is a value from 1 to k, and k is the number of taxiing directions in the current taxiing direction queue; S502, obtaining the deviation value δ of the jth sliding direction in the current sliding direction queue j 2 =(d j -d avg ) 2 ; if δ j 2 =0, set δ j 2 =δ j 2 +ε; ε is the set deviation coefficient, ε>0; S503, obtaining the optimal sliding direction L of the current sliding position k =(∑ k j=1 d j / δ j 2 ) / (∑ k j=1 1 / δ j 2 ).

2. The method according to claim 1, characterized in that In S100, the taxiing position of the aircraft corresponding to the current monitoring image is obtained by a target detection method.

3. The method according to claim 1, characterized in that Also includes: S600: Visually display the target sliding direction.

4. A device for acquiring the taxiing direction of a surface aircraft, characterized in that: include: An image acquisition unit, used to acquire a monitoring image within the monitoring scene and send it to the sliding position acquisition unit; A taxiing position acquisition unit, used to acquire the taxiing position of the aircraft based on the currently received monitoring image, as the current taxiing position and add it to the current taxiing position queue; An initial sliding direction acquisition unit, used for acquiring an initial sliding direction corresponding to a current sliding position based on a current sliding position queue, and adding the acquired initial sliding direction to a current sliding direction queue; An optimal sliding direction acquisition unit, used for acquiring an optimal sliding direction corresponding to a current sliding position based on a current sliding direction queue; The initial sliding direction acquisition unit is specifically used for: Get the characteristic matrix S=(1 / N)∑ corresponding to the current sliding position N i=1 (L i -L avg ) T (L i -L avg ), where L i is the i-th position vector in the current taxiing position queue, i ranges from 1 to N, N is the number of position vectors in the current taxiing position queue, L avg is the average value of N position vectors in the current taxiing position queue; Obtaining an eigenvector corresponding to a maximum eigenvalue of S as a target eigenvector of S, wherein the target eigenvector includes a first eigenvector and a second eigenvector in opposite directions; Get the reference direction vector Lc=L corresponding to the current sliding position N -L1; Obtain the angle between the first eigenvector and Lc and the angle between the second eigenvector and Lc respectively, and obtain the corresponding first angle and second angle; The eigenvector corresponding to the smallest one of the first angle and the second angle is used as the initial sliding direction corresponding to the current sliding position; The optimal sliding direction acquisition unit is specifically used for: Get the mean value d of the sliding direction in the current sliding direction queue avg =(1 / k)∑ k j=1 d j , d j is the jth taxiing direction in the current taxiing direction queue, where j is a value from 1 to k, and k is the number of taxiing directions in the current taxiing direction queue; Get the deviation value δ of the jth glide direction in the current glide direction queue j 2 =(d j -d avg ) 2 ; if δ j 2 =0, set δ j 2 =δ j 2 +ε; ε is the set deviation coefficient, ε>0; Get the optimal sliding direction L of the current sliding position k =(∑ k j=1 d j / δ j 2 ) / (∑ k j=1 1 / δ j 2 ).

5. An electronic device, characterized in that: including a processor and a memory; The processor is used to execute the steps of the method according to any one of claims 1 to 3 by calling the program or instruction stored in the memory.

6. A non-transitory computer-readable storage medium, characterized in that: The non-transitory computer-readable storage medium stores a program or instruction, and the program or instruction enables a computer to execute the steps of the method according to any one of claims 1 to 3.