CN103529816A - Qt-based upper computer control system - Google Patents
Qt-based upper computer control system Download PDFInfo
- Publication number
- CN103529816A CN103529816A CN201310524475.6A CN201310524475A CN103529816A CN 103529816 A CN103529816 A CN 103529816A CN 201310524475 A CN201310524475 A CN 201310524475A CN 103529816 A CN103529816 A CN 103529816A
- Authority
- CN
- China
- Prior art keywords
- client
- user
- module
- server end
- request
- 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
Links
- 238000000034 method Methods 0.000 claims abstract description 17
- 238000012545 processing Methods 0.000 claims abstract description 7
- 238000004891 communication Methods 0.000 claims description 7
- 238000005538 encapsulation Methods 0.000 claims description 3
- 230000004044 response Effects 0.000 claims description 2
- 230000008901 benefit Effects 0.000 abstract description 4
- 230000008878 coupling Effects 0.000 abstract description 3
- 238000010168 coupling process Methods 0.000 abstract description 3
- 238000005859 coupling reaction Methods 0.000 abstract description 3
- 238000011161 development Methods 0.000 abstract description 3
- 230000008569 process Effects 0.000 description 13
- 230000006870 function Effects 0.000 description 10
- 238000013461 design Methods 0.000 description 4
- 238000010276 construction Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000012544 monitoring process Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 239000002245 particle Substances 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Abstract
The invention discloses a Qt-based upper computer control system and a Qt-based upper computer control method. The system comprises a client side and a server side, wherein the load of the client side is interacted with a user, so that user requirements are submitted to the server side and the processing result of the server side is transmitted to the user; the server side is used for managing all the hardware resources and algorithms, receiving and processing the user requirements submitted by the client side and feeding back the processing result to the client side. Through the adoption of the technical scheme, the system and the method have the following advantages: 1, client side progress and server side progress are two independent modules and are developed in parallel, so that the development efficiency is improved; 2, by virtue of a Mediator mode, coupling between objects is reduced and the reusability of the objects is improved; 3, the characteristic of configurability is achieved.
Description
Technical field
The present invention relates to computer realm, particularly a kind of upper computer control system based on Qt.
Background technology
Suitable host computer (microcomputer or industrial computer), only for industrial control system has been created hardware environment, but will make it bring into play due effect, must be equipped with outstanding control system, and according to the actual conditions of system, system and application be carried out to configuration.Current, the design multiselect of configuration is with windows platform or mix platform (Windows, Unix etc.) multitask environment.Under multitask environment, the design of application is to be generally decomposed into a plurality of relatively independent tasks by multi-functional.Although it is different that industrial control system requires configuration function, its general principle of design is directly perceived, simple and friendly.Meanwhile, except realizing system inherent function, configuration is spare interface also, allows customization personalized function, for realizing some specific function of user, provides convenience.
For make host computer sooner, more accurate, complete the task that industrial control system automatically detects and controls more reliably, as the necessary component of control system certainly also therein, but there is large, the problem such as configurability is poor and real-time is not strong that takes up room in active user's interface to user interface in application process.Therefore, need a kind of host computer configuration application system framework of design to realize the function of industrial control system to the flexible control of whole hardware platform and Real-Time Monitoring, meet follow-up personnel simultaneously and under this architectural framework, expand and study.
Summary of the invention
For the problems referred to above, the present invention proposes a kind of upper computer control system based on Qt.
The upper computer control system based on Qt that the present invention proposes, it comprises:
Client, its load and user carry out alternately, user's request being submitted to server end, and sending the result of server end to user;
Server end, it receives user's request processing that client is submitted to, and result is fed back to client for managing all hardware resources and algorithm.
The invention also discloses a kind of PC control method based on Qt, it comprises:
Client is submitted to server end by user's request;
Server end receives user's request the processing that client is submitted to, then result is fed back to client;
Client sends the result of server end to user.
The present invention is owing to taking above technical scheme, and it has the following advantages: 1. client process and server end process are two modules independently, and concurrent development improves development efficiency; 2.Mediator pattern has reduced the coupling between object, has improved the reusability of object; 3. the feature of configurability.
Accompanying drawing explanation
Fig. 1 is the upper computer control system one-piece construction figure based on Qt in the present invention;
Fig. 2 is client architectural framework figure in the present invention;
Fig. 3 is the aggregated(particle) structure schematic diagram of button manager layer in client of the present invention;
Fig. 4 is server end architectural framework figure in the present invention.
Embodiment
For make the object, technical solutions and advantages of the present invention more clear bright from, below in conjunction with specific embodiment, and with reference to accompanying drawing, the present invention is described in further detail.
Figure 1 shows that the one-piece construction figure of the upper computer control system based on Qt.As shown in Figure 1, this control system adopts the two process pattern of client process and server processes, and its advantage is the function of this architectural framework to be divided into the module of two functional independences, has reduced the coupling of system.When client process by Socket by user's job invocation during to server processes, server processes resolve and carry out instruction according to rule of communication.Meanwhile, server processes send execution result by Socket to client process again, to shared drive writing system status information, and result are presented to user with specific form.
Client is responsible for and user interactions, and user's request is submitted to server end and sent the result of server end to user; Server admin all hardware resource and algorithm, the demand that receives client submission is processed, and result is fed back to client.
Communication between client and server realizes by the Socket (socket) based on Transmission Control Protocol and share memory technology.Socket realizes the command communication of client and server, share memory technology realizes the information feedbacks such as bottom hardware duty, algorithm implementation progress, by server, bottom hardware duty, algorithm implementation progress are write to shared drive, by client, read at regular intervals shared drive content, and the content reading is shown with the understandable form of user.
In the embodiment of the present invention, Fig. 2 is client architectural framework figure.As shown in Figure 2, described client comprises:
Button manager: all buttons are organized into " tree " structure according to the logical relation shown in Fig. 3.According to user's button operation, button manager travels through this tree construction, and the button being pressed is presented to button hurdle, and the corresponding page of button that is pressed in page hurdle position display of requests for page manager;
Page manager: the page is the core of whole client, realizes the demonstration of user to the operation and controlling of bottom hardware platform and system status information.Page manager receives push button signalling, and the page corresponding to button is presented to page field puts by calling corresponding groove function, realizes mutual with user;
State display module: with icon and textual form display system status information, comprise the various information such as software configuration, bottom hardware operation and algorithm execution;
Title display module: display items display title and system time, provide the window of showing and publicizing oneself:
Communication module: be responsible for the communication between client process and server processes, comprise instruction issuing, execution result feedback, error feedback and system real time monitoring etc.;
Tertium quid's module: serve as the mutual bridge of each intermodule, each intermodule of unified management mutual;
Configurator module: the configuration file of reading system when system starts, and each module of system is carried out to initialization and configuration.
In the embodiment of the present invention, Fig. 4 is server end architecture.As shown in Figure 4, server end mainly comprises:
Hardware interface module: it carries out secondary encapsulation for the hardware device to dissimilar, unified interface, conveniently calls, wherein, hardware comprises multiple brand motor, camera and PLC etc., and secondary encapsulation is mainly for dissimilar hardware drive programs such as ActiveX, DLL and OPC;
Subscriber Interface Module SIM: for being responsible for receiving client instruction, guarantee the real-time response to client, this function realizes by the QThread thread template of Qt;
Control module, its instruction of being responsible for client to submit to is resolved and is carried out;
User defined logic interface, it provides interface for user, allows to carry out according to demand Function Extension by user, for user's personalized function, realizes.
Above-described specific embodiment; object of the present invention, technical scheme and beneficial effect are further described; be understood that; the foregoing is only specific embodiments of the invention; be not limited to the present invention; within the spirit and principles in the present invention all, any modification of making, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.
Claims (4)
1. the upper computer control system based on Qt, it comprises:
Client, its load and user carry out alternately, user's request being submitted to server end, and sending the result of server end to user;
Server end, it receives user's request processing that client is submitted to, and result is fed back to client for managing all hardware resources and algorithm.
2. upper computer control system as claimed in claim 1, wherein client comprises:
Button manager: manage all buttons, and the button of pressing according to user is to the page corresponding to page manager request;
Page manager: it shows the page corresponding to button according to the request of button manager;
State display module: it is with icon and textual form display system status information;
Title display module: its display items display title and system time;
Communication module: it is responsible for the communication of client and server;
Tertium quid's module: it serves as the mutual bridge of each intermodule, each intermodule of unified management mutual;
Configurator module: the configuration file of its reading system when system starts, and each module of system is carried out to initialization and configuration.
3. upper computer control system as claimed in claim 1, wherein server end comprises:
Hardware interface module: it carries out secondary encapsulation for the hardware device to dissimilar;
Subscriber Interface Module SIM: it is responsible for receiving client instruction, guarantees the real-time response to client;
Control module: its instruction of being responsible for client to submit to is resolved and carried out;
User defined logic interface, it provides interface for user, allows user to carry out according to demand Function Extension.
4. the PC control method based on Qt, it comprises:
Client is submitted to server end by user's request;
Server end receives user's request the processing that client is submitted to, then result is fed back to client;
Client sends the result of server end to user.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310524475.6A CN103529816B (en) | 2013-10-30 | 2013-10-30 | A kind of upper computer control system based on Qt |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310524475.6A CN103529816B (en) | 2013-10-30 | 2013-10-30 | A kind of upper computer control system based on Qt |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103529816A true CN103529816A (en) | 2014-01-22 |
CN103529816B CN103529816B (en) | 2016-03-02 |
Family
ID=49931905
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310524475.6A Expired - Fee Related CN103529816B (en) | 2013-10-30 | 2013-10-30 | A kind of upper computer control system based on Qt |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103529816B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104159004A (en) * | 2014-08-22 | 2014-11-19 | 福州新锐同创电子科技有限公司 | A recording and broadcasting shortcut controller |
CN104615489A (en) * | 2015-01-22 | 2015-05-13 | 江苏大烨智能电气股份有限公司 | Multi-node data interaction achieving method |
CN104880951A (en) * | 2015-05-12 | 2015-09-02 | 深圳市安恩达科技有限公司 | Method and device for controlling smart home |
CN111752242A (en) * | 2020-06-03 | 2020-10-09 | 深圳前海禾盈科技有限公司 | Equipment connection method for automatic production |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5758186A (en) * | 1995-10-06 | 1998-05-26 | Sun Microsystems, Inc. | Method and apparatus for generically handling diverse protocol method calls in a client/server computer system |
CN102331970A (en) * | 2011-07-28 | 2012-01-25 | 北京航空航天大学 | Safety critical system-oriented automatic testing resource management method and platform |
CN202189366U (en) * | 2011-09-16 | 2012-04-11 | 东北林业大学 | Embedded electronic ordering system facing diner |
-
2013
- 2013-10-30 CN CN201310524475.6A patent/CN103529816B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5758186A (en) * | 1995-10-06 | 1998-05-26 | Sun Microsystems, Inc. | Method and apparatus for generically handling diverse protocol method calls in a client/server computer system |
CN102331970A (en) * | 2011-07-28 | 2012-01-25 | 北京航空航天大学 | Safety critical system-oriented automatic testing resource management method and platform |
CN202189366U (en) * | 2011-09-16 | 2012-04-11 | 东北林业大学 | Embedded electronic ordering system facing diner |
Non-Patent Citations (4)
Title |
---|
倪继利: "《Qt及Linux操作系统窗口设计》", 30 April 2006 * |
孙昌青: "基于Qt_Embedded的嵌入式GUI系统的研究与构建", 《基于QT_EMBEDDED的嵌入式GUI系统的研究与构建》 * |
孙昌青: "基于Qt_Embedded的嵌入式GUI系统的研究与构建", 《基于QT_EMBEDDED的嵌入式GUI系统的研究与构建》, 30 December 2009 (2009-12-30), pages 1 - 17 * |
袁秋林等: "嵌入式图形引擎QT/E内核的C/S结构分析与优化", 《信息技术》 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104159004A (en) * | 2014-08-22 | 2014-11-19 | 福州新锐同创电子科技有限公司 | A recording and broadcasting shortcut controller |
CN104615489A (en) * | 2015-01-22 | 2015-05-13 | 江苏大烨智能电气股份有限公司 | Multi-node data interaction achieving method |
CN104615489B (en) * | 2015-01-22 | 2018-02-23 | 江苏大烨智能电气股份有限公司 | A kind of implementation method of multinode data interaction |
CN104880951A (en) * | 2015-05-12 | 2015-09-02 | 深圳市安恩达科技有限公司 | Method and device for controlling smart home |
CN111752242A (en) * | 2020-06-03 | 2020-10-09 | 深圳前海禾盈科技有限公司 | Equipment connection method for automatic production |
Also Published As
Publication number | Publication date |
---|---|
CN103529816B (en) | 2016-03-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10365626B2 (en) | Extending the functionality of a programmable logic controller (PLC) with apps without changing the PLC programming | |
US11110601B2 (en) | Scheduling robots for robotic process automation | |
EP3862894A1 (en) | Data processing methods, data processing apparatuses, electronic devices, and storage media | |
CN101938164B (en) | Power equipment control method, device and related system thereof | |
CN107291456B (en) | Multi-screen display control method and system | |
CN112668386A (en) | Long running workflows for document processing using robotic process automation | |
CN104579792A (en) | Architecture and method for achieving centralized management of various types of virtual resources based on multiple adaptive modes | |
EP1966723A1 (en) | Dynamically repositioning workflow by end users | |
EP3074826B1 (en) | Offloading human-machine-interaction tasks | |
CN110427252A (en) | Method for scheduling task, device and the storage medium of task based access control dependence | |
CN103529816B (en) | A kind of upper computer control system based on Qt | |
CN101424941B (en) | Control implementing method and system | |
US20130254780A1 (en) | Techniques to remotely access object events | |
CN113658351B (en) | Method and device for producing product, electronic equipment and storage medium | |
CN107896242B (en) | Service sharing method and device | |
CN103809951A (en) | Graphical service arrangement and management device based on FLEX technology | |
CN103914286A (en) | Management method and manager for tab page in user interface | |
CN105208123A (en) | Virtual desktop implementation method and system thereof | |
CN106257889B (en) | Expansion device of virtual interface and network servo system thereof | |
CN112070452A (en) | Distributed workflow management system | |
CN103685066A (en) | Dynamic distributed scheduling method and system | |
CN115774573A (en) | Application integration method and device, electronic equipment and storage medium | |
CN115237547A (en) | Unified container cluster hosting system and method for non-intrusive HPC computing cluster | |
CN111090430B (en) | Application software development system under embedded system | |
Takase et al. | Work-in-Progress: Design Concept of a Lightweight Runtime Environment for Robot Software Components Onto Embedded Devices |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20160302 Termination date: 20211030 |