CN104598191A - Method for realizing multi-screen display and device thereof - Google Patents

Method for realizing multi-screen display and device thereof Download PDF

Info

Publication number
CN104598191A
CN104598191A CN201510084054.5A CN201510084054A CN104598191A CN 104598191 A CN104598191 A CN 104598191A CN 201510084054 A CN201510084054 A CN 201510084054A CN 104598191 A CN104598191 A CN 104598191A
Authority
CN
China
Prior art keywords
screen
script
described multi
variable
transverse
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510084054.5A
Other languages
Chinese (zh)
Other versions
CN104598191B (en
Inventor
张宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHENYANG BLOWER WORKS GROUP AUTOMATIC CONTROL SYSTEM ENGINEERING Co Ltd
Original Assignee
SHENYANG BLOWER WORKS GROUP AUTOMATIC CONTROL SYSTEM ENGINEERING 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 SHENYANG BLOWER WORKS GROUP AUTOMATIC CONTROL SYSTEM ENGINEERING Co Ltd filed Critical SHENYANG BLOWER WORKS GROUP AUTOMATIC CONTROL SYSTEM ENGINEERING Co Ltd
Priority to CN201510084054.5A priority Critical patent/CN104598191B/en
Publication of CN104598191A publication Critical patent/CN104598191A/en
Application granted granted Critical
Publication of CN104598191B publication Critical patent/CN104598191B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Digital Computer Display Output (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a method for realizing multi-screen display. The method comprises the following steps: leading in an Intouch patch script for providing specific coordinates of a location of an Intouch window to a root directory of an Intouch procedure; starting Intouch multi-monitor configuration; establishing a special database of a multi-screen script, and leading in the special database of the multi-screen script to the Intouch procedure; leading in the multi-screen script to the Intouch procedure, configuring the multi-screen script for the special database of the multi-screen script, realizing interaction between the multi-screen script and the special database of the multi-screen script, thereby normally operating the multi-screen script and realizing multi-screen display. According to the device for realizing multi-screen display provided by the invention, a picture switching mode of countless screens can be perfectly supported, and even the screens can be randomly increased and reduced according to the needs of a user.

Description

Realize method and the device thereof of multihead display
Technical field
Industry control technical field of the present invention, particularly a kind of method and device thereof realizing multihead display.
Background technology
In today that computer technology more and more improves, the requirement of user to man-machine interface is also more and more higher.One of them very important also very common requirement requires that man-machine interface possesses double screen function exactly.Some projects, user even requires four screens even more multi-screen display man-machine interface.And as the most widely used human interface software-Intouch of user, itself does not carry multi-screen Presentation Function.Therefore develop Intouch multi-screen function and just seem extremely urgent.
Summary of the invention
Technical matters to be solved by this invention is to provide a kind of method and the device thereof that realize multihead display.
According to an aspect of the present invention, the invention provides a kind of method realizing multihead display, it comprises:
Root directory to Intouch program imports the patch script of the Intouch of the concrete coordinate in order to provide the position of an Intouch window;
Enable the configuration of Intouch multi-monitor;
Create the private database of multi-screen script, and import the private database of described multi-screen script to Intouch program; The private database of described multi-screen script comprises the local variable used in multi-screen script;
Multi-screen script is imported to Intouch program, and the private database of described multi-screen script is configured described multi-screen script, mutual between the private database realizing described multi-screen script and described multi-screen script, thus described multi-screen script can normally be run, and then realize multihead display.
Further, comprise can by the transverse and longitudinal coordinate assignment in the transverse and longitudinal coordinate in the upper left corner of target window and the lower right corner to the patch script in four address of variable of the transverse and longitudinal coordinate in the upper left corner and the transverse and longitudinal coordinate in the lower right corner that are used for storing target window for described patch script.
Further, the local variable used in described multi-screen script comprises current screen resolution width variable, current screen resolution height variable, is basic point with the upper left corner, the coordinate variable of target window in the open position of main screen, for four variablees of the transverse and longitudinal coordinate of the transverse and longitudinal coordinate and the lower right corner that store the upper left corner of target window, for storing the intermediate variable that detects the state whether target window has been shown and being basic point with the upper left corner and the variable opened in the screen position needed of intended target window.
Further, described multi-screen script to comprise in Intouch program for switching large window, for opening wicket and the script for the picture that wicket moved to needs.
According to another aspect of the present invention, also provide a kind of device realizing multihead display, it comprises importing module, and the root directory to Intouch program imports the patch script of the Intouch of the concrete coordinate in order to provide the position of an Intouch window;
Configuration module, enables the configuration of Intouch multi-monitor;
Creation module, creates the private database of multi-screen script, and imports the private database of described multi-screen script to Intouch program; The private database of described multi-screen script comprises the local variable used in multi-screen script;
Processing module, multi-screen script is imported to Intouch program, and the private database of described multi-screen script is configured described multi-screen script, mutual between the private database realizing described multi-screen script and described multi-screen script, thus described multi-screen script can normally be run, and then realize multihead display.
Further, comprise can by the transverse and longitudinal coordinate assignment in the transverse and longitudinal coordinate in the upper left corner of target window and the lower right corner to the patch script in four address of variable of the transverse and longitudinal coordinate in the upper left corner and the transverse and longitudinal coordinate in the lower right corner that are used for storing target window for described patch script.
Further, the local variable used in described multi-screen script comprises current screen resolution width variable, current screen resolution height variable, is basic point with the upper left corner, the coordinate variable of target window in the open position of main screen, for four variablees of the transverse and longitudinal coordinate of the transverse and longitudinal coordinate and the lower right corner that store the upper left corner of target window, for storing the intermediate variable that detects the state whether target window has been shown and being basic point with the upper left corner and the variable opened in the screen position needed of intended target window.
Further, described multi-screen script to comprise in Intouch program for switching large window, for opening wicket and the script for the picture that wicket moved to needs.
Method and the device thereof realizing multihead display provided by the invention, perfectly can support the picture switching mode of a unlimited screen, even can accomplish increase arbitrarily and reduce screen according to the demand of user, such as user requires engineer station's screen display, operator station two screen displays.The complete picture handoff functionality that can replace Intouch self, and accomplished more convenient and quicker, more difficultly makes mistakes.After picture has been debugged, for the requirement be combined in by the picture of multiple project in an Intouch program that user proposes suddenly when checking and accepting, can accomplish whether the switching push button not needing again to check picture can be switched to the picture of mistake.
Accompanying drawing explanation
Fig. 1 is a kind of schematic flow sheet realizing the method for multihead display that the embodiment of the present invention provides;
Fig. 2 is a kind of structured flowchart realizing multihead display that the embodiment of the present invention provides.
Embodiment
See Fig. 1, a kind of method realizing multihead display that the embodiment of the present invention provides, comprising:
Step 1, import the patch script of Intouch of the concrete coordinate in order to provide the position of an Intouch window to the root directory of Intouch program.This patch script comprises can by the transverse and longitudinal coordinate assignment in the transverse and longitudinal coordinate in the upper left corner of target window and the lower right corner to the patch script in four address of variable (" iWindowLeft " " iWindowTop " " iWindowRight " " iWindowBottom ") of the transverse and longitudinal coordinate in the upper left corner and the transverse and longitudinal coordinate in the lower right corner that are used for storing target window.
Step 2, enable Intouch multi-monitor configuration.Specifically in the win.ini of Intouch, configuration parameter can be set, the configuration of Intouch multi-monitor can be enabled.
The private database of step 3, establishment multi-screen script, and the private database of described multi-screen script is imported to Intouch program.Wherein, the private database of multi-screen script comprises the local variable used in multi-screen script.The local variable used in multi-screen script comprises current screen resolution width variable (" iW "), current screen resolution height variable (" iH "), take the upper left corner as basic point, target window is at the coordinate variable (iLeft " " iUp ") of the open position of main screen, for four variablees (" iWindowLeft " " iWindowTop " " iWindowRight " " iWindowBottom ") of the transverse and longitudinal coordinate of the transverse and longitudinal coordinate and the lower right corner that store the upper left corner of target window, for storing the intermediate variable (" iresult " " iresult1 ") that detects the state whether target window has been shown and being basic point with the upper left corner and the variable (" iX0 " " iY0 " " iX1 " " iY1 ") opened in the screen position needed of intended target window.The object importing the private database of unlimited screen script is the workload of repetition when not only reducing artificial creation database, and reduces the mistake produced because personnel are unskilled, the use-pattern simplifying multi-screen script.
Step 4, import multi-screen script to Intouch program, and the private database of described multi-screen script is configured described multi-screen script, mutual between the private database realizing described multi-screen script and described multi-screen script, thus described multi-screen script can normally be run, and then realize multihead display.Wherein, multi-screen script to comprise in Intouch program for switching large window, for opening wicket and the script for the picture that wicket moved to needs.This multi-screen script directly fundamentally stopped merge the picture of multiple project in an Intouch program in, produce the possibility of mistake, thus save the time of inspection, and greatly improve work efficiency.
See Fig. 2, the embodiment of the present invention also provides a kind of device realizing multihead display, and it comprises the root directory importing of importing module 10 to Intouch program in order to provide the patch script of the Intouch of the concrete coordinate of the position of an Intouch window.This patch script comprises can by the transverse and longitudinal coordinate assignment in the transverse and longitudinal coordinate in the upper left corner of target window and the lower right corner to the patch script in four address of variable (" iWindowLeft " " iWindowTop " " iWindowRight " " iWindowBottom ") of the transverse and longitudinal coordinate in the upper left corner and the transverse and longitudinal coordinate in the lower right corner that are used for storing target window.
Configuration module 20 enables the configuration of Intouch multi-monitor.Specifically in the win.ini of Intouch, configuration parameter can be set, the configuration of Intouch multi-monitor can be enabled.
Creation module 30 creates the private database of multi-screen script, and imports the private database of described multi-screen script to Intouch program; The private database of described multi-screen script comprises the local variable used in multi-screen script.Wherein, the private database of multi-screen script comprises the local variable used in multi-screen script.The local variable used in multi-screen script comprises current screen resolution width variable (" iW "), current screen resolution height variable (" iH "), take the upper left corner as basic point, target window is at the coordinate variable (iLeft " " iUp ") of the open position of main screen, for four variablees (" iWindowLeft " " iWindowTop " " iWindowRight " " iWindowBottom ") of the transverse and longitudinal coordinate of the transverse and longitudinal coordinate and the lower right corner that store the upper left corner of target window, for storing the intermediate variable (" iresult " " iresult1 ") that detects the state whether target window has been shown and being basic point with the upper left corner and the variable (" iX0 " " iY0 " " iX1 " " iY1 ") opened in the screen position needed of intended target window.
Processing module 40 imports multi-screen script to Intouch program, and the private database of multi-screen script is configured described multi-screen script, mutual between the private database realizing described multi-screen script and described multi-screen script, thus described multi-screen script can normally be run, and then realize multihead display.Wherein, multi-screen script to comprise in Intouch program for switching large window, for opening wicket and the script for the picture that wicket moved to needs.
Method and the device thereof of multihead display that what the embodiment of the present invention provided realize, perfectly can support the picture switching mode of a unlimited screen, even can accomplish increase arbitrarily and reduce screen according to the demand of user, such as user requires engineer station's screen display, operator station two screen displays.The complete picture handoff functionality that can replace Intouch self, and accomplished more convenient and quicker, more difficultly makes mistakes.After picture has been debugged, for the requirement be combined in by the picture of multiple project in an Intouch program that user proposes suddenly when checking and accepting, can accomplish whether the switching push button not needing again to check picture can be switched to the picture of mistake.
It should be noted last that, above embodiment is only in order to illustrate technical scheme of the present invention and unrestricted, although with reference to example to invention has been detailed description, those of ordinary skill in the art is to be understood that, can modify to technical scheme of the present invention or equivalent replacement, and not departing from the spirit and scope of technical solution of the present invention, it all should be encompassed in the middle of right of the present invention.

Claims (8)

1. realize a method for multihead display, it is characterized in that, comprising:
Root directory to I ntouch program imports the patch script of the I ntouch of the concrete coordinate of the position in order to provide an I ntouch window;
Enable the configuration of I ntouch multi-monitor;
Create the private database of multi-screen script, and import the private database of described multi-screen script to I ntouch program; The private database of described multi-screen script comprises the local variable used in multi-screen script;
Multi-screen script is imported to I ntouch program, and the private database of described multi-screen script is configured described multi-screen script, mutual between the private database realizing described multi-screen script and described multi-screen script, thus described multi-screen script can normally be run, and then realize multihead display.
2. the method realizing multihead display according to claim 1, is characterized in that, described patch script comprises:
Can by the transverse and longitudinal coordinate assignment in the transverse and longitudinal coordinate in the upper left corner of target window and the lower right corner to the patch script in four address of variable of the transverse and longitudinal coordinate of the transverse and longitudinal coordinate and the lower right corner that are used for the upper left corner storing target window.
3. the method realizing multihead display according to claim 1, is characterized in that, the local variable used in described multi-screen script comprises:
Current screen resolution width variable, current screen resolution height variable, be basic point with the upper left corner, the coordinate variable of target window in the open position of main screen, for four variablees of the transverse and longitudinal coordinate of the transverse and longitudinal coordinate and the lower right corner that store the upper left corner of target window, for storing the intermediate variable that detects the state whether target window has been shown and being basic point with the upper left corner and the variable opened in the screen position needed of intended target window.
4. the method realizing multihead display according to claim 1, is characterized in that, described multi-screen script to comprise in I ntouch program for switching large window, for opening wicket and the script for the picture that wicket moved to needs.
5. realize a device for multihead display, it is characterized in that, comprising:
Import module, the root directory to I ntouch program imports the patch script of the I ntouch of the concrete coordinate of the position in order to provide an I ntouch window;
Configuration module, enables the configuration of I ntouch multi-monitor;
Creation module, creates the private database of multi-screen script, and imports the private database of described multi-screen script to I ntouch program; The private database of described multi-screen script comprises the local variable used in multi-screen script;
Processing module, multi-screen script is imported to I ntouch program, and the private database of described multi-screen script is configured described multi-screen script, mutual between the private database realizing described multi-screen script and described multi-screen script, thus described multi-screen script can normally be run, and then realize multihead display.
6. the device realizing multihead display according to claim 5, is characterized in that, described patch script comprises:
Can by the transverse and longitudinal coordinate assignment in the transverse and longitudinal coordinate in the upper left corner of target window and the lower right corner to the patch script in four address of variable of the transverse and longitudinal coordinate of the transverse and longitudinal coordinate and the lower right corner that are used for the upper left corner storing target window.
7. the device realizing multihead display according to claim 5, is characterized in that, the local variable used in described multi-screen script comprises:
Current screen resolution width variable, current screen resolution height variable, be basic point with the upper left corner, the coordinate variable of target window in the open position of main screen, for four variablees of the transverse and longitudinal coordinate of the transverse and longitudinal coordinate and the lower right corner that store the upper left corner of target window, for storing the intermediate variable that detects the state whether target window has been shown and being basic point with the upper left corner and the variable opened in the screen position needed of intended target window.
8. the device realizing multihead display according to claim 5, is characterized in that, described multi-screen script to comprise in I ntouch program for switching large window, for opening wicket and the script for the picture that wicket moved to needs.
CN201510084054.5A 2015-02-16 2015-02-16 Realize the method and its device of multihead display Active CN104598191B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510084054.5A CN104598191B (en) 2015-02-16 2015-02-16 Realize the method and its device of multihead display

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510084054.5A CN104598191B (en) 2015-02-16 2015-02-16 Realize the method and its device of multihead display

Publications (2)

Publication Number Publication Date
CN104598191A true CN104598191A (en) 2015-05-06
CN104598191B CN104598191B (en) 2017-10-17

Family

ID=53124016

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510084054.5A Active CN104598191B (en) 2015-02-16 2015-02-16 Realize the method and its device of multihead display

Country Status (1)

Country Link
CN (1) CN104598191B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107391066A (en) * 2017-07-14 2017-11-24 西安万像电子科技有限公司 Window display method and device
CN109871177A (en) * 2019-01-31 2019-06-11 维沃移动通信有限公司 Display control method and mobile terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1904821A (en) * 2005-07-25 2007-01-31 联想(北京)有限公司 Multi-display system and its window switching method
CN101188104A (en) * 2007-12-07 2008-05-28 北京方正国际软件系统有限公司 A multi-display monitoring method and device
CN103503017A (en) * 2011-01-21 2014-01-08 英塔茨科技公司 Telerobotic system with dual application screen presentation

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1904821A (en) * 2005-07-25 2007-01-31 联想(北京)有限公司 Multi-display system and its window switching method
CN101188104A (en) * 2007-12-07 2008-05-28 北京方正国际软件系统有限公司 A multi-display monitoring method and device
CN103503017A (en) * 2011-01-21 2014-01-08 英塔茨科技公司 Telerobotic system with dual application screen presentation

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
晏飞,张宝,杨涛等: "Intouch组件软件中动态三维界面设计及应用", 《物流技术》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107391066A (en) * 2017-07-14 2017-11-24 西安万像电子科技有限公司 Window display method and device
CN109871177A (en) * 2019-01-31 2019-06-11 维沃移动通信有限公司 Display control method and mobile terminal
CN109871177B (en) * 2019-01-31 2023-10-10 维沃移动通信有限公司 Display control method and mobile terminal

Also Published As

Publication number Publication date
CN104598191B (en) 2017-10-17

Similar Documents

Publication Publication Date Title
CN103544336B (en) The modeling of the electric network model of logic-based relation
US20200183568A1 (en) Method and System for Sorting Desktop Objects
CN103513912B (en) A kind of interface switching method and device
US20140082547A1 (en) Three-dimensional desktop switching system on handheld apparatus and method thereof
RU2014140546A (en) METHODS AND APPARATUS FOR CONFIGURING CONTROL DEVICES
CN105917298B (en) Display control method and display control unit
WO2016029770A1 (en) Method for split-screen displaying, mobile terminal and storage medium
RU2013152173A (en) METHOD AND DEVICE FOR EDITING A SCREEN IMAGE OF A MOBILE DEVICE HAVING A TOUCH SCREEN
US20200170090A1 (en) Method for Lamp Position Mapping
EP2778879A3 (en) Mobile terminal and modified keypad using method thereof
EP2757456A3 (en) Mobile terminal and control method thereof
WO2018103418A1 (en) Method and apparatus for generating application icon
US20140252983A1 (en) Method for Controlling Lamps and Computer Program Product Thereof
JP2017519259A (en) Virtual room based user interface generated by the user
CN104598191A (en) Method for realizing multi-screen display and device thereof
CN105511864A (en) Resource positioning method and device
CN104423777A (en) Window display method and device
US20170255374A1 (en) Multi-screen display position exchange method, information processing apparatus, and control method and control program of information processing apparatus
CN204487572U (en) A kind of mobile phone test machinery hand
CN107016139A (en) The cloth lamp design method and system of building
CN105204722B (en) Desktop wallpaper replacing options and device
CN102893246B (en) Display control method and device
CN104239242A (en) Tiled display wall address code setting method and system
CN102663173A (en) Multiplexing method of PCB (printed circuit board) ornaments
CN104951314A (en) Dialog box display method and 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
GR01 Patent grant
GR01 Patent grant