CN105004922A - Application system of frequency spectrum analyzer - Google Patents

Application system of frequency spectrum analyzer Download PDF

Info

Publication number
CN105004922A
CN105004922A CN201510396702.0A CN201510396702A CN105004922A CN 105004922 A CN105004922 A CN 105004922A CN 201510396702 A CN201510396702 A CN 201510396702A CN 105004922 A CN105004922 A CN 105004922A
Authority
CN
China
Prior art keywords
control module
interface
module
internal control
human
Prior art date
Application number
CN201510396702.0A
Other languages
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 CN201510396702.0A priority Critical patent/CN105004922A/en
Publication of CN105004922A publication Critical patent/CN105004922A/en

Links

Abstract

The invention discloses an application system of a frequency spectrum analyzer and belongs to the technical field of frequency spectrum analyzer application systems. The application system of the frequency spectrum analyzer comprises a human-computer interface module, a program control module, an internal control module and a bottom layer driving module. When the human-computer interface module obtains a processing right, the human-computer interface module calls an interface of the internal control module; the internal control module calls the bottom layer driving module and informs the human-computer interface module by a message manner; when the program control module obtains the processing right, the program control module calls the interface of the internal control module; and the internal control module calls the bottom layer driving module and informs the program control module by a message manner. According to the invention, the human-computer interface module and the program control module can be developed in parallel, and the development efficiency is improved; the coupling degree of the integral structure is small, and the stability is high; the human-computer interface module and the program control module can be tailored individually without affecting other functions, and a good transportability is realized; in addition, the interface is simple and clear and is good in expansibility.

Description

A kind of application system of spectrum analyzer

Technical field

The invention belongs to spectrum analyzer application system technical field, be specifically related to a kind of application system of spectrum analyzer.

Background technology

Spectrum analyzer framework is divided into man-machine interface, program control, internal control three parts usually, and when carrying out the Survey control of spectrum analyzer, traditional scheme is serial implementation: program control-> man-machine interface-> internal control.Classic method is based on man-machine interface, first complete man-machine interface calling and encapsulating local controlling functions, then program controlly the packaged interface of man-machine interface is called, the i.e. program control interface calling man-machine interface, and man-machine interface calls the interface of internal control, the advantage of the program is that design is succinctly clear, shortcoming is that coupling is high, development efficiency is not high, execution efficiency is not high, because program control realization needs the preferential realization relying on man-machine interface, if the unrealized interface of man-machine interface, then program control must wait for Human Machine Interface complete after could continual exploitation debugging; The execution of user-machine interface also needs to consume portion of time, and this causes waste to cpu resource; Will consider program control demand when man-machine interface also causes Human Machine Interface with program control being coupled, and this did not belong to the duty-bound of human-computer interface module originally.

Summary of the invention

For the above-mentioned technical matters existed in prior art, the present invention proposes a kind of application system of spectrum analyzer, by man-machine interface and be program controlly considered as coordination, each other without coupling, all only carry out alternately with the unified interface of internal control, three becomes Y type frame structure, man-machine interface and program control can concurrent development, improve development efficiency, reliability is high.

To achieve these goals, the present invention adopts following technical scheme:

A kind of application system of spectrum analyzer, comprise human-computer interface module, program control module, internal control module and bottom layer driving module, described human-computer interface module and program control module are considered as coordination, each other without coupling, all only carry out alternately with the interface of internal control module, described human-computer interface module, program control module, internal control module become Y type frame structure;

When described human-computer interface module obtains control treatment temporary, carry out as follows:

Step 1: human-computer interface module calls the interface of internal control module;

Step 2: internal control module calls the interface of bottom layer driving module, finally completes the control of hardware circuit;

Step 3: after completing steps 2 operates, the event synchronization interface notification internal control module that bottom layer driving module is had by internal control module and bottom layer driving module;

Step 4: internal control module adopts the mode of message to notify human-computer interface module;

When described program control module obtains control treatment temporary, carry out as follows:

Step 1: program control module calls the interface of internal control module;

Step 2: internal control module calls described bottom layer driving module, finally completes the control of hardware circuit;

Step 3: after completing steps 2 operates, the event synchronization interface notification internal control module that bottom layer driving module is had by internal control module and bottom layer driving module;

Step 4: internal control module adopts the mode of message to notify program control module.

Preferably, described bottom layer driving module adopts Peripheral Component Interconnect standard to drive.

Preferably, the interface of described internal control module is divided into following 6 kinds according to its purposes:

State parameter interface: for recording user demand;

Auxiliary parameter interface: for register instrument self-characteristic;

Operational process parameter interface: for record controls procedure parameter;

Error message interface: for mismanagement queue;

Track data interface: for recording the measurement result of macroscopic view;

Measurement result data-interface: customize measurement accurately for recording.

Preferably, the interface of described internal control module is to human-computer interface module and program control module all openings, and interface is completely the same.

The Advantageous Effects that the present invention brings:

The present invention proposes a kind of application system of spectrum analyzer, by prior art mutually in man-machine interface and program control Serial Relation change coordination into, each other without coupling, looking the other side is each other sky, all only carry out alternately with the unified interface of internal control, three becomes Y type frame structure; By to man-machine interface and program control Decoupling design, the two can concurrent development, and improve development efficiency, reliability is high; The interface that local controlling functions provides is unified, and the overall architecture degree of coupling is little, even if program control order and man-machine interface are without stable to keeping framework time corresponding, steady quality degree is high, brings facility for safeguarding; Man-machine interface and program control can cutting and do not affect all the other functions separately, there is good portability.

This invention realizes man-machine interface and program control demand by unified internal control interface, and carrys out communication by unified windows messaging mechanism, and interface is simply clear, is easy to use, and has good extendability.

Accompanying drawing explanation

Fig. 1 is the Y type frame composition in the application system of a kind of spectrum analyzer of the present invention.

Fig. 2 is the Interface design figure of internal control module in the application system of a kind of spectrum analyzer of the present invention.

Fig. 3 is the design drawing of message informing in the application system of a kind of spectrum analyzer of the present invention.

Embodiment

Below in conjunction with accompanying drawing and embodiment, the present invention is described in further detail:

As shown in Figure 1, the Y type frame composition in a kind of application system of spectrum analyzer, comprises human-computer interface module, program control module, internal control module and bottom layer driving module.Described human-computer interface module and program control module are considered as coordination, and each other without coupling, all only carry out alternately with the interface of internal control module, described human-computer interface module, program control module, internal control module become Y type frame structure.

When described human-computer interface module obtains control treatment temporary, carry out as follows:

Step 1: human-computer interface module calls the interface of internal control module;

Step 2: internal control module calls the interface of bottom layer driving module, finally completes the control of hardware circuit;

Step 3: after completing steps 2 operates, the event synchronization interface notification internal control module that bottom layer driving module is had by internal control module and bottom layer driving module;

Step 4: internal control module adopts the mode of message to notify human-computer interface module.

Whole treatment scheme is: A->B->C->D.

When described program control module obtains control treatment temporary, carry out as follows:

Step 1: program control module calls the interface of internal control module;

Step 2: internal control module calls described bottom layer driving module, finally completes the control of hardware circuit;

Step 3: after completing steps 2 operates, the event synchronization interface notification internal control module that bottom layer driving module is had by internal control module and bottom layer driving module;

Step 4: internal control module adopts the mode of message to notify program control module.

Whole treatment scheme is: 1->B->C->2; And traditional mode is X->A->B->C-Gre atT.GreaT.GTD->Y.

Whole treatment scheme has following features:

Because without X and Y, human-computer interface module and program control module be communication mutually not, all only mutual with internal control module, so the operation of whole framework is Y type.

The interface of A and 1 is completely the same, and the interface of D and 2 is completely the same, only needs maintenance one socket, need not consider human-computer interface module and the asynchronous special processing of program control module demand during internal control module design.

Described bottom layer driving module adopts Peripheral Component Interconnect standard to drive.

Shown in composition graphs 2, data, for enabling data effectively manage, are first divided into 6 data fields according to function difference by the Interface design figure of internal control module in a kind of application system of spectrum analyzer, and also independent separately is each other independent module.

State parameter interface: for recording user demand;

Auxiliary parameter interface: for register instrument self-characteristic;

Operational process parameter interface: for record controls procedure parameter;

Error message interface: for mismanagement queue;

Track data interface: for recording the measurement result of macroscopic view;

Measurement result data-interface: customize measurement accurately for recording.

The interface of described internal control module is to human-computer interface module and program control module all openings, and interface is completely the same.

Except initialization common each other, query interface, each data field is also designed with interface independent separately according to the functional characteristics of self, such as to the record of error message, the same error usually occurred continuously only retains first, so provide wrong filter interface; And be completed by data search sometimes to the accurate measurement of measurement result, so provide searching algorithm.

Above interface is to human-computer interface module and program control module all openings, completely the same.

When human-computer interface module or program control module complete after internal control component interface operates, need to notify internal control module by the mode of message, allow internal control module start-up operation.Therefore message is also a part for interface, and this interface can both be able to be used by human-computer interface module, program control module and internal control module tripartite, and the interface of message also opens human-computer interface module and program control module, and completely the same.

Shown in composition graphs 3, the design drawing of message informing in the application system of a kind of spectrum analyzer of the present invention, when after internal control module complete operation, notice human-computer interface module or program control module is needed to carry out data syn-chronization, to feed back to user in time, because the software on windows platform is based on message-driven, therefore notice adopts the mode of message.

Due to Windows inherently message-driven, so message mechanism has been built in operating system, be ready-made, mature and reliable, utilize this mechanism to carry out communication, need not oneself design separately, the effect and quality of exploitation is all improved.

The present invention proposes a kind of application system of spectrum analyzer, by prior art mutually in the Serial Relation of human-computer interface module and program control module change coordination into, each other without coupling, looking the other side is each other sky, all only carry out alternately with the unified interface of internal control module, three becomes Y type frame structure; By the Decoupling design to human-computer interface module and program control module, the two can concurrent development, and improve development efficiency, reliability is high; The interface that internal control module function provides is unified, and the overall architecture degree of coupling is little, even if program control module order and human-computer interface module are without stable to keeping framework time corresponding, steady quality degree is high, brings facility for safeguarding; Human-computer interface module and program control module can cuttings and do not affect all the other functions separately, have good portability.

This invention realizes the demand of human-computer interface module and program control module by unified internal control module interface, and carrys out communication by unified windows messaging mechanism, and interface is simply clear, is easy to use, and has good extendability.

Certainly, above-mentioned explanation is not limitation of the present invention, and the present invention is also not limited in above-mentioned citing, and the change that those skilled in the art make in essential scope of the present invention, remodeling, interpolation or replacement also should belong to protection scope of the present invention.

Claims (4)

1. the application system of a spectrum analyzer, comprise human-computer interface module, program control module, internal control module and bottom layer driving module, it is characterized in that: described human-computer interface module and program control module are considered as coordination, each other without coupling, all only carry out alternately with the interface of internal control module, described human-computer interface module, program control module, internal control module become Y type frame structure;
When described human-computer interface module obtains control treatment temporary, carry out as follows:
Step 1: human-computer interface module calls the interface of internal control module;
Step 2: internal control module calls the interface of bottom layer driving module, finally completes the control of hardware circuit;
Step 3: after completing steps 2 operates, the event synchronization interface notification internal control module that bottom layer driving module is had by internal control module and bottom layer driving module;
Step 4: internal control module adopts the mode of message to notify human-computer interface module;
When described program control module obtains control treatment temporary, carry out as follows:
Step 1: program control module calls the interface of internal control module;
Step 2: internal control module calls described bottom layer driving module, finally completes the control of hardware circuit;
Step 3: after completing steps 2 operates, the event synchronization interface notification internal control module that bottom layer driving module is had by internal control module and bottom layer driving module;
Step 4: internal control module adopts the mode of message to notify program control module.
2. the application system of a kind of spectrum analyzer according to claim 1, is characterized in that: described bottom layer driving module adopts Peripheral Component Interconnect standard to drive.
3. the application system of a kind of spectrum analyzer according to claim 1, is characterized in that: the interface of described internal control module is divided into following 6 kinds according to its purposes:
State parameter interface: for recording user demand;
Auxiliary parameter interface: for register instrument self-characteristic;
Operational process parameter interface: for record controls procedure parameter;
Error message interface: for mismanagement queue;
Track data interface: for recording the measurement result of macroscopic view;
Measurement result data-interface: customize measurement accurately for recording.
4. the application system of a kind of spectrum analyzer according to claim 1 or 3, is characterized in that: the interface of described internal control module is to human-computer interface module and program control module all openings, and interface is completely the same.
CN201510396702.0A 2015-07-08 2015-07-08 Application system of frequency spectrum analyzer CN105004922A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510396702.0A CN105004922A (en) 2015-07-08 2015-07-08 Application system of frequency spectrum analyzer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510396702.0A CN105004922A (en) 2015-07-08 2015-07-08 Application system of frequency spectrum analyzer

Publications (1)

Publication Number Publication Date
CN105004922A true CN105004922A (en) 2015-10-28

Family

ID=54377665

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510396702.0A CN105004922A (en) 2015-07-08 2015-07-08 Application system of frequency spectrum analyzer

Country Status (1)

Country Link
CN (1) CN105004922A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5980078A (en) * 1997-02-14 1999-11-09 Fisher-Rosemount Systems, Inc. Process control system including automatic sensing and automatic configuration of devices
CN101876825A (en) * 2010-06-29 2010-11-03 广西工学院 Human-computer interface device of small PLC
CN102567022A (en) * 2011-12-28 2012-07-11 中国电子科技集团公司第四十一研究所 Frame-type design method of instrument system for spectrum analyzers
CN103019940A (en) * 2012-12-26 2013-04-03 中国计量学院 Electric energy meter embedded software semi-simulation test device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5980078A (en) * 1997-02-14 1999-11-09 Fisher-Rosemount Systems, Inc. Process control system including automatic sensing and automatic configuration of devices
CN101876825A (en) * 2010-06-29 2010-11-03 广西工学院 Human-computer interface device of small PLC
CN102567022A (en) * 2011-12-28 2012-07-11 中国电子科技集团公司第四十一研究所 Frame-type design method of instrument system for spectrum analyzers
CN103019940A (en) * 2012-12-26 2013-04-03 中国计量学院 Electric energy meter embedded software semi-simulation test device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
任云: "基于WinCE的脉冲/数据发生器控制软件设计", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *
马风军等: "频谱分析仪软件之高效率多线程设计", 《中国仪器仪表》 *

Similar Documents

Publication Publication Date Title
US10216531B2 (en) Techniques for virtual machine shifting
CN104345717B (en) Intelligent remote data acquisition system based on Internet of Things
CN102520912B (en) Core configuration discovery method and microprocessor thereof
US8732556B2 (en) System and method for fault tolerant computing using generic hardware
CN101126952B (en) Remote monitor module for power initialization of computer system
TWI281612B (en) Communication method, apparatus and system, and storage medium having stored thereon instructions
US7827442B2 (en) Shelf management controller with hardware/software implemented dual redundant configuration
US20200310394A1 (en) Distributed software-defined industrial systems
CN102130951B (en) Server and method for remotely upgrading programmable logic device thereof
CN102937932B (en) The automatic test device of integrated isomery testing tool and method
US8386764B2 (en) BIOS architecture
KR20120096858A (en) Remote wakeup of application processor of mobile device
US9600370B2 (en) Server system
US20150324227A1 (en) Techniques for virtual machine migration
CN105279133B (en) VPX Parallel DSP Signal transacting board analysis based on SoC on-line reorganizations
CN102629224A (en) Method and device of integrated data disaster recovery based on cloud platform
US20200106659A1 (en) System and method for processing alerts indicative of conditions of a computing infrastructure
CN105183600A (en) Device and method for remotely positioning hard disk faults
CN101976217B (en) Anomaly detection method and system for network processing unit
CN102087594B (en) Management method and device for extension point and plugins
US9858045B2 (en) Designer tool for managing cloud computing services
US20180203437A1 (en) Containerized communications gateway
CN100375440C (en) Network connectivity backup system
DE102007039156A1 (en) EFI-based mechanism for exporting platform management capabilities to the operating system
CN104899109B (en) A kind of method that cpu temperature is obtained under operating system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20151028