[go: up one dir, main page]

CN110989911B - Method for switching by using peripheral mouse in display - Google Patents

Method for switching by using peripheral mouse in display Download PDF

Info

Publication number
CN110989911B
CN110989911B CN201911317384.9A CN201911317384A CN110989911B CN 110989911 B CN110989911 B CN 110989911B CN 201911317384 A CN201911317384 A CN 201911317384A CN 110989911 B CN110989911 B CN 110989911B
Authority
CN
China
Prior art keywords
mouse
counter
switching
display
usb
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
Application number
CN201911317384.9A
Other languages
Chinese (zh)
Other versions
CN110989911A (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.)
Anhui Yingchuang Technology Co ltd
Original Assignee
Anhui Yingchuang Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Anhui Yingchuang Technology Co ltd filed Critical Anhui Yingchuang Technology Co ltd
Priority to CN201911317384.9A priority Critical patent/CN110989911B/en
Publication of CN110989911A publication Critical patent/CN110989911A/en
Application granted granted Critical
Publication of CN110989911B publication Critical patent/CN110989911B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The invention relates to a method for switching by using a peripheral mouse in display, which is characterized by comprising a USB switching sub-process, wherein the USB switching sub-process comprises the following steps: firstly, setting a switching picture position of a display, namely setting an acquisition mouse area; reading and collecting the total color of a mouse region, and judging whether the total color of the region exceeds a preset threshold value; if the total color of the acquired mouse area exceeds a preset threshold value, the value meeting the USB switching condition can be returned. The invention carries out USB switching by identifying the mouse in the mouse collecting area. The mouse can be switched from the current picture to another picture by shaking the mouse, and the operation is more convenient than the simple key operation.

Description

Method for switching by using peripheral mouse in display
Technical Field
The invention relates to a method for switching by using a peripheral mouse in display.
Background
The existing display has a multi-picture browsing ((PBP, picture by picture) function, and the display can display a plurality of pictures in display, and when the current picture is switched to another picture for operation, the remote control key of the display is usually adopted for operation, so that the operation is relatively inconvenient.
Disclosure of Invention
The invention aims to solve the technical problems that: a method for switching by using a peripheral mouse in display can be used for switching between pictures by using the peripheral mouse.
The technical scheme adopted for solving the technical problems is as follows: a method for switching in a display using a mouse of a peripheral device, the switching method having a USB switching sub-flow, the USB switching sub-flow comprising: firstly, setting a switching picture position of a display, namely setting an acquisition mouse area; reading and collecting the total color of a mouse region, and judging whether the total color of the region exceeds a preset threshold value; if the total color of the acquired mouse area exceeds a preset threshold value, the value meeting the USB switching condition can be returned.
And if the total color of the acquisition mouse area does not exceed the preset threshold value, returning to reading the total color of the acquisition mouse area.
Preferably, if the total color of the acquisition mouse area exceeds a preset threshold value, starting a timer for timing; if the timer is overtime, the second counter is cleared and returns to the reading and collecting of the total color of the mouse area; the second counter is used for calculating the zero clearing times of the timer;
if the timer is not overtime, the first counter is accumulated and then judges whether the first counter overflows or not;
if the timer is not overtime, the first counter accumulates, and then overflows if the first counter; after the first counter overflows, the timer is cleared, the first counter is cleared, the second counter is cleared, and the value meeting the switching USB condition is returned.
Preferably, if the timer does not timeout, the first counter accumulates, if the first counter does not overflow, the first counter judges whether the sub-module fails to execute the identification after not overflowing, if yes, the sub-module returns the condition value which can not meet the switching USB;
if the sub-module execution failure identification does not exist, the timer is cleared, and the second counter accumulates to generate the sub-module execution failure identification and returns to the switching picture position of the set display.
A timer is used to determine whether the operation of switching the USB channel is completed within a prescribed time. A first counter is used to determine if a mouse malfunction is present. The second counter is used for calculating the zero clearing times of the timer, and the zero clearing times of the timer exceed the specified times, namely overtime.
The beneficial effects of the invention are as follows: the invention carries out USB switching by identifying the mouse in the mouse collecting area. As shown in fig. 3, in the area where the mouse is collected at the right edge of the left side a screen of the display and the left edge of the right side B screen of the display, the mouse can be switched from the current screen to another screen by swinging the mouse, which is more convenient than the simple key operation.
Drawings
The invention is further described below with reference to the accompanying drawings.
FIG. 1 is a flow chart of the operation of the display of the present invention;
FIG. 2 is a USB switch sub-flowchart;
FIG. 3 is a schematic diagram of a setup position of a first embodiment of capturing a mouse region;
FIG. 4 is a block diagram of a first embodiment of the hardware schematic of a display;
fig. 5 is a hardware schematic block diagram implementation two of a display.
Detailed Description
The invention will now be further described with reference to the accompanying drawings. These drawings are simplified schematic views illustrating the basic structure of the present invention by way of illustration only, and thus show only the constitution related to the present invention.
As shown in fig. 1, a flow chart of the operation of the display;
step one: firstly, judging whether a display signal is input into a display;
step two: if the display has display signal input, lighting the display picture; then switching the USB2.0 channel to be consistent with a signal source of display signal input; if no display signal is input, the display enters a standby state; returning to the first step when in the standby state;
step three: after switching the USB2.0 channel and the signal source of the display signal input are consistent, further judging whether there is a key (for example, a display remote controller or a physical key or a touch key) to switch the USB2.0 operation and judging whether another interface has a display signal input, that is, whether another display signal input is performed.
If there is a button operation to switch USB2.0, then switch USB2.0 and save USB2.0 channel state.
If another display signal is input, continuing to judge whether the display has the multi-picture browsing function (PBP, picture by picture) started; if the display starts the multi-picture browsing function, continuously judging whether the USB switching condition value is met or not; if the USB switching condition value is met, switching USB2.0 and storing the USB2.0 channel state;
if the display does not start the multi-picture browsing function, returning to the step one; if the display has turned on the multi-screen browsing function but the switch USB condition value is not met, return to step one.
In the above process, the meeting of the USB switching condition value is generated by the USB switching sub-process.
The USB switch sub-flow is shown in fig. 2.
Step four: the acquisition mouse region 301 is set by first setting the position of the display screen to be switched. Preferably, as shown in fig. 3, the left side a frame of the display is used for displaying a display frame of a display signal of one interface, the right side B frame of the display is used for displaying a display frame of a display signal of another interface, and the set switching frame position of the display, that is, the acquisition mouse region 301, is located at the right side edge of the left side a frame of the display and the left side edge of the right side B frame of the display.
Step five: reading the color total of the set switching picture position, namely reading the color total of the acquisition mouse region 301, and judging whether the color total of the region exceeds a preset threshold value;
step six: if the total color of the acquisition mouse area 301 exceeds a preset threshold, it means that the acquisition mouse area 301 has a mouse entered. The total color of the collection mouse region 301 is read to obtain whether the collection mouse region 301 has a mouse entered. If the total color of the collected mouse area 301 exceeds the preset threshold, a mouse is indicated to enter, and step seven is continued.
If the total color of the collection mouse region 301 does not exceed the preset threshold, indicating that no mouse is entering, returning to reading the total color of the collection mouse region.
Step seven: if the total color of the collected mouse area 301 exceeds the preset threshold, a timer is started to count if a mouse is entered, and the timer is used for determining whether the operation of switching the USB channel is completed within a specified time. If the timer is overtime, the second counter is cleared and returns to the step five; the second counter is used for calculating the zero clearing times of the timer, and the zero clearing times of the timer exceed the specified times, namely overtime.
If the timer is not overtime, the first counter is accumulated and then judges whether the first counter overflows or not. A first counter is used to determine if a mouse malfunction is present.
Step eight: if the timer is not overtime, the first counter is accumulated, and if the first counter overflows, the mouse is not misoperation, and the stay time is long. After the first counter overflows, the timer is cleared, the first counter is cleared, the second counter is cleared, and the value meeting the switching USB condition is returned.
If the timer is not overtime, the first counter is accumulated, and if the first counter is not overflowed, the mouse is indicated to be in misoperation, and the residence time is too short. Judging whether a sub-module execution failure identifier exists after the first counter does not overflow, and returning a value which cannot meet the USB switching condition if the sub-module execution failure identifier exists; if the sub-module execution failure identification does not exist, the timer is cleared, the second counter is accumulated to generate the sub-module execution failure identification, and the step four is returned. Setting the execution failure mark of the sub-module, so that the switching condition can not be reached within the appointed time (namely, the first counter is not overflowed), or returning to the condition that the switching USB condition value can not be met under the condition that the zero clearing time of the timer exceeds the prescribed time, namely, overtime and the like, so that the sub-process runs normally.
Step nine: and returning to meet the switching USB condition value or ending the USB switching sub-flow after returning to fail to meet the switching USB condition value.
The invention performs USB switching by recognizing the mouse in the acquisition mouse region 301. As shown in fig. 3, in the mouse collecting area at the right edge of the left side a picture of the display and the left edge of the right side B picture of the display, the mouse can be switched from the current picture to another picture by shaking the mouse, so that the operation can be continued in the switched picture, and the operation is more convenient than the operation of simple key operation.
As shown in fig. 4, in the first hardware schematic block diagram embodiment of the display, the first display board 401 has a USB-B interface (USB 2.0), an HDMI/DP signal interface (HDMI interface or DP interface), a USB-C interface (TYPE-C), a USB2.0 port switch (AZAW 2210F), and a display signal processing chip (Scaler master, RTD2797 UPM).
Preferably, the display card one 401 is also provided with USB2.0HUB, which can be used to extend to multiple USB2.0 interfaces. As shown in fig. 4, USB2.0HUB can be used to extend to 4 USB2.0 interfaces.
The USB-B interface is used for connecting with a PC, and outputs a USB2.0 signal to the USB2.0 port switcher.
The USB2.0 port switch outputs a USB2.0 signal to the first USB2.0 interface. The first USB2.0 interface is used for connecting a mouse of a peripheral device.
Preferably, if USB2.0hub is set, the USB2.0 port switch also outputs a USB2.0 signal to USB2.0HUB.
The HDMI/DP signal interface is used for connecting the peripheral PC, and the HDMI/DP signal interface is used for transmitting the display signal of the PC to the display signal processing chip.
The USB-C interface is used for connecting with the peripheral USB-C equipment I, and the USB-C interface is used for transmitting the display signal of the USB-C equipment I to the display signal processing chip. The USB-C interface outputs a USB2.0 signal to the USB2.0 port switch.
The display signal processing chip outputs a screen driving signal to the display to lighten the picture according to the transmitted display signal. And the display signal processing chip outputs a USB2.0 channel selection switch signal to the USB2.0 port switcher according to the transmitted display signal.
As shown in fig. 5, in a second hardware schematic block diagram embodiment of the display, the second display board 402 has a first USB-C interface (TYPE-C), a second USB-C interface (TYPE-C), a USB2.0 port switch (azo 2210F), and a display signal processing chip (Scaler master).
Preferably, the second display board 402 is further provided with a USB2.0HUB interface for expanding to a plurality of USB2.0 interfaces. As shown in fig. 5, USB2.0HUB can be used to extend to 4 USB2.0 interfaces.
The first USB-C interface is used for being externally connected with the first USB-C device, and the first USB-C interface outputs a USB2.0 signal to the USB2.0 port switcher. The first USB-C interface is used for transmitting the display signal of the first USB-C device to the display signal processing chip.
The USB2.0 port switch outputs a USB2.0 signal to the second USB2.0 interface. The second USB2.0 interface is used for connecting a mouse of a peripheral device.
Preferably, if USB2.0hub is set, the USB2.0 port switch also outputs a USB2.0 signal to USB2.0HUB.
The second USB-C interface is used for externally connecting the second USB-C device and outputting a USB2.0 signal to the USB2.0 port switcher. The second USB-C interface is used for transmitting the display signal of the second USB-C device to the display signal processing chip.
The display signal processing chip outputs a screen driving signal to the display to lighten the picture according to the transmitted display signal. And the display signal processing chip outputs a USB2.0 channel selection switch signal to the USB2.0 port switcher according to the transmitted display signal.
With the above-described preferred embodiments according to the present invention as an illustration, the above-described descriptions can be used by persons skilled in the relevant art to make various changes and modifications without departing from the scope of the technical idea of the present invention. The technical scope of the present invention is not limited to the description, but must be determined according to the scope of claims.

Claims (2)

1. A method for switching in a display using a peripheral mouse, comprising: the switching method is provided with a USB switching sub-process, wherein the USB switching sub-process comprises the following steps: firstly, setting a switching picture position of a display, namely setting an acquisition mouse area;
reading and collecting the total color of a mouse region, and judging whether the total color of the region exceeds a preset threshold value; if the total color of the acquired mouse area exceeds a preset threshold value, the value meeting the USB switching condition can be returned;
if the total color of the acquisition mouse area exceeds a preset threshold value, starting a timer to count; if the timer is overtime, the second counter is cleared and returns to the reading and collecting of the total color of the mouse area; the second counter is used for calculating the zero clearing times of the timer;
if the timer is not overtime, the first counter is accumulated and then judges whether the first counter overflows or not;
if the timer is not overtime, the first counter accumulates, and then overflows if the first counter; after the first counter overflows, clearing the timer, clearing the first counter, clearing the second counter and returning to meet the condition value of switching USB;
if the timer is not overtime, the first counter accumulates, if the first counter is not overflowed, the first counter judges whether the sub-module execution failure mark exists or not after the first counter is not overflowed, and if the sub-module execution failure mark exists, the switching USB condition value can not be met;
if the sub-module execution failure identification does not exist, the timer is cleared, and the second counter accumulates to generate the sub-module execution failure identification and returns to the switching picture position of the set display.
2. A method of switching in a display using a peripheral mouse according to claim 1, wherein: and if the total color of the acquisition mouse area does not exceed the preset threshold value, returning to reading the total color of the acquisition mouse area.
CN201911317384.9A 2019-12-19 2019-12-19 Method for switching by using peripheral mouse in display Active CN110989911B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911317384.9A CN110989911B (en) 2019-12-19 2019-12-19 Method for switching by using peripheral mouse in display

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911317384.9A CN110989911B (en) 2019-12-19 2019-12-19 Method for switching by using peripheral mouse in display

Publications (2)

Publication Number Publication Date
CN110989911A CN110989911A (en) 2020-04-10
CN110989911B true CN110989911B (en) 2023-10-13

Family

ID=70063086

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911317384.9A Active CN110989911B (en) 2019-12-19 2019-12-19 Method for switching by using peripheral mouse in display

Country Status (1)

Country Link
CN (1) CN110989911B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05274086A (en) * 1992-03-26 1993-10-22 Nec Corp Touch panel input device
JPH10161806A (en) * 1996-11-28 1998-06-19 Hitachi Ltd Mouse cursor control device
JP2000172622A (en) * 1998-12-03 2000-06-23 Canon Inc Electronic device provided with plural types of external interfaces and control method thereof
JP2004054134A (en) * 2002-07-23 2004-02-19 Seiko Epson Corp Network compatible display device and display control program
CN1794153A (en) * 2004-12-20 2006-06-28 国际商业机器公司 Method and system for quick screen switching in a multi-monitor environment
CN1882064A (en) * 2005-06-17 2006-12-20 乐金电子(沈阳)有限公司 Image system with picture control window function and its control method
CN101261607A (en) * 2008-01-24 2008-09-10 北京飞天诚信科技有限公司 A portable USB device and method for automatic shutdown over time
CN104636141A (en) * 2015-01-31 2015-05-20 国家电网公司 Multi-interface animation switching method for same region
CN109407952A (en) * 2019-01-07 2019-03-01 深圳市巨烽显示科技有限公司 A kind of mouse moving method and device suitable for multihead display picture can be arranged
CN110267073A (en) * 2019-07-24 2019-09-20 深圳市颍创科技有限公司 A kind of throwing screen picture, which show and throws, shields picture spinning solution
CN110377543A (en) * 2019-07-26 2019-10-25 深圳市松冠科技有限公司 A kind of display board USB peripheral connection system

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05274086A (en) * 1992-03-26 1993-10-22 Nec Corp Touch panel input device
JPH10161806A (en) * 1996-11-28 1998-06-19 Hitachi Ltd Mouse cursor control device
JP2000172622A (en) * 1998-12-03 2000-06-23 Canon Inc Electronic device provided with plural types of external interfaces and control method thereof
JP2004054134A (en) * 2002-07-23 2004-02-19 Seiko Epson Corp Network compatible display device and display control program
CN1794153A (en) * 2004-12-20 2006-06-28 国际商业机器公司 Method and system for quick screen switching in a multi-monitor environment
CN1882064A (en) * 2005-06-17 2006-12-20 乐金电子(沈阳)有限公司 Image system with picture control window function and its control method
CN101261607A (en) * 2008-01-24 2008-09-10 北京飞天诚信科技有限公司 A portable USB device and method for automatic shutdown over time
CN104636141A (en) * 2015-01-31 2015-05-20 国家电网公司 Multi-interface animation switching method for same region
CN109407952A (en) * 2019-01-07 2019-03-01 深圳市巨烽显示科技有限公司 A kind of mouse moving method and device suitable for multihead display picture can be arranged
CN110267073A (en) * 2019-07-24 2019-09-20 深圳市颍创科技有限公司 A kind of throwing screen picture, which show and throws, shields picture spinning solution
CN110377543A (en) * 2019-07-26 2019-10-25 深圳市松冠科技有限公司 A kind of display board USB peripheral connection system

Also Published As

Publication number Publication date
CN110989911A (en) 2020-04-10

Similar Documents

Publication Publication Date Title
US11386717B2 (en) Fingerprint inputting method and related device
DE672285T1 (en) READINESS SYSTEM FOR COMPUTER SCREEN WITH LOW ENERGY CONSUMPTION.
KR100999056B1 (en) Method for performing trimming on image content, terminal and computer readable recording medium
CN116342870B (en) Method for determining working state of sewing machine in clothing factory
CN103002317A (en) Automatic PCBA (printed circuit board assembly) testing method and system for display device
CN103942569A (en) Chinese style dish recognition device based on computer vision
CN105513030A (en) An information processing method, device and electronic equipment
KR20120028248A (en) Device and method for controlling gesture
CN108919982A (en) A kind of automatic key mouse switching method based on facial orientation identification
US11270154B2 (en) Multi-camera device
CN109584219B (en) A method for detecting contamination of a camera device and cooking equipment
CN110989911B (en) Method for switching by using peripheral mouse in display
CN102314403B (en) Device and method for identifying I2C (Inter-Integrated Circuit) bus signal by taking MCU (Micro Control Unit) as slave device
CN105208330A (en) RFID person passageway monitoring equipment and method
KR101926748B1 (en) Status determination system
US10789497B2 (en) Image capturing device and image capturing method for alternately switching two light filters
CN113907695A (en) Denoising method, denoising device, endoscope, surgical robot and readable storage medium
US9996740B2 (en) Information processing device, information processing method, program, and information storage medium
CN105959528B (en) Working scene switching method, device and test equipment
CN107277318B (en) Image capturing device and image capturing method
EP3544306A1 (en) Method and apparatus for switching channels in smart interaction tablet
CN115291954A (en) Information processing method, information processing device and electronic equipment
EP2428870A1 (en) Device and method for controlling gesture for mobile device
WO2013136484A1 (en) Image display apparatus and image display method
CN217060988U (en) Sweep ink recorder utensil

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20230117

Address after: Floor 3, Building 10, Standardized Plant, Phase II, Shexian Economic Development Zone, Huangshan City, Anhui Province 245000

Applicant after: Anhui Yingchuang Technology Co.,Ltd.

Address before: 518100 F1F3-101-201 F2-301, Tianyou Maker Industrial Park, No. 2 Lixin Road, Qiaotou Community, Fuhai Street, Baoan District, Shenzhen City, Guangdong Province

Applicant before: Shenzhen Yingchuang Technology Co.,Ltd.

GR01 Patent grant
GR01 Patent grant