CN118012290A - Touch screen control method, device, equipment and computer readable storage medium - Google Patents

Touch screen control method, device, equipment and computer readable storage medium Download PDF

Info

Publication number
CN118012290A
CN118012290A CN202410226255.3A CN202410226255A CN118012290A CN 118012290 A CN118012290 A CN 118012290A CN 202410226255 A CN202410226255 A CN 202410226255A CN 118012290 A CN118012290 A CN 118012290A
Authority
CN
China
Prior art keywords
target
touch screen
partition
touch
state information
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.)
Pending
Application number
CN202410226255.3A
Other languages
Chinese (zh)
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.)
CRCC High Tech Equipment Corp Ltd
Original Assignee
CRCC High Tech Equipment Corp 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 CRCC High Tech Equipment Corp Ltd filed Critical CRCC High Tech Equipment Corp Ltd
Priority to CN202410226255.3A priority Critical patent/CN118012290A/en
Publication of CN118012290A publication Critical patent/CN118012290A/en
Pending legal-status Critical Current

Links

Landscapes

  • Position Input By Displaying (AREA)

Abstract

The application discloses a touch screen control method, which comprises the following steps: analyzing the received touch signal to obtain original contact state information of the target contact; when the touch screen is determined to be in a partitioned touch mode, determining a target touch screen partition where a target touch point is located according to original touch point state information; judging whether the target touch screen partition is a touch screen partition needing to carry out contact coordinate offset; if yes, carrying out offset conversion on the contact coordinates in the original contact state information to obtain target contact state information; if not, determining the original contact state information as target contact state information; and calling the man-machine interface equipment corresponding to the target touch screen partition to send the target contact point state information to the target computer corresponding to the target touch screen partition so as to enable the corresponding target display area to be displayed and responded. The application realizes independent point-to-point touch control on each computer outputting the picture. The application also discloses a device, equipment and a storage medium, which have corresponding technical effects.

Description

Touch screen control method, device, equipment and computer readable storage medium
Technical Field
The present application relates to the field of touch screen technologies, and in particular, to a touch screen control method, device, apparatus, and computer readable storage medium.
Background
Touch screens are one of the common computer input devices that employ touch sensing technology that allows a user to interact with a computer by directly touching the screen. The development of touch screen technology makes an operation interface more visual and friendly, and the touch screen technology is widely applied to devices such as smart phones, tablet computers, vehicle-mounted man-machine interfaces (Human MACHINE INTERFACE, HMI) and the like. Touch screen technology has an advantage in that an input manner is simplified, and a user can operate through a finger or a stylus. Touch screen technology has become an important component of modern computer interfaces, greatly improving user experience and operating efficiency.
A Human interface device (Human INTERFACE DEVICES, HID for short) refers to a device for interacting with a computer, which enables a user to input information, control the operation of the computer, and receive feedback information from the computer. The human interface device is connected to the computer by a universal interface standard, such as universal serial bus (Universal Serial Bus, USB), bluetooth (Bluetooth), etc. Modern operating systems typically have built-in human interface device drivers and interfaces so that most common human interface devices can be plug and play.
Existing touch screen technology is commonly used as a man-machine interaction device to interact with an operating system. However, the current touch screen technology can only send the touch signal of the whole touch screen to one computer, and when the touch screen simultaneously displays the pictures from a plurality of computers, independent point-to-point touch control cannot be performed on each computer outputting the pictures.
In summary, how to effectively solve the problem that the conventional touch screen control method cannot perform independent point-to-point touch control on each computer outputting a picture when the touch screen simultaneously displays pictures from a plurality of computers is a problem that needs to be solved by those skilled in the art.
Disclosure of Invention
The application aims to provide a touch screen control method, which realizes independent point-to-point touch control on each computer outputting a picture when a touch screen simultaneously displays pictures from a plurality of computers; another object of the present application is to provide a touch screen control apparatus, a device, and a computer readable storage medium.
In order to solve the technical problems, the application provides the following technical scheme:
a touch screen control method, comprising:
When the touch screen is determined to be in the partition touch mode, analyzing the received touch signal to obtain original contact state information of the target contact;
determining a target touch screen partition where the target touch point is located according to the original touch point state information;
judging whether the target touch screen partition is a touch screen partition needing to carry out touch point coordinate offset;
If yes, carrying out offset conversion on the contact coordinates in the original contact state information to obtain target contact state information;
if not, determining the original contact state information as the target contact state information;
And calling the man-machine interface equipment corresponding to the target touch screen partition to send the target contact point state information to a target computer corresponding to the target touch screen partition, so that the target computer sends a target touch screen corresponding to the target contact point to a target display area corresponding to the target touch screen partition for display and response.
In one embodiment of the present application, determining whether the target touch screen partition is a touch screen partition requiring a touch point coordinate shift includes:
and judging whether the coordinate system corresponding to the target touch screen partition coincides with the coordinate system corresponding to the whole touch screen.
In one embodiment of the present application, performing offset conversion on the contact coordinates in the original contact state information includes:
Acquiring relative coordinates between a coordinate origin corresponding to the target touch screen partition and a coordinate origin corresponding to the whole touch screen;
and carrying out offset conversion on the contact coordinates in the original contact state information according to the relative coordinates.
In a specific embodiment of the present application, after determining that the touch screen is in the partition touch mode, before determining, according to the original contact state information, a target touch screen partition where the target contact is located, the method further includes:
Acquiring each touch screen partition contained in the touch screen;
Expanding human-computer interface devices respectively corresponding to the touch screen partitions;
And setting human-machine interface descriptors respectively corresponding to the human-machine interface devices so that each human-machine interface device is identified as a touch device and the identified touch screen parameters correspond to each touch screen partition.
In a specific embodiment of the present application, invoking a man-machine interface device corresponding to the target touch screen partition to send the target contact state information to a target computer corresponding to the target touch screen partition includes:
and calling a man-machine interface device corresponding to the target touch screen partition to send the target contact state information to a target computer corresponding to the target touch screen partition through a man-machine interface protocol.
In a specific embodiment of the present application, invoking a man-machine interface device corresponding to the target touch screen partition to send the target contact state information to a target computer corresponding to the target touch screen partition through a man-machine interface protocol includes:
And calling the man-machine interface equipment corresponding to the target touch screen partition, and transmitting the target contact state information to the target computer corresponding to the target touch screen partition based on a man-machine interface protocol through the touch signal wire corresponding to the target computer.
In a specific embodiment of the present application, the sending, by the target computer, the target touch screen corresponding to the target contact point to the target display area corresponding to the target touch screen partition for displaying and responding, includes:
And the target computer sends the target touch screen corresponding to the target contact point to a target display area corresponding to the target touch screen partition for display and response through a video signal line corresponding to the target computer.
A touch screen control device, comprising:
The touch point information acquisition module is used for analyzing the received touch control signal when the touch screen is determined to be in the partition touch control mode, so as to obtain the original touch point state information of the target touch point;
The touch screen partition determining module is used for determining a target touch screen partition where the target touch point is located according to the original touch point state information;
The judging module is used for judging whether the target touch screen partition is a touch screen partition needing to carry out contact coordinate offset;
The offset conversion module is used for carrying out offset conversion on the contact coordinates in the original contact state information to obtain target contact state information when the target contact partition is determined to be the contact partition needing contact coordinate offset;
The target touch point state determining module is used for determining the original touch point state information as the target touch point state information when determining that the target touch screen partition is a touch screen partition which does not need to carry out touch point coordinate offset;
and the picture display module is used for calling the man-machine interface equipment corresponding to the target touch screen partition to send the state information of the target contact point to the target computer corresponding to the target touch screen partition, so that the target computer sends the target touch screen corresponding to the target contact point to the target display area corresponding to the target touch screen partition to display and respond.
A touch screen control device, comprising:
A memory for storing a computer program;
and the processor is used for realizing the steps of the touch screen control method when executing the computer program.
A computer readable storage medium having stored thereon a computer program which when executed by a processor implements the steps of a touch screen control method as described above.
According to the touch screen control method provided by the application, when the touch screen is determined to be in the partition touch mode, the received touch signal is analyzed to obtain the original contact state information of the target contact; determining a target touch screen partition where a target touch point is located according to the original touch point state information; judging whether the target touch screen partition is a touch screen partition needing to carry out contact coordinate offset; if yes, carrying out offset conversion on the contact coordinates in the original contact state information to obtain target contact state information; if not, determining the original contact state information as target contact state information; and calling the man-machine interface equipment corresponding to the target touch screen partition to send the target contact point state information to the target computer corresponding to the target touch screen partition, so that the target computer sends the target touch screen corresponding to the target contact point to the target display area corresponding to the target touch screen partition for display and response.
According to the technical scheme, the touch mode is set to be selectable, when the touch screen is determined to be in the partition touch mode and the contact coordinate offset is determined to be needed according to the target touch screen partition, the touch point coordinate offset conversion is adopted, so that the whole touch screen can be divided into a plurality of independent touch areas according to the requirement, and independent point-to-point touch control on each computer outputting the picture is realized when the touch screen simultaneously displays pictures from a plurality of computers.
Correspondingly, the application further provides a touch screen control device, a device and a computer readable storage medium corresponding to the touch screen control method, which have the technical effects and are not repeated herein.
Drawings
In order to more clearly illustrate the embodiments of the application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of a touch screen control method according to an embodiment of the present application;
FIG. 2 is a flowchart of another implementation of a touch screen control method according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a single touch mode in an embodiment of the present application;
FIG. 4 is a schematic diagram of a touch mode of a partition in an embodiment of the present application;
FIG. 5 is a schematic diagram of a partition touch coordinate relationship in an embodiment of the present application;
FIG. 6 is a block diagram illustrating a touch screen control device according to an embodiment of the present application;
FIG. 7 is a block diagram of a touch screen control device according to an embodiment of the present application;
fig. 8 is a schematic diagram of a specific structure of a touch screen control device according to an embodiment of the present application.
Detailed Description
In order to better understand the aspects of the present application, the present application will be described in further detail with reference to the accompanying drawings and detailed description. It will be apparent that the described embodiments are only some, but not all, embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
Referring to fig. 1, fig. 1 is a flowchart of an implementation of a touch screen control method according to an embodiment of the present application, where the method may include the following steps:
S101: and when the touch screen is determined to be in the partition touch mode, analyzing the received touch signal to obtain the original contact state information of the target contact.
The microprocessor receives a touch signal, wherein the touch signal contains original contact state information of a target contact, and the original contact state information comprises information such as quantity, number, coordinates, lifting and dropping, size and the like. And analyzing the received touch signal to obtain the original contact state information of the target contact.
S102: and determining the target touch screen partition where the target contact is located according to the original contact state information.
After the microprocessor analyzes the original contact state information of the target contact, the touch mode of the touch screen is acquired, the touch mode is divided into a single touch mode and a partitioned touch mode, the touch screen comprises a display part and a touch part, the display part can receive and simultaneously display at least one picture signal of a computer, the touch part is provided with the microprocessor and a plurality of ports which are expanded by the microprocessor and meet the human-computer interface protocol of the touch screen, and the ports are used for being connected with the computer and transmitting touch interaction signals (namely touch signals). In the single touch mode, the whole touch screen displays the picture signal of a computer, and is used for the computer, and in the partitioned touch mode, the touch screen is logically, but not physically, partitioned into partitions corresponding to the display picture according to the area occupied by the displayed picture on the whole touch screen. When the touch screen is determined to be in the partitioned touch mode, determining a target touch screen partition where the target touch point is located according to the original touch point state information, namely determining the target touch screen partition where the target touch point is located according to the size information of each touch screen partition and the coordinate information of the target touch point.
S103: and judging whether the target touch screen partition is a touch screen partition needing to carry out touch point coordinate offset, if so, executing the step S104, and if not, executing the step S105.
After determining the target touch screen partition where the target touch point is located, judging whether the target touch screen partition is the touch screen partition needing to perform touch point coordinate offset, if so, judging whether the target touch screen partition is the touch screen partition needing to perform touch point coordinate offset according to the related position relation between the target touch screen partition and the whole touch screen, if so, indicating that the coordinate of the target touch point needs to be subjected to offset conversion when the target touch screen partition is touched, executing step S104, if not, indicating that the coordinate of the target touch point does not need to be subjected to offset conversion when the target touch screen partition is touched, and executing step S105.
S104: and performing offset conversion on the contact coordinates in the original contact state information to obtain target contact state information.
When the target touch screen partition is determined to be the touch screen partition needing to carry out contact point coordinate offset, the fact that the coordinate of the target contact point is required to be subjected to offset conversion when the target touch screen partition is touched is indicated, and the contact point coordinate in the original contact point state information is subjected to offset conversion to obtain the target contact point state information, so that the contact point coordinate and a display picture can be corresponding.
S105: the original contact state information is determined as target contact state information.
When the target touch screen partition is determined to be the touch screen partition which does not need to carry out contact point coordinate offset, the fact that the coordinate of the target contact point does not need to be subjected to offset conversion when the target touch screen partition is touched is indicated, and the original contact point state information is determined to be the target contact point state information.
S106: and calling the man-machine interface equipment corresponding to the target touch screen partition to send the target contact point state information to the target computer corresponding to the target touch screen partition, so that the target computer sends the target touch screen corresponding to the target contact point to the target display area corresponding to the target touch screen partition for display and response.
When the touch screen is in the zone touch mode, each touch screen zone is respectively provided with a corresponding human-computer interface device, after the target contact point state information is determined, the human-computer interface device corresponding to the target touch screen zone is called to send the target contact point state information to the target computer corresponding to the target touch screen zone, and accordingly the target computer sends a target touch screen corresponding to the target contact point to a target display area corresponding to the target touch screen zone to display and respond. When the touch screen is determined to be in a partitioned touch mode and the target touch screen partition where the target touch point is located is the touch screen partition where the touch point coordinate offset is required, a touch point coordinate conversion mode is adopted, so that the whole touch screen can be divided into a plurality of areas according to the requirement, the touch control of one touch screen on a plurality of computers is realized, and the touch control of picture-in-picture and other diversified touch control are met.
According to the technical scheme, the touch mode is set to be selectable, when the touch screen is determined to be in the partition touch mode and the contact coordinate offset is determined to be needed according to the target touch screen partition, the touch point coordinate offset conversion is adopted, so that the whole touch screen can be divided into a plurality of independent touch areas according to the requirement, and independent point-to-point touch control on each computer outputting the picture is realized when the touch screen simultaneously displays pictures from a plurality of computers.
It should be noted that, based on the above embodiments, the embodiments of the present application further provide corresponding improvements. The following embodiments relate to the same steps as those in the above embodiments or the steps corresponding to the steps may be referred to each other, and the corresponding beneficial effects may also be referred to each other, which will not be described in detail in the following modified embodiments.
Referring to fig. 2, fig. 2 is a flowchart of another implementation of a touch screen control method according to an embodiment of the present application, where the method may include:
s201: and when the touch screen is determined to be in the partition touch mode, analyzing the received touch signal to obtain the original contact state information of the target contact.
S202: and acquiring each touch screen partition contained in the touch screen.
And when the touch screen is determined to be in the partition touch mode, acquiring each touch screen partition contained in the touch screen.
Referring to fig. 3 and fig. 4, fig. 3 is a schematic diagram of a single touch mode in an embodiment of the present application, and fig. 4 is a schematic diagram of a split touch mode in an embodiment of the present application. In the single touch mode, the whole part of the touch screen 1 is used for man-machine interaction operation, the display 2 displays pictures from a computer, the touch screen 1 is covered on the display 2, the microprocessor transmits touch signals of the touch chip IC (Integrated Circuit) to the computer through the signal line 3, and the pictures are transmitted to the display 2 through the signal line 4. In the partitioned touch mode, the touch screen is partitioned into two partitions, namely a left partition 5 and a right partition 7, and each partition can independently perform man-machine interaction operation. The video signal of the computer 1 is transmitted to the display through a signal line 9 and is displayed on a left picture 6, the video signal of the computer 2 is transmitted to the display through a signal line 12 and is displayed on a right picture 8, the microprocessor receives the signal of the touch IC and performs partition processing, the touch signal of the left partition 5 is transmitted to the computer 1 through a signal line 10, and after the touch signal of the right partition 7 is subjected to offset processing, the touch signal is transmitted to the computer 2 through a signal line 11, so that the touch signal received by the computer 2 is aligned with the picture.
S203: and expanding the human-computer interface devices respectively corresponding to the touch screen partitions.
Referring to fig. 5, fig. 5 is a schematic diagram of a partition touch coordinate relationship in an embodiment of the present application. After each touch screen partition contained in the touch screen is acquired, the corresponding human-computer interface equipment of each touch screen partition is expanded. Fig. 5 divides the touch screen into left and right partitions, called partition 1 and partition 2, as required, and extends two human interface devices, called device 1 and device 2, in the microprocessor.
S204: and setting human-machine interface descriptors respectively corresponding to the human-machine interface devices so that the human-machine interface devices are identified as touch devices and the identified touch screen parameters correspond to the touch screen partitions.
After the human-computer interface devices respectively corresponding to the touch screen partitions are obtained through expansion, the human-computer interface descriptors respectively corresponding to the human-computer interface devices are automatically set, so that the human-computer interface devices can be identified as touch devices, the identified touch screen parameters correspond to the touch screen partitions, and the plug-and-play requirements of an operating system are met.
As shown in fig. 5, the human interface descriptor of the device 1 is set in the microprocessor so that the device 1 is recognized as a touch screen device by the computer when connected to the computer, and the recognized information of size, aspect ratio, resolution, etc. corresponds to the partition 1. The human interface descriptor of the device 2 is set in the microprocessor such that when the device 2 is connected to the computer, it is recognized by the computer as a touch screen device and the recognized information of size, aspect ratio, resolution, etc. corresponds to the partition 2.
S205: and determining the target touch screen partition where the target contact is located according to the original contact state information.
S206: and judging whether the coordinate system corresponding to the target touch screen partition coincides with the coordinate system corresponding to the whole screen of the touch screen, if not, executing the step S207, and if so, executing the step S209.
After determining the target touch screen partition where the target touch point is located, determining whether the target touch screen partition is a touch screen partition needing to perform touch point coordinate offset by determining whether a coordinate system corresponding to the target touch screen partition coincides with a coordinate system corresponding to the whole screen of the touch screen, if not, performing step S207, if yes, performing step S209, wherein the coordinate of the target touch point is required to be offset-converted when the target touch screen partition is touched.
As shown in fig. 5, the coordinate origin of the left partition coincides with the coordinate origin of the entire touch screen, and the coordinate origin of the right partition is offset from the coordinate origin of the entire touch screen by (x 1, 0). The contact 13 is located in the left partition, and directly transmits the coordinates to the computer displaying the screen in the left partition without processing the coordinates, while the contact 14 is located in the right partition, and transmits the coordinates to the computer displaying the screen in the right partition after shifting the coordinates. The upper left corner coordinates of the touch screen are (0, 0), the lower right corner coordinates of the touch screen are (xMax, yMax), the transverse direction of the contact point is a coordinate x, and the longitudinal direction of the contact point is a coordinate y. The upper left corner of partition 1 is (0, 0) and the lower right corner is (x 1, yMax). The upper left corner of partition 2 is (x 1, 0) and the lower right corner is (x, yMax).
S207: and acquiring relative coordinates between the coordinate origin corresponding to the target touch screen partition and the coordinate origin corresponding to the whole touch screen.
When the coordinate system corresponding to the target touch screen partition is determined not to be coincident with the coordinate system corresponding to the whole screen of the touch screen, the coordinate of the target touch point is required to be subjected to offset conversion when the target touch screen partition is touched, and the relative coordinate between the coordinate origin corresponding to the target touch screen partition and the coordinate origin corresponding to the whole screen of the touch screen is obtained.
As shown in fig. 5, when the coordinates (x, y) of the touch point are determined, and the touch point is in the partition 2, that is, x > x1, y < yMax, the abscissa x of the touch point is shifted, the offset value is x1, and the relative coordinates between the origin of coordinates corresponding to the target touch screen partition and the origin of coordinates corresponding to the entire screen of the touch screen are (x 1, 0).
S208: and carrying out offset conversion on the contact coordinates in the original contact state information according to the relative coordinates to obtain the target contact state information.
After the relative coordinates between the coordinate origin corresponding to the target touch screen partition and the coordinate origin corresponding to the whole touch screen are obtained, the touch point coordinates in the original touch point state information are subjected to offset conversion according to the relative coordinates, so that the target touch point state information is obtained.
As shown in fig. 5, when the contact is in the partition 2, the contact coordinates (x, y) in the original contact state information are subjected to offset conversion according to the relative coordinates (x 1, 0) to obtain offset contact coordinates (x-x 1, y), and the initial contact coordinates in the original contact state information are replaced by the offset contact coordinates to obtain the target contact state information. The upper left corner of each partition is set to have a (0, 0) coordinate by coordinate shift conversion.
S209: the original contact state information is determined as target contact state information.
As shown in fig. 5, the coordinates (x, y) of the contact point are determined, and when the contact point is within the partition 1, that is, x < x1, y < yMax, the coordinates of the contact point are (x, y).
S210: and calling the man-machine interface equipment corresponding to the target touch screen partition to send the state information of the target touch point to the target computer corresponding to the target touch screen partition through a man-machine interface protocol, so that the target computer sends the target touch screen corresponding to the target touch point to the target display area corresponding to the target touch screen partition for displaying and responding.
The communication protocol between the man-machine interface device and the computer is preset as the man-machine interface protocol. After the target contact point state information is determined, the man-machine interface equipment corresponding to the target touch screen partition is called to send the target contact point state information to the target computer corresponding to the target touch screen partition through a man-machine interface protocol, so that the target computer sends a target touch screen corresponding to the target contact point to a target display area corresponding to the target touch screen partition to display and respond, and the touch screen is used for displaying and touching according to the size of the partition.
In a specific embodiment of the present application, invoking a man-machine interface device corresponding to a target touch screen partition to send target contact state information to a target computer corresponding to the target touch screen partition through a man-machine interface protocol includes:
and calling the human-computer interface equipment corresponding to the target touch screen partition, and transmitting the target contact state information to the target computer corresponding to the target touch screen partition based on a human-computer interface protocol through the touch signal wire corresponding to the target computer.
An independent touch signal line can be configured between each computer and the corresponding human-computer interface device in advance, after the target contact point state information is determined, the human-computer interface device corresponding to the target touch screen partition is called, and the target contact point state information is sent to the target computer corresponding to the target touch screen partition based on a human-computer interface protocol through the touch signal line corresponding to the target computer.
As shown in fig. 4, the touch signal of the left partition 5 is transmitted to the computer 1 through the signal line 10, and the touch signal of the right partition 7 is offset-processed and then transmitted to the computer 2 through the signal line 11.
In a specific embodiment of the present application, the target computer sends a target touch screen corresponding to a target contact point to a target display area corresponding to a target touch screen partition for displaying and responding, and the method includes:
and the target computer sends the target touch screen corresponding to the target contact point to a target display area corresponding to the target touch screen partition for display and response through a video signal line corresponding to the target computer.
And after the target contact point state information is determined, the human-computer interface equipment corresponding to the target touch screen partition is called to send the target contact point state information to the target computer corresponding to the target touch screen partition, and the target computer sends the target touch screen corresponding to the target contact point to the target display area corresponding to the target touch screen partition through the video signal line corresponding to the target computer to display and respond.
As shown in fig. 4, the video signal of the computer 1 is transmitted to the display through the signal line 9 and displayed on the left screen 6, and the video signal of the computer 2 is transmitted to the display through the signal line 12 and displayed on the right screen 8.
Corresponding to the above method embodiment, the present application further provides a touch screen control device, where the touch screen control device described below and the touch screen control method described above can be referred to correspondingly.
Referring to fig. 6, fig. 6 is a block diagram of a touch screen control device according to an embodiment of the present application, where the device may include:
The contact information obtaining module 61 is configured to parse the received touch signal to obtain original contact state information of the target contact when it is determined that the touch screen is in the partition touch mode;
The touch screen partition determining module 62 is configured to determine, according to the original contact state information, a target touch screen partition where the target contact is located;
a judging module 63, configured to judge whether the target touch screen partition is a touch screen partition that needs to perform contact coordinate offset;
the offset conversion module 64 is configured to, when determining that the target touch screen partition is a touch screen partition requiring contact coordinate offset, perform offset conversion on the contact coordinates in the original contact state information, so as to obtain target contact state information;
A target touch point state determining module 65, configured to determine, when it is determined that the target touch screen partition is a touch screen partition that does not require a touch point coordinate shift, original touch point state information as target touch point state information;
the image display module 66 is configured to invoke a human-machine interface device corresponding to the target touch screen partition to send the state information of the target touch point to a target computer corresponding to the target touch screen partition, so that the target computer sends the target touch screen corresponding to the target touch point to a target display area corresponding to the target touch screen partition for displaying and responding.
According to the technical scheme, the touch mode is set to be selectable, when the touch screen is determined to be in the partition touch mode and the contact coordinate offset is determined to be needed according to the target touch screen partition, the touch point coordinate offset conversion is adopted, so that the whole touch screen can be divided into a plurality of independent touch areas according to the requirement, and independent point-to-point touch control on each computer outputting the picture is realized when the touch screen simultaneously displays pictures from a plurality of computers.
In one embodiment of the present application, the determining module 63 is specifically a module for determining whether the coordinate system corresponding to the target touch screen partition coincides with the coordinate system corresponding to the entire screen of the touch screen.
In one embodiment of the present application, the offset conversion module 64 includes:
the relative coordinate acquisition sub-module is used for acquiring relative coordinates between a coordinate origin corresponding to the target touch screen partition and a coordinate origin corresponding to the whole touch screen;
and the offset conversion sub-module is used for carrying out offset conversion on the contact coordinates in the original contact state information according to the relative coordinates.
In one embodiment of the present application, the apparatus may further include:
The touch screen partitioning module is used for acquiring each touch screen partition contained in the touch screen before determining the target touch screen partition where the target contact is located according to the original contact state information after determining that the touch screen is in the partition touch mode;
the device expansion module is used for expanding the human-computer interface devices respectively corresponding to the touch screen partitions;
and the descriptor setting module is used for setting the human-computer interface descriptors respectively corresponding to the human-computer interface devices so that the human-computer interface devices are identified as touch devices and the identified touch screen parameters correspond to the touch screen partitions.
In one embodiment of the present application, the screen display module 66 includes a touch status sending sub-module, which is specifically a module that invokes a man-machine interface device corresponding to the target touch screen partition to send the target touch status information to the target computer corresponding to the target touch screen partition through a man-machine interface protocol.
In a specific embodiment of the present application, the touch point state sending submodule is specifically a module for calling a man-machine interface device corresponding to the target touch screen partition, and sending the target touch point state information to the target computer corresponding to the target touch screen partition based on a man-machine interface protocol through a touch control signal line corresponding to the target computer.
In one embodiment of the present application, the screen display module 66 is specifically a module that the target computer sends the target touch screen corresponding to the target touch point to the target display area corresponding to the target touch screen partition through the video signal line corresponding to the target computer for displaying and responding.
Corresponding to the above method embodiment, referring to fig. 7, fig. 7 is a schematic diagram of a touch screen control device provided by the present application, where the device may include:
a memory 332 for storing a computer program;
A processor 322, configured to implement the steps of the touch screen control method of the above method embodiment when executing a computer program.
Specifically, referring to fig. 8, fig. 8 is a schematic diagram of a specific structure of a touch screen control device according to the present embodiment, where the touch screen control device may have a relatively large difference due to different configurations or performances, and may include a processor (central processing units, CPU) 322 (e.g., one or more processors) and a memory 332, where the memory 332 stores one or more computer programs 342 or data 344. Wherein the memory 332 may be transient storage or persistent storage. The program stored in memory 332 may include one or more modules (not shown), each of which may include a series of instruction operations in the data processing apparatus. Still further, the processor 322 may be configured to communicate with the memory 332 and execute a series of instruction operations in the memory 332 on the touch screen control device 301.
The touch screen control device 301 may also include one or more power supplies 326, one or more wired or wireless network interfaces 350, one or more input output interfaces 358, and/or one or more operating systems 341.
The steps in the touch screen control method described above may be implemented by the structure of the touch screen control apparatus.
Corresponding to the above method embodiments, the present application also provides a computer readable storage medium having a computer program stored thereon, which when executed by a processor, performs the steps of:
when the touch screen is determined to be in the partition touch mode, analyzing the received touch signal to obtain original contact state information of the target contact; determining a target touch screen partition where a target touch point is located according to the original touch point state information; judging whether the target touch screen partition is a touch screen partition needing to carry out contact coordinate offset; if yes, carrying out offset conversion on the contact coordinates in the original contact state information to obtain target contact state information; if not, determining the original contact state information as target contact state information; and calling the man-machine interface equipment corresponding to the target touch screen partition to send the target contact point state information to the target computer corresponding to the target touch screen partition, so that the target computer sends the target touch screen corresponding to the target contact point to the target display area corresponding to the target touch screen partition for display and response.
The computer readable storage medium may include: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
For the description of the computer-readable storage medium provided by the present application, refer to the above method embodiments, and the disclosure is not repeated here.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different point from other embodiments, so that the same or similar parts between the embodiments are referred to each other. The apparatus, device and computer readable storage medium of the embodiments are described more simply because they correspond to the methods of the embodiments, and the description thereof will be given with reference to the method section.
The principles and embodiments of the present application have been described herein with reference to specific examples, but the description of the examples above is only for aiding in understanding the technical solution of the present application and its core ideas. It should be noted that it will be apparent to those skilled in the art that various modifications and adaptations of the application can be made without departing from the principles of the application and these modifications and adaptations are intended to be within the scope of the application as defined in the following claims.

Claims (10)

1. A touch screen control method, comprising:
When the touch screen is determined to be in the partition touch mode, analyzing the received touch signal to obtain original contact state information of the target contact;
determining a target touch screen partition where the target touch point is located according to the original touch point state information;
judging whether the target touch screen partition is a touch screen partition needing to carry out touch point coordinate offset;
If yes, carrying out offset conversion on the contact coordinates in the original contact state information to obtain target contact state information;
if not, determining the original contact state information as the target contact state information;
And calling the man-machine interface equipment corresponding to the target touch screen partition to send the target contact point state information to a target computer corresponding to the target touch screen partition, so that the target computer sends a target touch screen corresponding to the target contact point to a target display area corresponding to the target touch screen partition for display and response.
2. The touch screen control method according to claim 1, wherein determining whether the target touch screen section is a touch screen section requiring a touch point coordinate shift comprises:
and judging whether the coordinate system corresponding to the target touch screen partition coincides with the coordinate system corresponding to the whole touch screen.
3. The touch screen control method according to claim 2, wherein performing offset conversion on the touch point coordinates in the original touch point state information includes:
Acquiring relative coordinates between a coordinate origin corresponding to the target touch screen partition and a coordinate origin corresponding to the whole touch screen;
and carrying out offset conversion on the contact coordinates in the original contact state information according to the relative coordinates.
4. A touch screen control method according to any one of claims 1 to 3, wherein after determining that the touch screen is in the zone touch mode, before determining, according to the original contact state information, a target touch screen zone in which the target contact is located, further comprising:
Acquiring each touch screen partition contained in the touch screen;
Expanding human-computer interface devices respectively corresponding to the touch screen partitions;
And setting human-machine interface descriptors respectively corresponding to the human-machine interface devices so that each human-machine interface device is identified as a touch device and the identified touch screen parameters correspond to each touch screen partition.
5. The touch screen control method according to claim 1, wherein invoking the human interface device corresponding to the target touch screen partition to send the target contact state information to the target computer corresponding to the target touch screen partition comprises:
and calling a man-machine interface device corresponding to the target touch screen partition to send the target contact state information to a target computer corresponding to the target touch screen partition through a man-machine interface protocol.
6. The touch screen control method according to claim 5, wherein invoking the human-machine interface device corresponding to the target touch screen partition to send the target contact state information to the target computer corresponding to the target touch screen partition through a human-machine interface protocol comprises:
And calling the man-machine interface equipment corresponding to the target touch screen partition, and transmitting the target contact state information to the target computer corresponding to the target touch screen partition based on a man-machine interface protocol through the touch signal wire corresponding to the target computer.
7. The touch screen control method according to claim 6, wherein the target computer sends the target touch screen corresponding to the target contact point to a target display area corresponding to the target touch screen partition for displaying and responding, and the method comprises:
And the target computer sends the target touch screen corresponding to the target contact point to a target display area corresponding to the target touch screen partition for display and response through a video signal line corresponding to the target computer.
8. A touch screen control device, comprising:
The touch point information acquisition module is used for analyzing the received touch control signal when the touch screen is determined to be in the partition touch control mode, so as to obtain the original touch point state information of the target touch point;
The touch screen partition determining module is used for determining a target touch screen partition where the target touch point is located according to the original touch point state information;
The judging module is used for judging whether the target touch screen partition is a touch screen partition needing to carry out contact coordinate offset;
The offset conversion module is used for carrying out offset conversion on the contact coordinates in the original contact state information to obtain target contact state information when the target contact partition is determined to be the contact partition needing contact coordinate offset;
The target touch point state determining module is used for determining the original touch point state information as the target touch point state information when determining that the target touch screen partition is a touch screen partition which does not need to carry out touch point coordinate offset;
and the picture display module is used for calling the man-machine interface equipment corresponding to the target touch screen partition to send the state information of the target contact point to the target computer corresponding to the target touch screen partition, so that the target computer sends the target touch screen corresponding to the target contact point to the target display area corresponding to the target touch screen partition to display and respond.
9. A touch screen control apparatus, comprising:
A memory for storing a computer program;
a processor for implementing the steps of the touch screen control method according to any one of claims 1 to 7 when executing said computer program.
10. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the touch screen control method according to any of claims 1 to 7.
CN202410226255.3A 2024-02-28 2024-02-28 Touch screen control method, device, equipment and computer readable storage medium Pending CN118012290A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410226255.3A CN118012290A (en) 2024-02-28 2024-02-28 Touch screen control method, device, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410226255.3A CN118012290A (en) 2024-02-28 2024-02-28 Touch screen control method, device, equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN118012290A true CN118012290A (en) 2024-05-10

Family

ID=90959395

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410226255.3A Pending CN118012290A (en) 2024-02-28 2024-02-28 Touch screen control method, device, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN118012290A (en)

Similar Documents

Publication Publication Date Title
CN102662514B (en) A kind of method and mobile terminal of control touch screen
CN111444130B (en) Integrated machine
CN106327540B (en) Control method, device and terminal based on OpenGL View
EP2384016B1 (en) Operation terminal and screen display method for operation terminal
CN103150198B (en) A kind of display methods of configuration software
CN110471701B (en) Image rendering method and device, storage medium and electronic equipment
CN102402373B (en) Method and device for controlling touch keyboard in mobile terminal
JP2022126793A (en) Method and device for controlling terminal, electronic apparatus, storage medium, and computer program
CN112100090A (en) Data access request processing method, device, medium and memory mapping controller
US6297817B1 (en) Computer system with multiple monitor control signal synchronization apparatus and method
CN101764971A (en) On-screen display device and on-screen display method thereof
CN113961295A (en) Device interaction control method and device, electronic device and readable storage medium
CN113253877B (en) Electronic whiteboard system and control method thereof
CN118012290A (en) Touch screen control method, device, equipment and computer readable storage medium
WO2018003841A1 (en) Serial communication method and sensor controller
CN105930090A (en) Method and system for transmitting coordinate data of touch screens on basis of mobile terminals
CN114115673B (en) Control method of vehicle-mounted screen
CN107491205B (en) Integrated machine
CN101777323B (en) Method for computer system to set monitor and relevant computer system
CN112799526A (en) Method and system for simultaneously displaying and operating multiple mice in single system
CN111427501A (en) Touch control implementation method and interactive intelligent device
JP6216909B1 (en) Serial communication method and sensor controller
EP2790179A1 (en) Control device and remote control device
CN212966150U (en) Debugging switching circuit, debugging circuit and intelligent interaction panel
CN111580816B (en) Intelligent tablet terminal based on interactive graphic software

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination