[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN109582610A - Method and its module across the aobvious compatible control of control platform under a kind of VxWorks system environments - Google Patents

Method and its module across the aobvious compatible control of control platform under a kind of VxWorks system environments Download PDF

Info

Publication number
CN109582610A
CN109582610A CN201811485966.3A CN201811485966A CN109582610A CN 109582610 A CN109582610 A CN 109582610A CN 201811485966 A CN201811485966 A CN 201811485966A CN 109582610 A CN109582610 A CN 109582610A
Authority
CN
China
Prior art keywords
platform
driving
aobvious
display
bottom layer
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
CN201811485966.3A
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.)
Shanghai Aerospace Electronic Communication Equipment Research Institute
Original Assignee
Shanghai Aerospace Electronic Communication Equipment Research Institute
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 Shanghai Aerospace Electronic Communication Equipment Research Institute filed Critical Shanghai Aerospace Electronic Communication Equipment Research Institute
Priority to CN201811485966.3A priority Critical patent/CN109582610A/en
Publication of CN109582610A publication Critical patent/CN109582610A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices
    • G06F13/102Program control for peripheral devices where the programme performs an interfacing function, e.g. device driver
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the present application provides a kind of method across the aobvious compatible control of control platform under VxWorks system environments, it include: that the system configuration file is read by the man machine interface software of the system, judge currently running platform for the first platform or the second platform, wherein, first platform is different with the second platform hardware environment;When currently running platform is the first platform, the bottom layer driving of first platform is initialized, display control is carried out according to the initiation parameter of first platform;When currently running platform is the second platform, the bottom layer driving of second platform is initialized, display control is carried out according to the initiation parameter of second platform.Therefore, method provided by the embodiments of the present application identifies the current operation platform of man machine interface software by reading system configuration file for different aobvious control platform different resolution problems, man machine interface software, to carry out relevant parameter table initialization, to adapt to different resolution display problem.

Description

A kind of method across the aobvious compatible control of control platform under VxWorks system environments and its Module
Technical field
It is the present invention relates to human-computer interaction technique field, in particular to simultaneous across aobvious control platform under a kind of VxWorks system environments Hold the method and its module of control.
Background technique
Human-computer interaction technology is to realize people and computer dialog in an efficient way by computer Input/Output Device Technology.Human-computer interaction technology includes machine by export or show equipment to people's offer largely for information about and prompt information It is inputted for information about to machine Deng, people by input equipment, answers a question and prompt to ask for instructions.Human-computer interaction technology is being made at present Make in the fields such as industry, household electrical appliances, communication, space flight and military affairs and be widely applied, have visualization height, strong operability, response fastly, The features such as high reliablity.
For these reasons, a kind of side of the cross-platform compatible control of man machine interface software under VxWorks system environments is needed Method.
Summary of the invention
Problem to be solved of the invention is for the cross-platform compatible control of man machine interface software under VxWorks system environments The problem of processed, the present invention propose a kind of modularization, generalization, the software frame of Parametric designing and implementation method.
In a first aspect, a kind of method across the aobvious compatible control of control platform under providing more VxWorks system environments, feature exist In, comprising: the system configuration file is read by the man machine interface software of the system, judges currently running platform for the One platform or the second platform, wherein first platform is different with the second platform hardware environment;Currently running platform is When the first platform, the bottom layer driving of first platform is initialized, is shown according to the initiation parameter of first platform Control;When currently running platform is the second platform, the bottom layer driving of second platform is initialized, according to second platform Initiation parameter carry out display control.
With reference to first aspect, in the first possible implementation of the first aspect, first platform of the initialization Bottom layer driving includes at least one of following: display windowing driving, key driving touch ball driving, the aobvious driving of P, the aobvious driving of B, touch Screen driving, TV driving;The bottom layer driving of the second platform of the initialization includes at least one of following: display windowing driving is pressed Ball driving, the aobvious driving of P, the aobvious driving of B, touch screen driving, TV driving are touched in key driving;
With reference to first aspect and its above-mentioned implementation, in the second possible implementation of the first aspect, according to The initiation parameter of first platform carries out display control, includes at least one of following: drawing static interfaces, detection BIT, hair Equipment state message is sent, network message is received, sends network message, manipulation response task, display refresh tasks;According to described The initiation parameter of two platforms carries out display control, includes at least one of following: drawing static interfaces, detection BIT, sending device State message receives network message, sends network message, manipulation response task, display refresh tasks.
With reference to first aspect and its above-mentioned implementation, in a third possible implementation of the first aspect, described Method further include: after initializing the bottom layer driving of first platform, parameter list initialization, packet are carried out to first platform Include the setting to following parameters: display contents and distribution, display size size, coordinate information;When initialization second platform After bottom layer driving, parameter list initialization is carried out to second platform, including the setting to following parameters: display contents and distribution, Display size size, coordinate information.
Second aspect provides the module across the aobvious compatible control of control platform under a kind of VxWorks system environments, comprising: determine Unit, the determination unit are used to read the system configuration file by the man machine interface software of the system, and judgement is current The platform of operation is the first platform or the second platform, wherein first platform is different with the second platform hardware environment;Place Manage unit, when the processing unit for currently running platform is the first platform, the bottom for initializing first platform is driven It is dynamic, display control is carried out according to the initiation parameter of first platform;The processing unit is also used to currently running platform When for the second platform, the bottom layer driving of second platform is initialized, is shown according to the initiation parameter of second platform Show control.
In conjunction with second aspect, in the first possible implementation of the second aspect, the first platform of the initialization Bottom layer driving includes at least one of following: display windowing driving, key driving touch ball driving, the aobvious driving of P, the aobvious driving of B, touch Screen driving, TV driving;The bottom layer driving of the second platform of the initialization includes at least one of following: display windowing driving is pressed Ball driving, the aobvious driving of P, the aobvious driving of B, touch screen driving, TV driving are touched in key driving;
It is in a second possible implementation of the second aspect, described in conjunction with second aspect and its above-mentioned implementation Processing unit is at least used for: being drawn static interfaces, detection BIT, sending device state message, is received network message, sends network Message, manipulation response task, display refresh tasks.
It is in the third possible implementation of the second aspect, described in conjunction with second aspect and its above-mentioned implementation Processing unit is at least also used to the setting to following parameters: display contents and distribution, display size size, coordinate information.
In general, control platform aobvious for difference, due to hardware environment difference, such as bottom layer driving interface, display The differences such as resolution ratio cause man machine interface software to be difficult to operate normally and work in different platform.The present invention proposes that one kind exists A kind of method that under VxWorks system environments realizes the cross-platform compatible control of man machine interface software, very good solution is across flat Platform compatibility issue, for bottom layer driving difference problem, man machine interface software identifies human-machine interface by reading system configuration file The mouth current operation platform of software initializes branch hence into different bottom layer drivings, for example display opens a window, manipulation, P is shown, B is aobvious, The initial works such as touch screen, TV;For the aobvious control platform different resolution problem of difference, man machine interface software is by reading system System configuration file, identifies the current operation platform of man machine interface software, so that relevant parameter table initialization is carried out, to adapt to different points Resolution display problem.
The method is repeatedly tested under the aobvious control platform of two different hardware environment at present, and is verified through system, this method Reasonable meets the requirement of the cross-platform compatible control of man machine interface software.This method is succinct with software frame, is convenient for moving The features such as planting, is versatile, is maintainable high, can be widely applied in similar project development, be proven to contract significantly Short software development cycle and reliability.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, for those of ordinary skill in the art Speech, without creative efforts, is also possible to obtain other drawings based on these drawings.
Fig. 1 is the schematic flow chart of the method for the application one embodiment.
Fig. 2 is the schematic flow chart of the method for another embodiment of the application.
Fig. 3 is the schematic flow chart of the method for another embodiment of the application.
Fig. 4 is the schematic block diagram for applying for the device of one embodiment.
Specific embodiment
In order to make those skilled in the art better understand the technical solutions in the application, below in conjunction with the application reality The attached drawing in example is applied, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described implementation Example is merely a part but not all of the embodiments of the present application.Based on the embodiment in the application, this field is common The application protection all should belong in technical staff's every other embodiment obtained without making creative work Range.
Fig. 1 shows the method across the aobvious compatible control of control platform under VxWorks system environments, comprising:
Step 110, the system configuration file is read by the man machine interface software of the system, judged currently running Platform is the first platform or the second platform, wherein first platform is different with the second platform hardware environment.
Step 120, when currently running platform is the first platform, the bottom layer driving of first platform is initialized, according to The initiation parameter of first platform carries out display control;
When currently running platform is the second platform, the bottom layer driving of second platform is initialized, according to described second The initiation parameter of platform carries out display control.
Optionally, as the application one embodiment, the bottom layer driving of the first platform of the initialization includes at least following One of: ball driving, the aobvious driving of P, the aobvious driving of B, touch screen driving, TV driving are touched in display windowing driving, key driving;It is described The bottom layer driving of the second platform is initialized including at least one of following: display windowing, which drives, key drives, touches ball, which drives, P is aobvious drives Dynamic, the aobvious driving of B, touch screen driving, TV driving;
Optionally, as the application one embodiment, display control is carried out according to the initiation parameter of first platform, Including at least one of following: drawing static interfaces, detection BIT, sending device state message, receive network message, send network Message, manipulation response task, display refresh tasks;Display control is carried out according to the initiation parameter of second platform, at least Including one of following: draw static interfaces, detection BIT, sending device state message, receive network message, send network message, Manipulate response task, display refresh tasks.
Optionally, as the application one embodiment, the method also includes: when the bottom for initializing first platform After driving, parameter list initialization is carried out to first platform, including the setting to following parameters: display contents and distribution, display Size, coordinate information;After initializing the bottom layer driving of second platform, at the beginning of carrying out parameter list to second platform Beginningization, including the setting to following parameters: display contents and distribution, display size size, coordinate information.
The implementation method of the cross-platform compatibility of man machine interface software is in two different hardware environment under this VxWorks system environments Aobvious control platform on tested, our abbreviation 1# platforms and 2# platform, particular hardware environmental Comparison are as shown in table 1.
1 1# platform of table, 2# platform hardware environment contrast table
As it can be seen from table 1 two aobvious control platform hardware environment are different, especially bottom layer driving interface is different, causes same A set of man machine interface software can not operate normally and work in different platform.In order to solve this problem, we have proposed one The implementation method of the cross-platform compatible control of man machine interface software, software block diagram are as shown in Figure 1 under kind VxWorks system environments.
Our design principle is to show the identical part of control platform for two using modularization, Parametric designing, we Carry out integration processing, for different parts, such as the load of bottom layer driving interface etc., we carry out branch process, as Fig. 2, Shown in Fig. 3, specific software realization step are as follows:
1, system configuration file config.dat is read, current operation platform, con=11 table are judged according to return value con Show that 1# platform zone center, con=12 indicate that 1# platform channel board, con=21 indicate that 2# platform zone center, con=22 indicate 2# platform channel Platform;
2, if 1# platform, then enter 1# platform bottom layer driving initialization init1 (), it is main comprising showing windowing, key, touching The initial works such as ball, P aobvious, B aobvious, touch screen, TV then enter 2# platform bottom layer driving initialization init2 () if 2# platform;
3, parameter list initialization table_init (), parameter list are mainly used for solving the problems, such as display resolution difference, due to We use modularization, Parametric designing, we need to only be laid out display content according to different display resolutions, will The informations parameter such as size, coordinate insert corresponding parameter list position;
4, global variable initialization init_global (), main aobvious static interfaces drawmain (), the aobvious static interfaces of pair Drawaux (), maintenance interface drawWF (), netinit NetInit () etc.;
5, VxWorks system multiplex is handled, and mainly includes BIT detection, equipment state message transmission task, network message Reception task, network message send task, manipulation response task (comprising key, touching ball, touch screen), display refresh tasks etc..
The invention is applied in XX model surface to air missile weapon system at present, is repeatedly surveyed under practical Double tabletop environment Examination, and verified through system, the invention reasonable, meet the requirement of cross-platform compatible control.
The present invention has the characteristics that software frame is succinct, is convenient for transplanting, is versatile, is maintainable high, can be widely applied In similar project development, it is proven and is substantially shorter software development cycle and reliability.
Fig. 4 shows the module across the aobvious compatible control of control platform under a kind of VxWorks system environments, comprising:
Determination unit 410, the determination unit 410 are used to read the system by the man machine interface software of the system Configuration file judges currently running platform for the first platform or the second platform, wherein first platform and described second flat Platform hardware environment is different;
When processing unit 420, the processing unit 420 for currently running platform are the first platform, described in initialization The bottom layer driving of first platform carries out display control according to the initiation parameter of first platform;
The processing unit 420 is also used to currently running platform when being the second platform, initializes second platform Bottom layer driving carries out display control according to the initiation parameter of second platform.
Optionally, as the application one embodiment, the bottom layer driving of the first platform of the initialization includes at least following One of: ball driving, the aobvious driving of P, the aobvious driving of B, touch screen driving, TV driving are touched in display windowing driving, key driving;It is described The bottom layer driving of the second platform is initialized including at least one of following: display windowing, which drives, key drives, touches ball, which drives, P is aobvious drives Dynamic, the aobvious driving of B, touch screen driving, TV driving;
Optionally, it is at least used for as the application one embodiment, described 420: drawing static interfaces, detection BIT, sends Equipment state message receives network message, sends network message, manipulation response task, display refresh tasks.
Optionally, the setting to following parameters is at least also used to as the application one embodiment, described 420: in display Hold layout, display size size, coordinate information.

Claims (8)

1. a kind of method across the aobvious compatible control of control platform under VxWorks system environments characterized by comprising
The system configuration file is read by the man machine interface software of the system, judges that currently running platform is flat for first Platform or the second platform, wherein first platform is different with the second platform hardware environment;
When currently running platform is the first platform, the bottom layer driving of first platform is initialized, according to first platform Initiation parameter carry out display control;
When currently running platform is the second platform, the bottom layer driving of second platform is initialized, according to second platform Initiation parameter carry out display control.
2. the method according to claim 1, wherein the bottom layer driving of the first platform of the initialization includes at least One of following: ball driving, the aobvious driving of P, the aobvious driving of B, touch screen driving, TV driving are touched in display windowing driving, key driving;
The bottom layer driving of the second platform of the initialization includes at least one of following: display windowing driving, touches ball drive at key driving Dynamic, the aobvious driving of P, the aobvious driving of B, touch screen driving, TV driving.
3. method according to claim 1 or 2, which is characterized in that carried out according to the initiation parameter of first platform Display control includes at least one of following: draw static interfaces, detection BIT, sending device state message, receive network message, Send network message, manipulation response task, display refresh tasks;
Display control is carried out according to the initiation parameter of second platform, is included at least one of following: drawing static interfaces, inspection BIT, sending device state message are surveyed, network message is received, sends network message, manipulation response task, display refresh tasks.
4. according to the method described in claim 3, it is characterized in that, the method also includes:
After initializing the bottom layer driving of first platform, parameter list initialization is carried out to first platform, including under The setting of column parameter: display contents and distribution, display size size, coordinate information;
After initializing the bottom layer driving of second platform, parameter list initialization is carried out to second platform, including under The setting of column parameter: display contents and distribution, display size size, coordinate information.
5. the module across the aobvious compatible control of control platform under a kind of VxWorks system environments characterized by comprising
Determination unit, the determination unit are used to read the system configuration file by the man machine interface software of the system, Judge currently running platform for the first platform or the second platform, wherein first platform and the second platform hardware ring Border is different;
When processing unit, the processing unit for currently running platform are the first platform, first platform is initialized Bottom layer driving carries out display control according to the initiation parameter of first platform;
The processing unit is also used to currently running platform when being the second platform, and the bottom for initializing second platform drives It is dynamic, display control is carried out according to the initiation parameter of second platform.
6. module according to claim 5, which is characterized in that the bottom layer driving of the first platform of the initialization includes at least One of following: ball driving, the aobvious driving of P, the aobvious driving of B, touch screen driving, TV driving are touched in display windowing driving, key driving;
The bottom layer driving of the second platform of the initialization includes at least one of following: display windowing driving, touches ball drive at key driving Dynamic, the aobvious driving of P, the aobvious driving of B, touch screen driving, TV driving.
7. module according to claim 5 or 6, which is characterized in that the processing unit is at least used for: drawing static boundary Face, sending device state message, receives network message, sends network message, manipulation response task, shows to refresh and appoint detection BIT Business.
8. module according to claim 7, which is characterized in that the processing unit is at least also used to set following parameters It sets: display contents and distribution, display size size, coordinate information.
CN201811485966.3A 2018-12-05 2018-12-05 Method and its module across the aobvious compatible control of control platform under a kind of VxWorks system environments Pending CN109582610A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811485966.3A CN109582610A (en) 2018-12-05 2018-12-05 Method and its module across the aobvious compatible control of control platform under a kind of VxWorks system environments

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811485966.3A CN109582610A (en) 2018-12-05 2018-12-05 Method and its module across the aobvious compatible control of control platform under a kind of VxWorks system environments

Publications (1)

Publication Number Publication Date
CN109582610A true CN109582610A (en) 2019-04-05

Family

ID=65927409

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811485966.3A Pending CN109582610A (en) 2018-12-05 2018-12-05 Method and its module across the aobvious compatible control of control platform under a kind of VxWorks system environments

Country Status (1)

Country Link
CN (1) CN109582610A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030169222A1 (en) * 2002-03-11 2003-09-11 Dialog Semiconductor Gmbh. LCD module identification
CN2921952Y (en) * 2005-11-09 2007-07-11 中兴通讯股份有限公司 Mobile terminal capable of intelligently loading hardware
CN102279816A (en) * 2011-06-02 2011-12-14 北京百纳威尔科技有限公司 LCD (liquid crystal display) automatic identification method and device
US8463951B1 (en) * 2003-03-27 2013-06-11 Nvidia Corporation Unified driver architecture device identifier strategy
CN104503792A (en) * 2014-12-22 2015-04-08 山东超越数控电子有限公司 Method for realizing equipment management function in VxWorks
CN105116791A (en) * 2015-07-16 2015-12-02 中国航空无线电电子研究所 Comprehensive display control system software framework of small helicopter
CN106484523A (en) * 2015-08-24 2017-03-08 大唐移动通信设备有限公司 A kind of managing hardware device method and its device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030169222A1 (en) * 2002-03-11 2003-09-11 Dialog Semiconductor Gmbh. LCD module identification
US8463951B1 (en) * 2003-03-27 2013-06-11 Nvidia Corporation Unified driver architecture device identifier strategy
CN2921952Y (en) * 2005-11-09 2007-07-11 中兴通讯股份有限公司 Mobile terminal capable of intelligently loading hardware
CN102279816A (en) * 2011-06-02 2011-12-14 北京百纳威尔科技有限公司 LCD (liquid crystal display) automatic identification method and device
CN104503792A (en) * 2014-12-22 2015-04-08 山东超越数控电子有限公司 Method for realizing equipment management function in VxWorks
CN105116791A (en) * 2015-07-16 2015-12-02 中国航空无线电电子研究所 Comprehensive display control system software framework of small helicopter
CN106484523A (en) * 2015-08-24 2017-03-08 大唐移动通信设备有限公司 A kind of managing hardware device method and its device

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
叶文: "《航空武器系统概论》", 30 April 2016 *
常明: "《计算机图形学 第2版》", 28 February 2001 *
张克盛: "《AutoCAD 2014实用教程》", 31 January 2015 *
陈运涛: "《雷达技术基础》", 31 July 2014 *

Similar Documents

Publication Publication Date Title
US9836192B2 (en) Identifying and displaying overlay markers for voice command user interface
Gutwin et al. Workspace awareness in real-time distributed groupware
US6928464B2 (en) Systems and methods for unified remote control access
US8250486B2 (en) Computer controlled user interactive display interface for accessing graphic tools with a minimum of display pointer movement
CN103425479A (en) User interface for remote device virtualization
CN110609654B (en) Data synchronous display method, device and equipment and teleconferencing system
CN105659221A (en) Graphical user interface having enhanced tool for connecting components
CN102568253A (en) Method and device used for displaying geometrical characteristic of graph in electronic whiteboard
Ren et al. Cloud-based intelligent user interface for cloud manufacturing: model, technology, and application
CN102929415A (en) Local monitor and mouse display synchronization method for local monitor and remote virtual machine
US20110074667A1 (en) Specific user field entry
US10691880B2 (en) Ink in an electronic document
CN101295264B (en) Apparatus and method for simultaneously displaying mouse in multi-region
CN103701791B (en) A kind of operating method of the virtual desktop based on virtual desktop system
CN105262880A (en) Mobile phone control demonstration system applied to WiFi network
Andujar et al. A cost-effective approach for developing application-control GUIs for virtual environments
CN109582610A (en) Method and its module across the aobvious compatible control of control platform under a kind of VxWorks system environments
Yoo et al. Usability Principles for a Mobile Augmented Reality Application-Focus on Wayfinding
CN107291367A (en) Use method and device of eraser
Korzetz et al. Introducing mobile device-based interactions to users: an investigation of onboarding tutorials
US11651332B2 (en) Distributed collaborative environment using physical notes
CN115185709A (en) Cross-platform implementation method and system for applying input method to Web operating system
CN102799342A (en) Handheld mobile Internet equipment
US20210042008A1 (en) Pointing and interaction control devices for large scale tabletop models
CN106095823A (en) A kind of map-indication method and 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190405

RJ01 Rejection of invention patent application after publication