Touch operation control method and system, and computer readable storage medium
By introducing sub-windows and touch modules into the touch control system, the user's touch data is directly sent to the main control platform and the external access platform, which solves the problem that users need to switch touch channels to the external access device in the prior art, and realizes a simplified touch operation control process and an improved user experience.
Patent Information
- Application Number
- PCT/CN2024/086321
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-08-18
- Filing Date
- 2024-04-07
- Publication Date
- 2025-02-27
AI Technical Summary
In the prior art, users need to switch touch channels to perform touch control operations on external access devices, resulting in cumbersome control process and affecting user experience.
By introducing a touch module, a main control platform and an external access platform into the touch operation control system, the touch interaction between the main control platform and the external access platform is achieved using sub-windows, and the user's touch data is directly sent to the corresponding platform to realize touch operation of the external access device.
Touch operation of external access devices can be achieved without switching touch channels, simplifying the control process, improving user experience, and realizing multiplexed touch in multi-platform scenarios.
Smart Images

Figure CN2024086321_27022025_PF_FP_ABST
Abstract
Description
Touch operation control method, system and computer-readable storage medium
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to Chinese patent application No. 202311055385.7 filed on August 18, 2023, the entire contents of which are incorporated herein by reference. Technical Field
[0003] The present application belongs to the field of touch technology, and in particular relates to a touch operation control method, system, and computer-readable storage medium. Background Art
[0004] Touch control is increasingly being used in fields like industrial control. For multi-system applications, touch control requires switching between touch channels to control different systems. However, touch channels are typically connected to the main system, preventing direct touch control on external devices. Users must switch touch channels to connect to external devices in order to control touch control. This cumbersome touch control process impacts the user experience.
[0005] Summary of the Invention
[0006] The embodiments of the present application provide a touch operation control method, system, and computer-readable storage medium, which can solve the problem in the prior art that users need to switch the touch channel to connect to an external access device in order to perform touch operations on the external access device, and the control process of the touch operation is cumbersome, which affects the user experience.
[0007] A first aspect of an embodiment of the present application provides a touch operation control method, which is applied to a touch operation control system. The touch operation control system includes a touch module, a main control platform, and at least one external access platform, wherein the main control platform and the external access platform are both connected to the touch module; the main control platform is provided with a sub-window, wherein the sub-window is used to implement touch interaction between the main control platform and the external access platform;
[0008] Touch operation control methods include:
[0009] The touch module obtains touch data corresponding to the user's touch operation;
[0010] When the sub-window is open, the touch module sends the touch data to the main control platform;
[0011] If the main control platform determines that the object of the touch operation is the external access platform, the main control platform sends the touch data to the external access platform through the touch module, so that the external access platform responds according to the touch data;
[0012] If the main control platform determines that the object of the touch operation is the main control platform, the main control platform responds according to the touch data.
[0013] A second aspect of an embodiment of the present application provides a touch operation control system, comprising a touch module, a main control platform, and at least one external access platform, wherein the main control platform and the external access platform are both connected to the touch module; the main control platform is provided with a sub-window;
[0014] The touch module is used to obtain touch data corresponding to the user's touch operation and send the touch data to the main control platform;
[0015] The main control platform is used to send touch data to the external access platform through the touch module if the object of the touch operation is the external access platform, so that the external access platform responds according to the touch data; if the object of the touch operation is the main control platform, it responds according to the touch data;
[0016] The sub-window is used to implement touch interaction between the main control platform and the external access platform.
[0017] A third aspect of the embodiments of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the touch operation control method as described above is implemented.
[0018] The first aspect of the embodiment of the present application provides a touch operation control method, which obtains touch data corresponding to the user's touch operation through a touch module. When the sub-window of the external access platform is in an open state, the touch module sends the touch data to the main control platform, and the main control platform determines the object of the touch operation. If the object of the touch operation is the external access platform, the main control platform sends the touch data to the external access platform through the touch module, so that the external access platform responds according to the touch data. If the object of the touch operation is the main control platform, the main control platform directly responds according to the touch data, which enables the user to perform touch operations on the external access device without switching touch channels, realizes touch reuse in multi-platform scenarios, simplifies the control process of touch operations, and improves user experience.
[0019] It can be understood that the beneficial effects of the second and third aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the specific implementation methods of the present application or the technical solutions in the prior art, the following is a brief introduction to the drawings required for use in the specific implementation methods or the description of the prior art. Obviously, the drawings described below are some implementation methods of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0021] FIG1 is a schematic diagram of a first structure of a touch operation control system provided by an embodiment of the present application;
[0022] FIG2 is a schematic diagram of a first flow chart of a touch operation control method provided in an embodiment of the present application;
[0023] FIG3 is a schematic diagram of a second flow chart of a touch operation control method provided in an embodiment of the present application;
[0024] FIG4 is a schematic diagram of a third flow chart of the touch operation control method provided in an embodiment of the present application;
[0025] FIG5 is a schematic diagram of a second structure of a touch operation control system provided in an embodiment of the present application;
[0026] FIG6 is a schematic diagram of a fourth flow chart of the touch operation control method provided in an embodiment of the present application;
[0027] FIG7 is a schematic diagram of a fifth flow chart of the touch operation control method provided in an embodiment of the present application;
[0028] FIG8 is a sixth flow chart of the touch operation control method provided in an embodiment of the present application. DETAILED DESCRIPTION
[0029] In the following description, specific details such as specific system structures and techniques are provided for purposes of illustration rather than limitation to facilitate a thorough understanding of the embodiments of the present application. However, it will be apparent to those skilled in the art that the present application may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to avoid obscuring the description of the present application with unnecessary detail.
[0030] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and / or components, but does not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof.
[0031] It will also be understood that the term "and / or" used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
[0032] As used in this specification and the appended claims, the term "if" can be interpreted as "when" or "upon" or "in response to determining" or "in response to detecting," depending on the context. Similarly, "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "upon determination" or "in response to determining" or "upon detection of [described condition or event]" or "in response to detecting [described condition or event]," depending on the context.
[0033] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0034] References to "one embodiment" or "some embodiments" in this specification mean that one or more embodiments of the present application include a particular feature, structure, or characteristic described in conjunction with that embodiment. Thus, phrases such as "in one embodiment," "in some embodiments," "in other embodiments," and "in other embodiments" appearing in various places in this specification do not necessarily refer to the same embodiment, but rather mean "one or more but not all embodiments," unless otherwise specifically emphasized. The terms "including," "comprising," "having," and variations thereof all mean "including but not limited to," unless otherwise specifically emphasized. "Multiple" means "two or more."
[0035] Touch control is increasingly being used in fields like industrial control. For multi-system applications, touch control requires switching between touch channels to control different systems. However, touch channels are typically connected to the main system, preventing direct touch control on external devices. Users must switch touch channels to connect to external devices in order to control touch control. This cumbersome touch control process impacts the user experience.
[0036] In response to the above problems, an embodiment of the present application provides a touch operation control method, which is applied to a touch operation control system. The touch operation control system includes a touch module, a main control platform and at least one external access platform, and the main control platform and the external access platform are both connected to the touch module; the main control platform is provided with a sub-window, wherein the sub-window is used to realize touch interaction between the main control platform and the external access platform. The touch operation control method obtains touch data corresponding to the user's touch operation through the touch module. When the sub-window of the external access platform is open, the touch module sends the touch data to the main control platform. If the main control platform determines that the object of the touch operation is the external access platform, the main control platform sends the touch data to the external access platform through the touch module, so that the external access platform responds according to the touch data. If the main control platform determines that the object of the touch operation is the main control platform, the main control platform responds according to the touch data, which enables the user to realize touch operation on the external access device without switching touch channels.
[0037] The touch operation control method provided in the embodiments of the present application is exemplarily described below with reference to specific embodiments.
[0038] The touch operation control method provided in the embodiments of the present application is applied to a touch operation control system. As shown in FIG1 , the touch operation control system includes a touch module 101, a main control platform 102, and at least one external access platform 103. Both the main control platform 102 and the external access platform 103 are connected to the touch module 101. The main control platform 102 is provided with a sub-window, wherein the sub-window is used to implement touch interaction between the main control platform 102 and the external access platform 103.
[0039] In application, the main control platform 102 can be the control system of the main system, which can be a Windows operating system based on the x86 hardware platform or an Android system. The external access platform 103 can be the control system of the external access device. The main control platform 102 and the external access platform 103 can be connected to the touch module 101 via a USB interface, wherein the main control platform 102 is connected to the touch module 101 via a USB1 interface, and the external access platform 103 is connected to the touch module 101 via a USB2 interface. The sub-window can be an application set on the main control platform 102, which can be opened on the touch screen to display the screen input by the external access platform 103, thereby realizing touch interaction between the main control platform 102 and the external access platform 103. The touch module 101 and the main control platform 102 can be integrated with the touch screen in one device.
[0040] As shown in FIG2 , the touch operation control method provided in this embodiment includes S21 to S24:
[0041] S21. The touch module obtains touch data corresponding to the user's touch operation.
[0042] In an application, the touch module acquires touch data corresponding to a user's touch operation. This may be when a user performs a touch operation on the touch screen, the touch module acquires touch data corresponding to the user's touch operation. The touch data may include coordinate data of the touch point corresponding to the touch operation on the touch screen.
[0043] S22: When the sub-window is in the open state, the touch module sends the touch data to the main control platform.
[0044] In the application, when the above-mentioned sub-window on the external access platform is in an open state, the touch module sends the touch data to the main control platform. After the user opens the above-mentioned sub-window through a button or remote control, the above-mentioned touch module sends the above-mentioned touch data to the above-mentioned main control platform through the USB1 interface, so that the above-mentioned main control platform determines the object of the above-mentioned touch operation.
[0045] S23: If the main control platform determines that the object of the touch operation is the external access platform, the main control platform sends the touch data to the external access platform through the touch module, so that the external access platform responds according to the touch data.
[0046] In the application, if the main control platform determines that the object of the touch operation is the external access platform, the main control platform sends the touch data to the external access platform through the touch module. It can be that if the main control platform determines that the touch operation is an operation performed by the user on the external access platform through the sub-window, the main control platform determines that the object of the touch operation is the external access platform, and the main control platform sends the touch data to the touch module through the USB1 interface. The touch module then sends the touch data to the external access platform through the USB2 interface, so that the external access platform responds according to the touch data.
[0047] In one embodiment, the sub-window includes a sub-window menu bar and an external platform input screen. The sub-window menu bar may be a menu bar used by the main control platform to adjust the functions of the sub-window, and the external platform input screen may be a screen input by the external access platform, through which a user can implement touch interaction between the main control platform and the external access platform.
[0048] As shown in FIG3 , in one embodiment, the main control platform determines that the object of the touch operation is the external access platform, including S31-S33:
[0049] S31. The main control platform obtains touch coordinates corresponding to the touch operation based on the touch data, wherein the touch coordinates represent the position of the touch point corresponding to the touch operation.
[0050] In an application, the main control platform obtains the touch coordinates corresponding to the touch operation based on the touch data. This can be done by the touch module sending the touch data to the main control platform, which then determines the touch coordinates from the touch data. The touch coordinates represent the location of the touch point corresponding to the touch operation on the touch screen.
[0051] S32: The main control platform obtains first region coordinates corresponding to the external platform input screen, wherein the first region coordinates represent the position of the display region of the external platform input screen.
[0052] In an application, the main control platform obtains the first region coordinates corresponding to the external platform input screen by, when the sub-window is open, determining the first region coordinates corresponding to the external platform input screen based on the display region of the external platform input screen on the touch screen. The first region coordinates represent the position of the display region of the external platform input screen on the touch screen.
[0053] S33: When it is determined according to the touch coordinates and the first area coordinates that the touch point is located within the display area of the external platform input screen, the main control platform determines that the object of the touch operation is the external access platform.
[0054] In the application, when the touch point is determined to be located in the display area of the external platform input screen based on the touch coordinates and the first area coordinates, the main control platform determines that the object of the touch operation is the external access platform. If the touch coordinates are included in the range of the first area coordinates, it can be determined that the touch point corresponding to the touch operation is located in the display area of the external platform input screen. At this time, the main control platform can determine that the touch operation is an operation performed by the user on the external access platform through the sub-window, that is, the object of the touch operation is the external access platform.
[0055] The touch operation control method provided in the embodiment of the present application obtains the touch coordinates corresponding to the touch operation and the first area coordinates corresponding to the external platform input screen through the main control platform. When it is determined that the touch point is located within the display area of the external platform input screen based on the touch coordinates and the first area coordinates, the main control platform determines that the object of the touch operation is the external access platform. It can accurately judge whether the object of the touch operation is the external access platform, thereby facilitating the control of the touch operation.
[0056] As shown in FIG4 , in one embodiment, the main control platform sends touch data to the external access platform through the touch module, so that the external access platform responds according to the touch data, including S41-S42:
[0057] S41: The main control platform obtains the area size corresponding to the external platform input screen and the resolution of the external access platform, wherein the area size represents the size of the display area of the external platform input screen.
[0058] In the application, since the above-mentioned touch data may be different data for the above-mentioned main control platform and the above-mentioned external access platform, when the above-mentioned main control platform sends the above-mentioned touch data to the above-mentioned external access platform through the touch module, the above-mentioned touch data needs to be converted so that the above-mentioned touch data corresponds to the above-mentioned external access platform. The above-mentioned main control platform obtains the area size corresponding to the external platform input screen, which can be that when the above-mentioned sub-window is in the open state, the above-mentioned main control platform determines the area size corresponding to the above-mentioned external platform input screen based on the display area of the above-mentioned external platform input screen on the touch screen. The above-mentioned area size represents the size of the display area of the above-mentioned external platform input screen on the touch screen. The above-mentioned resolution can be the resolution of the screen of the above-mentioned external access platform.
[0059] S42 , the main control platform converts the touch data according to the area size and resolution, and sends the converted touch data to the external access platform through the touch module, so that the external access platform responds according to the converted touch data.
[0060] In an application, the main control platform converts the touch data based on the area size and resolution. This may be the case where the main control platform converts the touch data based on the area size and resolution into data corresponding to the external access platform. The touch module sends the converted touch data to the external access platform via the USB1 interface. The touch module then sends the converted touch data to the external access platform via the USB2 interface, so that the external access platform responds based on the converted touch data.
[0061] The touch operation control method provided in the embodiment of the present application obtains the area size corresponding to the input screen of the external platform and the resolution of the external access platform through the main control platform, converts the touch data according to the area size and resolution, and sends the converted touch data to the external access platform through the touch module, thereby ensuring the normal response of the external access platform.
[0062] S24: If the main control platform determines that the object of the touch operation is the main control platform, the main control platform responds according to the touch data.
[0063] In the application, if the main control platform determines that the object of the touch operation is the main control platform, the main control platform responds according to the touch data. It can be that if the main control platform determines that the touch operation is an operation performed directly by the user on the main control platform, the main control platform determines that the object of the touch operation is the main control platform, and the main control platform responds directly according to the touch data.
[0064] The touch operation control method provided in the embodiment of the present application obtains touch data corresponding to the user's touch operation through the touch module. When the sub-window of the external access platform is in an open state, the touch module sends the touch data to the main control platform, and the main control platform determines the object of the touch operation. If the object of the touch operation is the external access platform, the main control platform sends the touch data to the external access platform through the touch module, so that the external access platform responds according to the touch data. If the object of the touch operation is the main control platform, the main control platform directly responds according to the touch data, which enables the user to perform touch operations on the external access device without switching touch channels, realizes touch reuse in multi-platform scenarios, simplifies the control process of touch operations, and improves user experience.
[0065] As shown in FIG. 5 , in one embodiment, the touch operation control system further includes a control menu module 104 , which is connected to the touch module 101 .
[0066] In application, the control menu module 104 may be an OSD (on-screen display) module, and the control menu module 104 may be connected to the touch module 101 via a UART serial port.
[0067] As shown in FIG6 , in one embodiment, the touch operation control method further includes S61-S62:
[0068] S61: When the control menu corresponding to the control menu module is in an open state, the touch module sends touch data to the control menu module.
[0069] In the application, the control menu can be set through the control menu module and can be opened and displayed on the touch screen to adjust the image, sound and other functions of the touch screen. When the control menu corresponding to the control menu module is in the open state, the touch module sends touch data to the control menu module. This can be after the user calls up the control menu through a button or remote control, the control menu module sends a command to the touch module through the UART serial port. This command requires the control menu module and the touch module to agree on it. The touch module closes the communication of the USB1 and USB2 interfaces and sends the touch data to the control menu module through the UART serial port. The control menu module reads the touch data from the UART serial port and parses it into a touch event that it can recognize, and determines whether the object of the touch operation is the control menu.
[0070] S62: If the control menu module determines that the object of the touch operation is the control menu, the control menu module responds according to the touch data.
[0071] In the application, if the control menu module determines that the object of the touch operation is the control menu, the control menu module responds according to the touch data. Alternatively, if the control menu module determines that the touch operation is an operation performed by the user on the control menu, the control menu module determines that the object of the touch operation is the control menu, and the control menu module responds according to the touch data.
[0072] As shown in FIG7 , in one embodiment, the control menu module determines that the object of the touch operation is a control menu, including S71-S73:
[0073] S71: Control the menu module to obtain touch coordinates corresponding to the touch operation based on the touch data, wherein the touch coordinates represent the position of the touch point corresponding to the touch operation.
[0074] In an application, the control menu module obtains the touch coordinates corresponding to the touch operation based on the touch data. This can be done by the touch module sending the touch data to the control menu module, whereupon the control menu module determines the touch coordinates from the touch data. The touch coordinates represent the location of the touch point corresponding to the touch operation on the touch screen.
[0075] S72: The control menu module obtains the second area coordinates corresponding to the control menu, wherein the second area coordinates represent the position of the display area of the control menu.
[0076] In an application, the control menu module obtains the second region coordinates corresponding to the control menu. This may be determined by the control menu module based on the display region of the control menu on the touch screen when the control menu is open. The second region coordinates represent the position of the display region of the control menu on the touch screen.
[0077] S73: When it is determined according to the touch coordinates and the second area coordinates that the touch point is located within the display area of the control menu, the control menu module determines that the object of the touch operation is the control menu.
[0078] In the application, when the touch point is determined to be within the display area of the control menu based on the touch coordinates and the second area coordinates, the control menu module determines that the object of the touch operation is the control menu. If the touch coordinates are included in the range of the second area coordinates, it can be determined that the touch point corresponding to the touch operation is within the display area of the control menu. At this time, the control menu module can determine that the touch operation is an operation performed by the user on the control menu, that is, the object of the touch operation is the control menu.
[0079] The touch operation control method provided in the embodiment of the present application obtains the touch coordinates corresponding to the touch operation and the second area coordinates corresponding to the control menu through the control menu module. When it is determined that the touch point is located within the display area of the control menu based on the touch coordinates and the second area coordinates, the control menu module determines that the object of the touch operation is the control menu. It can accurately judge whether the object of the touch operation is the control menu, thereby facilitating the control of the touch operation.
[0080] In one embodiment, the touch operation control method further includes: when it is determined according to the touch coordinates and the second area coordinates that the touch point is outside the display area of the control menu, the control menu module closes the control menu.
[0081] In the application, when the touch point is determined to be outside the display area of the control menu based on the touch coordinates and the second area coordinates, the control menu module closes the control menu. If the touch coordinates are not included in the range of the second area coordinates, it can be determined that the touch point corresponding to the touch operation is outside the display area of the control menu. At this time, the control menu module can determine that the touch operation is not an operation performed by the user on the control menu, that is, the object of the touch operation is not the control menu. Then the control menu module closes the control menu and sends a command to the touch module to open the communication of the USB1 and USB2 interfaces. At this time, the control menu module does not read the touch data sent by the UART serial port.
[0082] In one embodiment, the main control platform determines that the object of the touch operation is the main control platform, including: when the control menu is in a closed state, if the touch point is determined to be outside the display area of the external platform input screen based on the touch coordinates and the first area coordinates, the main control platform determines that the object of the touch operation is the main control platform.
[0083] In the application, when the control menu is in the closed state, if the touch point is determined to be outside the display area of the external platform input screen based on the touch coordinates and the first area coordinates, the main control platform determines that the object of the touch operation is the main control platform. It can be that when the control menu is in the closed state, if the touch coordinates are not included in the range of the first area coordinates, it can be determined that the touch point corresponding to the touch operation is outside the display area of the external platform input screen. At this time, the main control platform can determine that the touch operation is an operation performed directly by the user on the above-mentioned main control platform, that is, the object of the above-mentioned touch operation is the above-mentioned main control platform.
[0084] As shown in FIG8 , in one embodiment, the touch operation control method further includes S81-S82:
[0085] S81. When the sub-window and the control menu are both closed, the touch module sends touch data to the main control platform.
[0086] S82. The main control platform responds according to the touch data.
[0087] In an application, when both the sub-window and the control menu are closed, the touch module sends touch data to the main control platform. Alternatively, when neither the sub-window nor the control menu is open on the touch screen, the main control platform is assumed to be the target of the touch operation. The touch module sends the touch data to the main control platform via the USB1 interface according to standard HID events, allowing the main control platform to respond based on the touch data. Since the sub-window is not open at this time, the USB2 interface is inoperative.
[0088] The touch operation control method provided in the embodiment of the present application is such that when the control menu corresponding to the control menu module is in an open state, the touch module sends touch data to the control menu module; if the control menu module determines that the object of the touch operation is the control menu, the control menu module responds according to the touch data; if the control menu module determines that the object of the touch operation is not the control menu, the control menu module closes the control menu; when both the sub-window and the control menu are closed, the main control platform directly responds according to the touch data, thereby further improving the convenience and practicality of the touch operation control method.
[0089] The touch operation control system provided in this application is exemplarily described below with reference to the accompanying drawings.
[0090] Corresponding to the touch operation control method described in the above embodiment, as shown in FIG1 , this embodiment provides a touch operation control system, which includes a touch module 101, a main control platform 102, and at least one external access platform 103. Both the main control platform 102 and the external access platform 103 are connected to the touch module 101. The main control platform 102 is provided with a sub-window, wherein the sub-window is used to implement touch interaction between the main control platform 102 and the external access platform 103.
[0091] As shown in FIG. 5 , in one embodiment, the touch operation control system further includes a control menu module 104 , which is connected to the touch module 101 .
[0092] It should be noted that the information interaction, execution process, etc. between the above-mentioned modules / platforms are based on the same concept as the method embodiment of this application. Their specific functions and technical effects can be found in the method embodiment section and will not be repeated here.
[0093] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the system can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0094] An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.
[0095] In applications, the processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0096] The present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, it can implement the steps of the above-mentioned various method embodiments. The computer program includes computer program code, which can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include at least: any entity or device that can carry the computer program code to an electronic device, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electric carrier signal, a telecommunication signal and a software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk.
[0097] In the above embodiments, the description of each embodiment has its own focus. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant description of other embodiments.
[0098] Those skilled in the art will appreciate that the devices and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0099] In the embodiments provided herein, it should be understood that the disclosed devices and methods may be implemented in other ways. For example, the device embodiments described above are merely illustrative. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interface, or the devices may be indirectly coupled or communicated in some manner, whether electrical, mechanical, or other.
[0100] The above-described embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present application, and should all be included in the scope of protection of the present application.
Claims
1. A touch operation control method, applied to a touch operation control system, the touch operation control system comprising a touch module, a main control platform and at least one external access platform, the main control platform and the external access platform are both connected to the touch module; the main control platform is provided with a sub-window, wherein: The sub-window is used to implement touch interaction between the main control platform and the external access platform; The touch operation control method comprises: The touch module acquires touch data corresponding to the user's touch operation; When the sub-window is in an open state, the touch module sends the touch data to the main control platform; If the main control platform determines that the object of the touch operation is the external access platform, the main control platform sends the touch data to the external access platform through the touch control module, so that the external access platform responds according to the touch data; If the main control platform determines that the object of the touch operation is the main control platform, the main control platform responds according to the touch data.
2. The touch operation control method according to claim 1, wherein: The sub-window includes a sub-window menu bar and an external platform input screen; The main control platform determines that the object of the touch operation is the external access platform, including: The main control platform acquires touch coordinates corresponding to the touch operation according to the touch data, wherein the touch coordinates represent the position of the touch point corresponding to the touch operation; The main control platform acquires first area coordinates corresponding to the external platform input screen, wherein the first area coordinates represent a position of a display area of the external platform input screen; When it is determined according to the touch coordinates and the first area coordinates that the touch point is located within the display area of the external platform input screen, the main control platform determines that the object of the touch operation is the external access platform.
3. The touch operation control method according to claim 1, wherein: The main control platform sends the touch data to the external access platform through the touch control module, so that the external access platform responds according to the touch data, including: The main control platform obtains the area size corresponding to the external platform input screen and the resolution of the external access platform, wherein the area size represents the size of the display area of the external platform input screen; The main control platform converts the touch data according to the area size and the resolution, and sends the converted touch data to the external access platform through the touch control module, so that the external access platform responds according to the converted touch data.
4. The touch operation control method according to claim 2, wherein the touch operation control system further comprises a control menu module, and the control menu module is connected to the touch module; The touch operation control method further includes: When the control menu corresponding to the control menu module is in an open state, the touch control module sends the touch data to the control menu module; If the control menu module determines that the object of the touch operation is the control menu, the control menu module responds according to the touch data.
5. The touch operation control method according to claim 4, wherein: The control menu module determines that the object of the touch operation is the control menu, including: The control menu module acquires touch coordinates corresponding to the touch operation according to the touch data, wherein the touch coordinates represent the position of the touch point corresponding to the touch operation; The control menu module acquires second area coordinates corresponding to the control menu, wherein the second area coordinates represent a position of a display area of the control menu; When it is determined according to the touch coordinates and the second area coordinates that the touch point is located in the display area of the control menu, the control menu module determines that the object of the touch operation is the control menu.
6. The touch operation control method according to claim 5, further comprising: When it is determined according to the touch coordinates and the second area coordinates that the touch point is outside the display area of the control menu, the control menu module closes the control menu.
7. The touch operation control method according to claim 4, wherein: The main control platform determines that the object of the touch operation is the main control platform, including: When the control menu is in a closed state, if it is determined according to the touch coordinates and the first area coordinates that the touch point is outside the display area of the external platform input screen, the main control platform determines that the object of the touch operation is the main control platform.
8. The touch operation control method according to claim 4, further comprising: When the sub-window and the control menu are both in a closed state, the touch module sends the touch data to the main control platform; The main control platform responds according to the touch data.
9. A touch operation control system, comprising a touch module, a main control platform and at least one external access platform, wherein both the main control platform and the external access platform are connected to the touch module; the main control platform is provided with a sub-window; in, The touch module is used to obtain touch data corresponding to the user's touch operation and send the touch data to the main control platform; The main control platform is used to send the touch data to the external access platform through the touch module if the object of the touch operation is the external access platform, so that the external access platform responds according to the touch data; if the object of the touch operation is the main control platform, respond according to the touch data; The sub-window is used to implement touch interaction between the main control platform and the external access platform.
10. The touch operation control system according to claim 9, wherein: The sub-window includes the sub-window menu bar and the external platform input screen; The main control platform is specifically used for: Acquire, according to the touch data, touch coordinates corresponding to the touch operation, wherein the touch coordinates represent a position of a touch point corresponding to the touch operation; Acquire first area coordinates corresponding to the external platform input screen, wherein the first area coordinates represent a position of a display area of the external platform input screen; When it is determined according to the touch coordinates and the first area coordinates that the touch point is located within the display area of the external platform input screen, it is determined that the object of the touch operation is the external access platform.
11. The touch operation control system according to claim 9, wherein: The main control platform is specifically used for: Acquire the area size corresponding to the external platform input screen and the resolution of the external access platform, wherein the area size represents the size of the display area of the external platform input screen; The touch data is converted according to the area size and the resolution, and the converted touch data is sent to the external access platform through the touch control module, so that the external access platform responds according to the converted touch data.
12. The touch operation control system according to claim 10, further comprising a control menu module, wherein the control menu module is connected to the touch control module; The touch module is specifically used for: When the control menu corresponding to the control menu module is in an open state, sending the touch data to the control menu module; The control menu module is used to respond according to the touch data if it is determined that the object of the touch operation is the control menu.
13. The touch operation control system according to claim 12, wherein: The control menu module is specifically used for: Acquire, according to the touch data, touch coordinates corresponding to the touch operation, wherein the touch coordinates represent a position of a touch point corresponding to the touch operation; Acquire second area coordinates corresponding to the control menu, wherein the second area coordinates represent a position of a display area of the control menu; When it is determined according to the touch coordinates and the second area coordinates that the touch point is located in the display area of the control menu, it is determined that the object of the touch operation is the control menu.
14. The touch operation control system according to claim 13, wherein: The control menu module is further configured to close the control menu when it is determined according to the touch coordinates and the second area coordinates that the touch point is outside the display area of the control menu.
15. The touch operation control system according to claim 12, wherein: The main control platform is specifically used for: When the control menu is in a closed state, if it is determined according to the touch coordinates and the first area coordinates that the touch point is outside the display area of the external platform input screen, it is determined that the object of the touch operation is the main control platform.
16. The touch operation control system according to claim 12, wherein the touch module is further configured to send the touch data to the main control platform when the sub-window and the control menu are both in a closed state; The main control platform is also used to respond according to the touch data.
17. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the touch operation control method according to any one of claims 1 to 8 is implemented.
Citation Information
Patent Citations
Mobile game development device and method
CN103870284A
Touch information processing method, apparatus, equipment, and storage medium
CN109144396A
Method, system and device for controlling equipment, storage medium and electronic equipment
CN115620503A
Touch operation control method and system and computer readable storage medium
CN117111824A
Touch platform and household appliance interaction system
CN210091139U