CN112799526B - Method and system for simultaneously displaying and operating multiple mice in single system - Google Patents

Method and system for simultaneously displaying and operating multiple mice in single system Download PDF

Info

Publication number
CN112799526B
CN112799526B CN202110123409.2A CN202110123409A CN112799526B CN 112799526 B CN112799526 B CN 112799526B CN 202110123409 A CN202110123409 A CN 202110123409A CN 112799526 B CN112799526 B CN 112799526B
Authority
CN
China
Prior art keywords
mouse
screen
split screen
service
device service
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
CN202110123409.2A
Other languages
Chinese (zh)
Other versions
CN112799526A (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.)
Rockchip Electronics Co Ltd
Original Assignee
Rockchip Electronics 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 Rockchip Electronics Co Ltd filed Critical Rockchip Electronics Co Ltd
Priority to CN202110123409.2A priority Critical patent/CN112799526B/en
Publication of CN112799526A publication Critical patent/CN112799526A/en
Application granted granted Critical
Publication of CN112799526B publication Critical patent/CN112799526B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0354Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
    • G06F3/03543Mice or pucks
    • 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/1407General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

The invention discloses a method and a system for simultaneously displaying and operating a plurality of mice in a single system, wherein the method comprises the following steps: the method comprises the steps that an insertion event of a second mouse is obtained under the condition that a first mouse is provided, wherein the first mouse comprises a first mouse device service bound with a first mouse device ID, the first mouse device service comprises a corresponding first mouse pointer, and the first mouse device service obtains corresponding first mouse operation information from the first mouse device ID and responds; acquiring the equipment ID of the second mouse; and reserving the first mouse device service, newly creating a second mouse device service, binding the device ID of the second mouse to the second mouse device service, wherein the second mouse device service comprises a corresponding second mouse pointer, and the second mouse device service acquires corresponding second mouse operation information from the second mouse device ID and responds. The invention can respond to the operation information of a plurality of mice simultaneously, thereby realizing the coexistence and independent operation of a plurality of mice.

Description

Method and system for simultaneously displaying and operating multiple mice in single system
Technical Field
The invention relates to the field of software control, in particular to a method and a system for simultaneously displaying and operating a single system and multiple mice.
Background
At present, most equipment (mobile phones, flat panels or industrial terminal equipment) only support the display operation of single mouse equipment, when a plurality of mice are inserted, only one mouse is displayed on a screen, and a system only receives a mouse signal when the plurality of mice are simultaneously operated. It is impossible to simultaneously display two different mouse devices and simultaneously operate responses. The experience efficiency of simultaneous operation of multiple mice is influenced in some single-screen multi-window and multi-screen display scenes.
Disclosure of Invention
Therefore, a method and a system for simultaneously displaying and operating a single system and multiple mice are needed to be provided, so that the problem that the existing system cannot realize independent operation of multiple mice is solved.
In order to achieve the above object, the present invention provides a method for simultaneously displaying operations on a single system and multiple mice, comprising the following steps:
the method comprises the steps that an insertion event of a second mouse is obtained under the condition that a first mouse is provided, wherein the first mouse comprises a first mouse device service bound with a first mouse device ID, the first mouse device service comprises a corresponding first mouse pointer, and the first mouse device service obtains corresponding first mouse operation information from the first mouse device ID and responds;
acquiring the equipment ID of the second mouse;
and reserving the first mouse device service, newly creating a second mouse device service, binding the device ID of the second mouse to the second mouse device service, wherein the second mouse device service comprises a corresponding second mouse pointer, and the second mouse device service acquires corresponding second mouse operation information from the second mouse device ID and responds.
Furthermore, the first mouse device service is bound with a first split screen, and first mouse operation information responded by the first mouse device service is limited in the first split screen;
when the second mouse device service is created, the second mouse device service is bound with the second split screen, and second mouse operation information responded by the second mouse device service is limited in the second split screen.
Further, the first split screen is a main screen of an android system, and the second split screen is an auxiliary screen of the android system; or the first sub-screen is an auxiliary screen of the android system and the second sub-screen is a main screen of the android system, the main screen and the auxiliary screen are connected with different LCD controllers of the android system, and the android system respectively controls the display of the different LCD controllers.
Furthermore, the first mouse device is bound with a first keyboard device in service, and input information of the first keyboard device is limited in the first split screen;
and acquiring an insertion event of the second keyboard device, binding the second keyboard device with the second mouse, and limiting the input information of the second keyboard device in the second split screen.
Further, acquiring operation information of switching between the mouse and the split screen;
and binding a corresponding mouse in the operation information with the split screen, limiting the bound mouse operation information in the bound split screen, and limiting the input information of the keyboard equipment bound with the mouse in the bound split screen.
Further, the first mouse pointer and the second mouse pointer are different in color, shape, size or character identification.
The invention provides a system for simultaneously displaying and operating a single system and multiple mice, which comprises a memory and a processor, wherein a computer program is stored on the memory, and the steps of the method are realized when the computer program is executed by the processor.
Different from the prior art, the technical scheme enables the system to contain a plurality of mouse device services by adding the mouse device services in a single system, and simultaneously responds to the operation information of a plurality of mice, thereby realizing coexistence and independent operation of the plurality of mice.
Drawings
FIG. 1 is a flow chart of a method according to the present invention;
fig. 2 is a block diagram of a system according to an embodiment of the present invention.
Detailed Description
In order to explain technical contents, structural features, objects and effects of the technical solutions in detail, the following detailed description is given with reference to the accompanying drawings in combination with the embodiments.
Referring to fig. 1 to fig. 2, the present embodiment provides a method for simultaneously displaying operations with multiple mice in a single system. The method comprises the following steps: step S101, under the condition that a first mouse is provided, an insertion event of a second mouse is obtained, wherein the first mouse comprises a first mouse device service bound with a first mouse device ID, the first mouse device service comprises a corresponding first mouse pointer, and the first mouse device service obtains corresponding first mouse operation information from the first mouse device ID and responds to the first mouse operation information. Then, the device ID of the second mouse is acquired in step S102. And finally, in step S103, reserving the first mouse device service and newly creating a second mouse device service, and binding the device ID of the second mouse to the second mouse device service, where the second mouse device service includes a corresponding second mouse pointer, and the second mouse device service acquires corresponding second mouse operation information from the second mouse device ID and responds. The apparatus and method of the present invention. When the mouse is inserted into the system, the system assigns a hardware device ID number to the mouse. The mouse device service in the present invention is a service in an operating system for implementing an input device management service, as shown in fig. 2, which collects input information of an input device such as a mouse and makes a response on the system. The response is a response in a single system, the mouse operation information comprises movement or clicking, the system can respond to the movement or the clicking, a mouse pointer is moved when the system moves, and a clicking action is responded to at a position corresponding to the mouse pointer when the system clicks, namely, each mouse can be independently moved and clicked. The invention enables the system to contain a plurality of mouse device services by newly adding the mouse device services in the single system, and simultaneously responds to the operation information of a plurality of mice, thereby realizing the coexistence and independent operation of a plurality of mice. Therefore, the use bottleneck of a scene with multiple mouse demands is solved, and the customer experience and the product operation convenience are improved.
The first and second mouse are only used for distinguishing the inserted mouse from the newly inserted mouse, in some embodiments, the present invention may support more than two mice, such as a third mouse and a fourth mouse, and the newly inserted second mouse may be considered as the second mouse when the third mouse or the fourth mouse is inserted.
The multiple mice can be independently operated in one screen, namely, the independent operation of the multiple mice in a single screen and multiple windows can be realized. When a plurality of screens exist, in order to realize the operation on different screens, further, the first mouse equipment service is bound with a first split screen, and first mouse operation information responded by the first mouse equipment service is limited in the first split screen; when the second mouse device service is created, the second mouse device service is bound with the second split screen, and second mouse operation information responded by the second mouse device service is limited in the second split screen. Therefore, different split screens can correspond to different mice, the movement and operation of the mice are in the split screens, and different operations of a plurality of split screens and a plurality of mice in one system can be realized. In some embodiments, the present invention may support more than two split screens, such as a third split screen and a fourth split screen. When a third mouse is inserted, it may bind to a third split screen. When a fourth mouse is inserted, it may bind to a fourth split screen. Therefore, the function of simultaneously displaying and operating a plurality of mice can be supported under the use scene of multi-screen display, and the user experience and the product operation convenience are improved.
The split screen of the invention can be different parts corresponding to one system screen, such as the extended display of the existing windows system. Or can be the main and auxiliary screens of the android system. Further, the first sub-screen is a main screen of the android system, and the second sub-screen is an auxiliary screen of the android system; or the first sub-screen is an auxiliary screen of the android system and the second sub-screen is a main screen of the android system, the main screen and the auxiliary screen are connected with different LCD controllers of the android system, and the android system respectively controls the display of the different LCD controllers. The main screen and the auxiliary screen of the android system are two independent screens, correspond to different LCD controllers, can perform independent display and independent operation, and applications in different screens can only be displayed on the corresponding screens when being created. The invention is equivalent to a system (namely a single system) under the condition of the main and auxiliary screens of the android, but has two sets of independent mouse control and display, so that two independent operations of one system are realized, different operation requirements are met, and the hardware investment cost can be reduced. When the number of the split screens is more than two, more hardware cost can be reduced.
In order to realize independent input operation, the first mouse device is bound with a first keyboard device in service, and input information of the first keyboard device is limited in the first split screen; and acquiring an insertion event of the second keyboard device, binding the second keyboard device with the second mouse, and limiting the input information of the second keyboard device in the second split screen. The invention binds the keyboard device with the mouse, namely the input response range of the keyboard device is the same as that of the bound mouse, thus realizing independent keyboard input under different split screen conditions.
In some embodiments, the binding of the mouse and the split screen may be switched to change, for example, the binding of the first mouse and the first split screen may be switched to the binding of the first mouse and the second split screen. The system can perform switching adjustment through configuration options, or the mouse moves to the boundary between the split screens and stays for a period of time and then switches to the adjacent split screen. When the switching is adjusted, the system can acquire the operation information of switching between the mouse and the split screen; and the operation information is the configuration of the configuration options or the movement and stay switching of the mouse by the user, and the operation information comprises the mouse to be switched and the split screen to be bound. And then the system binds the corresponding mouse in the operation information with the split screen, the bound mouse operation information is limited in the bound split screen, and the input information of the keyboard equipment bound with the mouse is also limited in the bound split screen. Therefore, free switching between the mouse and different split screens is realized, and after switching, independent operation of binding the switched mouse and keyboard to the split screens can be realized.
Further, in order to distinguish different mouse pointers (pointer cursors), the first mouse pointer and the second mouse pointer are different in color, shape, size or character identification, and different mice can be quickly distinguished by different mouse pointers. The mouse pointer can realize user self-definition in a user configuration mode.
The invention relates to a system for simultaneously displaying and operating a single system and multiple mice, which comprises a memory and a processor, wherein a computer program is stored on the memory, a computer program is stored in a storage medium, and the steps of the method are realized when the computer program is executed by the processor. The storage medium of the present embodiment may be a storage medium provided in an electronic device, and the electronic device may read the content of the storage medium and achieve the effects of the present invention. The storage medium may also be a separate storage medium, and when the storage medium is connected to the electronic device, the electronic device may read the contents of the storage medium and implement the method steps of the present invention. The system contains a plurality of mouse device services, and responds to the operation information of a plurality of mice simultaneously, thereby realizing the coexistence and independent operation of a plurality of mice.
In summary, the present invention mainly modifies the system mouse service, and after receiving the second mouse insertion information, the mouse service displays a new mouse pattern on the display screen, and provides an interface in the system to control the color of the second mouse. When the second mouse moves, only the position of the second mouse on the display screen is controlled, and the position of the first mouse is kept unchanged. Then the mouse and so on. The click event of the mouse in the system is finally converted into a touch event, and the simultaneous click processing of multiple mice is consistent with that of multiple touches.
It should be noted that, although the above embodiments have been described herein, the invention is not limited thereto. Therefore, based on the innovative concepts of the present invention, the technical solutions of the present invention can be directly or indirectly applied to other related technical fields by making changes and modifications to the embodiments described herein, or by using equivalent structures or equivalent processes performed in the content of the present specification and the attached drawings, which are included in the scope of the present invention.

Claims (5)

1. A method for simultaneously displaying and operating a single system by multiple mice is characterized by comprising the following steps:
the method comprises the steps that an insertion event of a second mouse is obtained under the condition that a first mouse is provided, wherein the first mouse comprises a first mouse device service bound with a first mouse device ID, the first mouse device service comprises a corresponding first mouse pointer, and the first mouse device service obtains corresponding first mouse operation information from the first mouse device ID and responds;
acquiring the equipment ID of the second mouse;
reserving a first mouse device service and newly creating a second mouse device service, and binding the device ID of the second mouse to the second mouse device service, wherein the second mouse device service comprises a corresponding second mouse pointer, and the second mouse device service acquires corresponding second mouse operation information from the second mouse device ID and responds;
the first split screen is bound with the first mouse equipment service, and first mouse operation information responded by the first mouse equipment service is limited in the first split screen;
when a second mouse device service is created, the second mouse device service is bound with a second split screen, and second mouse operation information responded by the second mouse device service is limited in the second split screen;
the first split screen is a main screen of an android system, and the second split screen is an auxiliary screen of the android system; or the first sub-screen is an auxiliary screen of the android system and the second sub-screen is a main screen of the android system, the main screen and the auxiliary screen are connected with different LCD controllers of the android system, and the android system respectively controls the display of the different LCD controllers.
2. The method of claim 1, wherein the method comprises: the first mouse device is bound with a first keyboard device in service, and input information of the first keyboard device is limited in the first split screen;
and acquiring an insertion event of the second keyboard device, binding the second keyboard device with the second mouse, and limiting the input information of the second keyboard device in the second split screen.
3. The method for simultaneous display operation of a single system and multiple mice of claim 2, wherein: acquiring operation information of switching between a mouse and a split screen;
and binding the corresponding mouse in the operation information with the split screen, limiting the bound mouse operation information in the bound split screen, and limiting the input information of the keyboard equipment bound with the mouse in the bound split screen.
4. The method of claim 1, wherein the method comprises:
the first mouse pointer and the second mouse pointer are different in color, shape, size or character identification.
5. A system for simultaneously displaying and operating a single system and a plurality of mice is characterized in that: comprising a memory, a processor, said memory having stored thereon a computer program which, when being executed by the processor, carries out the steps of the method as set forth in any one of the claims 1 to 4.
CN202110123409.2A 2021-01-29 2021-01-29 Method and system for simultaneously displaying and operating multiple mice in single system Active CN112799526B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110123409.2A CN112799526B (en) 2021-01-29 2021-01-29 Method and system for simultaneously displaying and operating multiple mice in single system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110123409.2A CN112799526B (en) 2021-01-29 2021-01-29 Method and system for simultaneously displaying and operating multiple mice in single system

Publications (2)

Publication Number Publication Date
CN112799526A CN112799526A (en) 2021-05-14
CN112799526B true CN112799526B (en) 2022-11-18

Family

ID=75812674

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110123409.2A Active CN112799526B (en) 2021-01-29 2021-01-29 Method and system for simultaneously displaying and operating multiple mice in single system

Country Status (1)

Country Link
CN (1) CN112799526B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116048362B (en) * 2023-01-28 2023-06-30 北京全路通信信号研究设计院集团有限公司 Dual-mouse control method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102323881A (en) * 2011-08-19 2012-01-18 中体彩科技发展有限公司 Method for obtaining screen focus of double lottery display screens
CN111522619A (en) * 2020-05-03 2020-08-11 宋彦震 Method for automatically reducing refresh frequency of extended screen based on software type and mouse pointer position

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001084076A (en) * 1999-09-13 2001-03-30 Masatoshi Iwamoto Control of pointer and computer system
KR100923457B1 (en) * 2007-05-25 2009-10-27 한림대학교 산학협력단 Method for displaying multi mouse pointer
CN102467830A (en) * 2010-11-09 2012-05-23 西安泰友信息技术有限公司 Single-computer multi-keyboard teaching system
CN102750151B (en) * 2012-06-19 2016-04-13 广东威创视讯科技股份有限公司 A kind of method and system realizing muliple keyboards and input simultaneously
CN106970720B (en) * 2016-09-26 2020-06-02 中国人民解放军军械工程学院 Virtual simulator and single-machine multi-mouse independent parallel control method
CN107203288A (en) * 2017-05-23 2017-09-26 郑州云海信息技术有限公司 A kind of method and apparatus and computer-readable recording medium for realizing mouse pointer
CN110038298A (en) * 2019-03-04 2019-07-23 深圳威尔视觉传媒有限公司 Single machine realizes multiple mouse calibration methods and relevant apparatus simultaneously

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102323881A (en) * 2011-08-19 2012-01-18 中体彩科技发展有限公司 Method for obtaining screen focus of double lottery display screens
CN111522619A (en) * 2020-05-03 2020-08-11 宋彦震 Method for automatically reducing refresh frequency of extended screen based on software type and mouse pointer position

Also Published As

Publication number Publication date
CN112799526A (en) 2021-05-14

Similar Documents

Publication Publication Date Title
US20200183568A1 (en) Method and System for Sorting Desktop Objects
JP3176541B2 (en) Information retrieval device and information retrieval method
US20160202887A1 (en) Method for managing application icon and terminal
EP1282033A2 (en) Computer display having selective area magnification
EP0409588A2 (en) Interactive computer system
CN106528160B (en) A kind of application program image target adding method and terminal
CN108694012B (en) Method and system for displaying objects on screen
JP2009104268A (en) Coordinate detection device and operation method using touch panel
CN107704157B (en) Multi-screen interface operation method and device and storage medium
CN105607782A (en) Display method and display equipment
CN101299220A (en) Method for disassembling and combining multiple-page browser window and multiple-page browser
US20140096074A1 (en) Form input/output apparatus, form input/output method, and program
CN111309199B (en) Display control method of touch display device and touch display device
CN102117187B (en) Method, device and system for displaying multi-area screen during remote connection process
CN105094520A (en) Display method and terminal
TW201633237A (en) Device and method for a multi-mode of detailed information of stocks
CN106371715B (en) Method and device for realizing multi-item switching
CN112799526B (en) Method and system for simultaneously displaying and operating multiple mice in single system
US20130002714A1 (en) Display control apparatus and method for controlling display
CN107291235B (en) Control method and device
CN111273844B (en) Multi-signal-source switching control method of touch display device and touch display device
TW201207757A (en) Device and method for polymorphism button of the stock quoting software on a mobile apparatus
JP2023014128A (en) Program, display control method, server device, and system
CN105117247A (en) Display control method and device, and electronic equipment
CN112835665A (en) Dynamic preview method, system, device and storage medium for taskbar application

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
GR01 Patent grant
GR01 Patent grant