CN110018754A - Transmit the method and touch control display device of touch data - Google Patents

Transmit the method and touch control display device of touch data Download PDF

Info

Publication number
CN110018754A
CN110018754A CN201910285321.3A CN201910285321A CN110018754A CN 110018754 A CN110018754 A CN 110018754A CN 201910285321 A CN201910285321 A CN 201910285321A CN 110018754 A CN110018754 A CN 110018754A
Authority
CN
China
Prior art keywords
touch
display device
control display
touch control
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910285321.3A
Other languages
Chinese (zh)
Inventor
陈允超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Shell Technology Co Ltd
Original Assignee
Beijing Shell Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Shell Technology Co Ltd filed Critical Beijing Shell Technology Co Ltd
Priority to CN201910285321.3A priority Critical patent/CN110018754A/en
Publication of CN110018754A publication Critical patent/CN110018754A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Abstract

The present invention provides a kind of methods and touch control display device for transmitting touch data, comprising: touch control display device establishes the Bluetooth link between sending ending equipment;Touch control display device creates virtual human-computer interaction device's HID multi-point touch MultiTouch equipment for sending ending equipment;Touch data is transferred to sending ending equipment using HID MultiTouch equipment and by Bluetooth link by touch control display device, to realize that the touch data in touch control display device reversely returns to sending ending equipment.

Description

Transmit the method and touch control display device of touch data
Technical field
The present invention relates to throw to shield technical field, and in particular to a kind of method and touch control display device for transmitting touch data.
Background technique
Currently, popular throwing screen technology can be realized the display screen dispensing of sending ending equipment such as mobile phone, plate etc. in the market Onto another receiving device such as the display screen of touch control display device.
However, all there is the unidirectional limitation for throwing screen and interaction substantially in throwing screen technology in the market, that is, shielded in entire throwing Receiving device all can only passively receive the unidirectional touch-control of sending ending equipment in journey, thus, it can not achieve and set receiving end Standby touch data reversely returns to sending ending equipment.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of method and touch control display device for transmitting touch data, it can Realize that touch data is wirelessly reversely returned to sending ending equipment by touch control display device.
In the embodiment of the present invention in a first aspect, the embodiment of the invention provides a kind of method for transmitting touch data, wrap Include: touch control display device establishes the Bluetooth link between sending ending equipment;Touch control display device is created for sending ending equipment Virtual human-computer interaction device's HID multi-point touch MultiTouch equipment;Touch control display device is set using HID MultiTouch It is standby and touch data is transferred to by sending ending equipment by Bluetooth link.
In an embodiment of the present invention, above-mentioned touch control display device using HID MultiTouch equipment and passes through bluetooth chain Touch data is transferred to sending ending equipment by road, comprising: touch control display device is joined using the first touch-control that sending ending equipment is sent The HID report descriptor of number construction HID MultiTouch hardware compatibility;Touch control display device is reported HID by Bluetooth link Descriptor is sent to sending ending equipment, to complete the statement of HID MultiTouch equipment;Touch control display device obtains touch-control number According to;Touch data is packaged into HID report by touch control display device;Touch control display device, which is reported HID by Bluetooth link, to be transmitted To sending ending equipment, in order to which sending ending equipment parses touch data from HID report, and made accordingly according to touch data Movement.
In an embodiment of the present invention, touch control display device supports android system, above-mentioned touch control display device to obtain touching Control data, comprising: touch control display device registers View.OnTouchListener () from the View control of android system Example;Touch control display device is by calling the onTouch () method of View.OnTouchListener () example to capture MotionEvent object;Touch control display device obtains touch data from MotionEvent object.
In an embodiment of the present invention, the first touch parameter structure that above-mentioned touch control display device utilizes sending ending equipment to send Make the HID report descriptor of HID MultiTouch hardware compatibility, comprising: touch control display device receives what sending ending equipment was sent First touch parameter;Touch control display device combines the first touch parameter and the second touch parameter of touch control display device to construct HID The HID report descriptor of MultiTouch hardware compatibility.
In an embodiment of the present invention, the first touch parameter includes that the size of the screen of sending ending equipment and screen are supported Touch-control points.
In an embodiment of the present invention, above-mentioned touch control display device establishes the Bluetooth link between sending ending equipment, packet Include: touch control display device indicates touch control display device by calling static state getDefaultAdapter () method to obtain BluetoothAdapter class;The listenUsingRfcomm that touch control display device passes through calling BluetoothAdapter class WithServiceRecord (String, UUID) method obtains BluetoothServerSocket class;Touch control display device is logical It crosses and accept () method of BluetoothServerSocket class is called to begin listening for connection request;Touch control display device receives Sending ending equipment is square by calling the createRfcommSocketToServiceRecord () of BluetoothService class Method obtains BluetoothSocket class and by calling connect () method of BluetoothSocket class to show to touch-control The first connection request that equipment is sent.
In an embodiment of the present invention, touch data includes the touching for the touch control operation that user carries out in touch control display device One or more of control points, coordinate and timestamp.
In an embodiment of the present invention, sending ending equipment includes mobile phone, desktop computer or notes with Bluetooth function This computer.
In the second aspect of the embodiment of the present invention, the embodiment of the invention provides a kind of touch control display devices, comprising: establishes Module establishes the Bluetooth link between sending ending equipment for touch control display device;Creation module is used for touch control display device Virtual human-computer interaction device's HID multi-point touch MultiTouch equipment is created for sending ending equipment;Transmission module, for touching Touch data is simultaneously transferred to sending ending equipment by Bluetooth link by control display equipment utilization HID MultiTouch equipment.
In the third aspect of the embodiment of the present invention, the embodiment of the present invention provides a kind of computer readable storage medium, thereon Computer executable instructions are stored with, the first party such as the embodiment of the present invention is realized when above-mentioned executable instruction is executed by processor The method for the transmission touch data that face provides.
The method and touch control display device of a kind of transmission touch data provided according to embodiments of the present invention, it is aobvious by touch-control Show the Bluetooth link that equipment is established between sending ending equipment, realizes wirelessly connecting between touch control display device and sending ending equipment It connects;Also, touch control display device creates virtual human-computer interaction device's HID multi-point touch MultiTouch for sending ending equipment Touch data is transferred to sending ending equipment using HID MultiTouch equipment and by Bluetooth link realization by equipment, thus It realizes and the touch data of touch control display device is reversely returned into sending ending equipment.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is a kind of flow diagram of the method for transmission touch data that one embodiment of the invention provides.
Fig. 2 be another embodiment of the present invention provides a kind of transmission touch data method flow diagram.
Fig. 3 is a kind of block diagram for touch control display device that one embodiment of the invention provides.
Fig. 4 is a kind of block diagram of the control system for transmission touch data that one embodiment of the invention provides.
Specific embodiment
Below in conjunction with attached drawing needed in the embodiment of the present invention, technical solution in the embodiment of the present invention into Row clearly and completely describes, it should be apparent that, drawings discussed below is only a part of the embodiment of the present invention, rather than all Embodiment.
It should be noted that based on the embodiments of the present invention, those of ordinary skill in the art are not making creativeness All related embodiments obtained, shall fall within the protection scope of the present invention under the premise of labour.
It should also be noted that, between " first ", " second " in the embodiment of the present invention, " third " are used for the purpose of Mutual to distinguish, being not used to restriction has fixed sequence, without the quantity in restriction with fixation.
A kind of method and touch control display device for transmitting touch data is provided in the embodiment of the present invention, is carried out individually below It is described in detail.
Fig. 1 is a kind of flow diagram of the method for transmission touch data that one embodiment of the invention provides.This method can To be executed by electronic equipment (such as touch control display device).As shown in Figure 1, this method comprises the following steps.
S10: touch control display device establishes the Bluetooth link between sending ending equipment.
Specifically, being set by bluetooth connection to establish touch-control and show between touch control display device and sending ending equipment The standby Bluetooth link between sending ending equipment.
Bluetooth link can be the Bluetooth link using touch control display device between server end foundation and sending ending equipment, It is also possible to the Bluetooth link using sending ending equipment between server end foundation and touch control display device, can also be that touch-control is aobvious The Bluetooth link showing automatic identification after equipment and sending ending equipment established a Bluetooth link and establishing, the embodiment of the present invention pair This is not specifically limited.
Touch control display device can be display screen, metope, blank, projection screen with touch function etc., and transmitting terminal is set Standby to can be mobile phone having a display function, ipad, computer etc., the embodiment of the present invention is not specifically limited in this embodiment.
S20: touch control display device creates virtual human-computer interaction device's HID multi-point touch for sending ending equipment MultiTouch equipment.
It is set specifically, touch control display device creates virtual human-computer interaction device's multi-point touch for sending ending equipment It is standby, i.e. HID MultiTouch equipment.Wherein, HID MultiTouch equipment is based on Human Interface Device Multiple point touching (MultiTouch) equipment of (human-computer interaction device, HID) agreement creation.
S30: touch data is transferred to by touch control display device using HID MultiTouch equipment and by Bluetooth link Sending ending equipment.
Specifically, when the touch data of touch control display device is passed through HID MultiTouch equipment by touch control display device It is transferred to sending ending equipment after processing and by Bluetooth link, sending ending equipment parses touch data, and according to touch-control Data make corresponding movement.
It should be appreciated that when the first touch data of sending ending equipment is transferred to touch-control by Bluetooth link by sending ending equipment When showing equipment, the HID MultiTouch equipment of touch control display device receives first touch data, and by first touch-control Data are parsed, and make corresponding movement according to the first touch data, the embodiment of the present invention is to sending ending equipment how to touching The touch data of control display equipment parse and is sent to touch control display device after how handling the second touch data It is not specifically limited.
A kind of method of the transmission touch data provided according to embodiments of the present invention is established and is sent out by touch control display device Bluetooth link between sending end equipment realizes the wireless connection between touch control display device and sending ending equipment, also, touch-control is aobvious Show that equipment creates virtual human-computer interaction device's HID multi-point touch MultiTouch equipment for sending ending equipment, utilizes HID MultiTouch equipment handles touch data, and touch data is transferred to sending ending equipment by Bluetooth link, from And it realizes touch control display device and touch data is reversely returned into sending ending equipment.
In an embodiment of the present invention, touch data includes the touching for the touch control operation that user carries out in touch control display device One or more of control points, coordinate and timestamp.
Touch data includes but is not limited to the touch-control points for the touch control operation that user carries out in touch control display device, coordinate With the combination of any one or more of timestamp.
In an embodiment of the present invention, sending ending equipment includes mobile phone, desktop computer or notes with Bluetooth function This computer.
Sending ending equipment includes but is not limited to the mobile phone, desktop computer or laptop for having Bluetooth function.
Fig. 2 be another embodiment of the present invention provides a kind of transmission touch data method flow diagram.Fig. 2 is figure The example of 1 embodiment.S11-S14 is a kind of specific embodiment of step S10 in Fig. 1 embodiment, and S31-S35 is that Fig. 1 is implemented A kind of specific embodiment of step S30 in example.This method can be executed by electronic equipment (such as touch control display device).Such as Fig. 2 Shown, this method comprises the following steps.
S11: touch control display device is set by calling the acquisition of static state getDefaultAdapter () method to indicate that touch-control is shown Standby BluetoothAdapter class.
Specifically, touch control display device calls static state getDefaultAdapter () method that can get expression touch-control Show Bluetooth adapter (BluetoothAdapter) class of equipment itself.
S12: the listenUsingRfcommWithSer that touch control display device passes through calling BluetoothAdapter class ViceRecord (String, UUID) method obtains BluetoothServerSocket class.
Specifically, touch control display device calls the listenUsingRfcommWithSe of BluetoothAdapter class RviceRecord (String, UUID) method, BluetoothAdapter class are created according to the title and UUID of touch control display device It builds and returns to BluetoothServerSocket class, so that touch control display device gets BluetoothServerSocket Class.
S13: touch control display device is by calling accept () method of BluetoothServerSocket class to begin listening for Connection request.
Specifically, touch control display device is opened by accept () method of calling BluetoothServerSocket class Beginning listens to the connection request of other equipment.
S14: touch control display device receives sending ending equipment and passes through the createRfco of calling BluetoothService class MmSocketToServiceRecord () method obtains BluetoothSocket class and by calling BluetoothSocket The first connection request that connect () method of class is sent to touch control display device.
Specifically, createRfcommSocketToS of the sending ending equipment by calling BluetoothService class ErviceRecord () method obtains BluetoothSocket class, and the connect by calling BluetoothSocket class () method sends the first connection request to touch control display device, and touch control display device receives first connection request, to realize It is connected between touch control display device and sending ending equipment by Bluetooth link.In addition, touch control display device may be used also after successful connection By calling the close () method of BluetoothServerSocket class to close BluetoothServerSocket class Accept () method, the embodiment of the present invention are not specifically limited in this embodiment.
Sending ending equipment can be through getInputStream () method of BluetoothSocket class and GetOutputStream () method obtains inlet flow (InputStream) and output stream (OutputStream), read (byte []) data are read from inlet flow (InputStream), write (byte []) writes data into output stream.
Step S11-S14 is to establish the indigo plant between sending ending equipment so that touch control display device is server end as an example A kind of implementation on tooth chain road.Touch control display device is by keeping open bluetooth server socket (BluetoothServerSocket) class serves as server, and BluetoothServerSocket class asks for listening to connection It asks, and the BluetoothSocket class having connected is provided after the connection request for receiving sending ending equipment, to realize that touch-control is aobvious Show the connection of Bluetooth link between equipment and sending ending equipment.
S20: touch control display device creates virtual human-computer interaction device's HID multi-point touch for sending ending equipment MultiTouch equipment.
S31: the first touch parameter construction HID MultiTouch that touch control display device is sent using sending ending equipment is set Standby compatible HID report descriptor.
Specifically, the first touch parameter of sending ending equipment itself is sent to touch control display device by sending ending equipment, Touch control display device receives first touch parameter.Touch control display device is using first touch parameter and according to HID protocol mark Standard constructs the HID report descriptor (HID Report Descriptor) of HID MultiTouch hardware compatibility.
In an embodiment of the present invention, the first touch parameter includes that the size of the screen of sending ending equipment and screen are supported Touch-control points.
Specifically, the first touch parameter is the touch parameter of sending ending equipment itself, including but not limited to transmitting terminal is set The touch-control points that the size and screen of standby screen are supported.
It should be appreciated that the second touch parameter is the touch parameter of touch control display device itself, including but not limited to touch-control is aobvious Show the size of the screen of equipment and the touch-control points that screen is supported.
In an embodiment of the present invention, the first touch parameter structure that above-mentioned touch control display device utilizes sending ending equipment to send Make the HID report descriptor of HID MultiTouch hardware compatibility, comprising: touch control display device receives what sending ending equipment was sent First touch parameter;Touch control display device combines the first touch parameter and the second touch parameter of touch control display device to construct HID The HID Report Descriptor of MultiTouch hardware compatibility.
In the present embodiment, the first touch parameter and touch control display device itself of touch control display device combination sending ending equipment The second touch parameter, construct HID MultiTouch hardware compatibility HID Report Descriptor, wherein HID Report Descriptor can be using HID Descriptor tool and generate.By constructing HID Report Descriptor come describe one report and report the inside data be for for what.
S32: HID report descriptor is sent to sending ending equipment by Bluetooth link by touch control display device, to complete HID The statement of MultiTouch equipment.
Specifically, HID Report Descriptor is sent to transmitting terminal by Bluetooth link by touch control display device Equipment, sending ending equipment receives the HID Report Descriptor, so that the statement of HID MultiTouch equipment is completed, To state to establish the company of touch data transmission between touch control display device and sending ending equipment by HID MultiTouch equipment It connects.
S33: touch control display device obtains touch data.
In an embodiment of the present invention, above-mentioned touch control display device obtains touch data, comprising: touch control display device from View.OnTouchListener () example is registered on the View control of android system;Touch control display device passes through calling The onTouch () method of View.OnTouchListener () example captures MotionEvent object;Touch control display device from Touch data is obtained in MotionEvent object.
In the present embodiment, by taking android system as an example, touch control display device from View control by registering View.OnTouchListener () example, and the onTouch () by calling View.OnTouchListener () example Method captures MotionEvent object, so that touch control display device obtains touch data from MotionEvent object.It should Understand, can also be that other obtain the mode of touch datas, different systems such as android system, ISO system can be according to being The demand of system selects the mode of different acquisition touch datas.
S34: touch data is packaged into HID and reported by touch control display device.
Specifically, touch data is packaged into HID report (HID Report) by touch control display device, in order to which touch-control is aobvious Show that equipment is reported by HID and touch data is returned into sending ending equipment.
S35: HID report is transferred to sending ending equipment by Bluetooth link by touch control display device, in order to which transmitting terminal is set It is standby to parse touch data from HID report, and corresponding movement is made according to touch data.
Specifically, HID Report is transferred to sending ending equipment by Bluetooth link by touch control display device;Transmitting terminal Equipment receives HID Report, and parses touch data from HID Report, so that sending ending equipment is identifiable according to this Touch data makes corresponding movement.It should be appreciated that the touch data of touch control display device, which is converted into sending ending equipment, to be known Other touch data can realize that the embodiment of the present invention is not specifically limited in this embodiment in touch control display device.
For example, touch data is the touch data of click play music button, touch control display device will click on broadcasting music The touch data of button is packaged into a HID Report with the format of HID Report, and is transferred to transmission by Bluetooth link End equipment.For sending ending equipment by parsing to the HID Report, parsing obtains the touch-control number of click play music button According to sending ending equipment clicks the broadcasting music button on sending ending equipment according to the touch data.
A kind of method of the transmission touch data provided according to embodiments of the present invention, touch control display device are static by calling GetDefaultAdapter () method obtains the BluetoothAdapter class for indicating touch control display device;Touch control display device By the side listenUsingRfcommWithServiceRecord (String, UUID) for calling BluetoothAdapter class Method obtains BluetoothServerSocket class;Touch control display device is by calling BluetoothServerSocket class Accept () method begins listening for connection request;Touch control display device receives sending ending equipment and passes through calling The createRfcommSocketToServiceRecord () method of BluetoothService class obtains BluetoothSocket class is simultaneously sent out by connect () method of calling BluetoothSocket class to touch control display device The first connection request sent, to realize the connection of Bluetooth link between touch control display device and sending ending equipment.In addition, touch-control Show that equipment creates HID MultiTouch equipment for sending ending equipment;Touch control display device is sent using sending ending equipment The HID Report Descriptor of first touch parameter construction HID MultiTouch hardware compatibility;Touch control display device is logical It crosses Bluetooth link and HID Report Descriptor is sent to sending ending equipment, to complete HID MultiTouch equipment Statement;Touch control display device obtains touch data;Touch data is packaged into HID Report by touch control display device;Touch-control is shown HID Report is transferred to sending ending equipment by Bluetooth link by equipment, in order to which sending ending equipment is solved from HID Report Touch data is analysed, and corresponding movement is made according to touch data, to realize that touch control display device reversely returns touch data It is transmitted to sending ending equipment.
All the above alternatives can form alternative embodiment of the invention using any combination, herein no longer It repeats one by one.
Following is a kind of embodiment of touch control display device in the present invention, can be used for executing embodiment of the present invention method. For undisclosed details in the embodiment of touch control display device a kind of in the present invention, embodiment of the present invention method is please referred to.
Fig. 3 is a kind of block diagram for touch control display device 30 that one embodiment of the invention provides.
Above-mentioned touch control display device 30 includes: to establish module 100, for touch control display device establish with sending ending equipment it Between Bluetooth link;First creation module 200 creates virtual human-computer interaction for sending ending equipment for touch control display device Equipment HID multi-point touch MultiTouch equipment;First transmission module 300 utilizes HID for touch control display device Touch data is simultaneously transferred to sending ending equipment by Bluetooth link by MultiTouch equipment.
In an embodiment of the present invention, the first transmission module 300 includes: the first constructing module 310, shows and sets for touch-control The HID report descriptor of standby the first touch parameter construction HID MultiTouch hardware compatibility sent using sending ending equipment; HID report descriptor is sent to sending ending equipment by Bluetooth link for touch control display device, with complete by sending module 320 At the statement of HID MultiTouch equipment;First obtains module 330, obtains touch data for touch control display device;Encapsulation Touch data is packaged into HID report for touch control display device by module 340;Second transmission module 350 is shown for touch-control HID Report is transferred to sending ending equipment by Bluetooth link by equipment, in order to which sending ending equipment solves touch data It analyses and corresponding movement is made according to touch data.
In an embodiment of the present invention, first obtain module 330 include: registration module 331, for touch control display device from View.OnTouchListener () example is registered on the View control of android system;Trapping module 332, it is aobvious for touch-control Show equipment by calling the onTouch () method of View.OnTouchListener () example to capture MotionEvent object; Second obtains module 333, obtains touch data from MotionEvent object for touch control display device.
In an embodiment of the present invention, the first constructing module 310 includes: receiving module 311, is connect for touch control display device Receive and dispatch the first touch parameter that sending end is sent;Second constructing module 312, for touch control display device combine the first touch parameter and The HID report descriptor of the second touch parameter construction HID MultiTouch hardware compatibility of touch control display device.
In an embodiment of the present invention, the first touch parameter includes that the size of the screen of sending ending equipment and screen are supported Touch-control points.
In an embodiment of the present invention, establishing module 100 includes: that third obtains module 110, logical for touch control display device It crosses and static state getDefaultAdapter () method is called to obtain the BluetoothAdapter class for indicating touch control display device, and Pass through the listenUsingRfcommWithServiceReco of calling BluetoothAdapter class for touch control display device Rd (String, UUID) method obtains BluetoothServerSocket class;Module 120 is listened to, it is logical for touch control display device It crosses and accept () method of BluetoothServerSocket class is called to begin listening for connection request;Receiving module 130, is used for Touch control display device receives sending ending equipment and passes through the createRfcommSocketToSe of calling BluetoothService class RviceRecord () method obtains BluetoothSocket class and the connect () by calling BluetoothSocket class The first connection request that method is sent to touch control display device.
In an embodiment of the present invention, touch data includes the touching for the touch control operation that user carries out in touch control display device One or more of control points, coordinate and timestamp.
In an embodiment of the present invention, sending ending equipment includes mobile phone, desktop computer or notes with Bluetooth function This computer.
Fig. 4 is a kind of block diagram of the control system 40 for transmission touch data that one embodiment of the invention provides.
Referring to Fig. 4, it further comprises one or more processors, Yi Jiyou that control system 40, which includes processing component 410, Memory resource representated by memory 420, can be by the instruction of the execution of processing component 410, such as application program for storing. The application program stored in memory 420 may include it is one or more each correspond to one group of instruction module. In addition, processing component 410 is configured as executing instruction, the method to execute above-mentioned transmission touch data.
A kind of non-transitorycomputer readable storage medium, when the instruction in storage medium is by above-mentioned control system 40 When managing device execution, so that above-mentioned control system 40 is able to carry out a kind of method for transmitting touch data, this method is by broker program It executes, this method comprises: touch control display device establishes the Bluetooth link between sending ending equipment;Touch control display device is for hair Sending end equipment creates virtual human-computer interaction device's HID multi-point touch MultiTouch equipment;Touch control display device utilizes HID Touch data is transferred to sending ending equipment by Bluetooth link by MultiTouch equipment.
Those of ordinary skill in the art may be aware that step described in conjunction with the examples disclosed in the embodiments of the present disclosure Suddenly, it can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions actually with hardware still Software mode executes, specific application and design constraint depending on technical solution.Professional technician can be to each Specific application is to use different methods to achieve the described function, but this realization is it is not considered that exceed model of the invention It encloses.
Those skilled in the art can be clearly understood that, for convenience of description and succinctly, the touch-control of foregoing description It shows equipment and transmits the specific work process of the control system of touch data, it can be with reference to the correspondence in preceding method embodiment Process, details are not described herein.
In several embodiments provided herein, it should be understood that disclosed method, touch control display device and Control system may be implemented in other ways.For example, touch control display device embodiment described above is only to illustrate Property, for example, the division of above-mentioned module, only a kind of logical function partition can have other division side in actual implementation Formula, such as multiple module or components or unit can be combined or can be integrated into another system or some features can neglect Slightly, it or does not execute.Another point, shown or discussed mutual coupling, direct-coupling or communication connection, which can be, to be passed through The indirect coupling or communication connection of some interfaces, module or unit can be electrical property, mechanical or other forms.
Above-mentioned module as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, each functional module in each embodiment of the present invention can integrate in one processing unit It is that modules physically exist alone, can also be integrated in two or more modules in a module.Also need to illustrate Be, in the embodiment of the present invention in the combination of each technical characteristic and the unlimited embodiment of the present invention documented combination or Combination documented by specific embodiment, all technical characteristics documented by this case can be freely combined in any way Or combine, unless generating contradiction between each other.
It should be noted that the above list is only specific embodiments of the present invention, it is clear that the present invention is not limited to above real Example is applied, there are many similar variations therewith.If those skilled in the art directly exported from present disclosure or All deformations associated, are within the scope of protection of the invention.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention Within mind and principle, made any modification, equivalent replacement etc. be should all be included in the protection scope of the present invention.

Claims (10)

1. a kind of method for transmitting touch data characterized by comprising
Touch control display device establishes the Bluetooth link between sending ending equipment;
The touch control display device creates virtual human-computer interaction device's HID multi-point touch for the sending ending equipment MultiTouch equipment;
The touch control display device is passed touch data using the HID MultiTouch equipment and by the Bluetooth link It is defeated by the sending ending equipment.
2. the method as described in claim 1, which is characterized in that the touch control display device utilizes the HID MultiTouch Touch data is simultaneously transferred to the sending ending equipment by the Bluetooth link by equipment, comprising:
The touch control display device constructs the HID using the first touch parameter that the sending ending equipment is sent The HID report descriptor of MultiTouch hardware compatibility;
The HID report descriptor is sent to the sending ending equipment by the Bluetooth link by the touch control display device, To complete the statement of the HID MultiTouch equipment;
The touch control display device obtains the touch data;
The touch data is packaged into HID report by the touch control display device;
HID report is transferred to the sending ending equipment by the Bluetooth link by the touch control display device, in order to The sending ending equipment parses the touch data from HID report, and makes corresponding move according to the touch data Make.
3. method according to claim 2, which is characterized in that the touch control display device supports android system, the touching Control display equipment obtains the touch data, comprising:
It is real that the touch control display device registers View.OnTouchListener () from the View control of the android system Example;
The touch control display device is by calling onTouch () method of the View.OnTouchListener () example to catch Obtain MotionEvent object;
The touch control display device obtains the touch data from the MotionEvent object.
4. method according to claim 2, which is characterized in that the touch control display device is sent using the sending ending equipment The first touch parameter construct the HID report descriptor of the HID MultiTouch hardware compatibility, comprising:
The touch control display device receives first touch parameter that the transmitting terminal is sent;
The touch control display device is constructed in conjunction with first touch parameter and the second touch parameter of the touch control display device The HID report descriptor of the HID MultiTouch hardware compatibility.
5. method according to claim 2, which is characterized in that first touch parameter includes the screen of the sending ending equipment The touch-control points that the size of curtain and the screen are supported.
6. the method as described in any one of claims 1 to 5, which is characterized in that the touch control display device is established and sent Bluetooth link between end equipment, comprising:
The touch control display device is set by calling the acquisition of static state getDefaultAdapter () method to indicate that the touch-control is shown Standby BluetoothAdapter class;
The listenUsingRfcommWithSer that the touch control display device passes through the calling BluetoothAdapter class ViceRecord (String, UUID) method obtains BluetoothServerSocket class;
The touch control display device is by calling accept () method of the BluetoothServerSocket class to begin listening for Connection request;
The touch control display device receives the sending ending equipment and passes through the createRfco of calling BluetoothService class MmSocketToServiceRecord () method obtains BluetoothSocket class and by described in calling The first connection request that connect () method of BluetoothSocket class is sent to the touch control display device.
7. method according to any one of claims 1 to 5, which is characterized in that the touch data includes user in the touching One or more of touch-control points, coordinate and the timestamp of touch control operation carried out in control display equipment.
8. method according to any one of claims 1 to 5, which is characterized in that the sending ending equipment includes having bluetooth function Mobile phone, desktop computer or the laptop of energy.
9. a kind of touch control display device characterized by comprising
Module is established, establishes the Bluetooth link between sending ending equipment for touch control display device;
Creation module creates virtual human-computer interaction device HID for the sending ending equipment for the touch control display device Multi-point touch MultiTouch equipment;
Transmission module using the HID MultiTouch equipment and passes through the Bluetooth link for the touch control display device Touch data is transferred to the sending ending equipment.
10. a kind of computer readable storage medium, is stored thereon with computer executable instructions, which is characterized in that described to hold Transmission touch data according to any one of claims 1 to 8 is realized in row instruction method when being executed by processor.
CN201910285321.3A 2019-04-10 2019-04-10 Transmit the method and touch control display device of touch data Pending CN110018754A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910285321.3A CN110018754A (en) 2019-04-10 2019-04-10 Transmit the method and touch control display device of touch data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910285321.3A CN110018754A (en) 2019-04-10 2019-04-10 Transmit the method and touch control display device of touch data

Publications (1)

Publication Number Publication Date
CN110018754A true CN110018754A (en) 2019-07-16

Family

ID=67190924

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910285321.3A Pending CN110018754A (en) 2019-04-10 2019-04-10 Transmit the method and touch control display device of touch data

Country Status (1)

Country Link
CN (1) CN110018754A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113391782A (en) * 2021-06-30 2021-09-14 深圳市斯博科技有限公司 Method, system, electronic device and storage medium for controlling mobile terminal by computer
CN113986167A (en) * 2021-10-12 2022-01-28 深圳Tcl新技术有限公司 Screen projection control method and device, storage medium and display equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103973889A (en) * 2014-04-25 2014-08-06 方小祥 Device and method for using intelligent handheld device as wireless USB HID device
CN104333789A (en) * 2014-10-30 2015-02-04 向火平 On-screen interacting system and control method thereof
CN104618793A (en) * 2015-02-28 2015-05-13 联想(北京)有限公司 Information processing method and electronic equipment
CN104679334A (en) * 2015-03-02 2015-06-03 南京物联传感技术有限公司 Data interaction display system and data interaction display method
CN105045548A (en) * 2015-06-16 2015-11-11 广州视睿电子科技有限公司 Wireless screen transmission method, extension device and wireless screen transmission system
US20160173460A1 (en) * 2014-12-10 2016-06-16 Intel Corporation Power and cost efficient peripheral input

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103973889A (en) * 2014-04-25 2014-08-06 方小祥 Device and method for using intelligent handheld device as wireless USB HID device
CN104333789A (en) * 2014-10-30 2015-02-04 向火平 On-screen interacting system and control method thereof
US20160173460A1 (en) * 2014-12-10 2016-06-16 Intel Corporation Power and cost efficient peripheral input
CN104618793A (en) * 2015-02-28 2015-05-13 联想(北京)有限公司 Information processing method and electronic equipment
CN104679334A (en) * 2015-03-02 2015-06-03 南京物联传感技术有限公司 Data interaction display system and data interaction display method
CN105045548A (en) * 2015-06-16 2015-11-11 广州视睿电子科技有限公司 Wireless screen transmission method, extension device and wireless screen transmission system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113391782A (en) * 2021-06-30 2021-09-14 深圳市斯博科技有限公司 Method, system, electronic device and storage medium for controlling mobile terminal by computer
CN113986167A (en) * 2021-10-12 2022-01-28 深圳Tcl新技术有限公司 Screen projection control method and device, storage medium and display equipment

Similar Documents

Publication Publication Date Title
CN104778121B (en) The test method of games, apparatus and system
US10635436B2 (en) Compatibility method based on hybrid, adapter, operation device, system and computer-readable storage medium
EP3217279A1 (en) Module system, module-based robot system, and update method for module system
CN108874677A (en) A kind of android terminal and its test method and system
CN105786752B (en) Usb communication method and communication system between a kind of computing device and FPGA
CN109495870A (en) The method and apparatus of bluetooth test
CN110018754A (en) Transmit the method and touch control display device of touch data
CN108738008A (en) Bluetooth pairing methods and system
CN103780455B (en) TETRA digit cluster protocol test method and system based on TTCN-3
CN108536484A (en) Parameter amending method, device, terminal device and storage medium
CN107846449B (en) Method, apparatus, readable storage medium storing program for executing and the equipment of calling system tool
CN102594615B (en) Method and system for simulating value-added services
WO2011088644A1 (en) Simulation system, pc side simulator and agent client at mobile terminal side
May et al. An RPC design for wireless sensor networks
CN106896956B (en) The implementation method of multi-point touch under one kind " road " system
US10725744B2 (en) Method for adapting to blockchain and device, terminal and medium performing the same
CN114691483A (en) Software debugging method, electronic equipment and debugging system
CN109976243A (en) Robot synchronisation control means, device and equipment
CN112685299A (en) Automatic test method, device, electronic equipment and readable storage medium
CN110275701A (en) Data processing method, device, medium and calculating equipment
WO2012174948A1 (en) Method and system for implementing internet of things capability
CN110971708B (en) Android and Ubuntu system information transmission method, system, device and medium
CN108965382A (en) A kind of document transmission method based on BMC, device, equipment and medium
CN109189705A (en) A kind of usb expansion method, apparatus, equipment, storage medium and system
CN106325943B (en) A kind of method for down loading of firmware data, terminal and controller

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190716

RJ01 Rejection of invention patent application after publication