CN106055298B - Device and method for identifying target display - Google Patents
Device and method for identifying target display Download PDFInfo
- Publication number
- CN106055298B CN106055298B CN201610382778.2A CN201610382778A CN106055298B CN 106055298 B CN106055298 B CN 106055298B CN 201610382778 A CN201610382778 A CN 201610382778A CN 106055298 B CN106055298 B CN 106055298B
- Authority
- CN
- China
- Prior art keywords
- display
- target display
- pixel
- pixel value
- 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.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1407—General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros
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)
- Controls And Circuits For Display Device (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a device and a method for identifying a target display, which comprises the following steps: the device comprises a display traversing module, a pixel value resetting module which is connected with the output of the display traversing module and is provided with a designated pixel point, a target display pixel value obtaining module of which one end is connected with the pixel value resetting module and the other end is connected with a target display, and a pixel value matching module which is connected with the target display pixel value obtaining module. The invention has the following advantages: 1. the target display may be identified from a plurality of different displays. 2. The resolution of the plurality of displays is not limited, and the resolution of the non-target display and the target display may be identical. 3. The method is suitable for the single-display multi-screen display mode, and has no limitation on the connection sequence of the data lines. 4. And the method is not limited by the number and the sequence of screen identification under the windows system.
Description
Technical Field
The invention relates to a device and a method for identifying a target display.
Background
With the development of social science and technology, processing of multiple displays is increasingly used, the number or sequence of displays enumerated by using other interface functions capable of obtaining display information, such as EnumDisplaydevices or Screen, is not consistent with the number of Screen identification under a windows system, and detailed display name information identified under the windows system cannot be obtained through the interface functions, so that the multiple displays cannot be clearly identified and distinguished, and when specific and different image processing or other operations need to be performed on a specific display among the multiple displays, the limitations that a resolution of a non-target display is consistent with that of a target display, and when some displays are displayed in a dual-Screen mode, the resolution cannot be distinguished by a common method or a signal line connection sequence under the dual-Screen mode needs to be fixed exist are resisted.
Disclosure of Invention
The invention aims to provide a device and a method for identifying a target display.
The first technical scheme of the invention is as follows: a device that identifies a target display, comprising: the device comprises a display traversing module, a pixel value resetting module which is connected with the output of the display traversing module and is provided with a designated pixel point, a target display pixel value obtaining module of which one end is connected with the pixel value resetting module and the other end is connected with a target display, and a pixel value matching module which is connected with the target display pixel value obtaining module.
On the basis of the first technical scheme, the method further comprises the following subsidiary technical scheme:
the display quantity is a plurality of, and the display resolution ratio is the same or different.
The display traversing module sequentially traverses the displays connected to the host computer, and acquires the initial horizontal and vertical coordinates X and Y of the current display in the memory, and the length and the width of the display.
The pixel value resetting module resets the RGB pixel value of the starting coordinate point of each traversed current display, and sets the RGB pixel value of the starting coordinate point of different displays in different ways.
The specified pixel point is any point except the initial coordinate point of the current display.
The target display pixel value acquisition module is a lower computer processing module, and the lower computer processing module is used for reading a corresponding register on the target display to obtain RGB pixel values of corresponding pixel points and transmitting the RGB pixel values to the host.
And the pixel value matching module compares the acquired RGB pixel value of the pixel point corresponding to the target display with the reset value of the RGB pixel of the specified pixel point of the current display, if the acquired RGB pixel value of the corresponding pixel point of the target display can be matched with the reset value of the RGB pixel of the specified pixel point of the current display, the current display is the target display, and if the acquired RGB pixel value of the corresponding pixel point of the target display can not be matched with the reset value of the RGB pixel of the.
The second technical scheme of the invention is as follows: a method of identifying a target display, comprising the steps of:
s1, traversing each display connected to the host in turn, and obtaining the initial horizontal and vertical coordinates X and Y of the current display in the memory, and the length and width of the display;
s2, resetting the RGB pixel value of the starting coordinate point of each traversed current display, and setting the RGB pixel value of the starting coordinate point of different displays differently;
s3, obtaining RGB pixel values of corresponding pixel points by reading corresponding registers on the target display and transmitting the RGB pixel values to a host;
and S4, comparing the RGB pixel value of the pixel point corresponding to the target display with the reset value of the RGB pixel of the pixel point appointed by the current display, if the RGB pixel value of the pixel point corresponding to the target display can be matched with the reset value of the RGB pixel of the pixel point appointed by the current display, the current display is the target display until the end, and if the RGB pixel value of the pixel point appointed by the current display can not be matched with the target display, the next display is continuously traversed.
The invention has the following technical effects:
1. the target display may be identified from a plurality of different displays.
The resolution of the plurality of displays is not limited, and the resolution of the non-target display and the target display may be identical.
The method is suitable for the single-display multi-screen display mode, and has no limitation on the connection sequence of the data lines.
And the method is not limited by the number and the sequence of screen identification under the windows system.
Description of the drawings:
fig. 1 is a schematic framework diagram of the present invention.
The specific implementation mode is as follows:
in order to make the system and method of the present invention clearer, the following detailed description is made with reference to specific embodiments. As shown in fig. 1, the present invention provides an embodiment of an apparatus for identifying a target display, which includes: the device comprises a display traversing module, a pixel value resetting module which is connected with the output of the display traversing module and is provided with a designated pixel point, a target display pixel value obtaining module of which one end is connected with the pixel value resetting module and the other end is connected with a target display, and a pixel value matching module which is connected with the target display pixel value obtaining module.
Preferably, the number of displays is plural, and the display resolutions are the same or different.
Preferably, the display traversing module sequentially traverses the displays connected to the host, and obtains the initial horizontal and vertical coordinates X, Y of the current display in the memory, and the length and width of the display.
Preferably, the pixel value resetting module resets the RGB pixel value of the starting coordinate point of each traversed current display, and sets the RGB pixel value of the starting coordinate point differently for different displays.
Preferably, the designated pixel point may be a designated pixel point on a certain or a certain number of other current displays besides the start coordinate point of the current display.
Preferably, the target display pixel value obtaining module is a lower computer processing module, which obtains RGB pixel values of corresponding pixel points by reading corresponding registers on the target display and transmits the RGB pixel values to the host.
Preferably, the pixel value matching module compares the obtained RGB pixel value of the pixel point corresponding to the target display with the reset value of the RGB pixel of the pixel point specified by the current display, if the two values can be matched, the current display is the target display, and if the two values are not matched, the next display is continuously traversed.
The invention provides a method for matching and confirming RGB pixel values of a target display, which comprises the steps that firstly, a traversing module of the display sequentially traverses the display connected to a host, acquires relevant information of the current display, then a RGB pixel value resetting module resets the RGB pixel values of one or a plurality of appointed pixel points of each traversed current display, and for different displays, the RGB pixel values of the appointed pixel points are set differently, then coordinates of specific pixel points are sent to a target display RGB pixel value acquisition module, the target display RGB pixel value acquisition module acquires the RGB pixel values of corresponding pixel points by reading corresponding registers on the target display and transmits the values to the host for matching and confirming the RGB pixel values in a serial port communication or DDC communication mode, namely, the acquired RGB pixel values of the corresponding pixel points of the target display are compared with the resetting values of the RGB pixels of the appointed pixel points of the current display, if the two displays can be matched, the current display is the target display, and if the two displays are not matched, the next display is continuously traversed.
As shown in fig. 1, the present invention provides a method for identifying a target display, which comprises the following steps:
s1, traversing each display connected to the host in turn, and obtaining the initial horizontal and vertical coordinates X and Y of the current display in the memory, and the length and width of the display;
s2, resetting the RGB pixel value of the starting coordinate point of each traversed current display, and setting the RGB pixel value of the starting coordinate point of different displays differently;
s3, obtaining RGB pixel values of corresponding pixel points by reading corresponding registers on the target display and transmitting the RGB pixel values to a host;
and S4, comparing the RGB pixel value of the pixel point corresponding to the target display with the reset value of the RGB pixel of the pixel point appointed by the current display, if the RGB pixel value of the pixel point corresponding to the target display can be matched with the reset value of the RGB pixel of the pixel point appointed by the current display, the current display is the target display until the end, and if the RGB pixel value of the pixel point appointed by the current display can not be matched with the target display, the next display is continuously traversed.
It should be understood that the above-mentioned embodiments are only illustrative of the technical concepts and features of the present invention, and are intended to enable those skilled in the art to understand the contents of the present invention and implement the present invention, and not to limit the scope of the present invention. All equivalent changes or modifications made according to the spirit of the main technical scheme of the invention are covered in the protection scope of the invention.
Claims (4)
1. An apparatus for identifying a target display, comprising: the display device comprises a display traversing module, a pixel value resetting module which is connected with the output of the display traversing module and is provided with appointed pixel points, a target display pixel value obtaining module of which one end is connected with the pixel value resetting module and the other end is connected with a target display, and a pixel value matching module which is connected with the target display pixel value obtaining module, wherein the target display is any one of a plurality of common displays, the resolutions of the target displays are the same or different, the pixel value resetting module resets the RGB pixel value of the initial coordinate point of each traversed current display, the RGB pixel values of the initial coordinate point of different displays are set differently, and the pixel value matching module compares the RGB pixel value of the corresponding pixel point of the target display with the reset value of the RGB pixel of the appointed pixel point of the current display, if the two displays can be matched, the current display is the target display, if the two displays are not matched, the next display is continuously traversed, the display traversing module sequentially traverses the displays connected to the host, and the initial horizontal and vertical coordinates X and Y of the current display in the memory and the length and width of the display are obtained.
2. The apparatus of claim 1, wherein the designated pixel point is any point other than a starting coordinate point of the current display.
3. The apparatus of claim 1, wherein the target display pixel value obtaining module is a lower computer processing module, which obtains RGB pixel values of corresponding pixels by reading corresponding registers on the target display and transmits the RGB pixel values to the host.
4. A method of identifying a target display, comprising the steps of:
s1, sequentially traversing each common display connected to a host, and acquiring initial horizontal and vertical coordinates X and Y of the current display in a memory, and the length and width of the current display;
s2, resetting the RGB pixel value of the starting coordinate point of each traversed current display, and setting the RGB pixel values of the starting coordinate points of different displays differently;
s3, reading a corresponding register on the target display to obtain RGB pixel values of corresponding pixel points and transmitting the RGB pixel values to a host;
and S4, comparing the obtained RGB pixel value of the pixel point corresponding to the target display with the reset value of the RGB pixel of the pixel point appointed by the current display, if the RGB pixel value of the pixel point corresponding to the target display can be matched with the reset value of the RGB pixel of the pixel point appointed by the current display, determining that the current display is the target display until the end, and if the RGB pixel value of the pixel point appointed by the current display is not matched with the target display, continuously traversing the next.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610382778.2A CN106055298B (en) | 2016-06-02 | 2016-06-02 | Device and method for identifying target display |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610382778.2A CN106055298B (en) | 2016-06-02 | 2016-06-02 | Device and method for identifying target display |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN106055298A CN106055298A (en) | 2016-10-26 |
| CN106055298B true CN106055298B (en) | 2020-05-05 |
Family
ID=57171815
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610382778.2A Active CN106055298B (en) | 2016-06-02 | 2016-06-02 | Device and method for identifying target display |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106055298B (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107368271A (en) * | 2017-06-06 | 2017-11-21 | 广州视源电子科技股份有限公司 | Control method and device for screen expansion display, storage medium and terminal equipment |
| CN112102733A (en) * | 2020-07-27 | 2020-12-18 | 安徽君通智汇科技有限公司 | Target display system |
Citations (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1499355A (en) * | 2002-10-29 | 2004-05-26 | 微软公司 | Display controller for connecting multiple displays by using single visual cable |
| CN1804996A (en) * | 2005-01-14 | 2006-07-19 | Lg电子株式会社 | Multi-screen system and multi-screen implementation method |
| CN1941066A (en) * | 2005-09-28 | 2007-04-04 | 联想(北京)有限公司 | Multiple display device system and method for automatically setting display-mode |
| CN102455886A (en) * | 2011-07-05 | 2012-05-16 | 中标软件有限公司 | Method for dynamically identifying and configuring external display |
| CN103035210A (en) * | 2013-01-15 | 2013-04-10 | 惠州Tcl移动通信有限公司 | Screen visual expansion method and screen visual expansion system for mobile terminal |
| JP2014137431A (en) * | 2013-01-16 | 2014-07-28 | Mitsubishi Electric Corp | Image display system |
| CN104238985A (en) * | 2014-09-23 | 2014-12-24 | 西安诺瓦电子科技有限公司 | Method for evaluating LED (Light Emitting Diode) display screens |
| CN104620573A (en) * | 2012-09-14 | 2015-05-13 | 夏普株式会社 | Calibration system and recording medium for multi-display |
| CN105446429A (en) * | 2015-12-28 | 2016-03-30 | 天津云锦瑞物联网技术研发有限责任公司 | Computer system with multiple display terminals capable of sharing host |
| CN105529004A (en) * | 2014-10-21 | 2016-04-27 | 豪威科技股份有限公司 | Power saving display system and method |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20050146258A1 (en) * | 1999-06-02 | 2005-07-07 | Shimon Weiss | Electronic displays using optically pumped luminescent semiconductor nanocrystals |
-
2016
- 2016-06-02 CN CN201610382778.2A patent/CN106055298B/en active Active
Patent Citations (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1499355A (en) * | 2002-10-29 | 2004-05-26 | 微软公司 | Display controller for connecting multiple displays by using single visual cable |
| CN1804996A (en) * | 2005-01-14 | 2006-07-19 | Lg电子株式会社 | Multi-screen system and multi-screen implementation method |
| CN1941066A (en) * | 2005-09-28 | 2007-04-04 | 联想(北京)有限公司 | Multiple display device system and method for automatically setting display-mode |
| CN102455886A (en) * | 2011-07-05 | 2012-05-16 | 中标软件有限公司 | Method for dynamically identifying and configuring external display |
| CN104620573A (en) * | 2012-09-14 | 2015-05-13 | 夏普株式会社 | Calibration system and recording medium for multi-display |
| CN103035210A (en) * | 2013-01-15 | 2013-04-10 | 惠州Tcl移动通信有限公司 | Screen visual expansion method and screen visual expansion system for mobile terminal |
| JP2014137431A (en) * | 2013-01-16 | 2014-07-28 | Mitsubishi Electric Corp | Image display system |
| CN104238985A (en) * | 2014-09-23 | 2014-12-24 | 西安诺瓦电子科技有限公司 | Method for evaluating LED (Light Emitting Diode) display screens |
| CN105529004A (en) * | 2014-10-21 | 2016-04-27 | 豪威科技股份有限公司 | Power saving display system and method |
| CN105446429A (en) * | 2015-12-28 | 2016-03-30 | 天津云锦瑞物联网技术研发有限责任公司 | Computer system with multiple display terminals capable of sharing host |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106055298A (en) | 2016-10-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111242881B (en) | Method, device, storage medium and electronic equipment for displaying special effects | |
| US9560327B2 (en) | Projection system and projection method | |
| US20090243962A1 (en) | Display system, display control apparatus, and image provision apparatus thereof | |
| JP2007129709A (en) | Method for calibrating an imaging device, method for calibrating an imaging system including an array of imaging devices and imaging system | |
| WO2020017890A1 (en) | System and method for 3d association of detected objects | |
| US20160188282A1 (en) | Image Receiving Apparatus and Method Thereof for Determining an Orientation of a Screen of an Electronic Apparatus | |
| US20190258443A1 (en) | Display panel bezel, display terminal, spliced display device, and image output control method | |
| US20170124765A1 (en) | Control method and information processing system | |
| CN104951117B (en) | Image processing system and related method for generating corresponding information by utilizing image identification | |
| CN110602490B (en) | Method and device for automatically testing reproduction rate and readable storage medium | |
| US20150161923A1 (en) | Electronic device, display device, method, and computer program product | |
| CN106055298B (en) | Device and method for identifying target display | |
| WO2016183933A1 (en) | Icon arrangement method and device | |
| JP5818050B1 (en) | Status judgment system | |
| US20180114367A1 (en) | Computer-readable recording medium, imaging control method, and information processing apparatus | |
| CN111127310A (en) | Image processing method and device, electronic equipment and storage medium | |
| CN121116820A (en) | Test methods, apparatus, devices and readable storage media for electronic devices | |
| CN109269628B (en) | Method for monitoring motor vibration, terminal device and computer readable storage medium | |
| CN109308862B (en) | Signal control method, control device, processing device and signal control equipment | |
| CN106713904A (en) | VGA interface test method, apparatus and system | |
| US20150378469A1 (en) | Touch detecting method and touch detecting apparatus | |
| CN109951699B (en) | Method and device for testing television display scale and storage medium | |
| CN107133022B (en) | Control display method and device in terminal equipment | |
| KR101798947B1 (en) | Touch sensing device | |
| US11393214B2 (en) | Apparatus and method for congestion visualization |
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 |