Search

CN-115509708-B - Performance optimization method of navigation integrated navigation system

CN115509708BCN 115509708 BCN115509708 BCN 115509708BCN-115509708-B

Abstract

The invention discloses a performance optimization method of a navigation integrated navigation system, which optimizes the scaling and dragging of a chart, and improves the smoothness of chart scaling and dragging operation by only loading part of chart layers for optimization when displaying the chart. The method comprises the steps of (1) testing the display efficiency of the layers, (2) creating a layer priority queue, and (3) judging and determining the layer directory to be loaded and displayed according to the layer priority queue and the layer display efficiency. The invention preferentially draws partial layers, has low requirement on computer performance, and can also have good performance when frequent zooming and dragging operations are carried out.

Inventors

  • WANG JINXIN
  • YU XIAOJIAO
  • ZHANG ZHENG
  • WEN JIANXING
  • ZHANG QIMING
  • WANG HONGXIAN
  • ZHANG XIAOLEI
  • LI SONGLIN
  • Wang yasen
  • DENG ZHIYONG

Assignees

  • 中船航海科技有限责任公司

Dates

Publication Date
20260512
Application Date
20220930

Claims (9)

  1. 1. The performance optimization method of the navigation integrated navigation system is characterized in that scaling and dragging of a chart are optimized, when the chart is displayed, only partial chart layers are loaded for optimization, so that smoothness of chart scaling and dragging operation is improved, and the loaded chart layers are determined as follows: (1) Testing the display efficiency of the image layer; (2) The method comprises the steps of creating a layer priority queue, wherein the layer priority queue comprises a latest use priority queue and a historical habit priority queue, the latest use priority queue is the priority order of the layers when drag and/or scaling operation is carried out last time, the historical habit priority queue is the priority order of the layers according to drag and/or scaling operation historical data before a user, the priority order of the layers is determined through a calculation formula, the latest use priority queue is formed through the steps that operations of a user interface are distributed to different layers according to different weight values and are recorded regularly in a background, the weight values of the different layers are accumulated to form the latest use priority queue when each operation is carried out, a display threshold value is set for the latest use priority queue, the display ordering can be participated only when the display threshold value is reached, when drag and/or scaling operation record time T is calculated for the different layers according to a preset value, and the latest use priority value is calculated according to the calculation formula as follows: , where i represents various operations on the layer, Representing the weight corresponding to the operation, k represents a certain time to perform the operation, Representing a time span from an initial time to a time when the layer operation occurs, the larger the time span value represents the more recent; (3) And judging and determining the layer directory to be loaded and displayed according to the layer priority queue and the layer display efficiency.
  2. 2. The method according to claim 1, wherein the layer display performance in the step (1) includes a computer display performance and a layer consumption performance, the computer display performance is a maximum display capability for ensuring smooth drag and/or zoom operation, and the layer consumption performance is a performance required to be consumed for drag and/or zoom operation when the layer is loaded.
  3. 3. The method for optimizing performance of a marine integrated navigation system of claim 1, wherein the historical habit priority queue is formed according to different layer operation weights accumulated by a user history.
  4. 4. A method for optimizing the performance of a marine integrated navigation system according to claim 3, wherein the weight calculation formula of the historical habit priority queue is as follows: , where a represents the compression ratio, i represents various operations on the layer, Representing the weight corresponding to the operation, and M represents the number of times the operation occurs from the last recording time to the current recording time.
  5. 5. The method for optimizing performance of a navigation integrated navigation system according to claim 1, wherein the most recently used priority queue and the historical habit priority queue participate in display priority ranking, and the ranking mode adopts weight ranking, and is that the most recently used priority queue is firstly ranked, then the rest layers are ranked according to the historical habit priority queue, and a combined layer priority queue is obtained at the moment, so that a priority sequence of displaying chart layers is determined.
  6. 6. The method of claim 1, wherein in the step (3), the layers are sequentially selected according to the layer priority order of the layer priority queue until the next layer is selected to exceed the computer display performance in the current chart display range, so as to determine the display layer directory.
  7. 7. The method for optimizing the performance of a marine integrated navigation system according to claim 2, wherein the consumption efficiency of a single layer is calculated by considering the cross-sea chart operation as follows: ; wherein j represents different sea charts, The consumption efficiency of the layer corresponding to the chart under the current scale is represented, beta is the screen proportion occupied by the chart, and gamma is the proportion of the whole screen display range under the corresponding scale to the screen display range of the tester.
  8. 8. The method for optimizing the performance of a marine integrated navigation system according to claim 7, wherein the total consumption performance of all the layers is calculated as follows: ; wherein x represents different layer consumption performance, δ is a retention coefficient, and a portion is reserved as a buffer performance, so as to avoid the situation that the consumption performance of the local chart layer is too large.
  9. 9. The method for optimizing performance of a marine integrated navigation system according to any one of claims 1-8, wherein the current layer priority is saved as a personalized configuration of the user, the personalized configuration is adapted to be set by user definition, and in a subsequent operation, the priority queue of the layer can determine the display order according to the personalized configuration.

Description

Performance optimization method of navigation integrated navigation system Technical Field The invention belongs to the field of maritime navigation, and particularly relates to a performance optimization method of a navigation integrated navigation system. Background Under the general trend of domestic substitution, the performance of the integrated navigation system platform based on the combination of hardware architecture, an operating system and maritime application software which are independently researched and developed in China cannot well meet the current application scene. The performance of the main stream chip cannot be achieved by the existing domestic chip, and most of the comprehensive navigation system is not optimized for the domestic hardware platform, so that the comprehensive navigation system runs slowly on the domestic hardware platform, the compatibility of software and hardware is not high, and the development cost is increased. In the integrated navigation system, dragging and scaling of the chart consumes a large amount of resources, which often causes a jam phenomenon, and the performance of the domestic display card is weaker, which is more obvious, so that the function needs to be optimized. At present, a method of a memory bitmap and a chart buffer pool is adopted to solve the problem, but a clamping phenomenon still occurs when dragging and scaling operations are frequently carried out or when the performance of a computer is poor. Disclosure of Invention The invention aims to overcome the defects in the prior art, comprehensively analyze the defects of hardware, pertinently improve the weaknesses, optimize the sea chart scaling and dragging, improve the smoothness of the comprehensive navigation system, and improve the user experience so as to achieve perfect combination between software and hardware and avoid the consequences which are difficult to compensate in a final application scene. On the premise of ensuring that a user can continuously track the concerned information, part of the layers are drawn preferentially, the requirement on the performance of the computer is low, and the method has good performance when frequent zooming and dragging operations are carried out. In order to achieve the aim of the invention, the invention provides a performance optimization method of a navigation integrated navigation system, which optimizes the scaling and dragging of a sea chart. Further, when displaying the chart, optimization is performed by only loading part of the layers, so that smoothness of chart zooming and dragging operations is improved. Further, the method for determining the loaded layers comprises the steps of (1) testing the display efficiency of the layers, (2) creating a layer priority queue, and (3) judging and determining the layer directory to be loaded and displayed according to the layer priority queue and the layer display efficiency. Further, the layer display performance in step (1) includes a computer display performance and a layer consumption performance, wherein the computer display performance is a maximum display performance for ensuring smooth dragging and/or zooming operations, and the layer consumption performance is a performance required to be consumed for dragging and/or zooming operations when the layer is loaded. Further, the layer priority queue in the step (2) includes a recently used priority queue and a historical habit priority queue, wherein the recently used priority queue is the priority order of the layer when the drag and/or zoom operation is performed last time, and the historical habit priority queue is the priority order of the layer determined by a calculation formula according to the previous drag and/or zoom operation historical data of the user. Further, the forming process of the most recently used priority queue comprises the steps of distributing the operation of a user interface to different layers according to different weights, recording the operation regularly in the background, accumulating the weights of the different layers to form the most recently used priority queue when the operation is carried out each time, setting a display threshold for the most recently used priority queue, and enabling the user interface to participate in display sorting only when the display threshold is reached. Further, when the chart needs to be dragged and/or zoomed, the weight added in the operation recording time T is calculated for different layers, wherein the operation recording time T is a preset value in advance. Further, the weight calculation formula of the most recently used priority queue is as follows: where i represents various operations on the layer, Representing the weight corresponding to the operation, k represents a certain time to perform the operation,Representing the time span from the initial time to the time when the layer operation occurs, the larger the time span value represents the more recent. Further,