WO2019205634A1 - Touch control method and device for smart interactive tablet and smart interactive tablet - Google Patents
Touch control method and device for smart interactive tablet and smart interactive tablet Download PDFInfo
- Publication number
- WO2019205634A1 WO2019205634A1 PCT/CN2018/118470 CN2018118470W WO2019205634A1 WO 2019205634 A1 WO2019205634 A1 WO 2019205634A1 CN 2018118470 W CN2018118470 W CN 2018118470W WO 2019205634 A1 WO2019205634 A1 WO 2019205634A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- touch
- tablet
- information
- touch operation
- mirror image
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0416—Control or interface arrangements specially adapted for digitisers
Definitions
- the invention relates to the field of intelligent interactive tablet technology, in particular to a touch control method and device for a smart interactive tablet, a smart interaction tablet and a storage medium.
- the smart interactive tablet is an integrated device that controls the content displayed on the display tablet and implements human-computer interaction operation through the touch technology.
- the inventor has found that in the related art, when the user needs to operate the content displayed by the smart interactive tablet, the user needs to be close to the smart interactive tablet, and can operate through the touch screen of the smart interactive tablet, when the user is away from the smart When the interactive tablet is far away, or when multiple people need to operate the content, the operation efficiency is low.
- a touch control method for a smart interactive tablet includes:
- the touch operation information includes a type of the touch operation and the first position
- the touch operation is a touch operation of the tablet mirror image displayed on the touch terminal, and the flat mirror image is Corresponding to the display interface of the smart interaction tablet, the first location is a working position of the touch operation in the tablet mirror image
- the method further includes:
- the method further includes:
- the first service is configured to acquire a display interface of the smart interaction tablet, and send the display interface information to the touch terminal.
- the second service is configured to receive touch operation information sent by the touch terminal, store the touch operation information to a preset drive file, and read the touch operation information from the drive file, on the smart interaction tablet. The corresponding touch response is displayed in the display interface.
- the displaying the corresponding touch response in the display interface of the smart interaction tablet includes:
- An execution response to the touch event is displayed in a display interface of the smart interactive tablet.
- the driver file is a uinput file
- the type of the touch operation includes one or more of clicking, holding, dragging, and sliding.
- the action position includes: a first relative position of the touch point abscissa corresponding to the touch operation relative to a length of the tablet mirror image, and a touch point ordinate corresponding to the touch operation a second relative position of the width of the screen image relative to the tablet;
- the abscissa and the ordinate of the touch point refer to a preset XY coordinate system, the horizontal axis of the XY coordinate system coincides with the length direction of the flat mirror image, and the vertical axis of the XY coordinate system and the flat plate The width direction of the mirror image is coincident, and an origin of the XY coordinate system is a vertex of the flat mirror image;
- the determining the second location includes:
- the second position in the smart interactive flat panel display interface is determined according to the position information in the length direction and the position information in the width direction.
- the method before receiving the instruction for requesting touch control sent by the touch terminal, before starting the preset first service and the second service, the method further includes:
- Detecting an operation instruction for initiating remote touch control generating an information code, where the information code includes connection information of the smart interaction tablet;
- the information code is displayed on the smart interactive tablet display interface. After the information code is recognized by the touch terminal, the touch terminal can be triggered to establish a communication connection with the smart interaction tablet.
- the information code comprises a two-dimensional code
- connection information includes: network information of the smart interaction tablet and communication port information.
- a touch control method for a smart interactive tablet includes:
- a touch operation is performed on the tablet mirror image displayed by the touch terminal, where the tablet mirror image corresponds to the display interface of the smart interaction tablet;
- the touch operation information includes a type of the touch operation and a first location; the touch operation information is used to trigger the smart interaction tablet to display a corresponding display in the display interface thereof.
- a touch response is determined according to a type of the touch operation and a second location, the second location being determined according to the first location.
- the method further includes:
- a tablet mirror screen is displayed, and the tablet mirror screen is obtained based on the display interface information.
- the manner of determining the relative position comprises:
- an abscissa and an ordinate of the touch point included in the touch operation in the flat mirror image wherein the abscissa and the ordinate of the touch point refer to a preset XY coordinate system, and the horizontal axis of the XY coordinate system a longitudinal direction of the flat mirror image, wherein a vertical axis of the XY coordinate system coincides with a width direction of the flat mirror image, and an origin of the XY coordinate system is a vertex of the flat mirror image;
- the method before receiving the display interface information sent by the smart interaction tablet, the method further includes:
- a touch control device for an intelligent interactive tablet includes:
- the touch information receiving module is configured to receive the touch operation information sent by the touch terminal, where the touch operation information includes a type of the touch operation and the first position; and the touch operation is a touch on the tablet mirror image displayed by the touch terminal
- the tablet mirroring screen corresponds to a display interface of the smart interaction tablet
- the first location is a working position of the touch operation in the tablet mirroring screen
- Touching the information storage module configured to store the touch operation information to a preset driving file, where the driving file is used to control a touch input function of the smart interaction tablet;
- a touch response module configured to read the touch operation information from the drive file, and display a corresponding touch response in a display interface of the smart interaction tablet; the touch response is according to the type of the touch operation and the second The position is determined, and the second position is determined according to the first position.
- the method further includes:
- the display interface sending module is configured to obtain display interface information of the smart interaction tablet, and send the display interface information to the touch terminal to display a tablet mirror image on the touch terminal.
- the action position includes: a first relative position of the touch point abscissa corresponding to the touch operation relative to a length of the tablet mirror image, and a touch point ordinate corresponding to the touch operation a second relative position of the width of the screen image relative to the tablet;
- the abscissa and the ordinate of the touch point refer to a preset XY coordinate system, the horizontal axis of the XY coordinate system coincides with the length direction of the flat mirror image, and the vertical axis of the XY coordinate system and the flat plate The width direction of the mirror image is coincident, and an origin of the XY coordinate system is a vertex of the flat mirror image;
- the touch response module includes:
- a position determining unit configured to obtain position information in a length direction according to the first relative position and a length of the smart interactive flat panel display interface; and obtain a position in a width direction according to the second relative position and a width of the smart interactive flat display interface Information; determining the second position in the smart interactive flat panel display interface according to the position information in the length direction and the position information in the width direction.
- a touch control device for an intelligent interactive tablet includes:
- a touch detection module configured to detect a touch operation of a tablet mirror image displayed on the touch terminal, where the tablet mirror image corresponds to a display interface of the smart interaction tablet;
- a touch information determining module configured to determine a type of the touch operation and a first location, where the first location is a working position of the touch operation in the tablet mirror image;
- a touch information sending module configured to send the touch operation information to the smart interaction tablet, where the touch operation information includes a type of the touch operation and a first location; the touch operation information is used to trigger a smart interaction
- the tablet displays a corresponding touch response in its display interface, the touch response being determined according to the type of the touch operation and the second position, the second position being determined according to the first position.
- the touch control method and device of the smart interactive tablet the user touches the displayed tablet mirror image on the touch terminal side, and the touch operation information is sent to the smart interaction tablet, and the smart interaction tablet stores the received touch operation information.
- the touch operation information is read from the drive file to the preset drive file, so that the touch response corresponding to the touch operation of the touch terminal is displayed in the display interface of the smart interaction tablet.
- an intelligent interaction tablet includes: a memory, a touch screen with a touch function, and one or more processors;
- the memory for storing one or more programs
- the one or more programs are executed by the one or more processors such that the one or more processors implement the steps of the method described above.
- a touch terminal includes: a memory, a touch screen with a touch function, and one or more processors;
- the memory for storing one or more programs
- the one or more programs are executed by the one or more processors such that the one or more processors implement the steps of the method described above.
- the smart interactive tablet and the touch terminal realize remote touch operation on the smart interactive tablet through the touch terminal by using one or more programs stored in the memory, and the touch operation effect and the touch operation on the smart interaction tablet
- the effect is consistent, user-friendly, and improved operational efficiency.
- a computer readable storage medium having stored thereon a computer program that, when executed by a processor, implements the steps of any of the above methods.
- the computer storage medium realizes a remote touch operation on the smart interaction tablet through the touch terminal through the computer program stored therein, and the touch operation effect is consistent with the effect of the touch operation performed on the smart interaction tablet, facilitating user operation and improving Operational efficiency.
- FIG. 1 is an application environment diagram of a touch control method of a smart interaction tablet in an embodiment
- FIG. 2 is a schematic diagram of a display interface of an intelligent interactive tablet according to an embodiment
- FIG. 3 is a schematic diagram of a tablet mirror image displayed by a touch terminal according to an embodiment
- FIG. 4 is a schematic flowchart of a touch control method of an intelligent interaction tablet according to an embodiment
- FIG. 5 is a schematic diagram of a smart interactive tablet displaying touch traces according to an embodiment
- FIG. 6 is a schematic diagram of a smart interactive tablet displaying touch traces according to another embodiment
- FIG. 7 is a schematic flowchart of a touch control method of a smart interaction tablet according to another embodiment
- FIG. 8 is a schematic diagram of an X-Y coordinate system of a touch terminal according to an embodiment
- FIG. 9 is a schematic flowchart of a touch control method of a smart interaction tablet according to still another embodiment.
- FIG. 10 is a schematic structural diagram of a touch control apparatus of an intelligent interactive tablet according to an embodiment
- FIG. 11 is a schematic structural diagram of a touch control device of a smart interaction tablet according to another embodiment
- FIG. 12 is an internal structural diagram of a smart interaction tablet in an embodiment
- FIG. 13 is an internal structural diagram of a touch terminal in an embodiment.
- references to "an embodiment” herein mean that a particular feature, structure, or characteristic described in connection with the embodiments can be included in at least one embodiment of the present application.
- the appearances of the phrases in various places in the specification are not necessarily referring to the same embodiments, and are not exclusive or alternative embodiments that are mutually exclusive. Those skilled in the art will understand and implicitly understand that the embodiments described herein can be combined with other embodiments.
- the touch control method of the smart interaction tablet provided by the present application can be applied to the application environment as shown in FIG. 1 .
- the one or more touch terminals 100 are communicatively connected to the smart interaction tablet 200.
- the touch terminal 100 can be, but is not limited to, various personal computers, notebook computers, smart phones, tablets, and portable wearable devices.
- the smart interactive tablet 200 can control and implement the content displayed on the display screen through touch technology.
- An integrated device for human-computer interaction which integrates one or more functions such as a projector, an electronic whiteboard, a curtain, an audio, a television, and a video conferencing terminal.
- the communication connection between the touch terminal 100 and the smart interaction tablet 200 may be a communication method such as USB, Internet, local area network, Bluetooth, Wi-Fi or ZigBee.
- the display interface information is sent to each touch terminal, so that each touch terminal displays a flat panel mirror image corresponding to the display interface of the interactive smart tablet on the display screen thereof.
- the display interface of the smart interactive tablet may be a display interface of the smart interactive tablet, or may be an actual screen displayed in the display of the smart interactive tablet, the actual screen being less than or equal to the display interface.
- the aspect ratio of the flat-panel mirror image displayed by the touch terminal and the aspect ratio of the display interface of the smart interactive tablet need to be consistent; on the other hand, the aspect ratio of the flat-panel mirror image displayed by the touch terminal, It does not need to be exactly the same as the aspect ratio of the display of the touch terminal.
- the display interface of the smart interaction tablet 200 and the tablet mirror image displayed by the touch terminal 100 can be respectively referred to FIG. 2 and FIG. 3 .
- the touch operation of the touch panel 100 on the tablet mirror screen is mapped to the display interface of the smart interaction panel 200, for example, the user is at the touch terminal.
- the 100 side performs a sliding operation on the flat mirror image, and correspondingly, a sliding response corresponding to the sliding operation appears in the display interface of the smart interactive tablet 200.
- the touch terminal 100 can serve as a client
- the smart interaction tablet 200 can serve as a server; in general, the client corresponding to the server can have one or more, and is set according to a specific application scenario. The example is not limited.
- the touch terminal 100 and/or the smart interaction tablet 200 are installed with application software for implementing remote touch control, and the application software may be pre-installed in the touch terminal 100 and/or the smart interaction tablet 200, or
- the touch terminal 100 and/or the smart interactive tablet 200 initiates the remote touch control function, the device is downloaded and installed and used in real time from a third-party device or server.
- the third-party device is not limited in the embodiment.
- a touch control method for an intelligent interactive tablet is provided, wherein the method is applied to the smart interactive tablet described above as an example; the method includes the following steps:
- the touch operation information includes a type of a touch operation and a first position; the touch operation is a touch operation of a tablet mirror image displayed on the touch terminal, the tablet The mirroring screen corresponds to a display interface of the smart interaction tablet, and the first location is a working position of the touch operation in the tablet mirror image.
- the touch operation of the tablet mirror image displayed on the touch terminal may be any operation of the user on the touch display screen of the touch terminal when the touch panel displays the tablet mirror image.
- the types of touch operations include: click, hold
- the embodiment of the present invention does not limit the touch operation and its type.
- the action position of the touch operation in the tablet mirror image may be a tablet image displayed on the touch terminal by the touch point (one or more touch points) corresponding to the touch operation.
- the actual position in the screen may also be a relative position of the touch point corresponding to the touch operation with respect to the tablet mirror image displayed by the touch terminal, and thus the above-mentioned action position is not necessarily related to the display screen of the touch terminal.
- the manner in which the smart interactive tablet receives the touch operation information sent by the touch terminal may be set according to any specific communication connection manner.
- the driving file for storing the touch operation information may be a default system file for implementing the touch input function in the smart interaction tablet, or other files, whether it is a default system file or other files, and the file is accessed. Permissions are met: Only services that have access to smart interactive tablet system privileges (such as root privileges) can access them.
- the touch input function of the smart interaction tablet is implemented by: detecting a touch operation on the touch screen, and writing the detected touch point information into a system file (the file may be in a system default file, or may have The file created by the user of the system authority obtains the touch operation information by accessing the system file, thereby executing the corresponding touch response, and displaying the corresponding touch response on the display interface.
- the displaying the corresponding touch response in the display interface of the smart interaction tablet may include: displaying the touch trace corresponding to the touch event in the display interface of the smart interaction tablet; and/or displaying the pair on the display interface of the smart interaction tablet The execution response of the touch event.
- the displaying the touch trace corresponding to the touch event in the display interface of the smart interactive tablet includes: performing a hold operation on the tablet mirroring interface of the touch terminal, and correspondingly displaying the display on the display interface of the smart interactive tablet
- An analog hold operation is shown, the effect of which can be seen in Figure 5.
- the user performs a sliding operation in the tablet mirroring interface of the touch terminal.
- an analog sliding operation effect can be displayed on the display interface of the smart interactive tablet.
- the effect can be seen in FIG. 6 .
- the touch trace can also be other situations.
- the touch operation information is read from the drive file, and a corresponding touch response is displayed in a display interface of the smart interaction tablet.
- the touch response is determined according to the type of the touch operation and the second location. The two positions are determined based on the first position.
- the service for controlling the touch input function of the smart interaction tablet has system authority, so the driver file storing the touch operation information can be accessed in real time based on the service, and the touch operation information is read therefrom, and the type of the touch operation is obtained.
- the location generates a touch trace corresponding to the touch operation, and then displays a corresponding touch trace at a corresponding position of the smart interactive flat panel display interface.
- the user performs a touch operation on the displayed tablet mirror image on the touch terminal side, and the touch operation information is sent to the smart interaction tablet, and the smart interaction tablet will receive the touch operation.
- the information is stored in the preset driving file, and the touch operation information is read from the driving file, so that the touch response corresponding to the touch operation of the touch terminal is displayed in the display interface of the smart interactive tablet.
- the touch control method of the smart interaction tablet is further described from the perspective of interaction between the touch terminal and the smart interaction tablet, wherein the touch terminal and the smart interaction tablet have established a communication connection, and the touch
- the related application in the terminal is used as the client
- the related application of the smart interaction tablet is used as the server
- the service running in the remote touch control of the server has the system authority of the intelligent interactive tablet
- the specific process of the touch control method of the intelligent interactive tablet is as follows: :
- the first service is configured to acquire a display interface of the smart interaction tablet, and send the display interface information to the touch terminal;
- the second service is configured to receive touch operation information sent by the touch terminal, and the touch operation is performed.
- the information is stored to a preset driving file, and the touch operation information is read from the driving file, and a corresponding touch response is displayed in a display interface of the smart interactive tablet.
- Step S204 can be performed by using the first service. Because the data volume of the display interface information of the smart interaction tablet is large, the special first service processing is beneficial to ensure the timeliness of the display interface information transmission.
- S205 Receive, on the client side, display interface information sent by the smart interaction tablet, and display a tablet mirror image, where the tablet mirror image is obtained according to the display interface information.
- the touch terminal displays the flat mirror image as much as possible while keeping the aspect ratio of the flat mirror image unchanged. That is, the tablet mirror image displayed on the touch terminal and the display interface of the smart interaction tablet are in a proportionally reduced relationship.
- the touch operation includes a DOWN event, a MOVE event, and an UP event, and the corresponding finger motion is an event of pressing, sliding, and lifting.
- the type of the touch operation includes one or more of clicking, holding, dragging, and sliding. kind.
- the action position of the touch operation in the tablet mirror image specifically includes: a first relative position of the abscissa of the touch point included in the touch operation relative to a length of the tablet mirror image, and The second relative position of the ordinate of the touch point included in the touch operation relative to the width of the flat mirror image.
- the abscissa and the ordinate of the touch point refer to the XY coordinate system
- the horizontal axis of the XY coordinate system coincides with the longitudinal direction of the flat mirror image
- the vertical axis of the XY coordinate system and the flat mirror image The width directions coincide, and the origin of the XY coordinate system is one vertex of the flat mirror image.
- the XY coordinate system is established by the range of the flat mirror image displayed by the final touch terminal, and the vertex of the upper left corner is the origin of the XY coordinate system, and the coordinates of the touch point in the range of the flat mirror image can be Converted to relative coordinates, the advantage is that the accuracy is high, the touch points in the mirror range can correspond to a touch point on the resolution of the tablet, and the resolution of the mirror image will not affect the click effect in order to adapt to the network.
- the X-Y coordinate system can also be established with the other vertices of the range of the flat mirror image displayed by the final touch terminal as the origin.
- the side of the smart interaction tablet also needs to select the origin of the coordinate system in the same way.
- the resolution of the display with the touch terminal is: 1920*width 1200, and the horizontal resolution of the touch terminal is: 1920*width 1080; the user is in the flat mirror image.
- an ID is generated for each touch operation to distinguish multiple touch operations in sequence, or to distinguish multiple touch operations under multi-finger operation, for example, when two fingers perform sliding zooming, touch The operation is two, and an ID is generated for each of the two touch operations.
- the touch operation information sent to the smart interaction tablet further includes corresponding ID information, and then the server returns to the touch on the tablet screen.
- S209 Receive, on the server side, touch operation information sent by the touch terminal, and store the touch operation information to a preset driving file, where the driving file is used to control a touch input function of the smart interaction tablet.
- the driver file is a uinput file.
- the uinput file is a driver file that controls the touch input under the Linux system.
- the system will obtain the touch event information on the touch screen from the file.
- Android is also a Linux system.
- the system permission is required to read and write the file, and the service running on the server is the system.
- the service can write touch information to the uinput file for remote control.
- the second location is determined by:
- the XY coordinate system is established by the display interface of the intelligent interactive tablet, and the vertex of the upper left corner of the display interface is the origin of the XY coordinate system, and the horizontal axis of the XY coordinate system coincides with the length direction of the display interface, and the vertical axis and the display interface of the XY coordinate system The width direction coincides.
- the touch terminal sends the touch operation information to the smart interactive tablet, the amount of data transmitted is reduced relative to the manner in which the touch terminal directly displays the image, which is also advantageous for reducing the delay on the display;
- the way in which the touch operation information is written to the drive file enables a more realistic simulation of the screen touch event on the smart interactive tablet.
- the touch terminal may be a mobile phone
- the smart interaction tablet may be a conference tablet; correspondingly, when multiple users participate in the conference, connect to the conference tablet through respective mobile phones, based on the connection, through the foregoing embodiment
- the touch operation of the user's mobile phone end can be reflected on the smart interactive tablet, and the user can touch and operate the conference tablet on the mobile phone, including clicking, dragging, sliding, etc., which facilitates the user operation and improves the conference effect.
- the touch terminal and the smart interactive tablet communication connection need to be established.
- the connection may be established by: the server detects an operation instruction for starting the remote touch control, and generates an information code.
- the information code includes the connection information of the smart interaction tablet; the information code is displayed on the display interface of the smart interaction tablet; the user identifies the information code through the touch terminal, and the information code can be recognized by the touch terminal.
- the touch terminal is triggered to establish a communication connection with the smart interaction tablet.
- the information code includes a two-dimensional code; the user scans and recognizes the two-dimensional code through the touch terminal, thereby acquiring a communication connection of the smart interaction tablet, and establishing a communication connection between the touch terminal and the smart interaction tablet. No need for users to manually enter connection information to improve operational efficiency.
- connection information includes: network information of the smart interaction tablet and communication port information, where the network information includes local area network information, hotspot IP information, hotspot SSID, hotspot SSID password, and the like;
- the SSID and the hotspot SSID password are the network hotspot information provided by the smart interaction tablet.
- the connection information may further include version information of the two-dimensional code, which is convenient for future expansion.
- the process of the communication connection between the touch terminal and the smart interaction tablet may include: the touch terminal scans and recognizes the two-dimensional code, determines the content analysis mode by using the version number, and parses the connection information of the smart interaction tablet. If the touch terminal is connected to a WiFi hotspot, first try to establish a remote control connection with the smart interaction tablet using the LAN IP and service port number; if the touch terminal and the smart interaction tablet are not in the same LAN, the connection fails; further The touch terminal then connects the WiFi hotspot provided by the smart interactive tablet according to the hotspot SSID and the hotspot SSID password, and then establishes a remote control connection with the smart interactive tablet through the hotspot IP and the service port number; after the connection is successful, the touch terminal saves the connection information. Go to the local database, after which remote touch control of the smart interaction tablet can be implemented based on the connection.
- the touch terminal can select different connection modes to establish a communication connection with the smart interaction tablet.
- a touch control method for the smart interaction tablet including the steps of:
- S32 Determine a type of the touch operation and a first location, where the first location is a working position of the touch operation in the tablet mirror image.
- S33 Send touch operation information to the smart interaction tablet, where the touch operation information includes a type of the touch operation and a first location; the touch operation information is used to trigger the smart interaction tablet to display a corresponding display in the display interface thereof.
- a touch response is determined according to a type of the touch operation and a second location, the second location being determined according to the first location.
- the user touches the displayed tablet mirror image on the touch terminal side, and the touch operation information is sent to the smart interaction tablet, and the smart interaction tablet stores the received touch operation information to the preset
- the driving file is configured to read the touch operation information from the driving file, thereby implementing a touch response corresponding to the touch operation of the touch terminal in the display interface of the smart interactive tablet.
- the touch control method further includes: receiving display interface information sent by the smart interaction tablet; displaying a tablet mirror image, wherein the tablet mirror image is obtained according to the display interface information.
- the manner of determining the relative position comprises:
- an abscissa and an ordinate of the touch point included in the touch operation in the flat mirror image wherein the abscissa and the ordinate of the touch point refer to a preset XY coordinate system, and the horizontal axis of the XY coordinate system a longitudinal direction of the flat mirror image, wherein a vertical axis of the XY coordinate system coincides with a width direction of the flat mirror image, and an origin of the XY coordinate system is a vertex of the flat mirror image;
- the method before receiving the display interface information sent by the smart interaction tablet, the method further includes: identifying an information code displayed on the smart interaction tablet display interface, where the information code includes connection information of the smart interaction tablet; The connection information establishes a communication connection with the smart interaction tablet.
- a touch control device of the smart interaction tablet is also provided herein.
- the touch control device of the smart interaction tablet includes:
- the touch information receiving module 410 is configured to receive the touch operation information sent by the touch terminal, where the touch operation information includes a type of the touch operation and the first position; and the touch operation is performed on the tablet mirror image displayed by the touch terminal.
- the tablet mirroring screen corresponds to a display interface of the smart interaction tablet, and the first location is a working position of the touch operation in the tablet mirror image.
- the touch information storage module 420 is configured to store the touch operation information to a preset driving file, where the driving file is used to control a touch input function of the smart interaction tablet.
- a touch response module 430 configured to read the touch operation information from the driving file, and display a corresponding touch response in a display interface of the smart interaction tablet; the touch response is according to the type of the touch operation and The second position is determined, and the second position is determined according to the first position.
- the touch control device further includes: a display interface sending module, configured to acquire display interface information of the smart interaction tablet, and send the display interface information to the touch terminal to display the tablet on the touch terminal Mirror image.
- a display interface sending module configured to acquire display interface information of the smart interaction tablet, and send the display interface information to the touch terminal to display the tablet on the touch terminal Mirror image.
- the action position includes: a first relative position of the touch point abscissa corresponding to the touch operation relative to a length of the tablet mirror image, and a touch point ordinate corresponding to the touch operation is relative to a second relative position of the width of the flat mirror image; wherein the abscissa and the ordinate of the touch point refer to a preset XY coordinate system, and the horizontal axis of the XY coordinate system and the length direction of the flat mirror image The vertical axis of the XY coordinate system coincides with the width direction of the flat mirror image, and the origin of the XY coordinate system is one vertex of the flat mirror image.
- the touch response module 430 includes: a location determining unit, configured to obtain location information in a length direction according to the first relative location and a length of the smart interaction flat panel display interface; and display the second relative location and the smart interaction tablet according to the second relative location
- the width of the interface is obtained as the position information in the width direction; the second position in the smart interactive flat panel display interface is determined according to the position information in the length direction and the position information in the width direction.
- the touch control device of the smart interaction tablet includes:
- the touch detection module 510 is configured to detect a touch operation of a tablet mirror image displayed on the touch terminal, where the tablet mirror image corresponds to a display interface of the smart interaction tablet.
- the touch information determining module 520 is configured to determine a type of the touch operation and a first location, where the first location is a working position of the touch operation in the tablet mirror image.
- the touch information sending module 530 is configured to send touch operation information to the smart interaction tablet, where the touch operation information includes a type of the touch operation and a first location; the touch operation information is used to trigger a smart interaction tablet A corresponding touch response is displayed in its display interface, the touch response being determined according to the type of the touch operation and the second position, the second position being determined according to the first position.
- the touch control device of the smart interaction tablet further includes: an interface receiving and displaying module, configured to receive display interface information sent by the smart interaction tablet; and display a tablet mirror image, wherein the tablet mirror image is according to the The display interface information is obtained.
- the various modules in the touch control device of the smart interactive tablet described above may be implemented in whole or in part by software, hardware, and combinations thereof.
- the above modules may be embedded in the hardware in the processor in the smart interaction tablet, or may be stored in the memory in the smart interaction tablet, so that the processor calls the execution of the corresponding operations of the above modules.
- the logical division of each program module is only an example, and the actual application may be considered according to requirements, for example, for the configuration requirements of the corresponding hardware or the convenience of implementation of the software.
- the function distribution is completed by different program modules, that is, the internal structure of the touch control device of the smart interaction tablet is divided into different program modules to complete all or part of the functions described above.
- an intelligent interaction tablet is provided, and an internal structure diagram of the smart interaction tablet may be as shown in FIG.
- the smart interaction tablet includes a processor connected via a system bus, a memory, a network interface, and a display with touch function.
- the processor of the smart interactive tablet is used to provide computing and control capabilities.
- the memory of the smart interactive tablet includes a non-volatile storage medium and an internal memory.
- the non-volatile storage medium stores an operating system, a computer program, and a database.
- the internal memory provides an environment for operation of an operating system and computer programs in a non-volatile storage medium.
- the database of the smart interaction tablet is used to store a computer program that executes the touch control method of the smart interaction tablet described above.
- the computer program is executed by the processor to implement the touch control method of any of the above intelligent interactive tablets.
- the network interface of the smart interactive tablet is used for communicating with an external terminal (such as a touch terminal) through a network connection.
- the touch screen of the smart interactive tablet can be a capacitive screen, an electromagnetic screen or an infrared screen. In general, the touch screen can receive a touch operation input by a user through a finger or an input device.
- the input device includes but is not limited to: a stylus, an infrared pen, and/or a capacitive pen.
- a smart interaction tablet comprising: a memory, a touch screen having a touch function, and one or more processors; the memory for storing one or more programs; when the one or A plurality of programs are executed by the one or more processors such that the one or more processors implement the steps of a touch control method of any of the smart interactive tablets described above.
- the smart interactive tablet implements a remote touch operation on the smart interaction tablet through the touch terminal by running one or more programs stored in the memory, and the touch operation effect is consistent with the touch operation performed on the smart interaction tablet. It is convenient for users to operate and improve operation efficiency.
- a touch terminal is provided.
- the internal structure of the touch terminal can be as shown in FIG.
- the touch terminal includes a processor connected via a system bus, a memory, a network interface, and a display having a touch function.
- the processor of the touch terminal is used to provide calculation and control capabilities.
- the memory of the touch terminal includes a non-volatile storage medium and an internal memory.
- the non-volatile storage medium stores an operating system, a computer program, and a database.
- the internal memory provides an environment for operation of an operating system and computer programs in a non-volatile storage medium.
- the database of the touch terminal is used to store a computer program for performing the touch control method of the smart interactive tablet described above.
- the computer program is executed by the processor to implement the touch control method of any of the above intelligent interactive tablets.
- the network interface of the touch terminal is used for communicating with an external terminal (for example, a smart interaction tablet) through a network connection.
- the touch screen of the touch terminal can be a capacitive screen, an electromagnetic screen or an infrared screen. In general, the touch screen can receive a touch operation input by a user through a finger or an input device.
- the input device includes but is not limited to: a stylus, an infrared pen, and/or a capacitive pen.
- a touch terminal is provided, a memory, a display having a touch function, and one or more processors; the memory for storing one or more programs; when the one or more The program is executed by the one or more processors such that the one or more processors implement the steps of a touch control method of any of the smart interactive tablets described above.
- the touch terminal implements a remote touch operation on the smart interaction tablet through the touch terminal by running one or more programs stored in the memory, and the touch operation effect is consistent with the touch operation performed on the smart interaction tablet. It is convenient for users to operate and improve operation efficiency.
- FIG. 12 and FIG. 13 are only a block diagram of a part of the structure related to the solution of the present application, and do not constitute a smart interactive tablet or a touch terminal to which the solution of the present application is applied.
- the specific smart interactive tablet and touch terminal may include more or less components than those shown in the figure, or some components may be combined, or have different component arrangements.
- a computer readable storage medium having stored thereon a computer program that, when executed by a processor, implements the steps of a touch control method of any of the smart interactive tablets described above.
- Non-volatile memory can include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory.
- Volatile memory can include random access memory (RAM) or external cache memory.
- RAM is available in a variety of formats, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronization chain.
- SRAM static RAM
- DRAM dynamic RAM
- SDRAM synchronous DRAM
- DDRSDRAM double data rate SDRAM
- ESDRAM enhanced SDRAM
- Synchlink DRAM SLDRAM
- Memory Bus Radbus
- RDRAM Direct RAM
- DRAM Direct Memory Bus Dynamic RAM
- RDRAM Memory Bus Dynamic RAM
- Multiple as referred to herein means two or more. "and/or”, describing the association relationship of the associated objects, indicating that there may be three relationships, for example, A and/or B, which may indicate that there are three cases where A exists separately, A and B exist at the same time, and B exists separately.
- the character "/" generally indicates that the contextual object is an "or" relationship.
- first ⁇ second is merely an object that distinguishes similar objects, and does not represent a specific ordering for objects. It is understandably that “first ⁇ second” can be interchanged if allowed. Order or order. It is to be understood that the “first ⁇ second” distinguished objects may be interchanged as appropriate to enable the embodiments described herein to be carried out in a sequence other than those illustrated or described herein.
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The present invention relates to a touch control method and device for a smart interactive tablet, a smart interactive tablet and a storage medium, which are applied to the field of smart terminals. The method comprises: receiving touch operation information sent by a touch control terminal, and storing the touch operation information in a preset drive file, the drive file being used to control touch input functions of a smart interactive tablet; reading the touch operation information from the drive file, and displaying a corresponding touch response in a display interface of the smart interactive tablet. The present invention may overcome the problem wherein the efficiency of touch operations of a smart interactive tablet is low and provide more convenience for a user operating the smart interactive tablet.
Description
本发明涉及智能交互平板技术领域,特别是涉及智能交互平板的触摸控制方法、装置、智能交互平板以及存储介质。The invention relates to the field of intelligent interactive tablet technology, in particular to a touch control method and device for a smart interactive tablet, a smart interaction tablet and a storage medium.
随着人机交互技术的发展,越来越多的便利人们生活和/或工作的设备应用而生,例如,智能交互平板。智能交互平板为通过触控技术对显示在显示平板上的内容进行操控和实现人机交互操作的一体化设备。With the development of human-computer interaction technology, more and more devices that facilitate people's lives and/or work are born, for example, smart interactive tablets. The smart interactive tablet is an integrated device that controls the content displayed on the display tablet and implements human-computer interaction operation through the touch technology.
在实现本发明的过程中,发明人发现:在相关技术中,当用户需要操作智能交互平板显示的内容时,用户需要靠近智能交互平板,通过智能交互平板的触摸屏才能进行操作,当用户距离智能交互平板较远,或者多人需要操作所述内容时,操作效率较低。In the process of implementing the present invention, the inventor has found that in the related art, when the user needs to operate the content displayed by the smart interactive tablet, the user needs to be close to the smart interactive tablet, and can operate through the touch screen of the smart interactive tablet, when the user is away from the smart When the interactive tablet is far away, or when multiple people need to operate the content, the operation efficiency is low.
发明内容Summary of the invention
基于此,有必要针对现有方式对智能交互平板触摸操作效率较低的问题,提供一种智能交互平板的触摸控制方法、装置、智能交互平板和存储介质。Based on this, it is necessary to provide a touch control method, device, intelligent interaction tablet and storage medium of the smart interaction tablet for the problem that the smart interaction tablet touch operation is less efficient in the existing manner.
本发明实施例提供的方案包括:The solution provided by the embodiment of the present invention includes:
一方面提供,一种智能交互平板的触摸控制方法,包括:In one aspect, a touch control method for a smart interactive tablet includes:
接收触控终端发送的触摸操作信息,所述触摸操作信息中包括触摸操作的类型以及第一位置;所述触摸操作是作用于触控终端显示的平板镜像画面的触摸操作,所述平板镜像画面与智能交互平板的显示界面对应,所述第一位置为所述触摸操作在所述平板镜像画面中的作用位置;Receiving the touch operation information sent by the touch terminal, where the touch operation information includes a type of the touch operation and the first position; the touch operation is a touch operation of the tablet mirror image displayed on the touch terminal, and the flat mirror image is Corresponding to the display interface of the smart interaction tablet, the first location is a working position of the touch operation in the tablet mirror image;
将所述触摸操作信息存储至预设的驱动文件,所述驱动文件用于控制智能交互平板的触摸输入功能;And storing the touch operation information to a preset driving file, where the driving file is used to control a touch input function of the smart interaction tablet;
从所述驱动文件中读取所述触摸操作信息,在智能交互平板的显示界面中显示对应的触摸响应;所述触摸响应根据所述触摸操作的类型以及第二位置确定,所述第二位置根据所述第一位置确定。Reading the touch operation information from the drive file, displaying a corresponding touch response in a display interface of the smart interaction tablet; the touch response is determined according to the type of the touch operation and the second position, the second position Determined according to the first location.
在其中一个实施例中,还包括:In one embodiment, the method further includes:
获取智能交互平板的显示界面信息;Obtaining display interface information of the smart interaction tablet;
向触控终端发送所述显示界面信息,以在所述触控终端显示平板镜像画面。Sending the display interface information to the touch terminal to display a tablet mirror image on the touch terminal.
在其中一个实施例中,还包括:In one embodiment, the method further includes:
接收到触控终端发送的请求触摸控制的指令,启动预设的第一服务和第二服务;Receiving an instruction for requesting touch control sent by the touch terminal, starting the preset first service and the second service;
所述第一服务用于获取所述智能交互平板的显示界面,向触控终端发送所述显示界面信 息;The first service is configured to acquire a display interface of the smart interaction tablet, and send the display interface information to the touch terminal.
所述第二服务用于接收触控终端发送的触摸操作信息,将所述触摸操作信息存储至预设的驱动文件,从所述驱动文件中读取所述触摸操作信息,在智能交互平板的显示界面中显示对应的触摸响应。The second service is configured to receive touch operation information sent by the touch terminal, store the touch operation information to a preset drive file, and read the touch operation information from the drive file, on the smart interaction tablet. The corresponding touch response is displayed in the display interface.
在其中一个实施例中,所述在智能交互平板的显示界面中显示对应的触摸响应,包括:In one embodiment, the displaying the corresponding touch response in the display interface of the smart interaction tablet includes:
在智能交互平板的显示界面中显示所述触摸事件对应的触摸痕迹;和/或,Displaying a touch trace corresponding to the touch event in a display interface of the smart interaction tablet; and/or,
在智能交互平板的显示界面中显示对所述触摸事件的执行响应。An execution response to the touch event is displayed in a display interface of the smart interactive tablet.
在其中一个实施例中,所述驱动文件为uinput文件;In one embodiment, the driver file is a uinput file;
和/或,and / or,
所述触摸操作的类型包括:点击、按住、拖动、滑动中的一种或者多种。The type of the touch operation includes one or more of clicking, holding, dragging, and sliding.
在其中一个实施例中,所述作用位置包括:所述触摸操作对应的触摸点横坐标相对于所述平板镜像画面的长度的第一相对位置,以及,所述触摸操作对应的触摸点纵坐标相对于所述平板镜像画面的宽度的第二相对位置;In one embodiment, the action position includes: a first relative position of the touch point abscissa corresponding to the touch operation relative to a length of the tablet mirror image, and a touch point ordinate corresponding to the touch operation a second relative position of the width of the screen image relative to the tablet;
其中,触摸点的横坐标和纵坐标均参照预设的X-Y坐标系,所述X-Y坐标系的横轴与所述平板镜像画面的长度方向重合,所述X-Y坐标系的纵轴与所述平板镜像画面的宽度方向重合,所述X-Y坐标系的原点为所述平板镜像画面的一个顶点;Wherein, the abscissa and the ordinate of the touch point refer to a preset XY coordinate system, the horizontal axis of the XY coordinate system coincides with the length direction of the flat mirror image, and the vertical axis of the XY coordinate system and the flat plate The width direction of the mirror image is coincident, and an origin of the XY coordinate system is a vertex of the flat mirror image;
所述第二位置的确定方式包括:The determining the second location includes:
根据所述第一相对位置以及智能交互平板显示界面的长度,得到长度方向的位置信息;Obtaining position information in the length direction according to the first relative position and the length of the smart interactive flat panel display interface;
根据所述第二相对位置以及智能交互平板显示界面的宽度,得到宽度方向的位置信息;Obtaining position information in the width direction according to the second relative position and the width of the smart interactive flat panel display interface;
根据长度方向的位置信息以及宽度方向的位置信息,确定智能交互平板显示界面中的第二位置。The second position in the smart interactive flat panel display interface is determined according to the position information in the length direction and the position information in the width direction.
在其中一个实施例中,所述接收到触控终端发送的请求触摸控制的指令,启动预设的第一服务和第二服务之前,还包括:In one embodiment, before receiving the instruction for requesting touch control sent by the touch terminal, before starting the preset first service and the second service, the method further includes:
检测到启动远程触摸控制的操作指令,生成一信息码,所述信息码中包含所述智能交互平板的连接信息;Detecting an operation instruction for initiating remote touch control, generating an information code, where the information code includes connection information of the smart interaction tablet;
在智能交互平板显示界面上显示所述信息码;所述信息码被触控终端识别后能够触发所述触控终端建立与所述智能交互平板的通信连接。The information code is displayed on the smart interactive tablet display interface. After the information code is recognized by the touch terminal, the touch terminal can be triggered to establish a communication connection with the smart interaction tablet.
在其中一个实施例中,所述信息码包括二维码;In one embodiment, the information code comprises a two-dimensional code;
和/或,所述连接信息包括:智能交互平板的网络信息以及通信端口信息。And/or, the connection information includes: network information of the smart interaction tablet and communication port information.
另一方面提供,一种智能交互平板的触摸控制方法,包括:In another aspect, a touch control method for a smart interactive tablet includes:
检测到作用于触控终端显示的平板镜像画面的触摸操作,所述平板镜像画面与智能交互平板的显示界面对应;A touch operation is performed on the tablet mirror image displayed by the touch terminal, where the tablet mirror image corresponds to the display interface of the smart interaction tablet;
确定所述触摸操作的类型以及第一位置,所述第一位置为所述触摸操作在所述平板镜像画面中的作用位置;Determining a type of the touch operation and a first location, where the first location is an active position of the touch operation in the tablet mirror image;
向所述智能交互平板发送所述触摸操作信息,所述触摸操作信息中包括所述触摸操作的类型以及第一位置;所述触摸操作信息用于触发智能交互平板在其显示界面中显示对应的触摸响应,所述触摸响应根据所述触摸操作的类型以及第二位置确定,所述第二位置根据所述第一位置确定。Sending the touch operation information to the smart interaction tablet, where the touch operation information includes a type of the touch operation and a first location; the touch operation information is used to trigger the smart interaction tablet to display a corresponding display in the display interface thereof. A touch response is determined according to a type of the touch operation and a second location, the second location being determined according to the first location.
在其中一个实施例中,还包括:In one embodiment, the method further includes:
接收到智能交互平板发送的显示界面信息;Receiving display interface information sent by the smart interaction tablet;
显示平板镜像画面,所述平板镜像画面根据所述显示界面信息得到。A tablet mirror screen is displayed, and the tablet mirror screen is obtained based on the display interface information.
在其中一个实施例中,确定所述相对位置的方式包括:In one of the embodiments, the manner of determining the relative position comprises:
获取所述触摸操作包含的触摸点在所述平板镜像画面中的横坐标和纵坐标;其中,触摸点的横坐标和纵坐标均参照预设的X-Y坐标系,所述X-Y坐标系的横轴与所述平板镜像画面的长度方向重合,所述X-Y坐标系的纵轴与所述平板镜像画面的宽度方向重合,所述X-Y坐标系的原点为所述平板镜像画面的一个顶点;Obtaining an abscissa and an ordinate of the touch point included in the touch operation in the flat mirror image; wherein the abscissa and the ordinate of the touch point refer to a preset XY coordinate system, and the horizontal axis of the XY coordinate system a longitudinal direction of the flat mirror image, wherein a vertical axis of the XY coordinate system coincides with a width direction of the flat mirror image, and an origin of the XY coordinate system is a vertex of the flat mirror image;
根据所述触摸点的横坐标以及所述平板镜像画面的长度,得到触摸点的横坐标相对于所述平板镜像画面的长度的第一相对位置;Obtaining, according to an abscissa of the touch point and a length of the flat mirror image, a first relative position of an abscissa of the touch point with respect to a length of the flat mirror image;
根据所述触摸点的纵坐标以及所述平板镜像画面的宽度,得到触摸点的纵坐标相对于所述平板镜像画面的宽度的第二相对位置;Obtaining a second relative position of the ordinate of the touch point relative to the width of the flat mirror image according to the ordinate of the touch point and the width of the flat mirror image;
根据所述第一相对位置、第二相对位置得到所述触摸操作在所述平板镜像画面中的作用位置。And determining, according to the first relative position and the second relative position, an action position of the touch operation in the tablet mirror image.
在其中一个实施例中,所述接收到智能交互平板发送的显示界面信息之前,还包括:In one embodiment, before receiving the display interface information sent by the smart interaction tablet, the method further includes:
识别智能交互平板显示界面上显示的信息码,所述信息码中包含所述智能交互平板的连接信息;Identifying an information code displayed on the smart interactive tablet display interface, where the information code includes connection information of the smart interaction tablet;
根据所述连接信息建立与所述智能交互平板的通信连接。Establishing a communication connection with the smart interaction tablet according to the connection information.
又一方面提供,一种智能交互平板的触摸控制装置,包括:In another aspect, a touch control device for an intelligent interactive tablet includes:
触摸信息接收模块,用于接收触控终端发送的触摸操作信息,所述触摸操作信息中包括触摸操作的类型以及第一位置;所述触摸操作是作用于触控终端显示的平板镜像画面的触摸操作,所述平板镜像画面与智能交互平板的显示界面对应,所述第一位置为所述触摸操作在所述平板镜像画面中的作用位置;The touch information receiving module is configured to receive the touch operation information sent by the touch terminal, where the touch operation information includes a type of the touch operation and the first position; and the touch operation is a touch on the tablet mirror image displayed by the touch terminal In operation, the tablet mirroring screen corresponds to a display interface of the smart interaction tablet, and the first location is a working position of the touch operation in the tablet mirroring screen;
触摸信息存储模块,用于将所述触摸操作信息存储至预设的驱动文件,所述驱动文件用于控制智能交互平板的触摸输入功能;Touching the information storage module, configured to store the touch operation information to a preset driving file, where the driving file is used to control a touch input function of the smart interaction tablet;
以及,触摸响应模块,用于从所述驱动文件中读取所述触摸操作信息,在智能交互平板的显示界面中显示对应的触摸响应;所述触摸响应根据所述触摸操作的类型以及第二位置确定,所述第二位置根据所述第一位置确定。And a touch response module, configured to read the touch operation information from the drive file, and display a corresponding touch response in a display interface of the smart interaction tablet; the touch response is according to the type of the touch operation and the second The position is determined, and the second position is determined according to the first position.
在其中一个实施例中,还包括:In one embodiment, the method further includes:
显示界面发送模块,用于获取智能交互平板的显示界面信息,向触控终端发送所述显示 界面信息,以在所述触控终端显示平板镜像画面。The display interface sending module is configured to obtain display interface information of the smart interaction tablet, and send the display interface information to the touch terminal to display a tablet mirror image on the touch terminal.
在其中一个实施例中,所述作用位置包括:所述触摸操作对应的触摸点横坐标相对于所述平板镜像画面的长度的第一相对位置,以及,所述触摸操作对应的触摸点纵坐标相对于所述平板镜像画面的宽度的第二相对位置;In one embodiment, the action position includes: a first relative position of the touch point abscissa corresponding to the touch operation relative to a length of the tablet mirror image, and a touch point ordinate corresponding to the touch operation a second relative position of the width of the screen image relative to the tablet;
其中,触摸点的横坐标和纵坐标均参照预设的X-Y坐标系,所述X-Y坐标系的横轴与所述平板镜像画面的长度方向重合,所述X-Y坐标系的纵轴与所述平板镜像画面的宽度方向重合,所述X-Y坐标系的原点为所述平板镜像画面的一个顶点;Wherein, the abscissa and the ordinate of the touch point refer to a preset XY coordinate system, the horizontal axis of the XY coordinate system coincides with the length direction of the flat mirror image, and the vertical axis of the XY coordinate system and the flat plate The width direction of the mirror image is coincident, and an origin of the XY coordinate system is a vertex of the flat mirror image;
所述触摸响应模块中包括:The touch response module includes:
位置确定单元,用于根据所述第一相对位置以及智能交互平板显示界面的长度,得到长度方向的位置信息;根据所述第二相对位置以及智能交互平板显示界面的宽度,得到宽度方向的位置信息;根据长度方向的位置信息以及宽度方向的位置信息,确定智能交互平板显示界面中的第二位置。a position determining unit, configured to obtain position information in a length direction according to the first relative position and a length of the smart interactive flat panel display interface; and obtain a position in a width direction according to the second relative position and a width of the smart interactive flat display interface Information; determining the second position in the smart interactive flat panel display interface according to the position information in the length direction and the position information in the width direction.
又一方面提供,一种智能交互平板的触摸控制装置,包括:In another aspect, a touch control device for an intelligent interactive tablet includes:
触摸检测模块,用于检测到作用于触控终端显示的平板镜像画面的触摸操作,所述平板镜像画面与智能交互平板的显示界面对应;a touch detection module, configured to detect a touch operation of a tablet mirror image displayed on the touch terminal, where the tablet mirror image corresponds to a display interface of the smart interaction tablet;
触摸信息确定模块,用于确定所述触摸操作的类型以及第一位置,所述第一位置为所述触摸操作在所述平板镜像画面中的作用位置;a touch information determining module, configured to determine a type of the touch operation and a first location, where the first location is a working position of the touch operation in the tablet mirror image;
以及,触摸信息发送模块,用于向所述智能交互平板发送所述触摸操作信息,所述触摸操作信息中包括所述触摸操作的类型以及第一位置;所述触摸操作信息用于触发智能交互平板在其显示界面中显示对应的触摸响应,所述触摸响应根据所述触摸操作的类型以及第二位置确定,所述第二位置根据所述第一位置确定。And a touch information sending module, configured to send the touch operation information to the smart interaction tablet, where the touch operation information includes a type of the touch operation and a first location; the touch operation information is used to trigger a smart interaction The tablet displays a corresponding touch response in its display interface, the touch response being determined according to the type of the touch operation and the second position, the second position being determined according to the first position.
上述智能交互平板的触摸控制方法及装置,用户在触控终端一侧对显示的平板镜像画面进行触摸操作,该触摸操作信息将发送给智能交互平板,智能交互平板将收到的触摸操作信息存储至预设的驱动文件,从该驱动文件中读取所述触摸操作信息,进而实现了在智能交互平板的显示界面中显示与触控终端触摸操作对应的触摸响应。由此实现了通过触控终端对智能交互平板的远程触摸操作,对用户来说,其触摸操作效果与在智能交互平板上进行的触摸操作的效果一致,方便用户操作,提高操作效率。The touch control method and device of the smart interactive tablet, the user touches the displayed tablet mirror image on the touch terminal side, and the touch operation information is sent to the smart interaction tablet, and the smart interaction tablet stores the received touch operation information. The touch operation information is read from the drive file to the preset drive file, so that the touch response corresponding to the touch operation of the touch terminal is displayed in the display interface of the smart interaction tablet. Thereby, the remote touch operation of the smart interaction tablet by the touch terminal is realized, and the touch operation effect of the user is consistent with the effect of the touch operation performed on the smart interaction tablet, which is convenient for the user to operate and improves the operation efficiency.
又一方面提供,一种智能交互平板,包括:存储器、具有触摸功能的显示屏以及一个或多个处理器;In another aspect, an intelligent interaction tablet includes: a memory, a touch screen with a touch function, and one or more processors;
所述存储器,用于存储一个或多个程序;The memory for storing one or more programs;
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现上述方法的步骤。The one or more programs are executed by the one or more processors such that the one or more processors implement the steps of the method described above.
又一方面提供,一种触控终端,包括:存储器、具有触摸功能的显示屏以及一个或多个处理器;In another aspect, a touch terminal includes: a memory, a touch screen with a touch function, and one or more processors;
所述存储器,用于存储一个或多个程序;The memory for storing one or more programs;
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现上述方法的步骤。The one or more programs are executed by the one or more processors such that the one or more processors implement the steps of the method described above.
上述智能交互平板及触控终端,通过运行存储器中存储的一个或多个程序,实现了通过触控终端对智能交互平板的远程触摸操作,其触摸操作效果与在智能交互平板上进行的触摸操作的效果一致,方便用户操作,提高操作效率。The smart interactive tablet and the touch terminal realize remote touch operation on the smart interactive tablet through the touch terminal by using one or more programs stored in the memory, and the touch operation effect and the touch operation on the smart interaction tablet The effect is consistent, user-friendly, and improved operational efficiency.
又一方面提供,一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述任一方法的步骤。In a further aspect, a computer readable storage medium having stored thereon a computer program that, when executed by a processor, implements the steps of any of the above methods.
上述计算机存储介质,通过其存储的计算机程序,实现了通过触控终端对智能交互平板的远程触摸操作,其触摸操作效果与在智能交互平板上进行的触摸操作的效果一致,方便用户操作,提高操作效率。The computer storage medium realizes a remote touch operation on the smart interaction tablet through the touch terminal through the computer program stored therein, and the touch operation effect is consistent with the effect of the touch operation performed on the smart interaction tablet, facilitating user operation and improving Operational efficiency.
图1为一个实施例中智能交互平板的触摸控制方法的应用环境图;1 is an application environment diagram of a touch control method of a smart interaction tablet in an embodiment;
图2为一实施例的智能交互平板的显示界面的示意图;2 is a schematic diagram of a display interface of an intelligent interactive tablet according to an embodiment;
图3为一实施例的触控终端显示的平板镜像画面的示意图;3 is a schematic diagram of a tablet mirror image displayed by a touch terminal according to an embodiment;
图4为一实施例的智能交互平板的触摸控制方法的示意性流程图;4 is a schematic flowchart of a touch control method of an intelligent interaction tablet according to an embodiment;
图5为一实施例的智能交互平板显示触摸痕迹的示意图;FIG. 5 is a schematic diagram of a smart interactive tablet displaying touch traces according to an embodiment; FIG.
图6为另一实施例的智能交互平板显示触摸痕迹的示意图;6 is a schematic diagram of a smart interactive tablet displaying touch traces according to another embodiment;
图7为另一实施例的智能交互平板的触摸控制方法的示意性流程图;7 is a schematic flowchart of a touch control method of a smart interaction tablet according to another embodiment;
图8为一实施例的触控终端X-Y坐标系的示意图;FIG. 8 is a schematic diagram of an X-Y coordinate system of a touch terminal according to an embodiment; FIG.
图9为又一实施例的智能交互平板的触摸控制方法的示意性流程图;9 is a schematic flowchart of a touch control method of a smart interaction tablet according to still another embodiment;
图10为一实施例的智能交互平板的触摸控制装置的示意性结构图;FIG. 10 is a schematic structural diagram of a touch control apparatus of an intelligent interactive tablet according to an embodiment; FIG.
图11为另一实施例的智能交互平板的触摸控制装置的示意性结构图;11 is a schematic structural diagram of a touch control device of a smart interaction tablet according to another embodiment;
图12为一个实施例中智能交互平板的内部结构图;12 is an internal structural diagram of a smart interaction tablet in an embodiment;
图13为一个实施例中触控终端的内部结构图。FIG. 13 is an internal structural diagram of a touch terminal in an embodiment.
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的 是,本文所描述的实施例可以与其它实施例相结合。References to "an embodiment" herein mean that a particular feature, structure, or characteristic described in connection with the embodiments can be included in at least one embodiment of the present application. The appearances of the phrases in various places in the specification are not necessarily referring to the same embodiments, and are not exclusive or alternative embodiments that are mutually exclusive. Those skilled in the art will understand and implicitly understand that the embodiments described herein can be combined with other embodiments.
本申请提供的智能交互平板的触摸控制方法,可以应用于如图1所示的应用环境中。其中,一个或者多个触控终端100与智能交互平板200通信连接。触控终端100可以但不限于是各种个人计算机、笔记本电脑、智能手机、平板电脑和便携式可穿戴设备;智能交互平板200可以是通过触控技术对显示在显示屏上的内容进行操控和实现人机交互操作的一体化设备,其集成了投影机、电子白板、幕布、音响、电视机以及视频会议终端等一种或多种功能。The touch control method of the smart interaction tablet provided by the present application can be applied to the application environment as shown in FIG. 1 . The one or more touch terminals 100 are communicatively connected to the smart interaction tablet 200. The touch terminal 100 can be, but is not limited to, various personal computers, notebook computers, smart phones, tablets, and portable wearable devices. The smart interactive tablet 200 can control and implement the content displayed on the display screen through touch technology. An integrated device for human-computer interaction, which integrates one or more functions such as a projector, an electronic whiteboard, a curtain, an audio, a television, and a video conferencing terminal.
其中,触控终端100与智能交互平板200的通信连接的方式可以是,通过USB、互联网、局域网、蓝牙、Wi-Fi或紫峰协议(ZigBee)等通信方式。The communication connection between the touch terminal 100 and the smart interaction tablet 200 may be a communication method such as USB, Internet, local area network, Bluetooth, Wi-Fi or ZigBee.
进一步的,智能交互平板200与触控终端100通信连接之后,向各个触控终端发送其显示界面信息,使得各个触控终端在其显示屏上显示与交互智能平板的显示界面对应的平板镜像画面。智能交互平板的显示界面可以是智能交互平板的显示屏界面,也可以是智能交互平板的显示屏中显示的实际画面,该实际画面小于或者等于显示屏界面。此外,触控终端显示的平板镜像画面的长宽比,与智能交互平板的显示界面的长宽比,两者需保持一致;另一方面,触控终端显示的平板镜像画面的长宽比,无需与触控终端的显示屏的长宽比严格一致。其中,智能交互平板200的显示界面、触控终端100显示的平板镜像画面可分别参照图2、图3所示。Further, after the smart interactive tablet 200 is in communication with the touch terminal 100, the display interface information is sent to each touch terminal, so that each touch terminal displays a flat panel mirror image corresponding to the display interface of the interactive smart tablet on the display screen thereof. . The display interface of the smart interactive tablet may be a display interface of the smart interactive tablet, or may be an actual screen displayed in the display of the smart interactive tablet, the actual screen being less than or equal to the display interface. In addition, the aspect ratio of the flat-panel mirror image displayed by the touch terminal and the aspect ratio of the display interface of the smart interactive tablet need to be consistent; on the other hand, the aspect ratio of the flat-panel mirror image displayed by the touch terminal, It does not need to be exactly the same as the aspect ratio of the display of the touch terminal. The display interface of the smart interaction tablet 200 and the tablet mirror image displayed by the touch terminal 100 can be respectively referred to FIG. 2 and FIG. 3 .
进一步的,智能交互平板200与触控终端100通信连接之后,用户在触控终端100对平板镜像画面的触摸操作,将被映射到智能交互平板200的显示界面中,例如:用户在触控终端100一侧对平板镜像画面进行了一滑动操作,对应地,在智能交互平板200的显示界面中将出现对该滑动操作对应的滑动响应。在此交互过程中,触控终端100可以作为客户端,智能交互平板200可以作为服务端;一般而言,服务端对应的客户端可以有一个或者多个,视具体的应用场景来设置,实施例不做限定。Further, after the smart interaction panel 200 is in communication with the touch terminal 100, the touch operation of the touch panel 100 on the tablet mirror screen is mapped to the display interface of the smart interaction panel 200, for example, the user is at the touch terminal. The 100 side performs a sliding operation on the flat mirror image, and correspondingly, a sliding response corresponding to the sliding operation appears in the display interface of the smart interactive tablet 200. In this interaction process, the touch terminal 100 can serve as a client, and the smart interaction tablet 200 can serve as a server; in general, the client corresponding to the server can have one or more, and is set according to a specific application scenario. The example is not limited.
可选的,触控终端100和/或智能交互平板200中安装有用于实现远程触摸控制的应用软件,该应用软件可以预先安装在上述触控终端100和/或智能交互平板200中,也可以是在触控终端100和/或智能交互平板200启动远程触摸控制功能时,实时从第三方设备或服务器进行下载并安装使用。其中,第三方设备在实施例中不作限定。Optionally, the touch terminal 100 and/or the smart interaction tablet 200 are installed with application software for implementing remote touch control, and the application software may be pre-installed in the touch terminal 100 and/or the smart interaction tablet 200, or When the touch terminal 100 and/or the smart interactive tablet 200 initiates the remote touch control function, the device is downloaded and installed and used in real time from a third-party device or server. The third-party device is not limited in the embodiment.
在一个实施例中,如图4所示,提供了一种智能交互平板的触摸控制方法,其中,是以将该方法应用于上述的智能交互平板为例进行说明的;该方法包括以下步骤:In one embodiment, as shown in FIG. 4, a touch control method for an intelligent interactive tablet is provided, wherein the method is applied to the smart interactive tablet described above as an example; the method includes the following steps:
S11,接收触控终端发送的触摸操作信息,所述触摸操作信息中包括触摸操作的类型以及第一位置;所述触摸操作是作用于触控终端显示的平板镜像画面的触摸操作,所述平板镜像画面与智能交互平板的显示界面对应,所述第一位置为所述触摸操作在所述平板镜像画面中的作用位置。S11, receiving touch operation information sent by the touch terminal, where the touch operation information includes a type of a touch operation and a first position; the touch operation is a touch operation of a tablet mirror image displayed on the touch terminal, the tablet The mirroring screen corresponds to a display interface of the smart interaction tablet, and the first location is a working position of the touch operation in the tablet mirror image.
本发明实施例中,作用于触控终端显示的平板镜像画面的触摸操作可以是,在触控终端显示平板镜像画面时,用户在该触控终端的触摸显示屏上的任意操作。例如:点击、按住(或 长按)、拖动对象、单点滑动(或单指滑动)、多点滑动(或多指滑动)等,对应地,触摸操作的类型包括:点击、按住、拖动、单点滑动、多点滑动中等,本发明实施例对于触摸操作及其类型不作限定。In the embodiment of the present invention, the touch operation of the tablet mirror image displayed on the touch terminal may be any operation of the user on the touch display screen of the touch terminal when the touch panel displays the tablet mirror image. For example: click, hold (or long press), drag an object, single-slide (or single-finger swipe), multi-slide (or multi-finger swipe), etc., correspondingly, the types of touch operations include: click, hold The embodiment of the present invention does not limit the touch operation and its type.
本发明实施例中,触摸操作在所述平板镜像画面中的作用位置(即触摸操作的发生位置),可以是触摸操作对应的触摸点(一个或者多个触摸点)在触摸终端显示的平板镜像画面中的实际位置,也可以是触摸操作对应的触摸点,相对于触摸终端显示的平板镜像画面而言的相对位置,因此上述的作用位置与触摸终端的显示屏无必然联系。In the embodiment of the present invention, the action position of the touch operation in the tablet mirror image (ie, the location where the touch operation occurs) may be a tablet image displayed on the touch terminal by the touch point (one or more touch points) corresponding to the touch operation. The actual position in the screen may also be a relative position of the touch point corresponding to the touch operation with respect to the tablet mirror image displayed by the touch terminal, and thus the above-mentioned action position is not necessarily related to the display screen of the touch terminal.
本发明实施例中,智能交互平板接收触控终端发送的触摸操作信息的方式,可以是通过上述任意的通信连接方式,可根据具体情况设定。In the embodiment of the present invention, the manner in which the smart interactive tablet receives the touch operation information sent by the touch terminal may be set according to any specific communication connection manner.
S12,将所述触摸操作信息存储至预设的驱动文件,所述驱动文件用于控制智能交互平板的触摸输入功能。S12. Store the touch operation information to a preset drive file, where the drive file is used to control a touch input function of the smart interaction tablet.
本发明实施例中,存储触摸操作信息的驱动文件,可以是智能交互平板中用于实现其触摸输入功能的默认***文件,也可以是其他文件,无论是默认***文件还是其他文件,文件的访问权限均满足条件:只有获取了智能交互平板***权限(例如root权限)的服务才能够访问。In the embodiment of the present invention, the driving file for storing the touch operation information may be a default system file for implementing the touch input function in the smart interaction tablet, or other files, whether it is a default system file or other files, and the file is accessed. Permissions are met: Only services that have access to smart interactive tablet system privileges (such as root privileges) can access them.
本发明实施例中,智能交互平板的触摸输入功能的实现机制为:检测触摸屏上的触摸操作,将检测到的触摸点信息写入一***文件(该文件可以是在***默认文件,也可以具有***权限的用户创建的文件),通过访问该***文件得到触摸操作信息,进而执行对应的触摸响应,并在显示界面上显示出对应的触摸响应。其中,在智能交互平板的显示界面中显示对应的触摸响应可以包括:在智能交互平板的显示界面中显示所述触摸事件对应的触摸痕迹;和/或,在智能交互平板的显示界面中显示对所述触摸事件的执行响应。In the embodiment of the present invention, the touch input function of the smart interaction tablet is implemented by: detecting a touch operation on the touch screen, and writing the detected touch point information into a system file (the file may be in a system default file, or may have The file created by the user of the system authority obtains the touch operation information by accessing the system file, thereby executing the corresponding touch response, and displaying the corresponding touch response on the display interface. The displaying the corresponding touch response in the display interface of the smart interaction tablet may include: displaying the touch trace corresponding to the touch event in the display interface of the smart interaction tablet; and/or displaying the pair on the display interface of the smart interaction tablet The execution response of the touch event.
其中,在智能交互平板的显示界面中显示所述触摸事件对应的触摸痕迹包括,用户在触摸终端的平板镜像界面中进行了一按住操作,对应地,可在智能交互平板的显示界面中显示出一个模拟按住操作,其效果可参见图5所示。又例如,用户在触摸终端的平板镜像界面中进行了一滑动操作,对应地,可在智能交互平板的显示界面中显示出一个模拟滑动操作效果,其效果可参见图6所示。可以理解的,触摸痕迹还可以是其他情况,通过在智能交互平板显示对应的触摸痕迹,可以提示用户该智能交互平板将要响应什么样的触摸事件,可以提升用户体验。The displaying the touch trace corresponding to the touch event in the display interface of the smart interactive tablet includes: performing a hold operation on the tablet mirroring interface of the touch terminal, and correspondingly displaying the display on the display interface of the smart interactive tablet An analog hold operation is shown, the effect of which can be seen in Figure 5. For example, the user performs a sliding operation in the tablet mirroring interface of the touch terminal. Correspondingly, an analog sliding operation effect can be displayed on the display interface of the smart interactive tablet. The effect can be seen in FIG. 6 . It can be understood that the touch trace can also be other situations. By displaying the corresponding touch trace on the smart interactive tablet, the user can be prompted to respond to what touch event the smart interactive tablet is to respond to, and the user experience can be improved.
S13,从所述驱动文件中读取所述触摸操作信息,在智能交互平板的显示界面中显示对应的触摸响应;所述触摸响应根据所述触摸操作的类型以及第二位置确定,所述第二位置根据所述第一位置确定。S13. The touch operation information is read from the drive file, and a corresponding touch response is displayed in a display interface of the smart interaction tablet. The touch response is determined according to the type of the touch operation and the second location. The two positions are determined based on the first position.
本发明实施例中,控制智能交互平板的触摸输入功能的服务具有***权限,因此可基于该服务实时访问存储有触摸操作信息的驱动文件,从中读取触摸操作信息,得出触摸操作的类型和位置,生成触摸操作对应的触摸痕迹,进而在智能交互平板显示界面的对应位置显示 对应的触摸痕迹。In the embodiment of the present invention, the service for controlling the touch input function of the smart interaction tablet has system authority, so the driver file storing the touch operation information can be accessed in real time based on the service, and the touch operation information is read therefrom, and the type of the touch operation is obtained. The location generates a touch trace corresponding to the touch operation, and then displays a corresponding touch trace at a corresponding position of the smart interactive flat panel display interface.
通过上述实施例的智能交互平板的触摸控制方法,用户在触控终端一侧对显示的平板镜像画面进行触摸操作,该触摸操作信息将发送给智能交互平板,智能交互平板将收到的触摸操作信息存储至预设的驱动文件,从该驱动文件中读取所述触摸操作信息,进而在智能交互平板的显示界面中显示与触控终端触摸操作对应的触摸响应。由此实现了通过触控终端对智能交互平板的远程触摸操作,对用户来说,其触摸操作效果与在智能交互平板上进行的触摸操作的效果一致,方便用户操作,提高操作效率。Through the touch control method of the smart interactive tablet in the above embodiment, the user performs a touch operation on the displayed tablet mirror image on the touch terminal side, and the touch operation information is sent to the smart interaction tablet, and the smart interaction tablet will receive the touch operation. The information is stored in the preset driving file, and the touch operation information is read from the driving file, so that the touch response corresponding to the touch operation of the touch terminal is displayed in the display interface of the smart interactive tablet. Thereby, the remote touch operation of the smart interaction tablet by the touch terminal is realized, and the touch operation effect of the user is consistent with the effect of the touch operation performed on the smart interaction tablet, which is convenient for the user to operate and improves the operation efficiency.
结合上述实施例,下面结合图7所示,从触摸终端与智能交互平板交互的角度,对智能交互平板的触摸控制方法进行进一步的说明,其中,触摸终端与智能交互平板已经建立通信连接,触摸终端中的相关应用程序作为客户端,智能交互平板的相关应用程序作为服务端,服务端在远程触摸控制中运行的服务具有智能交互平板的***权限;智能交互平板的触摸控制方法的具体过程如下:With reference to the foregoing embodiment, as shown in FIG. 7 , the touch control method of the smart interaction tablet is further described from the perspective of interaction between the touch terminal and the smart interaction tablet, wherein the touch terminal and the smart interaction tablet have established a communication connection, and the touch The related application in the terminal is used as the client, the related application of the smart interaction tablet is used as the server, and the service running in the remote touch control of the server has the system authority of the intelligent interactive tablet; the specific process of the touch control method of the intelligent interactive tablet is as follows: :
S201,在客户端一侧,检测用户的请求触摸控制的操作。S201, on the client side, detecting a user's request for touch control operation.
S202,在客户端一侧,检测到的请求触摸控制的操作时,向智能交互平板发送请求触摸控制的指令。S202. On the client side, when the detected operation of requesting the touch control is performed, an instruction for requesting touch control is sent to the smart interaction tablet.
S203,在服务端一侧,接收到触控终端发送的请求触摸控制的指令,启动预设的第一服务(或者同屏服务)和第二服务(或者触摸服务)。S203. On the server side, receiving an instruction for requesting touch control sent by the touch terminal, starting a preset first service (or the same screen service) and a second service (or a touch service).
所述第一服务用于获取所述智能交互平板的显示界面,向触控终端发送所述显示界面信息;所述第二服务用于接收触控终端发送的触摸操作信息,将所述触摸操作信息存储至预设的驱动文件,从所述驱动文件中读取所述触摸操作信息,在智能交互平板的显示界面中显示对应的触摸响应。The first service is configured to acquire a display interface of the smart interaction tablet, and send the display interface information to the touch terminal; the second service is configured to receive touch operation information sent by the touch terminal, and the touch operation is performed. The information is stored to a preset driving file, and the touch operation information is read from the driving file, and a corresponding touch response is displayed in a display interface of the smart interactive tablet.
因为触摸操作信息的传输和显示界面信息的传输都涉及一定的数据量,将其和原来的控制链路独立开来,避免共享数据传输时的延时或者拥堵。Because the transmission of touch operation information and the transmission of display interface information involve a certain amount of data, it is separated from the original control link to avoid delay or congestion when sharing data transmission.
S204,在服务端一侧,获取智能交互平板的显示界面信息;向触控终端发送所述显示界面信息,以在所述触控终端显示平板镜像画面。S204. On the server side, obtain display interface information of the smart interaction tablet, and send the display interface information to the touch terminal to display a tablet mirror image on the touch terminal.
可以通过第一服务执行步骤S204,由于智能交互平板的显示界面信息的发送的数据量较大,因此通过专门的第一服务处理,有利于保证显示界面信息发送的及时性。Step S204 can be performed by using the first service. Because the data volume of the display interface information of the smart interaction tablet is large, the special first service processing is beneficial to ensure the timeliness of the display interface information transmission.
S205,在客户端一侧,接收智能交互平板发送的显示界面信息,显示平板镜像画面,所述平板镜像画面根据所述显示界面信息得到。S205: Receive, on the client side, display interface information sent by the smart interaction tablet, and display a tablet mirror image, where the tablet mirror image is obtained according to the display interface information.
触控终端在保持平板镜像画面宽高比例不变的前提下,尽可能最大地显示平板镜像画面。即在触控终端显示的平板镜像画面,与智能交互平板的显示界面,两者为等比例缩小的关系。The touch terminal displays the flat mirror image as much as possible while keeping the aspect ratio of the flat mirror image unchanged. That is, the tablet mirror image displayed on the touch terminal and the display interface of the smart interaction tablet are in a proportionally reduced relationship.
S206,在客户端一侧,检测作用于触控终端显示的平板镜像画面的触摸操作。S206: On the client side, detecting a touch operation of the tablet mirror image displayed on the touch terminal.
触摸操作包括DOWN事件、MOVE事件、UP事件,对应手指动作为按下、滑动和抬起的事件,对应地,触摸操作的类型包括:点击、按住、拖动、滑动中的一种或者多种。The touch operation includes a DOWN event, a MOVE event, and an UP event, and the corresponding finger motion is an event of pressing, sliding, and lifting. Correspondingly, the type of the touch operation includes one or more of clicking, holding, dragging, and sliding. Kind.
S207,在客户端一侧,确定所述触摸操作的类型以及第一位置,所述第一位置为所述触摸操作在所述平板镜像画面中的作用位置。S207. On the client side, determine a type of the touch operation and a first location, where the first location is a working position of the touch operation in the tablet mirror image.
在一实施例中,触摸操作在所述平板镜像画面中的作用位置具体包括:所述触摸操作包含的触摸点的横坐标相对于所述平板镜像画面的长度的第一相对位置,以及,所述触摸操作包含的触摸点的纵坐标相对于所述平板镜像画面的宽度的第二相对位置。其中,触摸点的横坐标和纵坐标均参照X-Y坐标系,所述X-Y坐标系的横轴与所述平板镜像画面的长度方向重合,所述X-Y坐标系的纵轴与所述平板镜像画面的宽度方向重合,所述X-Y坐标系的原点为所述平板镜像画面的一个顶点。In an embodiment, the action position of the touch operation in the tablet mirror image specifically includes: a first relative position of the abscissa of the touch point included in the touch operation relative to a length of the tablet mirror image, and The second relative position of the ordinate of the touch point included in the touch operation relative to the width of the flat mirror image. Wherein, the abscissa and the ordinate of the touch point refer to the XY coordinate system, and the horizontal axis of the XY coordinate system coincides with the longitudinal direction of the flat mirror image, and the vertical axis of the XY coordinate system and the flat mirror image The width directions coincide, and the origin of the XY coordinate system is one vertex of the flat mirror image.
例如,参见图8所示,以最终触控终端显示的平板镜像画面的范围建立X-Y坐标系,其左上角的顶点为X-Y坐标系的原点,在平板镜像画面范围内的触摸点的坐标能被换算为相对坐标,这样的好处是准确率高,在镜像范围内的触摸点都能对应到平板分辨率上的一个触摸点,以及为了适应网络调整镜像画面分辨率也不会影响点击效果。For example, as shown in FIG. 8, the XY coordinate system is established by the range of the flat mirror image displayed by the final touch terminal, and the vertex of the upper left corner is the origin of the XY coordinate system, and the coordinates of the touch point in the range of the flat mirror image can be Converted to relative coordinates, the advantage is that the accuracy is high, the touch points in the mirror range can correspond to a touch point on the resolution of the tablet, and the resolution of the mirror image will not affect the click effect in order to adapt to the network.
可以理解的,还可以以最终触控终端显示的平板镜像画面的范围的其他顶点为原点建立X-Y坐标系。对应地,智能交互平板一侧也需要以同样方式选取坐标系原点。It can be understood that the X-Y coordinate system can also be established with the other vertices of the range of the flat mirror image displayed by the final touch terminal as the origin. Correspondingly, the side of the smart interaction tablet also needs to select the origin of the coordinate system in the same way.
图8中,加上触控终端的显示屏分辨率为:长1920*宽1200,触控终端横屏状态下,显示的平板镜像画面分辨率为:长1920*宽1080;用户在平板镜像画面上的触摸点在上述X-Y坐标系下的位置坐标为:(480,540),由此可确定出该触摸点的发生位置为:x=480/1920=0.25,y=540/1080=0.5。In Figure 8, the resolution of the display with the touch terminal is: 1920*width 1200, and the horizontal resolution of the touch terminal is: 1920*width 1080; the user is in the flat mirror image. The position coordinates of the upper touch point in the above XY coordinate system are: (480, 540), thereby determining that the occurrence position of the touch point is: x=480/1920=0.25, y=540/1080=0.5.
S208,在客户端一侧,向所述智能交互平板发送触摸操作信息,所述触摸操作信息中包括所述触摸操作的类型以及第一位置。S208. Send, on the client side, touch operation information to the smart interaction tablet, where the touch operation information includes a type of the touch operation and a first location.
在一实施例中,为每个触摸操作生成一个ID(标识信息),以区分先后的多个触摸操作,或者区分多指操作下的多个触摸操作,例如,两指进行滑动放大时,触摸操作为两个,为这两个触摸操作分别生成一个ID。对应地,在发送给智能交互平板的触摸操作信息中还包括对应的ID信息,再由服务端还原为平板屏幕上的触摸。In an embodiment, an ID (identification information) is generated for each touch operation to distinguish multiple touch operations in sequence, or to distinguish multiple touch operations under multi-finger operation, for example, when two fingers perform sliding zooming, touch The operation is two, and an ID is generated for each of the two touch operations. Correspondingly, the touch operation information sent to the smart interaction tablet further includes corresponding ID information, and then the server returns to the touch on the tablet screen.
S209,在服务端一侧,接收触控终端发送的触摸操作信息,将所述触摸操作信息存储至预设的驱动文件,所述驱动文件用于控制智能交互平板的触摸输入功能。S209: Receive, on the server side, touch operation information sent by the touch terminal, and store the touch operation information to a preset driving file, where the driving file is used to control a touch input function of the smart interaction tablet.
在一实施例中,所述驱动文件为uinput文件。uinput文件是Linux***下控制触摸输入的驱动文件,***会从该文件获取触摸屏幕上的触摸事件信息,Android也是一种Linux***,对该文件读写需要***权限,服务端运行的服务是***服务,能对uinput文件进行写入触摸信息来实现远程控制。In an embodiment, the driver file is a uinput file. The uinput file is a driver file that controls the touch input under the Linux system. The system will obtain the touch event information on the touch screen from the file. Android is also a Linux system. The system permission is required to read and write the file, and the service running on the server is the system. The service can write touch information to the uinput file for remote control.
S210,在服务端一侧,从所述驱动文件中读取所述触摸操作信息,在智能交互平板的显示界面中显示对应的触摸响应;所述触摸响应根据所述触摸操作的类型以及第二位置确定,所述第二位置根据所述第一位置确定。S210, on the server side, reading the touch operation information from the driving file, and displaying a corresponding touch response in a display interface of the smart interaction tablet; the touch response is according to the type of the touch operation and the second The position is determined, and the second position is determined according to the first position.
第二位置的确定方式包括:The second location is determined by:
以智能交互平板的显示界面建立X-Y坐标系,显示界面左上角的顶点为X-Y坐标系的原点,该X-Y坐标系的横轴与显示界面的长度方向重合,该X-Y坐标系的纵轴与显示界面的宽度方向重合。根据所述第一相对位置(x=480/1920=0.25)以及智能交互平板显示界面的长度的乘积,得到长度方向的位置信息;根据所述第二相对位置(y=540/1080=0.5)以及智能交互平板显示界面的宽度的乘积,得到宽度方向的位置信息;根据长度方向的位置信息以及宽度方向的位置信息,确定智能交互平板显示界面中的第二位置。根据第二位置以及触摸操作的类型,可在智能交互平板一侧还原触控终端发生的触摸操作并响应所述触摸操作。The XY coordinate system is established by the display interface of the intelligent interactive tablet, and the vertex of the upper left corner of the display interface is the origin of the XY coordinate system, and the horizontal axis of the XY coordinate system coincides with the length direction of the display interface, and the vertical axis and the display interface of the XY coordinate system The width direction coincides. Obtaining position information in the longitudinal direction according to the product of the first relative position (x=480/1920=0.25) and the length of the smart interactive flat panel display interface; according to the second relative position (y=540/1080=0.5) And the product of the width of the smart interactive flat panel display interface, obtaining position information in the width direction; determining the second position in the smart interactive flat panel display interface according to the position information in the length direction and the position information in the width direction. According to the second location and the type of the touch operation, the touch operation that occurs on the touch terminal can be restored on the side of the smart interaction tablet and respond to the touch operation.
至此,用户在触控终端上对平板镜像画面的触摸操作,将反应到智能交互平板上,用户无需靠近智能交互平板,实现了对智能交互平板的远程触摸操作。并且,由于触控终端通过向智能交互平板发送触摸操作信息的方式,相对于直接发送触控终端显示图像的方式,发送的数据量得以减少,也有利于减少显示上的时延;此外,使用对驱动文件写入触摸操作信息的方式,能够更真实地在智能交互平板上模拟屏幕触摸事件。At this point, the user's touch operation on the tablet mirror image on the touch terminal will be reflected on the smart interaction tablet, and the user does not need to be close to the smart interaction tablet, thereby realizing the remote touch operation on the smart interaction tablet. Moreover, since the touch terminal sends the touch operation information to the smart interactive tablet, the amount of data transmitted is reduced relative to the manner in which the touch terminal directly displays the image, which is also advantageous for reducing the delay on the display; The way in which the touch operation information is written to the drive file enables a more realistic simulation of the screen touch event on the smart interactive tablet.
在一个应用场景中,其中的触摸终端可以是手机,智能交互平板可以是会议平板;对应地,当多个用户参与会议时,通过各自的手机连接至会议平板,基于该连接,通过上述实施例的交互过程,与会用户的手机端的触摸操作能够反映到智能交互平板上,用户就能在手机上触摸操作会议平板,包括点击、拖动、滑动等,方便了用户操作,提高了会议效果。In an application scenario, the touch terminal may be a mobile phone, and the smart interaction tablet may be a conference tablet; correspondingly, when multiple users participate in the conference, connect to the conference tablet through respective mobile phones, based on the connection, through the foregoing embodiment During the interaction process, the touch operation of the user's mobile phone end can be reflected on the smart interactive tablet, and the user can touch and operate the conference tablet on the mobile phone, including clicking, dragging, sliding, etc., which facilitates the user operation and improves the conference effect.
在一实施例中,上述步骤S201之前,还需建立触控终端与智能交互平板通信连接,该连接的建立方式可为:服务端检测到启动远程触摸控制的操作指令,生成一信息码,所述信息码中包含所述智能交互平板的连接信息;在智能交互平板的显示界面上显示所述信息码;用户通过触控终端识别所述信息码,所述信息码被触控终端识别后能够触发所述触控终端建立与所述智能交互平板的通信连接。In an embodiment, before the step S201, the touch terminal and the smart interactive tablet communication connection need to be established. The connection may be established by: the server detects an operation instruction for starting the remote touch control, and generates an information code. The information code includes the connection information of the smart interaction tablet; the information code is displayed on the display interface of the smart interaction tablet; the user identifies the information code through the touch terminal, and the information code can be recognized by the touch terminal. The touch terminal is triggered to establish a communication connection with the smart interaction tablet.
在一实施例中,所述信息码包括二维码;用户通过触控终端扫描识别该二维码,由此获取智能交互平板的通信连接,进而建立触控终端与智能交互平板的通信连接。无需用户手动输入连接信息,提高操作效率。In an embodiment, the information code includes a two-dimensional code; the user scans and recognizes the two-dimensional code through the touch terminal, thereby acquiring a communication connection of the smart interaction tablet, and establishing a communication connection between the touch terminal and the smart interaction tablet. No need for users to manually enter connection information to improve operational efficiency.
在一实施例中,所述连接信息包括:智能交互平板的网络信息以及通信端口信息,其中,网络信息包括局域网信息、热点IP信息、热点SSID以及热点SSID密码等;其中,热点IP信息、热点SSID以及热点SSID密码均为智能交互平板对外提供的网络热点信息。此外,所述连接信息中还可包括二维码的版本信息,便于未来的扩展。In an embodiment, the connection information includes: network information of the smart interaction tablet and communication port information, where the network information includes local area network information, hotspot IP information, hotspot SSID, hotspot SSID password, and the like; The SSID and the hotspot SSID password are the network hotspot information provided by the smart interaction tablet. In addition, the connection information may further include version information of the two-dimensional code, which is convenient for future expansion.
基于上述二维码以及连接信息,触控终端与智能交互平板通信连接的过程可包括:触控终端扫描识别该二维码,通过版本号判断内容解析方式,并解析得到智能交互平板的连接信息;若触控终端已经连接至一个WiFi热点,则先尝试使用局域网IP和服务端口号建立与智能交互平板的远程控制连接;若触控终端与智能交互平板不在同一局域网内,则连接失败;进一步地,触控终端再根据热点SSID以及热点SSID密码连接智能交互平板提供的WiFi热点,然后通过热点IP和服务端口号建立与智能交互平板的远程控制连接;连接成功之后,触 控终端保存连接信息到本地数据库,此后,便可基于该连接实现对智能交互平板的远程触摸控制。The process of the communication connection between the touch terminal and the smart interaction tablet may include: the touch terminal scans and recognizes the two-dimensional code, determines the content analysis mode by using the version number, and parses the connection information of the smart interaction tablet. If the touch terminal is connected to a WiFi hotspot, first try to establish a remote control connection with the smart interaction tablet using the LAN IP and service port number; if the touch terminal and the smart interaction tablet are not in the same LAN, the connection fails; further The touch terminal then connects the WiFi hotspot provided by the smart interactive tablet according to the hotspot SSID and the hotspot SSID password, and then establishes a remote control connection with the smart interactive tablet through the hotspot IP and the service port number; after the connection is successful, the touch terminal saves the connection information. Go to the local database, after which remote touch control of the smart interaction tablet can be implemented based on the connection.
通过上述连接方式,便于触控终端选择不同的连接方式建立与智能交互平板的通信连接。Through the above connection manner, the touch terminal can select different connection modes to establish a communication connection with the smart interaction tablet.
参考图9所示,从客户端的角度,还提供了一种智能交互平板的触摸控制方法,包括步骤:Referring to FIG. 9, from the perspective of the client, a touch control method for the smart interaction tablet is also provided, including the steps of:
S31,检测到作用于触控终端显示的平板镜像画面的触摸操作,所述平板镜像画面与智能交互平板的显示界面对应;S31, detecting a touch operation of a tablet mirror image displayed on the touch terminal, where the tablet mirror image corresponds to a display interface of the smart interaction tablet;
S32,确定所述触摸操作的类型以及第一位置,所述第一位置为所述触摸操作在所述平板镜像画面中的作用位置;S32. Determine a type of the touch operation and a first location, where the first location is a working position of the touch operation in the tablet mirror image.
S33,向所述智能交互平板发送触摸操作信息,所述触摸操作信息中包括所述触摸操作的类型以及第一位置;所述触摸操作信息用于触发智能交互平板在其显示界面中显示对应的触摸响应,所述触摸响应根据所述触摸操作的类型以及第二位置确定,所述第二位置根据所述第一位置确定。S33: Send touch operation information to the smart interaction tablet, where the touch operation information includes a type of the touch operation and a first location; the touch operation information is used to trigger the smart interaction tablet to display a corresponding display in the display interface thereof. A touch response is determined according to a type of the touch operation and a second location, the second location being determined according to the first location.
上述智能交互平板的触摸控制方法,用户在触控终端一侧对显示的平板镜像画面进行触摸操作,该触摸操作信息将发送给智能交互平板,智能交互平板将收到的触摸操作信息存储至预设的驱动文件,从该驱动文件中读取所述触摸操作信息,进而实现了在智能交互平板的显示界面中显示与触控终端触摸操作对应的触摸响应。由此实现了通过触控终端对智能交互平板的远程触摸操作,对用户来说,其触摸操作效果与在智能交互平板上进行的触摸操作的效果一致,方便用户操作,提高操作效率。In the touch control method of the smart interactive tablet, the user touches the displayed tablet mirror image on the touch terminal side, and the touch operation information is sent to the smart interaction tablet, and the smart interaction tablet stores the received touch operation information to the preset The driving file is configured to read the touch operation information from the driving file, thereby implementing a touch response corresponding to the touch operation of the touch terminal in the display interface of the smart interactive tablet. Thereby, the remote touch operation of the smart interaction tablet by the touch terminal is realized, and the touch operation effect of the user is consistent with the effect of the touch operation performed on the smart interaction tablet, which is convenient for the user to operate and improves the operation efficiency.
在一个实施例中,所述的触摸控制方法还包括:接收到智能交互平板发送的显示界面信息;显示平板镜像画面,所述平板镜像画面根据所述显示界面信息得到。In one embodiment, the touch control method further includes: receiving display interface information sent by the smart interaction tablet; displaying a tablet mirror image, wherein the tablet mirror image is obtained according to the display interface information.
通过显示平板镜像画面,为用户远程触摸操作智能交互平板提供了便利。By displaying the tablet mirroring screen, it is convenient for the user to remotely operate the smart interactive tablet.
在一个实施例中,确定所述相对位置的方式包括:In one embodiment, the manner of determining the relative position comprises:
获取所述触摸操作包含的触摸点在所述平板镜像画面中的横坐标和纵坐标;其中,触摸点的横坐标和纵坐标均参照预设的X-Y坐标系,所述X-Y坐标系的横轴与所述平板镜像画面的长度方向重合,所述X-Y坐标系的纵轴与所述平板镜像画面的宽度方向重合,所述X-Y坐标系的原点为所述平板镜像画面的一个顶点;根据所述触摸点的横坐标以及所述平板镜像画面的长度,得到触摸点的横坐标相对于所述平板镜像画面的长度的第一相对位置;根据所述触摸点的纵坐标以及所述平板镜像画面的宽度,得到触摸点的纵坐标相对于所述平板镜像画面的宽度的第二相对位置;根据所述第一相对位置、第二相对位置得到所述触摸操作在所述平板镜像画面中的作用位置。Obtaining an abscissa and an ordinate of the touch point included in the touch operation in the flat mirror image; wherein the abscissa and the ordinate of the touch point refer to a preset XY coordinate system, and the horizontal axis of the XY coordinate system a longitudinal direction of the flat mirror image, wherein a vertical axis of the XY coordinate system coincides with a width direction of the flat mirror image, and an origin of the XY coordinate system is a vertex of the flat mirror image; Obtaining a horizontal coordinate of the touch point and a length of the flat mirror image to obtain a first relative position of the abscissa of the touch point with respect to the length of the flat mirror image; according to the ordinate of the touch point and the flat mirror image Width, obtaining a second relative position of the ordinate of the touched point relative to the width of the flat mirror image; obtaining a position of the touch operation in the flat mirror image according to the first relative position and the second relative position .
通过计算触摸点在所述平板镜像画面中的上述相对位置,有利于提高触摸事件定位还原的准确度。By calculating the above relative position of the touch point in the flat mirror image, it is advantageous to improve the accuracy of the touch event localization and restoration.
在一个实施例中,在接收到智能交互平板发送的显示界面信息之前,还包括:识别智能 交互平板显示界面上显示的信息码,所述信息码中包含所述智能交互平板的连接信息;根据所述连接信息建立与所述智能交互平板的通信连接。In an embodiment, before receiving the display interface information sent by the smart interaction tablet, the method further includes: identifying an information code displayed on the smart interaction tablet display interface, where the information code includes connection information of the smart interaction tablet; The connection information establishes a communication connection with the smart interaction tablet.
基于通信连接,为后续的指令交互,以及显示界面信息、触摸操作信息的传输提供基础。Based on the communication connection, it provides a basis for subsequent instruction interaction, and display interface information and transmission of touch operation information.
应该理解的是,对于前述的各方法实施例,虽然流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,方法实施例的流程图中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that, for each of the foregoing method embodiments, although the various steps in the flowchart are sequentially displayed as indicated by the arrows, the steps are not necessarily performed in the order indicated by the arrows. Except as explicitly stated herein, the execution of these steps is not strictly limited, and the steps may be performed in other orders. Moreover, at least some of the steps in the flowchart of the method embodiment may include a plurality of sub-steps or stages, which are not necessarily performed at the same time, but may be executed at different times, these sub-steps Alternatively, the order of execution of the stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least a portion of the sub-steps or stages of the other steps or other steps.
基于与上述实施例中的智能交互平板的触摸控制方法相同的思想,本文还提供智能交互平板的触摸控制装置。Based on the same idea as the touch control method of the smart interaction tablet in the above embodiment, a touch control device of the smart interaction tablet is also provided herein.
在一个实施例中,如图10所示,智能交互平板的触摸控制装置包括:In an embodiment, as shown in FIG. 10, the touch control device of the smart interaction tablet includes:
触摸信息接收模块410,用于接收触控终端发送的触摸操作信息,所述触摸操作信息中包括触摸操作的类型以及第一位置;所述触摸操作是作用于触控终端显示的平板镜像画面的触摸操作,所述平板镜像画面与智能交互平板的显示界面对应,所述第一位置为所述触摸操作在所述平板镜像画面中的作用位置。The touch information receiving module 410 is configured to receive the touch operation information sent by the touch terminal, where the touch operation information includes a type of the touch operation and the first position; and the touch operation is performed on the tablet mirror image displayed by the touch terminal. In a touch operation, the tablet mirroring screen corresponds to a display interface of the smart interaction tablet, and the first location is a working position of the touch operation in the tablet mirror image.
触摸信息存储模块420,用于将所述触摸操作信息存储至预设的驱动文件,所述驱动文件用于控制智能交互平板的触摸输入功能。The touch information storage module 420 is configured to store the touch operation information to a preset driving file, where the driving file is used to control a touch input function of the smart interaction tablet.
以及,触摸响应模块430,用于从所述驱动文件中读取所述触摸操作信息,在智能交互平板的显示界面中显示对应的触摸响应;所述触摸响应根据所述触摸操作的类型以及第二位置确定,所述第二位置根据所述第一位置确定。And a touch response module 430, configured to read the touch operation information from the driving file, and display a corresponding touch response in a display interface of the smart interaction tablet; the touch response is according to the type of the touch operation and The second position is determined, and the second position is determined according to the first position.
在一个实施例中,所述触摸控制装置还包括:显示界面发送模块,用于获取智能交互平板的显示界面信息,向触控终端发送所述显示界面信息,以在所述触控终端显示平板镜像画面。In one embodiment, the touch control device further includes: a display interface sending module, configured to acquire display interface information of the smart interaction tablet, and send the display interface information to the touch terminal to display the tablet on the touch terminal Mirror image.
在一个实施例中,所述作用位置包括:所述触摸操作对应的触摸点横坐标相对于所述平板镜像画面的长度的第一相对位置,以及,所述触摸操作对应的触摸点纵坐标相对于所述平板镜像画面的宽度的第二相对位置;其中,触摸点的横坐标和纵坐标均参照预设的X-Y坐标系,所述X-Y坐标系的横轴与所述平板镜像画面的长度方向重合,所述X-Y坐标系的纵轴与所述平板镜像画面的宽度方向重合,所述X-Y坐标系的原点为所述平板镜像画面的一个顶点。In one embodiment, the action position includes: a first relative position of the touch point abscissa corresponding to the touch operation relative to a length of the tablet mirror image, and a touch point ordinate corresponding to the touch operation is relative to a second relative position of the width of the flat mirror image; wherein the abscissa and the ordinate of the touch point refer to a preset XY coordinate system, and the horizontal axis of the XY coordinate system and the length direction of the flat mirror image The vertical axis of the XY coordinate system coincides with the width direction of the flat mirror image, and the origin of the XY coordinate system is one vertex of the flat mirror image.
所述触摸响应模块430中包括:位置确定单元,用于根据所述第一相对位置以及智能交互平板显示界面的长度,得到长度方向的位置信息;根据所述第二相对位置以及智能交互平板显示界面的宽度,得到宽度方向的位置信息;根据长度方向的位置信息以及宽度方向的位置信息,确定智能交互平板显示界面中的第二位置。The touch response module 430 includes: a location determining unit, configured to obtain location information in a length direction according to the first relative location and a length of the smart interaction flat panel display interface; and display the second relative location and the smart interaction tablet according to the second relative location The width of the interface is obtained as the position information in the width direction; the second position in the smart interactive flat panel display interface is determined according to the position information in the length direction and the position information in the width direction.
在一个实施例中,如图11所示,智能交互平板的触摸控制装置包括:In an embodiment, as shown in FIG. 11, the touch control device of the smart interaction tablet includes:
触摸检测模块510,用于检测到作用于触控终端显示的平板镜像画面的触摸操作,所述平板镜像画面与智能交互平板的显示界面对应。The touch detection module 510 is configured to detect a touch operation of a tablet mirror image displayed on the touch terminal, where the tablet mirror image corresponds to a display interface of the smart interaction tablet.
触摸信息确定模块520,用于确定所述触摸操作的类型以及第一位置,所述第一位置为所述触摸操作在所述平板镜像画面中的作用位置。The touch information determining module 520 is configured to determine a type of the touch operation and a first location, where the first location is a working position of the touch operation in the tablet mirror image.
以及,触摸信息发送模块530,用于向所述智能交互平板发送触摸操作信息,所述触摸操作信息中包括所述触摸操作的类型以及第一位置;所述触摸操作信息用于触发智能交互平板在其显示界面中显示对应的触摸响应,所述触摸响应根据所述触摸操作的类型以及第二位置确定,所述第二位置根据所述第一位置确定。And the touch information sending module 530 is configured to send touch operation information to the smart interaction tablet, where the touch operation information includes a type of the touch operation and a first location; the touch operation information is used to trigger a smart interaction tablet A corresponding touch response is displayed in its display interface, the touch response being determined according to the type of the touch operation and the second position, the second position being determined according to the first position.
在一个实施例中,所述智能交互平板的触摸控制装置还包括:界面接收及显示模块,用于接收到智能交互平板发送的显示界面信息;显示平板镜像画面,所述平板镜像画面根据所述显示界面信息得到。In one embodiment, the touch control device of the smart interaction tablet further includes: an interface receiving and displaying module, configured to receive display interface information sent by the smart interaction tablet; and display a tablet mirror image, wherein the tablet mirror image is according to the The display interface information is obtained.
关于智能交互平板的触摸控制装置的具体限定可以参见上文中对于智能交互平板的触摸控制方法的限定,在此不再赘述。上述智能交互平板的触摸控制装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于智能交互平板中的处理器中,也可以以软件形式存储于智能交互平板中的存储器中,以便于处理器调用执行以上各个模块对应的操作。For a specific definition of the touch control device of the smart interactive tablet, reference may be made to the above description of the touch control method for the smart interactive tablet, and details are not described herein again. The various modules in the touch control device of the smart interactive tablet described above may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in the hardware in the processor in the smart interaction tablet, or may be stored in the memory in the smart interaction tablet, so that the processor calls the execution of the corresponding operations of the above modules.
此外,上述示例的智能交互平板的触摸控制装置的实施方式中,各程序模块的逻辑划分仅是举例说明,实际应用中可以根据需要,例如出于相应硬件的配置要求或者软件的实现的便利考虑,将上述功能分配由不同的程序模块完成,即将所述智能交互平板的触摸控制装置的内部结构划分成不同的程序模块,以完成以上描述的全部或者部分功能。In addition, in the implementation of the touch control device of the smart interactive tablet of the above example, the logical division of each program module is only an example, and the actual application may be considered according to requirements, for example, for the configuration requirements of the corresponding hardware or the convenience of implementation of the software. The function distribution is completed by different program modules, that is, the internal structure of the touch control device of the smart interaction tablet is divided into different program modules to complete all or part of the functions described above.
在一个实施例中,提供了一种智能交互平板,该智能交互平板的内部结构图可以如图12所示。该智能交互平板包括通过***总线连接的处理器、存储器、网络接口和具有触摸功能的显示屏。其中,该智能交互平板的处理器用于提供计算和控制能力。该智能交互平板的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作***、计算机程序和数据库。该内存储器为非易失性存储介质中的操作***和计算机程序的运行提供环境。该智能交互平板的数据库用于存储执行上述智能交互平板的触摸控制方法的计算机程序。该计算机程序被处理器执行时以实现上述任意一种智能交互平板的触摸控制方法。该智能交互平板的网络接口用于与外部终端(例如触控终端)通过网络连接通信。该智能交互平板的触摸屏可以是电容屏,电磁屏或红外屏等。一般而言,该触摸屏可以接收用户通过手指或者输入设备输入的触摸操作。其中,输入设备包括但不限定于:触控笔、红外笔和/或电容笔等。In an embodiment, an intelligent interaction tablet is provided, and an internal structure diagram of the smart interaction tablet may be as shown in FIG. The smart interaction tablet includes a processor connected via a system bus, a memory, a network interface, and a display with touch function. The processor of the smart interactive tablet is used to provide computing and control capabilities. The memory of the smart interactive tablet includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for operation of an operating system and computer programs in a non-volatile storage medium. The database of the smart interaction tablet is used to store a computer program that executes the touch control method of the smart interaction tablet described above. The computer program is executed by the processor to implement the touch control method of any of the above intelligent interactive tablets. The network interface of the smart interactive tablet is used for communicating with an external terminal (such as a touch terminal) through a network connection. The touch screen of the smart interactive tablet can be a capacitive screen, an electromagnetic screen or an infrared screen. In general, the touch screen can receive a touch operation input by a user through a finger or an input device. The input device includes but is not limited to: a stylus, an infrared pen, and/or a capacitive pen.
在一个实施例中,提供了一种智能交互平板,包括:存储器、具有触摸功能的显示屏以及一个或多个处理器;所述存储器,用于存储一个或多个程序;当所述一个或多个程序被所 述一个或多个处理器执行,使得所述一个或多个处理器实现上述任一智能交互平板的触摸控制方法的步骤。In one embodiment, a smart interaction tablet is provided, comprising: a memory, a touch screen having a touch function, and one or more processors; the memory for storing one or more programs; when the one or A plurality of programs are executed by the one or more processors such that the one or more processors implement the steps of a touch control method of any of the smart interactive tablets described above.
上述智能交互平板,通过运行存储器中存储的一个或多个程序,实现了通过触控终端对智能交互平板的远程触摸操作,其触摸操作效果与在智能交互平板上进行的触摸操作的效果一致,方便用户操作,提高操作效率。The smart interactive tablet implements a remote touch operation on the smart interaction tablet through the touch terminal by running one or more programs stored in the memory, and the touch operation effect is consistent with the touch operation performed on the smart interaction tablet. It is convenient for users to operate and improve operation efficiency.
在一个实施例中,提供了一种触控终端,该触控终端的内部结构图可以如图13所示。该触控终端包括通过***总线连接的处理器、存储器、网络接口和具有触摸功能的显示屏。其中,该触控终端的处理器用于提供计算和控制能力。该触控终端的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作***、计算机程序和数据库。该内存储器为非易失性存储介质中的操作***和计算机程序的运行提供环境。该触控终端的数据库用于存储执行上述智能交互平板的触摸控制方法的计算机程序。该计算机程序被处理器执行时以实现上述任意一种智能交互平板的触摸控制方法。该触控终端的网络接口用于与外部终端(例如智能交互平板)通过网络连接通信。该触控终端的触摸屏可以是电容屏,电磁屏或红外屏等。一般而言,该触摸屏可以接收用户通过手指或者输入设备输入的触摸操作。其中,输入设备包括但不限定于:触控笔、红外笔和/或电容笔等。In one embodiment, a touch terminal is provided. The internal structure of the touch terminal can be as shown in FIG. The touch terminal includes a processor connected via a system bus, a memory, a network interface, and a display having a touch function. The processor of the touch terminal is used to provide calculation and control capabilities. The memory of the touch terminal includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for operation of an operating system and computer programs in a non-volatile storage medium. The database of the touch terminal is used to store a computer program for performing the touch control method of the smart interactive tablet described above. The computer program is executed by the processor to implement the touch control method of any of the above intelligent interactive tablets. The network interface of the touch terminal is used for communicating with an external terminal (for example, a smart interaction tablet) through a network connection. The touch screen of the touch terminal can be a capacitive screen, an electromagnetic screen or an infrared screen. In general, the touch screen can receive a touch operation input by a user through a finger or an input device. The input device includes but is not limited to: a stylus, an infrared pen, and/or a capacitive pen.
在一个实施例中,提供了一种触控终端,存储器、具有触摸功能的显示屏以及一个或多个处理器;所述存储器,用于存储一个或多个程序;当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现上述任一智能交互平板的触摸控制方法的步骤。In one embodiment, a touch terminal is provided, a memory, a display having a touch function, and one or more processors; the memory for storing one or more programs; when the one or more The program is executed by the one or more processors such that the one or more processors implement the steps of a touch control method of any of the smart interactive tablets described above.
上述触控终端,通过运行存储器中存储的一个或多个程序,实现了通过触控终端对智能交互平板的远程触摸操作,其触摸操作效果与在智能交互平板上进行的触摸操作的效果一致,方便用户操作,提高操作效率。The touch terminal implements a remote touch operation on the smart interaction tablet through the touch terminal by running one or more programs stored in the memory, and the touch operation effect is consistent with the touch operation performed on the smart interaction tablet. It is convenient for users to operate and improve operation efficiency.
本领域技术人员可以理解,图12、图13中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的智能交互平板、触控终端的限定,具体的智能交互平板、触控终端可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the structures shown in FIG. 12 and FIG. 13 are only a block diagram of a part of the structure related to the solution of the present application, and do not constitute a smart interactive tablet or a touch terminal to which the solution of the present application is applied. The specific smart interactive tablet and touch terminal may include more or less components than those shown in the figure, or some components may be combined, or have different component arrangements.
在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现上述任一智能交互平板的触摸控制方法的步骤。In one embodiment, a computer readable storage medium is provided having stored thereon a computer program that, when executed by a processor, implements the steps of a touch control method of any of the smart interactive tablets described above.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包 括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。One of ordinary skill in the art can understand that all or part of the process of implementing the above embodiments can be completed by a computer program to instruct related hardware, and the computer program can be stored in a non-volatile computer readable storage. In the medium, the computer program, when executed, may include the flow of an embodiment of the methods as described above. Any reference to a memory, storage, database or other medium used in the various embodiments provided herein may include non-volatile and/or volatile memory. Non-volatile memory can include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of formats, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronization chain. Synchlink DRAM (SLDRAM), Memory Bus (Rambus) Direct RAM (RDRAM), Direct Memory Bus Dynamic RAM (DRDRAM), and Memory Bus Dynamic RAM (RDRAM).
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments may be arbitrarily combined. For the sake of brevity of description, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, It is considered to be the range described in this specification.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其它实施例的相关描述。In the above embodiments, the descriptions of the various embodiments are all focused, and the parts that are not detailed in a certain embodiment can be referred to the related descriptions of other embodiments.
本文实施例的术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或(模块)单元的过程、方法、***、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "comprising" and "having", and any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, product, or device that comprises a series of steps or (module) units is not limited to the listed steps or units, but may alternatively include steps or units not listed, or Also includes other steps or units inherent to such processes, methods, products, or devices.
在本文中提及的“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。"Multiple" as referred to herein means two or more. "and/or", describing the association relationship of the associated objects, indicating that there may be three relationships, for example, A and/or B, which may indicate that there are three cases where A exists separately, A and B exist at the same time, and B exists separately. The character "/" generally indicates that the contextual object is an "or" relationship.
在本文中提及的“第一\第二”仅仅是是区别类似的对象,不代表针对对象的特定排序,可以理解地,“第一\第二”在允许的情况下可以互换特定的顺序或先后次序。应该理解“第一\第二”区分的对象在适当情况下可以互换,以使这里描述的实施例能够以除了在这里图示或描述的那些以外的顺序实施。The "first\second" mentioned in this article is merely an object that distinguishes similar objects, and does not represent a specific ordering for objects. It is understandably that "first\second" can be interchanged if allowed. Order or order. It is to be understood that the "first\second" distinguished objects may be interchanged as appropriate to enable the embodiments described herein to be carried out in a sequence other than those illustrated or described herein.
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments are merely illustrative of several embodiments of the present application, and the description thereof is more specific and detailed, but is not to be construed as limiting the scope of the invention. It should be noted that a number of variations and modifications may be made by those skilled in the art without departing from the spirit and scope of the present application. Therefore, the scope of the invention should be determined by the appended claims.
Claims (19)
- 一种智能交互平板的触摸控制方法,其特征在于,包括:A touch control method for an intelligent interactive tablet, comprising:接收触控终端发送的触摸操作信息,所述触摸操作信息中包括触摸操作的类型以及第一位置;所述触摸操作是作用于触控终端显示的平板镜像画面的触摸操作,所述平板镜像画面与智能交互平板的显示界面对应,所述第一位置为所述触摸操作在所述平板镜像画面中的作用位置;Receiving the touch operation information sent by the touch terminal, where the touch operation information includes a type of the touch operation and the first position; the touch operation is a touch operation of the tablet mirror image displayed on the touch terminal, and the flat mirror image is Corresponding to the display interface of the smart interaction tablet, the first location is a working position of the touch operation in the tablet mirror image;将所述触摸操作信息存储至预设的驱动文件,所述驱动文件用于控制智能交互平板的触摸输入功能;And storing the touch operation information to a preset driving file, where the driving file is used to control a touch input function of the smart interaction tablet;从所述驱动文件中读取所述触摸操作信息,在智能交互平板的显示界面中显示对应的触摸响应;所述触摸响应根据所述触摸操作的类型以及第二位置确定,所述第二位置根据所述第一位置确定。Reading the touch operation information from the drive file, displaying a corresponding touch response in a display interface of the smart interaction tablet; the touch response is determined according to the type of the touch operation and the second position, the second position Determined according to the first location.
- 根据权利要求1所述的触摸控制方法,其特征在于,还包括:The touch control method according to claim 1, further comprising:获取智能交互平板的显示界面信息;Obtaining display interface information of the smart interaction tablet;向触控终端发送所述显示界面信息,所述显示界面信息用于触发触控终端显示平板镜像画面。The display interface information is sent to the touch terminal, and the display interface information is used to trigger the touch terminal to display the flat mirror image.
- 根据权利要求2所述的触摸控制方法,其特征在于,还包括:The touch control method according to claim 2, further comprising:接收到触控终端发送的请求触摸控制的指令,启动预设的第一服务和第二服务;Receiving an instruction for requesting touch control sent by the touch terminal, starting the preset first service and the second service;所述第一服务用于获取所述智能交互平板的显示界面,向触控终端发送显示界面信息;The first service is configured to acquire a display interface of the smart interaction tablet, and send display interface information to the touch terminal;所述第二服务用于接收触控终端发送的触摸操作信息,将所述触摸操作信息存储至预设的驱动文件,从所述驱动文件中读取所述触摸操作信息,在智能交互平板的显示界面中显示对应的触摸响应。The second service is configured to receive touch operation information sent by the touch terminal, store the touch operation information to a preset drive file, and read the touch operation information from the drive file, on the smart interaction tablet. The corresponding touch response is displayed in the display interface.
- 根据权利要求3所述的触摸控制方法,其特征在于,所述在智能交互平板的显示界面中显示对应的触摸响应,包括:The touch control method according to claim 3, wherein the displaying the corresponding touch response in the display interface of the smart interaction tablet comprises:在智能交互平板的显示界面中显示所述触摸事件对应的触摸痕迹;和/或,Displaying a touch trace corresponding to the touch event in a display interface of the smart interaction tablet; and/or,在智能交互平板的显示界面中显示对所述触摸事件的执行响应。An execution response to the touch event is displayed in a display interface of the smart interactive tablet.
- 根据权利要求1至4任一所述的触摸控制方法,其特征在于,所述驱动文件为uinput文件;The touch control method according to any one of claims 1 to 4, wherein the drive file is a uinput file;和/或,and / or,所述触摸操作的类型包括:点击、按住、拖动、滑动中的一种或者多种。The type of the touch operation includes one or more of clicking, holding, dragging, and sliding.
- 根据权利要求1至4任一所述的触摸控制方法,其特征在于,所述作用位置包括:所述触摸操作包含的触摸点的横坐标相对于所述平板镜像画面的长度的第一相对位置,以及,所述触摸操作包含的触摸点的纵坐标相对于所述平板镜像画面的宽度的第二相对位置;The touch control method according to any one of claims 1 to 4, wherein the action position comprises: a first relative position of an abscissa of the touch point included in the touch operation with respect to a length of the flat mirror image And a second relative position of the ordinate of the touch point included in the touch operation relative to the width of the flat mirror image;其中,触摸点的横坐标和纵坐标均参照X-Y坐标系,所述X-Y坐标系的横轴与所述平板镜像画面的长度方向重合,所述X-Y坐标系的纵轴与所述平板镜像画面的宽度方向重合,所 述X-Y坐标系的原点为所述平板镜像画面的一个顶点;Wherein, the abscissa and the ordinate of the touch point refer to the XY coordinate system, and the horizontal axis of the XY coordinate system coincides with the longitudinal direction of the flat mirror image, and the vertical axis of the XY coordinate system and the flat mirror image The width direction coincides, and an origin of the XY coordinate system is a vertex of the flat mirror image;所述第二位置的确定方式包括:The determining the second location includes:根据所述第一相对位置以及智能交互平板的显示界面的长度,得到长度方向的位置信息;Obtaining position information in the longitudinal direction according to the first relative position and the length of the display interface of the smart interaction tablet;根据所述第二相对位置以及智能交互平板的显示界面的宽度,得到宽度方向的位置信息;Obtaining position information in the width direction according to the second relative position and the width of the display interface of the smart interaction tablet;根据长度方向的位置信息以及宽度方向的位置信息,确定智能交互平板显示界面中的第二位置。The second position in the smart interactive flat panel display interface is determined according to the position information in the length direction and the position information in the width direction.
- 根据权利要求3所述的触摸控制方法,其特征在于,所述接收到触控终端发送的请求触摸控制的指令,启动预设的第一服务和第二服务之前,还包括:The touch control method according to claim 3, wherein the receiving the instruction to request touch control sent by the touch terminal, before starting the preset first service and the second service, further includes:检测到启动远程触摸控制的操作指令,生成一信息码,所述信息码中包含所述智能交互平板的连接信息;Detecting an operation instruction for initiating remote touch control, generating an information code, where the information code includes connection information of the smart interaction tablet;在智能交互平板的显示界面上显示所述信息码;所述信息码被触控终端识别后能够触发所述触控终端建立与所述智能交互平板的通信连接。The information code is displayed on the display interface of the smart interaction tablet; after the information code is recognized by the touch terminal, the touch terminal can be triggered to establish a communication connection with the smart interaction tablet.
- 根据权利要求7所述的触摸控制方法,其特征在于,The touch control method according to claim 7, wherein所述信息码包括二维码;The information code includes a two-dimensional code;和/或,and / or,所述连接信息包括:智能交互平板的网络信息以及通信端口信息。The connection information includes: network information of the smart interaction tablet and communication port information.
- 一种智能交互平板的触摸控制方法,其特征在于,包括:A touch control method for an intelligent interactive tablet, comprising:检测到作用于触控终端显示的平板镜像画面的触摸操作,所述平板镜像画面与智能交互平板的显示界面对应;A touch operation is performed on the tablet mirror image displayed by the touch terminal, where the tablet mirror image corresponds to the display interface of the smart interaction tablet;确定所述触摸操作的类型以及第一位置,所述第一位置为所述触摸操作在所述平板镜像画面中的作用位置;Determining a type of the touch operation and a first location, where the first location is an active position of the touch operation in the tablet mirror image;向所述智能交互平板发送触摸操作信息,所述触摸操作信息中包括所述触摸操作的类型以及第一位置;所述触摸操作信息用于触发智能交互平板在其显示界面中显示对应的触摸响应,所述触摸响应根据所述触摸操作的类型以及第二位置确定,所述第二位置根据所述第一位置确定。Sending touch operation information to the smart interaction tablet, the touch operation information includes a type of the touch operation and a first location; the touch operation information is used to trigger the smart interaction tablet to display a corresponding touch response in a display interface thereof The touch response is determined according to a type of the touch operation and a second location, the second location being determined according to the first location.
- 根据权利要求9所述的触摸控制方法,其特征在于,还包括:The touch control method according to claim 9, further comprising:接收到智能交互平板发送的显示界面信息;Receiving display interface information sent by the smart interaction tablet;显示平板镜像画面,所述平板镜像画面根据所述显示界面信息得到。A tablet mirror screen is displayed, and the tablet mirror screen is obtained based on the display interface information.
- 根据权利要求10所述的触摸控制方法,其特征在于,确定所述相对位置的方式包括:The touch control method according to claim 10, wherein the determining the relative position comprises:获取所述触摸操作包含的触摸点在所述平板镜像画面中的横坐标和纵坐标;其中,触摸点的横坐标和纵坐标均参照预设的X-Y坐标系,所述X-Y坐标系的横轴与所述平板镜像画面的长度方向重合,所述X-Y坐标系的纵轴与所述平板镜像画面的宽度方向重合,所述X-Y坐标系的原点为所述平板镜像画面的一个顶点;Obtaining an abscissa and an ordinate of the touch point included in the touch operation in the flat mirror image; wherein the abscissa and the ordinate of the touch point refer to a preset XY coordinate system, and the horizontal axis of the XY coordinate system a longitudinal direction of the flat mirror image, wherein a vertical axis of the XY coordinate system coincides with a width direction of the flat mirror image, and an origin of the XY coordinate system is a vertex of the flat mirror image;根据所述触摸点的横坐标以及所述平板镜像画面的长度,得到触摸点的横坐标相对于所 述平板镜像画面的长度的第一相对位置;Obtaining a first relative position of the abscissa of the touched point relative to the length of the flat mirror image according to the abscissa of the touched point and the length of the flat mirror image;根据所述触摸点的纵坐标以及所述平板镜像画面的宽度,得到触摸点的纵坐标相对于所述平板镜像画面的宽度的第二相对位置;Obtaining a second relative position of the ordinate of the touch point relative to the width of the flat mirror image according to the ordinate of the touch point and the width of the flat mirror image;根据所述第一相对位置、第二相对位置得到所述触摸操作在所述平板镜像画面中的作用位置。And determining, according to the first relative position and the second relative position, an action position of the touch operation in the tablet mirror image.
- 根据权利要求10所述的触摸控制方法,其特征在于,所述接收到智能交互平板发送的显示界面信息之前,还包括:The touch control method according to claim 10, wherein before receiving the display interface information sent by the smart interaction tablet, the method further includes:识别智能交互平板显示界面上显示的信息码,所述信息码中包含所述智能交互平板的连接信息;Identifying an information code displayed on the smart interactive tablet display interface, where the information code includes connection information of the smart interaction tablet;根据所述连接信息建立与所述智能交互平板的通信连接。Establishing a communication connection with the smart interaction tablet according to the connection information.
- 一种智能交互平板的触摸控制装置,其特征在于,包括:A touch control device for an intelligent interactive tablet, comprising:触摸信息接收模块,用于接收触控终端发送的触摸操作信息,所述触摸操作信息中包括触摸操作的类型以及第一位置;所述触摸操作是作用于触控终端显示的平板镜像画面的触摸操作,所述平板镜像画面与智能交互平板的显示界面对应,所述第一位置为所述触摸操作在所述平板镜像画面中的作用位置;The touch information receiving module is configured to receive the touch operation information sent by the touch terminal, where the touch operation information includes a type of the touch operation and the first position; and the touch operation is a touch on the tablet mirror image displayed by the touch terminal In operation, the tablet mirroring screen corresponds to a display interface of the smart interaction tablet, and the first location is a working position of the touch operation in the tablet mirroring screen;触摸信息存储模块,用于将所述触摸操作信息存储至预设的驱动文件,所述驱动文件用于控制智能交互平板的触摸输入功能;Touching the information storage module, configured to store the touch operation information to a preset driving file, where the driving file is used to control a touch input function of the smart interaction tablet;以及,触摸响应模块,用于从所述驱动文件中读取所述触摸操作信息,在智能交互平板的显示界面中显示对应的触摸响应;所述触摸响应根据所述触摸操作的类型以及第二位置确定,所述第二位置根据所述第一位置确定。And a touch response module, configured to read the touch operation information from the drive file, and display a corresponding touch response in a display interface of the smart interaction tablet; the touch response is according to the type of the touch operation and the second The position is determined, and the second position is determined according to the first position.
- 根据权利要求13所述的触摸控制装置,其特征在于,还包括:The touch control device according to claim 13, further comprising:显示界面发送模块,用于获取智能交互平板的显示界面信息,向触控终端发送所述显示界面信息,以在所述触控终端显示平板镜像画面。The display interface sending module is configured to obtain display interface information of the smart interaction tablet, and send the display interface information to the touch terminal to display a tablet mirror image on the touch terminal.
- 根据权利要求13所述的触摸控制装置,其特征在于,The touch control device according to claim 13, wherein所述作用位置包括:所述触摸操作对应的触摸点横坐标相对于所述平板镜像画面的长度的第一相对位置,以及,所述触摸操作对应的触摸点纵坐标相对于所述平板镜像画面的宽度的第二相对位置;The action position includes: a first relative position of the touch point abscissa corresponding to the touch operation relative to a length of the tablet mirror image, and a touch point ordinate corresponding to the touch operation relative to the tablet mirror image a second relative position of the width;其中,触摸点的横坐标和纵坐标均参照预设的X-Y坐标系,所述X-Y坐标系的横轴与所述平板镜像画面的长度方向重合,所述X-Y坐标系的纵轴与所述平板镜像画面的宽度方向重合,所述X-Y坐标系的原点为所述平板镜像画面的一个顶点;Wherein, the abscissa and the ordinate of the touch point refer to a preset XY coordinate system, the horizontal axis of the XY coordinate system coincides with the length direction of the flat mirror image, and the vertical axis of the XY coordinate system and the flat plate The width direction of the mirror image is coincident, and an origin of the XY coordinate system is a vertex of the flat mirror image;所述触摸响应模块中包括:The touch response module includes:位置确定单元,用于根据所述第一相对位置以及智能交互平板显示界面的长度,得到长度方向的位置信息;根据所述第二相对位置以及智能交互平板显示界面的宽度,得到宽度方向的位置信息;根据长度方向的位置信息以及宽度方向的位置信息,确定智能交互平板显示 界面中的第二位置。a position determining unit, configured to obtain position information in a length direction according to the first relative position and a length of the smart interactive flat panel display interface; and obtain a position in a width direction according to the second relative position and a width of the smart interactive flat display interface Information; determining the second position in the smart interactive flat panel display interface according to the position information in the length direction and the position information in the width direction.
- 一种智能交互平板的触摸控制装置,其特征在于,包括:A touch control device for an intelligent interactive tablet, comprising:触摸检测模块,用于检测到作用于触控终端显示的平板镜像画面的触摸操作,所述平板镜像画面与智能交互平板的显示界面对应;a touch detection module, configured to detect a touch operation of a tablet mirror image displayed on the touch terminal, where the tablet mirror image corresponds to a display interface of the smart interaction tablet;触摸信息确定模块,用于确定所述触摸操作的类型以及第一位置,所述第一位置为所述触摸操作在所述平板镜像画面中的作用位置;a touch information determining module, configured to determine a type of the touch operation and a first location, where the first location is a working position of the touch operation in the tablet mirror image;以及,触摸信息发送模块,用于向所述智能交互平板发送触摸操作信息,所述触摸操作信息中包括所述触摸操作的类型以及第一位置;所述触摸操作信息用于触发智能交互平板在其显示界面中显示对应的触摸响应,所述触摸响应根据所述触摸操作的类型以及第二位置确定,所述第二位置根据所述第一位置确定。And a touch information sending module, configured to send touch operation information to the smart interaction tablet, where the touch operation information includes a type of the touch operation and a first location; and the touch operation information is used to trigger a smart interaction tablet A corresponding touch response is displayed in the display interface, the touch response being determined according to the type of the touch operation and the second position, the second position being determined according to the first position.
- 一种智能交互平板,其特征在于,包括:存储器、具有触摸功能的显示屏以及一个或多个处理器;An intelligent interactive tablet, comprising: a memory, a display screen with a touch function, and one or more processors;所述存储器,用于存储一个或多个程序;The memory for storing one or more programs;当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现权利要求1至8任一所述方法的步骤。When the one or more programs are executed by the one or more processors, the one or more processors implement the steps of the method of any of claims 1-8.
- 一种触控终端,其特征在于,包括:存储器、具有触摸功能的显示屏以及一个或多个处理器;A touch terminal, comprising: a memory, a display screen with a touch function, and one or more processors;所述存储器,用于存储一个或多个程序;The memory for storing one or more programs;当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现权利要求9至12任一所述方法的步骤。When the one or more programs are executed by the one or more processors, the one or more processors implement the steps of the method of any of claims 9-12.
- 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现权利要求1至12任一所述方法的步骤。A computer readable storage medium having stored thereon a computer program, characterized in that the program, when executed by a processor, implements the steps of the method of any one of claims 1 to 12.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810401922.1 | 2018-04-28 | ||
CN201810401922.1A CN108693997B (en) | 2018-04-28 | 2018-04-28 | Touch control method and device of intelligent interaction panel and intelligent interaction panel |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2019205634A1 true WO2019205634A1 (en) | 2019-10-31 |
Family
ID=63846019
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2018/118470 WO2019205634A1 (en) | 2018-04-28 | 2018-11-30 | Touch control method and device for smart interactive tablet and smart interactive tablet |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108693997B (en) |
WO (1) | WO2019205634A1 (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108693997B (en) * | 2018-04-28 | 2020-08-04 | 广州视源电子科技股份有限公司 | Touch control method and device of intelligent interaction panel and intelligent interaction panel |
CN109646944B (en) | 2018-12-20 | 2022-02-18 | 腾讯科技(深圳)有限公司 | Control information processing method, control information processing device, electronic equipment and storage medium |
CN110008430A (en) * | 2019-04-10 | 2019-07-12 | 广州视源电子科技股份有限公司 | Desktop component configuration method and device of screen transmission equipment |
CN115129207A (en) * | 2021-03-29 | 2022-09-30 | 博泰车联网科技(上海)股份有限公司 | Working method and device of vehicle-mounted display module interactive system, storage medium and terminal |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103440099A (en) * | 2013-08-14 | 2013-12-11 | 深圳市同洲电子股份有限公司 | Multi-screen interactive method, terminal and system |
CN104102334A (en) * | 2013-04-10 | 2014-10-15 | 宏碁股份有限公司 | Control method of far-end device and far-end control system |
US20160156956A1 (en) * | 2014-12-02 | 2016-06-02 | Samsung Electronics Co., Ltd. | Display device |
CN108693997A (en) * | 2018-04-28 | 2018-10-23 | 广州视源电子科技股份有限公司 | Touch control method and device of intelligent interaction panel and intelligent interaction panel |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8330733B2 (en) * | 2009-01-21 | 2012-12-11 | Microsoft Corporation | Bi-modal multiscreen interactivity |
CN102446049A (en) * | 2010-10-11 | 2012-05-09 | 梁宇杰 | Device and method for cursor operation induction processing and using external display devices to display information |
CN202677335U (en) * | 2012-05-17 | 2013-01-16 | 芜湖准信科技有限公司 | Touch multi-screen man-machine interaction device |
CN106547452A (en) * | 2016-10-11 | 2017-03-29 | 深圳市天易联科技有限公司 | Mobile terminal, display device and the method for figure shows |
-
2018
- 2018-04-28 CN CN201810401922.1A patent/CN108693997B/en active Active
- 2018-11-30 WO PCT/CN2018/118470 patent/WO2019205634A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104102334A (en) * | 2013-04-10 | 2014-10-15 | 宏碁股份有限公司 | Control method of far-end device and far-end control system |
CN103440099A (en) * | 2013-08-14 | 2013-12-11 | 深圳市同洲电子股份有限公司 | Multi-screen interactive method, terminal and system |
US20160156956A1 (en) * | 2014-12-02 | 2016-06-02 | Samsung Electronics Co., Ltd. | Display device |
CN108693997A (en) * | 2018-04-28 | 2018-10-23 | 广州视源电子科技股份有限公司 | Touch control method and device of intelligent interaction panel and intelligent interaction panel |
Also Published As
Publication number | Publication date |
---|---|
CN108693997B (en) | 2020-08-04 |
CN108693997A (en) | 2018-10-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2019205634A1 (en) | Touch control method and device for smart interactive tablet and smart interactive tablet | |
WO2021072912A1 (en) | File sharing method, apparatus, and system, interactive smart device, source end device, and storage medium | |
US9310921B2 (en) | Screen control method and the apparatus | |
CN109032390B (en) | Handwriting data caching method, device, equipment and storage medium | |
WO2021072926A1 (en) | File sharing method, apparatus, and system, interactive smart device, source end device, and storage medium | |
WO2020024495A1 (en) | Whiteboard operation method, device and system, whiteboard device and medium | |
WO2015161653A1 (en) | Terminal operation method and terminal device | |
US9632693B2 (en) | Translation of touch input into local input based on a translation profile for an application | |
CN110286768B (en) | Virtual object display method, terminal device and computer-readable storage medium | |
KR20140003875A (en) | Method and apparatus for processing multiple inputs | |
US20140049498A1 (en) | Method and mobile terminal device for image operation | |
WO2021203815A1 (en) | Page operation method and apparatus, and terminal and storage medium | |
WO2021068381A1 (en) | Interface display method, device and apparatus, and storage medium | |
WO2020098565A1 (en) | Intelligent interactive tablet operation method and system, intelligent interactive tablet and storage medium | |
JP2013182625A (en) | Associating stroke information with documents based on document information | |
CN112218134A (en) | Input method and related equipment | |
US11455071B2 (en) | Layout method, device and equipment for window control bars | |
CN111866557B (en) | Configuration method and device of large-screen display equipment, storage medium and electronic equipment | |
CN110418429B (en) | Data display method, computing equipment and data display system | |
WO2018107422A1 (en) | Electronic apparatus and information reading control method | |
WO2021068382A1 (en) | Multi-window operation control method and apparatus, and device and storage medium | |
US9483171B1 (en) | Low latency touch input rendering | |
CA2886483C (en) | Dynamically determining workspace bounds during a collaboration session | |
WO2022041607A1 (en) | Single-touch-screen-based touch control method and apparatus for multiple touch receiving devices, and computer device | |
TWI537775B (en) | System and method for controlling a mouse icon |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 18916667 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 18916667 Country of ref document: EP Kind code of ref document: A1 |