CN109189387A - A kind of method and system of the GNSS data processing based on QT component - Google Patents

A kind of method and system of the GNSS data processing based on QT component Download PDF

Info

Publication number
CN109189387A
CN109189387A CN201810866337.9A CN201810866337A CN109189387A CN 109189387 A CN109189387 A CN 109189387A CN 201810866337 A CN201810866337 A CN 201810866337A CN 109189387 A CN109189387 A CN 109189387A
Authority
CN
China
Prior art keywords
interface
component
data processing
gnss
module
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.)
Pending
Application number
CN201810866337.9A
Other languages
Chinese (zh)
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.)
Guangzhou South Intelligent Technology Co Ltd
Original Assignee
Guangzhou South Intelligent Technology 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 Guangzhou South Intelligent Technology Co Ltd filed Critical Guangzhou South Intelligent Technology Co Ltd
Priority to CN201810866337.9A priority Critical patent/CN109189387A/en
Publication of CN109189387A publication Critical patent/CN109189387A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a kind of GNSS data processing systems based on QT component, including system configuration module, interface engine module, Component Gallery and GNSS to resolve module;The GNSS resolves module for being decoded, handling and calculating to GNSS data;The interface engine module is for loading out program interface, the interface element needed by configuration file come designated program;The Component Gallery is for carrying all functional objects;The system configuration module is used to obtain the total interface of whole system, and the interface includes that GNSS resolves interface, interface engine interface and function program interface.Of the invention is passed through based on the GNSS data processing system of QT component to each functional object one component of formation, and has independence between its various components, it and can be combined so that it can complete different functions between component, so that GNSS data processing system has better scalability, application development efficiency is improved.

Description

A kind of method and system of the GNSS data processing based on QT component
Technical field
It is handled the present invention relates to a kind of Surveying and Mapping Industry technical field more particularly to a kind of GNSS data based on QT component Method and system.
Background technique
Currently, window application includes executable binary file (file of .exe suffix), library file (.dll file), resource file (picture, configuration file etc.) etc., most application program has visual graphical interfaces, Using a kind of graphical interfaces of C++ (computer programming language) application program write generally use MFC (Microsoft's interface database) or Person QT (a kind of interface database of open source) writes, need to write in the process of development software Main form and menu bar, toolbar, The interface elements such as status bar.
Traditional development approach needs to encode each interface element, and size of code is not convenient for safeguarding greatly, is less susceptible to expand Exhibition.Meanwhile if some button or menu of program need to change under some particular state whether its state (can be used, is It is no to choose) when, the button or menu can only be called by Rule of judgment, it is made to change the state of oneself.
Summary of the invention
For overcome the deficiencies in the prior art, one of the objects of the present invention is to provide a kind of GNSS numbers based on QT component According to the method for processing, application development difficulty can be reduced.
The second object of the present invention is to provide a kind of system of GNSS data processing based on QT component, can reduce and answer With program development difficulty.
The third object of the present invention is to provide a kind of computer readable storage medium, can reduce application development hardly possible Degree.
An object of the present invention adopts the following technical scheme that realization:
A method of the GNSS data processing based on QT component, comprising the following steps:
Edit step: editing interface element arrangements file, the configuration file include all interface elements attributive character and Parameter attribute;
Function setting steps: all functional objects being provided with are stored in corresponding Component Gallery;
Load function: pass through the interface engine loading interface element configuration file realized based on QT and corresponding group of load Part library.
Further, further include configuration step before edit step: being created by different configuration parameters and different be Configuration module of uniting and corresponding interface engine.
Further, it in function setting steps, is communicated between each functional object by information.
Further, in function setting steps, functional object is bound with corresponding interface element.
Further, in function setting steps: all functional objects being provided with are stored in same Component Gallery.
The second object of the present invention adopts the following technical scheme that realization:
A kind of GNSS data processing system based on QT component, including system configuration module, interface engine module, Component Gallery Module is resolved with GNSS;
The GNSS resolves module for being decoded, handling and calculating to GNSS data, and provides GNSS and resolve interface; The interface engine module is for loading out program interface, the interface element needed by configuration file come designated program, And provide interface engine interface;
The Component Gallery provides function program interface for carrying all functional objects;The system configuration module is used In the total interface for obtaining whole system, the interface includes that GNSS resolves interface, interface engine interface and function program interface.
Further, the functional object in the Component Gallery carries out creation registration, the functional object by extending factory Including function and interface element.
It further, further include the message loop module to connect with system configuration module, the message loop module is used for The information communication of whole system is controlled, and message loop interface is provided.
Further, the message loop module is designed using Observer Pattern.
The third object of the present invention adopts the following technical scheme that realization:
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor The method of the GNSS data processing based on QT component as described in any one of one of the object of the invention is realized when row.
Compared with prior art, the beneficial effects of the present invention are:
It is of the invention based on the GNSS data processing system of QT component by forming a component to each functional object, and Have independence between its various components, and between component be can combine so that its can complete it is different Function improves application development efficiency so that GNSS data processing system has better scalability.
Detailed description of the invention
Fig. 1 is the flow chart of the method for the GNSS data processing based on QT component of embodiment one;
Fig. 2 is the structural block diagram of the GNSS data processing system based on QT component of embodiment two.
Specific embodiment
In the following, being described further in conjunction with attached drawing and specific embodiment to the present invention, it should be noted that not Under the premise of conflicting, new implementation can be formed between various embodiments described below or between each technical characteristic in any combination Example.
Embodiment one:
As shown in Figure 1, a kind of method for present embodiments providing GNSS data processing based on QT component, including following step It is rapid:
S0: different system configuration modules and corresponding interface engine are created by different configuration parameters;Configuration ginseng The solution carried in number i.e. finger system, each different system can be provided with different modules to be matched;
S1: editing interface element arrangements file, the configuration file include attributive character and the parameter spy of all interface elements Sign;The interface element can be the graphic element of the routine such as menu bar, toolbar, active window, status bar;It is also possible to it The interface of his form, user can customize different interface elements according to their own needs.Can by different realizations come Multiple interface engines are made to realize distinct program interface, it is only necessary to which configuring different configuration items can be realized distinct program interface The switching of style.What configuration item referred to is the attributive character and parameter attribute of interface element.Interface engine defines aobvious in program It is adjusted back before showing, after display, the methods of before closing, can satisfy the customization demand of distinct program.
S2: all functional objects being provided with are stored in corresponding Component Gallery;Pass through between each functional object Information is communicated;Functional object is bound with corresponding interface element;Such as the function that can be realized menu bar Object is bound with fixed interface element, can directly be transferred when next time is called again in this way.
All functional objects being provided with can be stored in same Component Gallery in the present embodiment, it can also will not Same function is stored in different Component Galleries, and user can be adjusted correspondingly according to actual needs;At corresponding group The realization of institute functional (Command) is completed in part library, each function is an independent object, logical between different function Message is crossed to transmit communication.For example function A can be changed with the state of informing function B, function C system, function B and function C Corresponding movement will be made according to the current state of system.
S3: pass through the interface engine loading interface element configuration file and the corresponding Component Gallery of load realized based on QT. Simultaneously by the function (Command) in extension factory registration all components library, and by each function and corresponding Interface Element Plain (such as button, menu etc.) binding.Function (Command) can not also with interface element bind and directly when needed It is called.
Embodiment two:
As shown in Fig. 2, present embodiments providing a kind of GNSS data processing system based on QT component, including system configuration Module, interface engine module, message loop module, Component Gallery and GNSS resolve module;
The GNSS resolves module for being decoded, handling and calculating to GNSS data, and provides GNSS and resolve interface; GNSS resolves the basic module that module is to provide GNSS differential service, supports parsing of the data stream, static data to resolve, dynamic data Resolve etc.;
The interface engine module is for loading out program interface, the boundary needed by configuration file come designated program Surface element, and interface engine interface is provided;Interface engine module is responsible for loading out by program interface, is referred to by configuration file Determine the interface element, such as menu bar, toolbar, active window, status bar etc. of program needs.Can by different realizations come Multiple interface engines are made to realize distinct program interface, it is only necessary to which configuring different configuration items can be realized distinct program interface The switching of style.Interface engine is defined before program display, is adjusted back after display, the methods of before closing, and can satisfy The customization demand of distinct program.
The message loop module is used to control the information communication of whole system, and provides message loop interface;It is described to disappear Breath loop module is designed using Observer Pattern;Observer Pattern (Model-View (View) mode that is otherwise known as sometimes, Source-listener (Listener) mode or subordinate's mode) be software design pattern one kind.In such mode, a mesh Mark object manages all observer's objects for depending upon it, and actively gives notice when the state of itself changes.This is logical Often realized through method provided by each observer is called.Such mode is usually used to realization event handling system.Observation Person's mode (Observer) perfectly separates observer and observed object.For example, user interface can be used as One observer, business datum are observed persons, and the variation of user interface observed traffic data is just aobvious after finding data variation Show on interface.One principle of Object-Oriented Design is: each class in system focuses on some functionally, without It is other aspects.One object only does something, and he is carried out.Observer Pattern delimited clearly between the modules Boundary improves the maintainability and reusability of application program.One kind that observer's design pattern defines between object is one-to-many Syntagmatic, when changing so as to the state of an object, all objects dependent on it are all notified and brush automatically Newly.
The Component Gallery provides function program interface for carrying all functional objects;Component library module is exactly all The carrier that function is realized, it is made of one or more Component Gallery.It can be by the functional realization of institute in the same library Different function can also be combined with each other in different Component Galleries by face.Function (Command) object in Component Gallery passes through expansion Exhibition factory is created out, in local calling function (Command) interface of needs.Program can add according to their needs Different Component Galleries is carried, different demands is realized by way of component combines to reach with this.Its core meaning is generation Code multiplexing.Function is relatively single or independent, upper in the bottom in the code level of whole system, by other codes institute according to Rely.Its core meaning is to separate responsibility.Its focus is function division.Traditional development scheme low efficiency and maintenance The main reason at high cost, is it is many times that a system has been made into monolith application, and often with the growth of business Or change, the complexity of system can growth exponentially, it is often the case that be exactly a slight change or The increase of one small function may cause the modification of overall logic, cause to pull one hair and move the whole body.It is desirable that it is one big and Complicated scene can be broken down into several small parts, these small parts are not interfere with each other each other, can individually develop, It separately maintains, and can be arbitrarily combined between them.Multiplexing factory mould is in the extension factory used in the present embodiment Formula, the purpose of more factory modes are to improve the clarity of code structure, and the creation of every kind of product is allowed to correspond to a special factory Class, we are not necessarily to Transfer Parameters when creating object in this way, but product can be created by calling directly corresponding factory, The responsibility of factory class is apparent.
The system configuration module is used to obtain the total interface of whole system, the interface include GNSS resolve interface, Interface engine interface, function program interface and message loop interface.System configuration module belongs to housekeeping roles, can be obtained by it Obtain whole system total interface, it is only necessary to the interface of the module is passed to each function and realize class.System configuration mould Block base class includes the general basic interface that program needs, for example data flow read-write interface, message loop interface, interface engine connect Mouth, log interface, soft ware authorization interface etc..Specific procedure needs to extend other interfaces, such as coordinate system interface, layer management Interface etc. can instantiate oneself distinctive system module by inheritance system configuration module base class.Finally use when It waits, startup program, shows program main interface.
The present invention is directed to improve program development efficiency, optimization system framework, and then improve the easy reusability, easy to maintain of program Property, expansibility.Present invention employs extension plant technology, observer's design pattern, by whole system be abstracted as system administration, Interface engine, functional unit library.By each function modeling become order (Command) object, the object with whether It can be seen that, the attributes such as whether available, title, icon and the method for executing the function.
It extends plant technology: only needing simple registration target object, it can be when needing to create target object by not Same parameter calls factory method to create object, and target object is not necessarily to and factory method is in the same library file.Observation Person's mode: a target piece manages all observer's objects for depending on it, and actively issues when itself state changes Notice, and the notice that observer's object receives target piece sending makes corresponding movement later.
Embodiment three:
Embodiment three discloses a kind of readable computer storage medium, which is somebody's turn to do for storing program When program is executed by processor, the method that the GNSS data based on QT component of embodiment one is handled is realized.
Certainly, a kind of storage medium comprising computer executable instructions, computer provided by the embodiment of the present invention The method operation that executable instruction is not limited to the described above, can also be performed in method provided by any embodiment of the invention Relevant operation.
By the description above with respect to embodiment, it is apparent to those skilled in the art that, the present invention It can be realized by software and required common hardware, naturally it is also possible to which by hardware realization, but in many cases, the former is more Good embodiment.Based on this understanding, technical solution of the present invention substantially in other words contributes to the prior art Part can be embodied in the form of software products, which can store in computer readable storage medium In, floppy disk, read-only memory (Read-Only Memory, ROM), random access memory (Random such as computer Access Memory, RAM), flash memory (FLASH), hard disk or CD etc., including some instructions use so that an electronic equipment (can be personal computer, server or the network equipment etc.) executes method described in each embodiment of the present invention.
It is worth noting that, in the above-mentioned embodiment based on content update notice device, included each unit and mould Block is only divided according to the functional logic, but is not limited to the above division, and is as long as corresponding functions can be realized It can;In addition, the specific name of each functional unit is also only for convenience of distinguishing each other, the protection model being not intended to restrict the invention It encloses.
The above embodiment is only the preferred embodiment of the present invention, and the scope of protection of the present invention is not limited thereto, The variation and replacement for any unsubstantiality that those skilled in the art is done on the basis of the present invention belong to institute of the present invention Claimed range.

Claims (10)

1. a kind of method of the GNSS data processing based on QT component, which comprises the following steps:
Edit step: editing interface element arrangements file, the configuration file include the attributive character and parameter of all interface elements Feature;
Function setting steps: all functional objects being provided with are stored in corresponding Component Gallery;
Load function: pass through the interface engine loading interface element configuration file and the corresponding component of load realized based on QT Library.
2. as described in claim 1 based on QT component GNSS data processing method, which is characterized in that edit step it Before further include configuration step: different system configuration modules and corresponding interface engine are created by different configuration parameters.
3. the method for the GNSS data processing based on QT component as claimed in claim 1 or 2, which is characterized in that set in function It sets in step, is communicated between each functional object by information.
4. the method for the GNSS data processing based on QT component as claimed in claim 1 or 2, which is characterized in that set in function It sets in step, functional object is bound with corresponding interface element.
5. the method for the GNSS data processing based on QT component as claimed in claim 1 or 2, which is characterized in that set in function It sets in step: all functional objects being provided with is stored in same Component Gallery.
6. a kind of GNSS data processing system based on QT component, which is characterized in that including system configuration module, interface engine mould Block, Component Gallery and GNSS resolve module;
The GNSS resolves module for being decoded, handling and calculating to GNSS data, and provides GNSS and resolve interface;It is described Interface engine module is for loading out program interface, the interface element needed by configuration file come designated program, and mentions For interface engine interface;
The Component Gallery provides function program interface for carrying all functional objects;The system configuration module is for obtaining The total interface of whole system is taken, the interface includes that GNSS resolves interface, interface engine interface and function program interface.
7. as claimed in claim 6 based on the GNSS data processing system of QT component, which is characterized in that in the Component Gallery Functional object carries out creation registration by extending factory, and the functional object includes function and interface element.
8. as claimed in claim 6 based on the GNSS data processing system of QT component, which is characterized in that further include matching with system The message loop module that module connects is set, the message loop module is used to control the information communication of whole system, and provides and disappear Cease circulation interface.
9. as claimed in claim 8 based on the GNSS data processing system of QT component, which is characterized in that the message loop mould Block is designed using Observer Pattern.
10. a kind of computer readable storage medium, is stored thereon with computer program, it is characterised in that: the computer program The method of the GNSS data processing based on QT component as described in claim 1-5 any one is realized when being executed by processor.
CN201810866337.9A 2018-08-01 2018-08-01 A kind of method and system of the GNSS data processing based on QT component Pending CN109189387A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810866337.9A CN109189387A (en) 2018-08-01 2018-08-01 A kind of method and system of the GNSS data processing based on QT component

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810866337.9A CN109189387A (en) 2018-08-01 2018-08-01 A kind of method and system of the GNSS data processing based on QT component

Publications (1)

Publication Number Publication Date
CN109189387A true CN109189387A (en) 2019-01-11

Family

ID=64920367

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810866337.9A Pending CN109189387A (en) 2018-08-01 2018-08-01 A kind of method and system of the GNSS data processing based on QT component

Country Status (1)

Country Link
CN (1) CN109189387A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110879700A (en) * 2019-11-21 2020-03-13 山东劳动职业技术学院(山东劳动技师学院) Engine-oriented application software development method
CN111182019A (en) * 2019-08-08 2020-05-19 腾讯科技(深圳)有限公司 Cross-platform communication method and device and electronic equipment
CN111966335A (en) * 2020-08-20 2020-11-20 支付宝(杭州)信息技术有限公司 Platform creation method and device
CN112367535A (en) * 2020-11-18 2021-02-12 广州博冠信息科技有限公司 Generation method and device of active user interface

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104239037A (en) * 2014-08-25 2014-12-24 中国电子科技集团公司第二十九研究所 Software framework with reconfigurable business function
CN105677371A (en) * 2016-03-18 2016-06-15 山东华软金盾软件股份有限公司 Method and system for quickly generating software interface

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104239037A (en) * 2014-08-25 2014-12-24 中国电子科技集团公司第二十九研究所 Software framework with reconfigurable business function
CN105677371A (en) * 2016-03-18 2016-06-15 山东华软金盾软件股份有限公司 Method and system for quickly generating software interface

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
张建磊等: "基于脚本语言的数控***可定制界面的实现", 《组合机床与自动化加工技术》 *
杨丽娜等: "可定制的数控***人机界面设计", 《组合机床与自动化加工技术》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111182019A (en) * 2019-08-08 2020-05-19 腾讯科技(深圳)有限公司 Cross-platform communication method and device and electronic equipment
CN111182019B (en) * 2019-08-08 2021-10-15 腾讯科技(深圳)有限公司 Cross-platform communication method and device and electronic equipment
CN110879700A (en) * 2019-11-21 2020-03-13 山东劳动职业技术学院(山东劳动技师学院) Engine-oriented application software development method
CN111966335A (en) * 2020-08-20 2020-11-20 支付宝(杭州)信息技术有限公司 Platform creation method and device
CN112367535A (en) * 2020-11-18 2021-02-12 广州博冠信息科技有限公司 Generation method and device of active user interface

Similar Documents

Publication Publication Date Title
CN109189387A (en) A kind of method and system of the GNSS data processing based on QT component
US10222951B2 (en) Modeling system for graphic user interface
CN104573115B (en) Support the realization method and system of the integrated interface of multi-type database operation
CN105630472B (en) Client rapid development framework of manufacturing execution system and software development method thereof
US9477727B2 (en) Abstracting data for use by a mobile device having occasional connectivity
CN106055316B (en) Supply chain financial engine system, system establishing method and server
CN105487864A (en) Method and device for automatically generating code
US8768887B2 (en) Generating and binding notes to business objects
CN103645908A (en) Full life circle development achievement system of intemetware
JPH10500505A (en) Data management system
CN100465882C (en) Method and system of establishing culture sensitive control element for global application
Plakalovic et al. Applying MVC and PAC patterns in mobile applications
US20230418562A1 (en) Interactive graphic design system to enable creation and use of variant component sets for interactive objects
CN101789045A (en) Realization method of MDA modeling tool orienting to manufacturing field
CN106469223B (en) The space of compatible ArcGIS a kind of and the unified control method and system of attribute data
CN107025279A (en) The online parallel deployment system and method for SCD file based on database interface layer operation stream
CN101620528A (en) Method for structuring workflow system based on XPDL
CN116401407A (en) Node attribute configuration method, device, equipment and storage medium of mind map
CN105488850B (en) Three dimensional design Synergistic method between a kind of profession based on information mutual communication
CN117010198A (en) Multi-user multi-view model modeling interaction method based on SysML
DePaoli et al. A model for real-time co-operation
JP2002049493A (en) Method and system for generating program control information, and recording medium stored with processing program therefor
CN110083339A (en) A kind of novel computer programming language
CN107368377A (en) Network request processing method and processing device in a kind of Android application programs
CN102970354A (en) Construction method of cloud computing system based on super resource integration

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190111

RJ01 Rejection of invention patent application after publication