CN112328360B - Dual-system touch sharing method and device - Google Patents

Dual-system touch sharing method and device Download PDF

Info

Publication number
CN112328360B
CN112328360B CN202011189038.XA CN202011189038A CN112328360B CN 112328360 B CN112328360 B CN 112328360B CN 202011189038 A CN202011189038 A CN 202011189038A CN 112328360 B CN112328360 B CN 112328360B
Authority
CN
China
Prior art keywords
touch
module
host
shared memory
coordinate
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
CN202011189038.XA
Other languages
Chinese (zh)
Other versions
CN112328360A (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.)
Huizhou Foryou General Electronics Co Ltd
Original Assignee
Huizhou Foryou General 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 Huizhou Foryou General Electronics Co Ltd filed Critical Huizhou Foryou General Electronics Co Ltd
Priority to CN202011189038.XA priority Critical patent/CN112328360B/en
Publication of CN112328360A publication Critical patent/CN112328360A/en
Application granted granted Critical
Publication of CN112328360B publication Critical patent/CN112328360B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • 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
    • G06F9/452Remote windowing, e.g. X-Window System, desktop virtualisation
    • 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/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/4557Distribution of virtual machine instances; Migration and load balancing
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Position Input By Displaying (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a dual-system touch sharing method and a device, wherein the method comprises the following steps: step 1, initializing the touch screen by a host machine; step 2, the host creates a memory space shared by the double-system touch; step 3, the virtual machine starts a client, and the client starts a virtual touch drive; step 4, the host determines the touch coordinates of the touch points; step 5, the host judges whether the client is started, if yes, the next step is entered, otherwise, a touch event is executed; step 6, the host machine sends the touch coordinates to a shared memory; step 7, the client receives the reading notification issued by the host and reads the touch coordinates from the shared memory; and 8, the client executes the touch event. The invention realizes that both the host and the client can use the touch screen.

Description

Dual-system touch sharing method and device
Technical Field
The invention relates to the technical field of virtual machines, in particular to a dual-system touch sharing method and device.
Background
In the current dual-system scheme based on the virtual machine, the QNX system is usually used as a host machine due to the small kernel, high starting speed, good real-time performance and high stability, and the android system is usually used as a client machine due to the slow starting speed, but rich expandability and massive application programs. Android systems are the most frequently used operating systems by users, so in existing designs, touch screens are assigned to android systems. However, in the prior art, during the whole system startup phase (when the android system is not yet started), if the reverse image or the panoramic system is started, the touch function cannot be used, resulting in poor user experience.
Disclosure of Invention
The invention provides a dual-system touch sharing method and device, which aim to overcome the defects in the prior art and realize that a host machine and a client machine can both use a touch screen.
In order to achieve the above purpose, the technical scheme adopted by the invention is as follows:
one aspect of the present invention provides a dual system touch sharing method, including:
step 1, initializing a touch screen by a host machine;
step 2, the host creates a memory space shared by the double-system touch;
step 3, the virtual machine starts a client, and the client starts a virtual touch drive;
step 4, the host determines the touch coordinates of the touch points;
step 5, the host judges whether the client is started, if yes, the next step is entered, otherwise, a touch event is executed;
step 6, the host machine sends the touch coordinates to a shared memory;
step 7, the client receives the reading notification issued by the host and reads the touch coordinates from the shared memory;
and 8, the client executes the touch event.
Further, after the step 5, the method further comprises:
and 5A, the host acquires the number of processor cores, judges whether the shared data is larger than a preset value, if yes, enters the next step, otherwise, sends the touch coordinates to the client in an inter-core interrupt mode, and enters the step 8.
Specifically, the preset value n=a×c, where a represents a preset byte size and c represents the number of processor cores.
Specifically, the step 4 includes:
step 401, scanning touch screen electrodes one by one;
step 402, recording electrodes with changed signals, and determining initial touch points;
step 403, performing window expansion on the initial touch points to obtain a preset number of expansion windows;
step 404, collecting a mutual capacitance image of the extended window;
and step 405, determining the touch coordinates of the touch point by performing a pixel interpolation algorithm on the mutual capacitance image.
Specifically, the executing the touch event includes:
a1, receiving touch coordinates of a touch point;
and A2, calculating display screen coordinates corresponding to the touch coordinates.
Specifically, the abscissa x=k11X 0-k2y0+k31 of the display screen, the ordinate y=k12X y0+k2y0+k32 of the display screen, where X, Y represents the abscissa and ordinate of the display screen coordinate corresponding to the touch point, K11 and K12 represent scaling factors of the touch point, K2 represents an assembly angle offset between the touch screen and the display screen, and K31 and K32 represent offset amounts of the touch point.
Another aspect of the present invention provides a dual-system touch sharing apparatus, including:
the dual system comprises a touch screen, a host, a virtual machine, and a client running on the virtual machine, and further comprises: the shared memory module is arranged in the host, the shared memory creation module, the touch screen initialization module, the touch coordinate determination module, the touch coordinate sending module, the core acquisition module and the inter-core communication module, and the shared memory module, the touch coordinate reading module and the virtual touch program module are arranged in the client;
the touch screen initialization module and the touch coordinate determination module are connected with the touch screen, the touch coordinate sending module is connected with the touch coordinate determination module, the shared memory module and the inter-core communication module, the inter-core communication module is connected with the core acquisition module and the touch coordinate reading module, the touch coordinate reading module is also connected with the shared memory module and the virtual touch program module, and the shared memory module is also connected with the shared memory creation module;
the shared memory creating module is used for creating a memory space shared by the double-system touch;
the shared memory module is used for transmitting touch data;
the touch screen initialization module is used for initializing the touch screen by a host;
the touch coordinate determining module is used for determining touch coordinates of the touch points;
the touch coordinate sending module is used for sending the touch coordinates to the client;
the core acquisition module is used for acquiring the number of the cores of the processor;
the inter-core communication module is used for carrying out inter-core communication between the host machine and the client machine;
the touch coordinate reading module is used for reading the touch coordinates from the shared memory;
the virtual touch program module is used for executing touch events by the client.
Specifically, the touch coordinate determination module includes: the touch control device comprises an electrode scanning unit, an initial touch point determining unit, a window expanding unit, a mutual capacitance acquisition unit, an interpolation unit and a touch coordinate determining unit which are connected in sequence;
the electrode scanning unit is used for scanning the touch screen electrodes one by one;
the initial touch point determining unit is used for recording the electrode with the changed signal and determining an initial touch point;
the window expansion unit is used for performing window expansion on the initial touch point;
the mutual capacitance acquisition unit is used for acquiring the mutual capacitance image of the expansion window;
the touch coordinate determining unit is used for performing interpolation operation on the mutual capacitance image to determine the touch coordinate of the touch point.
Specifically, the virtual touch program module includes: the device comprises a display screen coordinate calculation unit, a touch coordinate receiving unit, a scaling factor unit, an angle offset unit and an offset unit, wherein the touch coordinate receiving unit, the scaling factor unit, the angle offset unit and the offset unit are connected with the display screen coordinate calculation unit;
the touch coordinate receiving unit is used for receiving the touch coordinates of the touch point;
the scaling factor unit is used for obtaining the scaling factor of the touch point;
the angle offset unit is used for acquiring the assembly angle offset between the touch screen and the display screen;
the offset unit is used for acquiring the offset of the touch point;
the display screen coordinate calculation unit is used for calculating and obtaining the display screen coordinate corresponding to the touch point according to the touch coordinate, the scaling factor, the assembly angle offset and the offset of the touch point.
Specifically, the display screen coordinate calculation unit determines the display screen coordinates according to the following formula:
the display screen abscissa x=k11×x0-k2y0+k31, and the display screen ordinate y=k12×y0+k2y0+k32, where X, Y represents the abscissa and ordinate of the display screen coordinate corresponding to the touch point, K11 and K12 represent scaling factors of the touch point, K2 represents an assembly angle offset between the touch screen and the display screen, and K31 and K32 represent offset amounts of the touch point.
The invention has the beneficial effects that: the invention initializes the touch screen by the host, creates the shared memory space, determines the touch coordinates of the touch point, and sends the touch coordinates to the execution touch event if the client is started, or the host executes the touch event by itself, thereby realizing that both the host and the client can use the touch screen.
Drawings
FIG. 1 is a flow chart of a dual system touch sharing method of the present invention;
FIG. 2 is a schematic diagram of a dual system touch sharing device of the present invention;
FIG. 3 is a schematic diagram of the touch coordinate determination module of the present invention;
fig. 4 is a schematic diagram of a virtual touch program module according to the present invention.
Detailed Description
Embodiments of the present invention will now be described in detail with reference to the accompanying drawings, which are for reference and illustration only, and are not intended to limit the scope of the invention.
Example 1
As shown in fig. 1, the present embodiment provides a touch sharing method based on a dual system, including:
step 1, initializing a touch screen by a host machine.
In this embodiment, the step 1 includes:
step 101, configuring a hardware port of a touch screen to a host;
step 102, loading bus drivers of hardware ports of the touch screen by a host machine;
and 103, the virtual layer distributes the hardware bus of the touch screen to the host.
104, loading the driving of the touch chip of the touch screen;
step 105, registering the touch screen as an input device.
In this embodiment, the hardware port is an I2C port, and the host is a QNX system.
And 2, the host establishes a memory space shared by the double systems.
In this embodiment, the step 2 includes:
step 201, a host creates a communication pipeline and names the communication pipeline;
step 202, a host applies for shared memory;
step 203, the host associates the shared memory and the communication pipe to a shared memory interval.
And 3, starting a client by the virtual machine, and starting a virtual touch drive by the client.
In this embodiment, the client starting the virtual touch drive includes:
step 301, a client registers the virtual touch driver as an input device driver;
step 302, the virtual machine creates a communication pipe connection for connecting the shared memory section declared by the client and host touch screen driver.
And 4, the host determines the touch coordinates of the touch point.
And 5, the host judges whether the client is started, if yes, the next step is carried out, and if not, the touch event is executed.
And step 6, the host machine sends the touch coordinates to the shared memory.
In the implementation, after the host touch driver determines the touch coordinates, the touch coordinate data is written into the corresponding shared memory, and a reading notification is issued through a message pipeline.
And 7, the client receives the reading notification issued by the host and reads the touch coordinates from the shared memory.
And 8, the client executes the touch event.
Example 2
Unlike example 1, the process further comprises, after step 5:
and 5A, the host acquires the number c of the processor cores, judges whether the shared data is larger than a preset value n, if yes, enters the next step, otherwise, the touch coordinates are sent to the client in an inter-core interrupt mode, and the step 8 is entered.
In this embodiment, the shared data is all shared data including the touch coordinates.
In this embodiment, the preset value n=a×c, where a represents a preset byte size and c represents the number of processor cores.
Example 3
In this embodiment, a method for determining touch coordinates of a touch point by a host machine according to step 4 in embodiment 1 is provided, including:
step 401, scanning touch screen electrodes one by one;
step 402, recording electrodes Px and Py with signals changed, and determining an initial touch point;
step 403, performing window expansion on the initial touch points to obtain a preset number of expansion windows;
in this embodiment, the number of extended windows is 4, and the extended windows are distributed with the initial touch point as a center.
Step 404, collecting a mutual capacitance image of the extended window;
and 405, determining touch coordinates X0 and Y0 of a touch point by performing a pixel interpolation algorithm on the mutual capacitance image.
Example 3
In this embodiment, a method for performing a touch event as described in embodiment 1 is provided, including:
a1, receiving touch coordinates X0 and Y0 of a touch point;
and A2, calculating display screen coordinates X, Y corresponding to the touch coordinates.
In general, a touch screen is a touch receiving component superimposed on a display screen, and a touch point on the touch screen does not ultimately reflect a touch coordinate point on the display screen, but an application program ultimately needs to know the touch coordinate on the display screen (user interface), so the display screen coordinate in this embodiment refers to the touch coordinate on the user interface adapted to the display screen.
In this embodiment, the abscissa x=k11×x0—k2y0+k31 of the display screen, the ordinate y=k12×y0+k2y0+k32 of the display screen, where X, Y represents the abscissa and ordinate of the display screen coordinate corresponding to the touch point, K11 and K12 represent scaling factors of the touch point, K2 represents an assembly angle offset between the touch screen and the display screen, and K31 and K32 represent offset amounts of the touch point.
Example 4
As shown in fig. 2, the present embodiment provides a touch sharing system based on a dual system, where the dual system includes a touch screen, a host, a virtual machine, and a client running on the virtual machine, and further includes: the shared memory module is arranged in the host, the shared memory creation module, the touch screen initialization module, the touch coordinate determination module, the touch coordinate sending module, the core acquisition module and the inter-core communication module, and the shared memory module, the touch coordinate reading module and the virtual touch program module are arranged in the client;
the touch screen initialization module and the touch coordinate determination module are connected with the touch screen, the touch coordinate sending module is connected with the touch coordinate determination module, the shared memory module and the inter-core communication module, the inter-core communication module is connected with the core acquisition module and the touch coordinate reading module, the touch coordinate reading module is also connected with the shared memory module and the virtual touch program module, and the shared memory module is also connected with the shared memory creation module;
the shared memory creating module is used for creating a memory space shared by the double-system touch;
the shared memory module is used for transmitting touch data;
the touch screen initialization module is used for initializing the touch screen by a host;
the touch coordinate determining module is used for determining touch coordinates of the touch points;
the touch coordinate sending module is used for sending the touch coordinates to the client;
the core acquisition module is used for acquiring the number of the cores of the processor;
the inter-core communication module is used for carrying out inter-core communication between the host machine and the client machine;
the touch coordinate reading module is used for reading the touch coordinates from the shared memory;
the virtual touch program module is used for executing touch events by the client.
The working process of the touch sharing system based on the dual system in this embodiment is shown in embodiment 1, and will not be described again.
Example 5
As shown in fig. 3, in this embodiment, a structure of the touch coordinate determining module described in embodiment 4 is provided, including: the touch control device comprises an electrode scanning unit, an initial touch point determining unit, a window expanding unit, a mutual capacitance acquisition unit, an interpolation unit and a touch coordinate determining unit which are connected in sequence;
the electrode scanning unit is used for scanning the touch screen electrodes one by one;
the initial touch point determining unit is used for recording the electrode with the changed signal and determining an initial touch point;
the window expansion unit is used for performing window expansion on the initial touch point;
the mutual capacitance acquisition unit is used for acquiring the mutual capacitance image of the expansion window;
the touch coordinate determining unit is used for performing interpolation operation on the mutual capacitance image to determine the touch coordinate of the touch point.
The operation process of the touch coordinate determining module in this embodiment is as shown in embodiment 2, and is not described in detail.
Example 6
As shown in fig. 4, in this embodiment, a structure of the virtual touch program module described in embodiment 4 is provided, including: the device comprises a display screen coordinate calculation unit, a touch coordinate receiving unit, a scaling factor unit, an angle offset unit and an offset unit, wherein the touch coordinate receiving unit, the scaling factor unit, the angle offset unit and the offset unit are connected with the display screen coordinate calculation unit;
the touch coordinate receiving unit is used for receiving the touch coordinates of the touch point;
the scaling factor unit is used for obtaining the scaling factor of the touch point;
the angle offset unit is used for acquiring the assembly angle offset between the touch screen and the display screen;
the offset unit is used for acquiring the offset of the touch point;
the display screen coordinate calculation unit is used for calculating and obtaining the display screen coordinate corresponding to the touch point according to the touch coordinate, the scaling factor, the assembly angle offset and the offset of the touch point.
The working process of the virtual touch program module in this embodiment is as shown in embodiment 3, and will not be described again.
The above disclosure is illustrative of the preferred embodiments of the present invention and should not be construed as limiting the scope of the invention, which is defined by the appended claims.

Claims (7)

1. The double-system touch sharing method is characterized in that the double-system further comprises a shared memory module, a shared memory creation module, a touch screen initialization module, a touch coordinate determination module, a touch coordinate sending module, a core acquisition module and an inter-core communication module which are arranged in the host, a touch coordinate reading module and a virtual touch program module which are arranged in the client, the touch screen initialization module and the touch coordinate determination module are connected with the touch screen, the touch coordinate sending module is connected with the touch coordinate determination module, the shared memory module and the inter-core communication module, the inter-core communication module is connected with the core acquisition module and the touch coordinate reading module, the touch coordinate reading module is also connected with the shared memory module and the virtual touch program module, and the shared memory module is also connected with the shared memory creation module;
the dual-system touch sharing method comprises the following steps:
step 1, initializing a touch screen by a host machine;
step 2, the host creates a memory space shared by the double-system touch;
step 3, the virtual machine starts a client, and the client starts a virtual touch drive;
step 4, the host determines the touch coordinates of the touch points;
step 5, the host judges whether the client is started, if yes, the next step is entered, otherwise, a touch event is executed;
step 5A, the host acquires the number of processor cores, judges whether the shared data is larger than a preset value, if yes, enters the next step, otherwise, sends the touch coordinates to the client in an inter-core interrupt mode and enters step 8;
step 6, the host machine sends the touch coordinates to a shared memory;
step 7, the client receives a reading notification issued by the host and reads the touch coordinates from the shared memory;
step 8, the client executes the touch event;
the step 1 specifically includes:
step 101, configuring a hardware port of a touch screen to a host;
step 102, loading bus drivers of hardware ports of the touch screen by a host machine;
step 103, the virtual layer distributes the hardware bus of the touch screen to a host;
104, loading the driving of the touch chip of the touch screen;
step 105, registering the touch screen as an input device;
the step 2 specifically includes:
step 201, a host creates a communication pipeline and names the communication pipeline;
step 202, a host applies for shared memory;
step 203, the host associates the shared memory and the communication pipeline to a shared memory interval;
the client initiating a virtual touch drive comprising:
step 301, a client registers the virtual touch driver as an input device driver;
step 302, a virtual machine creates a communication pipeline connection, wherein the communication pipeline connection is used for connecting a shared memory interval of a client machine and a host machine touch screen drive statement;
the step 4 specifically includes:
step 401, scanning touch screen electrodes one by one;
step 402, recording electrodes with changed signals, and determining initial touch points;
step 403, performing window expansion on the initial touch points to obtain a preset number of expansion windows;
step 404, collecting a mutual capacitance image of the extended window;
and step 405, determining the touch coordinates of the touch point by performing a pixel interpolation algorithm on the mutual capacitance image.
2. The dual system touch sharing method of claim 1, wherein the preset value n = a x c, where a represents a preset byte size and c represents a number of processor cores.
3. The dual system touch sharing method of claim 1, wherein the performing a touch event comprises:
a1, receiving touch coordinates of a touch point;
and A2, calculating display screen coordinates corresponding to the touch coordinates.
4. A dual system touch sharing method according to claim 3, wherein the abscissa x=k11X 0-k2y0+k31 of the display screen, the ordinate y=k12X y0+k2y0+k32 of the display screen, wherein X, Y represents the abscissa and ordinate of the display screen coordinate corresponding to the touch point, X0 and Y0 represent the abscissa and ordinate of the touch point, K11 and K12 represent the scaling factor of the touch point, K2 represents the assembly angle offset between the touch screen and the display screen, and K31 and K32 represent the offset amount of the touch point.
5. A dual system touch sharing apparatus, the dual system including a touch screen, a host, a virtual machine, and a client running on the virtual machine, further comprising: the shared memory module is arranged in the host, the shared memory creation module, the touch screen initialization module, the touch coordinate determination module, the touch coordinate sending module, the core acquisition module and the inter-core communication module, and the shared memory module, the touch coordinate reading module and the virtual touch program module are arranged in the client;
the touch screen initialization module and the touch coordinate determination module are connected with the touch screen, the touch coordinate sending module is connected with the touch coordinate determination module, the shared memory module and the inter-core communication module, the inter-core communication module is connected with the core acquisition module and the touch coordinate reading module, the touch coordinate reading module is also connected with the shared memory module and the virtual touch program module, and the shared memory module is also connected with the shared memory creation module;
the shared memory creating module is used for creating a memory space shared by the double-system touch;
the shared memory module is used for transmitting touch data;
the touch screen initialization module is used for initializing the touch screen by a host;
the touch coordinate determining module is used for determining touch coordinates of the touch points;
the touch coordinate sending module is used for sending the touch coordinates to the client;
the core acquisition module is used for acquiring the number of the cores of the processor and judging whether the shared data is larger than a preset value, if so, the host machine transmits the touch coordinates to the shared memory through the touch coordinate transmission module, otherwise, the host machine transmits the touch coordinates to the client machine in an inter-core interrupt mode;
the inter-core communication module is used for carrying out inter-core communication between the host machine and the client machine;
the touch coordinate reading module is used for reading the touch coordinates from the shared memory;
the virtual touch program module is used for executing a touch event by the client;
the touch screen initialization module initializes the touch screen of the host according to the following method:
step 101, configuring a hardware port of a touch screen to a host;
step 102, loading bus drivers of hardware ports of the touch screen by a host machine;
step 103, the virtual layer distributes the hardware bus of the touch screen to a host;
104, loading the driving of the touch chip of the touch screen;
step 105, registering the touch screen as an input device;
the shared memory creation module creates a memory space used by dual-system touch sharing according to the following method:
step 201, a host creates a communication pipeline and names the communication pipeline;
step 202, a host applies for shared memory;
step 203, the host associates the shared memory and the communication pipeline to a shared memory interval;
the touch coordinate determination module includes: the touch control device comprises an electrode scanning unit, an initial touch point determining unit, a window expanding unit, a mutual capacitance acquisition unit, an interpolation unit and a touch coordinate determining unit which are connected in sequence;
the electrode scanning unit is used for scanning the touch screen electrodes one by one;
the initial touch point determining unit is used for recording the electrode with the changed signal and determining an initial touch point;
the window expansion unit is used for performing window expansion on the initial touch point;
the mutual capacitance acquisition unit is used for acquiring a mutual capacitance image of the expansion window;
the touch coordinate determining unit is used for performing interpolation operation on the mutual capacitance image to determine the touch coordinate of the touch point.
6. The dual system touch sharing apparatus of claim 5, wherein the virtual touch program module comprises: the device comprises a display screen coordinate calculation unit, a touch coordinate receiving unit, a scaling factor unit, an angle offset unit and an offset unit, wherein the touch coordinate receiving unit, the scaling factor unit, the angle offset unit and the offset unit are connected with the display screen coordinate calculation unit;
the touch coordinate receiving unit is used for receiving the touch coordinates of the touch point;
the scaling factor unit is used for obtaining the scaling factor of the touch point;
the angle offset unit is used for acquiring the assembly angle offset between the touch screen and the display screen;
the offset unit is used for acquiring the offset of the touch point;
the display screen coordinate calculation unit is used for calculating and obtaining the display screen coordinate corresponding to the touch point according to the touch coordinate, the scaling factor, the assembly angle offset and the offset of the touch point.
7. The dual system touch sharing apparatus of claim 6, wherein the display screen coordinate calculation unit determines the display screen coordinates according to the following formula:
the display screen abscissa x=k11×x0-k2y0+k31, the display screen ordinate y=k12×y0+k2y0+k32, wherein X, Y represents the abscissa and ordinate of the display screen coordinate corresponding to the touch point, X0 and Y0 represent the abscissa and ordinate of the touch point, K11 and K12 represent the scaling factor of the touch point, K2 represents the assembly angle offset between the touch screen and the display screen, and K31 and K32 represent the offset of the touch point.
CN202011189038.XA 2020-10-30 2020-10-30 Dual-system touch sharing method and device Active CN112328360B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011189038.XA CN112328360B (en) 2020-10-30 2020-10-30 Dual-system touch sharing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011189038.XA CN112328360B (en) 2020-10-30 2020-10-30 Dual-system touch sharing method and device

Publications (2)

Publication Number Publication Date
CN112328360A CN112328360A (en) 2021-02-05
CN112328360B true CN112328360B (en) 2023-06-02

Family

ID=74296719

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011189038.XA Active CN112328360B (en) 2020-10-30 2020-10-30 Dual-system touch sharing method and device

Country Status (1)

Country Link
CN (1) CN112328360B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113518106A (en) * 2021-04-06 2021-10-19 惠州市德赛西威智能交通技术研究院有限公司 Virtual machine interaction system and method based on SOME/IP protocol

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102169390A (en) * 2011-04-29 2011-08-31 深圳市大富科技股份有限公司 Information terminal and touch control method thereof
CN103064734A (en) * 2011-10-24 2013-04-24 联想(北京)有限公司 Terminal equipment and multi-system input switching method
CN106874128A (en) * 2017-01-22 2017-06-20 广州华多网络科技有限公司 Data transmission method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102169390A (en) * 2011-04-29 2011-08-31 深圳市大富科技股份有限公司 Information terminal and touch control method thereof
CN103064734A (en) * 2011-10-24 2013-04-24 联想(北京)有限公司 Terminal equipment and multi-system input switching method
CN106874128A (en) * 2017-01-22 2017-06-20 广州华多网络科技有限公司 Data transmission method and device

Also Published As

Publication number Publication date
CN112328360A (en) 2021-02-05

Similar Documents

Publication Publication Date Title
CN111976482B (en) Double-screen interaction system and method for vehicle-mounted instrument screen and central control entertainment screen
US6321287B1 (en) Console redirection for a computer system
US7475197B1 (en) Cross process memory management
CN112764872B (en) Computer device, virtualization acceleration device, remote control method, and storage medium
US9024878B2 (en) Hardware cursor snooping
TWI486787B (en) Method and system of displaying frame
US8259119B1 (en) System and method for switching between graphical processing units
JP7382298B2 (en) Methods, systems, devices and vehicle controllers for parking processing
CN112328360B (en) Dual-system touch sharing method and device
US9183610B2 (en) Method for graphics driver level decoupled rendering and display
CN102169390B (en) Information terminal and touch control method thereof
WO2019019818A1 (en) Method and apparatus for accelerating black screen gesture processing, storage medium, and mobile terminal
US9286088B2 (en) User interface for interaction with virtual machine
CN113645369B (en) Method and device for displaying multiple screens, computer readable storage medium and terminal
CN110545415A (en) Data transmission method and device and server
CN111475356A (en) System startup test information display method and related device
CN111625281A (en) Data processing method, device, equipment and storage medium
KR20010007120A (en) Interrupt processing method, os support system, information processing device, and storage medium
CN115543246A (en) BMC and server
CN101777323B (en) Method for computer system to set monitor and relevant computer system
CN113835816A (en) Virtual machine desktop display method, device, equipment and readable storage medium
CN113849267A (en) Virtual display method, system, terminal and storage medium for display card
US7191263B2 (en) Enhanced input using packet switching over a PS/2 or other interface
EP4343674A1 (en) Call processing method and related device thereof
CN109992510B (en) Remote debugging device and method

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