CN106850546A - A kind of mapping module software organization method of radar terminal - Google Patents

A kind of mapping module software organization method of radar terminal Download PDF

Info

Publication number
CN106850546A
CN106850546A CN201611159142.8A CN201611159142A CN106850546A CN 106850546 A CN106850546 A CN 106850546A CN 201611159142 A CN201611159142 A CN 201611159142A CN 106850546 A CN106850546 A CN 106850546A
Authority
CN
China
Prior art keywords
map
radar terminal
radar
module
terminal
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN201611159142.8A
Other languages
Chinese (zh)
Other versions
CN106850546B (en
Inventor
陈斯
卢华
方金康宏
陈维
张林兵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
WUHAN BINHU ELECTRONIC CO Ltd
Original Assignee
WUHAN BINHU ELECTRONIC CO Ltd
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 WUHAN BINHU ELECTRONIC CO Ltd filed Critical WUHAN BINHU ELECTRONIC CO Ltd
Priority to CN201611159142.8A priority Critical patent/CN106850546B/en
Publication of CN106850546A publication Critical patent/CN106850546A/en
Application granted granted Critical
Publication of CN106850546B publication Critical patent/CN106850546B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/161Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
    • H04L69/162Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields involving adaptations of sockets based mechanisms

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Radar Systems Or Details Thereof (AREA)

Abstract

The invention belongs to the content in software modularity field, spy is related to a kind of mapping module software organization method of radar terminal.The present invention runs radar terminal and mapping module on same machine;Radar terminal can transmit data with map load-on module by local loopback address;Map load-on module is in the state that waits for the arrival of news all the time, until receiving the request of the map making from radar terminal;When radar terminal starts or its map state changes, radar terminal transmits map parameter by local loopback address gives map load-on module;Map load-on module receives map parameter and post-processes and generate corresponding map and feeds back to radar terminal.The present invention can separate the built-in map loading function of radar terminal, and hardly influence the overall operation speed of radar terminal.

Description

A kind of mapping module software organization method of radar terminal
Technical field
The invention belongs to the content in software modularity field, spy is related to a kind of mapping module software organization side of radar terminal Method.
Background technology
Current most active service radar is equipped with electronic map using the radar terminal of software implementation.According to radar The difference of model, the data of electronic map are provided by many units.This directly results in the uncertainty in map datum source:Carry Mode for map datum is probably dynamic link library, it is also possible to executable file, it is also possible to be encapsulation class etc. other Form, the interface for reading map datum provided under different modes is also all entirely different.And the realization of radar terminal function It is that whenever data set provider changes, (map rejuvenation is regenerated even on the basis of the map datum provided by map provider It is directly to change the unit that map datum is provided), the part that map parameter is related in terminal software is required for changing and ties up Shield, as shown in Figure 1.This causes that the maintenance work of radar terminal increased many unnecessary workloads, wastes substantial amounts of manpower Material resources.
On the other hand, according to the demand of user, radar can be transformed regularly.Terminal is soft while radar is transformed Part aspect is also required to much be changed.After each software alteration, due to reasons such as confidentiality, user is needed to map number According to provider file an application and could normally use map after securing permission.No matter software alteration how much, the flow of application is all Unavoidably, this causes that the efficiency that radar is transformed is substantially reduced.
The content of the invention
In view of the shortcomings of the prior art, the invention provides a kind of mapping module software organization method of radar terminal.This The newly-increased independent map load-on module of invention, fixes the communication mode between map load-on module and radar terminal, in communication Hold and fix, so realize no matter the content changing in radar terminal or map datum library file, need not all change map loading mould Block, reduces the workloads such as software maintenance, software upgrading.
The technical scheme is that:A kind of mapping module software organization method of radar terminal, the method is comprising following Step:
Step 1:Radar terminal and mapping module are run on same machine, radar terminal can lead to map load-on module Cross local loopback address transmission data;
Step 2:Map load-on module is in the state that waits for the arrival of news all the time, until receiving the map making from radar terminal Request;
Step 3:When radar terminal starts or its map state changes, radar terminal is transmitted by local loopback address Data give map load-on module;
Step 4:After receiving the message from radar terminal, map load-on module reads the ginseng of map datum library file immediately Number, draw out the map of bitmap format according to parameter and be stored in clipbook, after the completion of by local loopback address to radar terminal The bitmap format map that transmission is drawn out;
Step 5:Radar terminal is received and reads bitmap format map, realizes the function of loading map.
Mapping module software organization method according to radar terminal as described above, it is characterised in that:Described radar end Message transmission between end and map load-on module uses socket communication mode.
Mapping module software organization method according to radar terminal as described above, it is characterised in that:Described map number According to carrier can be the diversified forms such as dynamic link library, packaged class file, executable program.
Mapping module software organization method according to radar terminal as described above, it is characterised in that:Described radar end Between end and map load-on module view data is transmitted using the built-in clipbook function of system.
The beneficial effects of the present invention are:The built-in map loading function of radar terminal can be separated, and almost The overall operation speed of radar terminal is not interfered with.In the design of new model radar terminal, this module software method for organizing Can directly apply mechanically, without repeating establishment debugging routine.When each map datum changes, it is only necessary to load mould to map Block normally runs by carrying out after debugging modification.Sum it up, this module software method for organizing provides one unified connecing Mouthful, radar terminal can realize loading the correlation function of map using this interface.
Brief description of the drawings
Fig. 1 radar terminals functional block diagram (before modularization);
Fig. 2 radar terminals functional block diagram (after modularization);
Fig. 3 map load-on module operational flow diagrams;
Fig. 4 radar terminal program flow charts.
Specific embodiment
Explanation of nouns:
Radar terminal:Finger operates in the program in the equipment such as computer, signal and cartographic information that the program will be gathered Connect, and simultaneous display is to user, allows users to judge the geographical position residing for signal target.
In order that the technical problems to be solved by the invention, technical scheme and beneficial effect become more apparent.Hereinafter tie The present invention will be described in detail by step to close accompanying drawing.
As shown in Figures 2 to 4, the invention provides a kind of mapping module software organization method of radar terminal, the method Comprise the steps of:
Step 1:Radar terminal and mapping module are run on same machine.Radar terminal can lead to map load-on module Cross local loopback address transmission data.
Step 2:Map load-on module is in the state that waits for the arrival of news all the time, until receiving the map making from radar terminal Request.
The library file of the map datum that map datum provider can provide, calls its interface function or direct during map making The map of a width bitmap format is drawn out by reading data therein.The function of map load-on module is individually to load these storehouses File, draws out required map.
As can be seen that how separate map load-on module carries out accurately and not influenceing performance with radar terminal Communication is key content of the invention.In the present invention, the message transmission between radar terminal and map load-on module employs socket The mode of word communication, i.e., realize the data transfer between process by local loopback address.Communication mould is separately added into two modules Block simultaneously arranges port numbers, and data frame transfer is carried out by udp protocol.Its advantage is:Sent by local loopback address Data frame method applicability it is high, its transmission is completed by internal memory, minimum on the influence of the operational efficiency of radar terminal And will not have any consumption to network.
Step 3:When radar terminal starts or its map state changes, correlation can be sent by mode described in step 1 Parameter gives map load-on module, subsequently into etc. state to be feedback;
When radar terminal starts or operator carries out needing the operation for redrawing map, can be automatically by needed for map making Parameter (geographical location information, range, center position, map elements) is stored in data frame, and the communication said by step 1 Mode is sent to map load-on module.After being sent, terminal can immediately enter the state of waiting for the arrival of news, until receiving map loading The feedback message that the mapping that module is sent is finished.
Step 4:After receiving the message from radar terminal, map load-on module reads parameter therein immediately, according to ginseng Number draws out map and is stored in clipbook, after the completion of the message completed to terminal feedback by way of described in step 1;
The carrier of map datum may have dynamic link library, packaged class file, executable program or simple The diversified forms such as data file, but map load-on module reads and the mode of map making only has two kinds anyway.It is a kind of It is to call the interface appointed with carrier to obtain map datum, another kind is by reading file or similar mode from containing Map datum is directly read in the file of map datum.Concrete implementation method is determined by the provider of map datum.
Between radar terminal and map load-on module view data is transmitted using the built-in clipbook function of system.In system The clipbook put is one section of memory headroom that can continuously, with storage information size change, and is total to by different application programs Enjoy.The all built-in function of clipbook of most systems.No matter radar terminal needs to be run under which type of operating system, only Will the system there is graphical interfaces, the function of clipbook is can be transferred through to realize this demand.
It is a width bitmap images that map load-on module needs the content of transmission, and other local transmission modes are required for a position Figure is stored in character string by byte and carried out data transmission again, is read out from character string again after reception.And clipbook then can be with Directly deposited for different application programs and read bitmap data, efficiency is higher than other transmission means.
Clipbook is shared by local application, in order to prevent being subject to other programs or keyboard defeated during process communication The influence for entering, clipbook after map is stored in clipbook by map load-on module, can be set to read-only status and sent complete Message to radar terminal, completed until step 5 reads bitmap.
Step 5:Radar terminal reads bitmap after receiving message, and realizes loading the correlation function of map.
After receiving the message of map load-on module transmission, you can read from clipbook and map datum and drawn Out.The lock-out state of clipbook is released after the completion of reading.It is stored in bitmap extremely short to the time between taking out, does not interfere with substantially To the operation of other programs.
This method realizes the modularization of map load-on module first, is then communicated with UDP Socket and is mutually tied with clipbook The mode of conjunction realizes the local communication of map load-on module and radar terminal, so that both are both separate two Module, flexibly can rapidly carry out data exchange again, reach the modular purpose of map function.Two kinds of present invention selection enter The mode communicated between journey is that multi-platform multisystem is general, and compatibility is strong and is not easily susceptible to the unusual condition of other programs generation The influence of (such as internal memory spilling).By test, data transfer is spent in whole process time is few, with modularization before simultaneously Will not change significantly.The present invention is transformed suitable for the terminal of active service radar, is also applied for the Terminal Design of New Type Radar.

Claims (4)

1. a kind of mapping module software organization method of radar terminal, the method includes the steps of:
Step 1:Radar terminal and mapping module are run on same machine, radar terminal can be by this with map load-on module Ground loop-back address transmission data;
Step 2:Map load-on module is all the time in the state that waits for the arrival of news, until receiving asking for the map making from radar terminal Ask;
Step 3:When radar terminal starts or its map state changes, radar terminal transmits data by local loopback address Give map load-on module;
Step 4:After receiving the message from radar terminal, map load-on module reads the parameter of map datum library file immediately, Draw out the map of bitmap format according to parameter and be stored in clipbook, after the completion of by local loopback address to radar terminal transmit The bitmap format map drawn out;
Step 5:Radar terminal is received and reads bitmap format map, realizes the function of loading map.
2. the mapping module software organization method of radar terminal according to claim 1, it is characterised in that:Described radar Message transmission between terminal and map load-on module uses socket communication mode.
3. the mapping module software organization method of radar terminal according to claim 1, it is characterised in that:Described map The carrier of data can be the diversified forms such as dynamic link library, packaged class file, executable program.
4. the mapping module software organization method of radar terminal according to claim 1, it is characterised in that:Described radar Between terminal and map load-on module view data is transmitted using the built-in clipbook function of system.
CN201611159142.8A 2016-12-15 2016-12-15 Map module software organization method of radar terminal Active CN106850546B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611159142.8A CN106850546B (en) 2016-12-15 2016-12-15 Map module software organization method of radar terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611159142.8A CN106850546B (en) 2016-12-15 2016-12-15 Map module software organization method of radar terminal

Publications (2)

Publication Number Publication Date
CN106850546A true CN106850546A (en) 2017-06-13
CN106850546B CN106850546B (en) 2020-04-17

Family

ID=59140269

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611159142.8A Active CN106850546B (en) 2016-12-15 2016-12-15 Map module software organization method of radar terminal

Country Status (1)

Country Link
CN (1) CN106850546B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111562951A (en) * 2020-05-11 2020-08-21 电子科技大学 Radar application component service implementation method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010014775A1 (en) * 2008-07-31 2010-02-04 Juma Technology Corp. System for remotely managing and supporting a plurality of networks and systems
CN102291464A (en) * 2011-08-29 2011-12-21 上海普元信息技术股份有限公司 System and method for dynamically generating Web Service by business flow in BPM (Business Process Management)
CN102438007A (en) * 2011-10-11 2012-05-02 武汉滨湖电子有限责任公司 Virtual bus module organization method of radar terminal
CN103823721A (en) * 2014-02-26 2014-05-28 京信通信系统(广州)有限公司 Interprocess communication method and equipment
CN105842715A (en) * 2016-04-22 2016-08-10 桂林电子科技大学 Beidou positioning and communication integrated universal system and configuration method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010014775A1 (en) * 2008-07-31 2010-02-04 Juma Technology Corp. System for remotely managing and supporting a plurality of networks and systems
CN102291464A (en) * 2011-08-29 2011-12-21 上海普元信息技术股份有限公司 System and method for dynamically generating Web Service by business flow in BPM (Business Process Management)
CN102438007A (en) * 2011-10-11 2012-05-02 武汉滨湖电子有限责任公司 Virtual bus module organization method of radar terminal
CN103823721A (en) * 2014-02-26 2014-05-28 京信通信系统(广州)有限公司 Interprocess communication method and equipment
CN105842715A (en) * 2016-04-22 2016-08-10 桂林电子科技大学 Beidou positioning and communication integrated universal system and configuration method thereof

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
张兴滔: "Windows环境下数据交换及其在C++下的实现", 《计算机系统应用》 *
高浩 等: "基于UDP的通信模块", 《计算机光盘软件与应用》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111562951A (en) * 2020-05-11 2020-08-21 电子科技大学 Radar application component service implementation method
CN111562951B (en) * 2020-05-11 2022-05-03 电子科技大学 Radar application component service implementation method

Also Published As

Publication number Publication date
CN106850546B (en) 2020-04-17

Similar Documents

Publication Publication Date Title
CN109684054B (en) Information processing method and device, electronic equipment and memory
CN101887379B (en) Virtual network card-based wireless channel simulation method
CN104331035A (en) Mini-satellite test remote measurement and remote control monitoring system based on service-oriented architecture and method thereof
CN103580937B (en) A kind of Web services the method and system thereof and service broker system simulated
CN103178996B (en) Distributed packet-switching chip model verification system and method
CN103401909B (en) Data interactive method based on BS and system, client and server
CN110213058A (en) A kind of block chain all-in-one machine for realizing data cochain
CN103729189B (en) Broadcasting method for converting protocol based on LUA, system, terminal
CN114077480B (en) Method, device, equipment and medium for sharing memory between host and virtual machine
CN106775751A (en) A kind of web front-end frame system and framework method
CN105847108A (en) Method and apparatus for communication between containers
CN105190530A (en) Transmitting hardware-rendered graphical data
CN114422010B (en) Protocol testing method of satellite communication simulation platform based on network virtualization
CN108829529A (en) Virutal machine memory sharing method, device, computer equipment and storage medium
CN107562415A (en) A kind of paster functional framework implementation method and equipment
CN108228309A (en) Data packet method of sending and receiving and device based on virtual machine
CN107741853A (en) A kind of method, system and the information management platform of deployment services device
CN106850546A (en) A kind of mapping module software organization method of radar terminal
CN104714760B (en) A kind of method and device for reading and writing storage device
CN104570967A (en) Android system based remote control method and system
CN115776175A (en) Dispatching automation data acquisition method and system based on security access area
CN116132344A (en) Container service debugging method and device based on K8s cluster and electronic equipment
CN115586935A (en) Data processing method and device, electronic equipment and medium
CN109144850A (en) The test method interactively communicated and system of mobile terminal
CN113934552A (en) Method and device for determining function code, storage medium and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant