WO2019056614A1 - Touch data separation method and apparatus, device, and storage medium - Google Patents

Touch data separation method and apparatus, device, and storage medium Download PDF

Info

Publication number
WO2019056614A1
WO2019056614A1 PCT/CN2017/116775 CN2017116775W WO2019056614A1 WO 2019056614 A1 WO2019056614 A1 WO 2019056614A1 CN 2017116775 W CN2017116775 W CN 2017116775W WO 2019056614 A1 WO2019056614 A1 WO 2019056614A1
Authority
WO
WIPO (PCT)
Prior art keywords
touch
touch data
data
type
state
Prior art date
Application number
PCT/CN2017/116775
Other languages
French (fr)
Chinese (zh)
Inventor
陈锡剑
Original Assignee
广州视源电子科技股份有限公司
广州视睿电子科技有限公司
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 广州视源电子科技股份有限公司, 广州视睿电子科技有限公司 filed Critical 广州视源电子科技股份有限公司
Publication of WO2019056614A1 publication Critical patent/WO2019056614A1/en

Links

Images

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
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/0418Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/041Indexing scheme relating to G06F3/041 - G06F3/045
    • G06F2203/04106Multi-sensing digitiser, i.e. digitiser using at least two different sensing technologies simultaneously or alternatively, e.g. for detecting pen and finger, for saving power or for improving position detection

Definitions

  • the present invention relates to data processing technologies, and in particular, to a method, device, device and storage medium for separating touch data.
  • a general interactive intelligent terminal has a touch function, such as a smart whiteboard or a smart conference tablet used in a classroom.
  • the hardware components used in such a terminal product are usually an infrared touch frame, an electromagnetic screen, and a capacitive screen.
  • an infrared touch frame In order to support a more detailed writing experience, a combination of electromagnetic screen and capacitive screen, or a combination of an infrared touch frame and an electromagnetic screen is often used.
  • the electromagnetic screen only supports the writing of the electromagnetic pen, while the capacitive screen and the infrared touch frame both support the hand touch, and the infrared touch frame also supports the touch of the non-transparent object.
  • the writing application receives two kinds of reported data, one type of pen touch data, one type of hand touch data, and the two types of data are for the same physical touch.
  • the control points are generated, and because the electromagnetic screen and the capacitive screen (or the electromagnetic screen and the infrared touch frame) have different sensing precisions, the numerical deviation is caused, so that the writing is broken or not smooth.
  • the embodiment of the invention provides a method, a device, a device and a storage medium for separating touch data, which realizes separating the concurrent touch data without improving the hardware, and improves the transmission rate of the touch data in the touch device. .
  • an embodiment of the present invention provides a method for separating touch data, where the method includes:
  • an embodiment of the present invention provides a device for separating touch data, where the device includes:
  • a filtering module configured to determine a type of touch data of a touch point at a current moment, and if the touch data is at least two different types, filtering the touch data according to the current application mode;
  • the data reissue module is configured to determine whether the touch data meets a preset touch protocol rule, and if not, re-issue the touch data according to the preset touch protocol rule.
  • an embodiment of the present invention further provides a computer device, including a memory, a processor, and a computer program stored on the memory and operable on the processor, where the processor implements the program, such as the present invention A method of separating touch data according to any of the embodiments.
  • the embodiment of the present invention further provides a computer readable storage medium, where the computer program is stored, and when the program is executed by the processor, the method for separating touch data according to any one of the embodiments of the present invention is implemented. .
  • the touch data is filtered according to the current application mode; if the touch data does not satisfy the preset touch protocol rule And determining touch data that needs to be replenished at the next moment according to the preset touch protocol rule; and re-issuing the touch data according to the touch data that needs to be re-issued. It realizes the separation of concurrent touch data without improving the hardware, and improves the transmission rate of touch data in the touch device.
  • FIG. 1a is a flowchart of a method for separating touch data according to Embodiment 1 of the present invention
  • FIG. 1b is a schematic diagram of a two-stage touch data time sharing mechanism in the prior art
  • FIG. 1c is a schematic diagram of a two-type touch data concurrency and separation mechanism according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a method for separating touch data according to Embodiment 2 of the present invention
  • FIG. 3 is a flowchart of a method for separating touch data according to Embodiment 3 of the present invention.
  • FIG. 4a is a flowchart of a method for separating touch data according to Embodiment 4 of the present invention.
  • FIG. 4b is a schematic diagram of a method for marking a hand touch state according to Embodiment 4 of the present invention.
  • 4c is a schematic diagram of a pen touch state marking method applicable to Embodiment 4 of the present invention.
  • FIG. 5 is a schematic structural diagram of a device for separating touch data according to Embodiment 5 of the present invention.
  • FIG. 6 is a schematic structural diagram of a computer device according to Embodiment 6 of the present invention.
  • FIG. 1 is a flowchart of a method for separating touch data according to Embodiment 1 of the present invention.
  • the present embodiment is applicable to a case where at least two kinds of touch data need to be separated, such as a touch screen or a touch panel, and the method can be implemented by the present invention.
  • a touch data separation device is provided, which can be implemented by software and/or hardware, and can be integrated into a terminal device with touch function, such as a smart whiteboard for classrooms, a smart conference tablet, etc. .
  • the method may specifically include the following steps:
  • S110 Determine a type of touch data of the touch point at the current time. If the touch data is at least two different types, the touch data is filtered according to the current application mode.
  • the touch component is usually an infrared touch frame, an electromagnetic screen, and a capacitive screen.
  • the touch component is usually an infrared touch frame, an electromagnetic screen, and a capacitive screen.
  • an electromagnetic screen and a capacitive screen, or an infrared touch frame and an electromagnetic screen are generally used.
  • the electromagnetic screen only supports the writing and touch click of the electromagnetic pen, that is, the pen touch data is generated by the electromagnetic screen, and the capacitive screen and the infrared touch frame both support the hand touch, that is, the hand touch data is generated by the capacitive screen or the infrared touch frame.
  • FIG. 1b shows a two-type touch data time-sharing distribution mechanism in the prior art. As shown in FIG. 1b, t represents time. In the prior art, different types of touch data are distributed by time sharing, that is, each time exists. One type of touch data does not require filtering, and each type of touch data has an additional delay time. For example, if there is purely infrared touch data, the transmission time occupied by the additional electromagnetic pen touch data is increased between adjacent two infrared touch data (although there is actually no electromagnetic pen writing).
  • Figure 1c shows a two-type touch data concurrency and separation mechanism. As shown in Figure 1c, t represents time, 150 represents infrared touch data, and 160 represents electromagnetic pen touch data. The two types of touch data are completely independent.
  • the type of the touch data of the touch point at the current time is recognized. If the touch data is at least two different types, for example, the hand touch data and the pen touch data exist at the same time, the touch data is filtered according to the current application mode. .
  • the current application mode includes a priority preemption mode and a non-preemptive preemption mode.
  • the preset touch protocol conforms to the standard reporting protocol rule, and the standard reporting protocol rule provides a protocol that the complete data packet should follow, that is, the data packet corresponding to each type of time is constructed by referring to the protocol, and the data not constructed by referring to the protocol is constructed.
  • the package is not a complete packet and cannot be responded properly.
  • the data packet refers to a data packet of the touch data, and determines whether the touch data meets the preset touch protocol rule. If not, the method S130 is performed; if yes, the touch data is directly filtered according to the current application mode. .
  • the touch data of the current time is analyzed according to the preset touch protocol rule, and it is determined whether the touch data meets a preset touch protocol rule, and the touch data that needs to be replenished at the next moment is determined according to the rule.
  • the touch data is reissued according to the touch data that needs to be reissued to ensure the integrity of the touch data under the preset touch protocol rule, and provides guarantee for the transmission and response of the touch data.
  • the touch data is filtered according to the current application mode; if the touch data does not satisfy the preset touch protocol rule And determining touch data that needs to be replenished at the next moment according to the preset touch protocol rule; and re-issuing the touch data according to the touch data that needs to be re-issued. It realizes the separation of concurrent touch data without improving the hardware, and improves the transmission rate of touch data in the touch device.
  • the method for separating touch data further includes: acquiring a touch state of each touch point.
  • the touch state of each point on the touch screen is related to the operation of the user, and when the touch data is detected, the touch state of each touch point is acquired. For each touch point, the touch state at the current time is different, resulting in different touch data, and then determining the touch data that needs to be reissued at the next moment according to the preset touch protocol rule may also be different.
  • FIG. 2 is a flowchart of a method for separating touch data according to Embodiment 2 of the present invention. On the basis of the foregoing embodiment, this embodiment optimizes “filtering touch data according to a current application mode”. Referring to FIG. 2, the method may specifically include the following steps:
  • S210 Determine a type of the touch data of the touch point at the current time. If the touch data is at least two different types, if the current application mode is the priority preemption mode, and the current touch data is detected as the first touch data, Whether the data type of the second touch data generated in the first preset time is the same as the data type of the first touch data, and if not, filtering the second touch data.
  • the type of the touch data is two different types.
  • the current application mode is the priority preemption mode
  • the first generated time is determined. Whether the data type of the two touch data is the same as the data type of the first touch data. If they are different, the second touch data is filtered. If they are the same, the determination is continued. It should be noted that when the data types of the touch data are different, the data content of the touch data is different, and the second touch data and the first touch data include two cases, the types of the touch data are different, and the content of the touch data is different. In the present solution, comparing the data type of the second touch data with the data type of the first touch data, that is, when the data type of the second touch data is different from the data type of the first touch data, the second touch The data is filtered.
  • the data type of the first touch data includes a pen touch data type or a hand touch data type
  • the data type of the second touch data includes a pen touch data type or a hand touch data type
  • the priority touch mode preferentially responds to the current touch data
  • the first touch data includes pen touch data or hand touch data
  • the second touch data includes pen touch data or hand touch data, when the first touch data is pen touch data, and is at a first preset time
  • the opponent touch data is filtered.
  • the first preset time may be the duration of the touch data, that is, the touch status mark time, and the specific marking method will be described in detail later.
  • the specific application scenario may be that, for example, the electromagnetic pen first performs a touch operation, and when the current touch data is detected as the electromagnetic pen touch data, the subsequent hand touch data is filtered; for example, the hand first performs a touch operation, and the current touch data is detected as When the hand touches the data, the subsequent electromagnetic pen touch data is filtered.
  • the subsequent operation mode can rob the priority.
  • the scenario may be that the currently detected touch data is pen touch data, and the detected data is exceeded after the first preset time. When the data is touched by the hand, the hand touch operation grabs the priority, that is, the pen touch operation has stopped.
  • the touch data is first defined.
  • the touch data generated by the electromagnetic pen touch operation is defined as P touch data
  • the touch data generated by the hand touch operation is defined as H touch data, wherein the P touch data and the H touch data conform to the standard universal touch protocol.
  • the mark currently has an electromagnetic pen in use. If only the electromagnetic pen is currently marked for use, the recording electromagnetic pen is the priority preemptor, and no touch data filtering is performed; if the hand has been marked for use, it is further determined that if the hand is the marked priority preemptor, then The P touch data is filtered; if the electromagnetic pen has been marked as a priority preemptor, the H touch data is filtered; in other cases, no touch data is filtered.
  • the mark is currently used by the hand touch. If only the hand is currently marked for use, the record hand is the priority preemptor and no touch data filtering is performed; if the currently existing electromagnetic pen is marked for use, it is further determined that if the electromagnetic pen has been marked as a priority preemptor, then Filter touch data; if the hand has been marked as a priority preemptor, the P touch data is filtered; in other cases, no packets are filtered.
  • S220 Determine whether the touch data meets a preset touch protocol rule. If not, execute S230, and if yes, perform direct filtering.
  • the current application mode when the current application mode is the priority preemption mode, if the current application mode is the priority preemption mode, and the current touch data is detected as the first touch data, determining the first generated time in the first preset time. Whether the data type of the two touch data is the same as the data type of the first touch data, and if not, filtering the second touch data. The filtering of data in the priority preemption mode is implemented.
  • FIG. 3 is a flowchart of a method for separating touch data according to Embodiment 3 of the present invention.
  • the present embodiment optimizes “filtering touch data according to a current application mode”.
  • the method may specifically include the following steps:
  • S310 Determine a type of the touch data of the touch point at the current time. If the touch data is at least two different types, if the current application mode is the first non-preemptive preemption mode, the first touch data and the second touch data are detected. The second touch data is filtered when the current application mode is the second non-preemptive preemption mode, and when the first touch data and the second touch data are detected to exist at the same time, the first touch data is filtered.
  • the second non-preemptive preemption mode is to filter the second touch data when the first touch data and the second touch data exist simultaneously;
  • the second non-preemptive preemption mode is The first touch data is filtered when the first touch data and the second touch data are simultaneously present.
  • the first touch data is pen touch data
  • the second touch data is hand touch data
  • the hand touch data is filtered in the first non-preemptive preemption mode
  • the pen is filtered in the second non-preemptive preemption mode. Touch the data.
  • the following describes the marking and filtering of touch data in the non-preemptive preemptive mode.
  • the definitions of the P touch data and the H touch data are still described above, and the current non-preemptive preemption mode is used as the filtering H touch data as an example.
  • the mark currently has an electromagnetic pen in use. If only the electromagnetic pen is currently in use, no touch data packets are filtered; if there is currently a hand in use, the H touch data is filtered; in other cases, no touch data is filtered.
  • S320 Determine whether the touch data meets a preset touch protocol rule. If not, execute S330. If yes, perform direct filtering.
  • the filtering is performed in the first non-preemptive preemption mode.
  • the second touch data filters the first touch data in the second non-preemptive preemption mode. Filtering of touch data in non-preemptive preemption mode is implemented.
  • FIG. 4a is a flowchart of a method for separating touch data according to Embodiment 4 of the present invention. On the basis of the foregoing embodiment, this embodiment re-sends the touch data according to the preset touch protocol rule. "Optimized.” Referring to FIG. 4a, the method may specifically include the following steps:
  • the touch state of the touch point includes: a touch state, a touch lift state, and a touch pending state information.
  • the key to data re-issue is to track and count each touch point.
  • the touch status of each touch point can be represented as a set ⁇ ID, STATUS ⁇ , where STATUS ⁇ ⁇ DOWN, UP, MOVE ⁇ , ID is Is short for IDENTIFY, uniquely identifies a touch point; STATUS indicates the status of each touch point.
  • the DOWM is a touch state, that is, a pressed state, for example, a user's finger presses the first touch point of the touch device;
  • UP is a touch lift state, for example, the user's finger leaves the first touch point of the touch device;
  • MOVE is a touch The pending state, that is, the moving and/or sliding state, for example, the user's finger moves from the first touch point of the touch device to the second touch point.
  • the touch state is that the hand or the electromagnetic pen touches or presses on the touch point
  • the touch lift state is the hand or the electromagnetic pen leaves the touch point
  • the touch pending state is the hand or the electromagnetic pen moves and/or slides from a touch point to The transition state of another touch point.
  • the touch up state is: when the touch data is detected, the mark touch data is being used, determining whether the touch data can be detected after the second preset time, and if yes, continuing to determine the first Whether the touch data can be detected after the preset time, until the touch data cannot be detected, marking the state as a touch-up state; wherein the second preset time is greater than generating the touch data cycle.
  • the touch data when the touch data is detected, the touch data is being used, and whether the touch data can be detected after the second preset time is determined.
  • the second preset time may be a timing period, and the specific period value may be According to the type of touch data and user habits, there is no limit here.
  • the state is marked as a touch-up state until the touch data cannot be detected.
  • the carrier of the touch data is in the touch device, and the touch data is being used, that is, the touch device is being used.
  • a specific example may be that the user's finger presses the touch screen of the touch device.
  • FIG. 4b shows a hand touch status marking method, as shown in Figure 4b, t represents time and 460 represents H touch data.
  • T hs time
  • 460 represents H touch data.
  • the time at which the first hand touch generates the touch data is T hs
  • the start timer period is T h-up
  • T h ⁇ T h-up is satisfied.
  • the mark hand touch is used, and the timer is reset. After re-clocking, the cycle is still T h-up .
  • the timer overflows, the marker hand touch is raised.
  • the hand touch data is generated, the marker hand touch is used, the timing is started, and the timing period is T h-up .
  • the timing is re-timed. If there is still hand touch data generated at the time of the cycle, the retiming is continued.
  • the detected hand touch data is no longer generated.
  • the hand touch usage flag is canceled.
  • FIG. 4c shows a hand touch status marking method, as shown in Figure 4c, t represents time and 470 represents P touch data.
  • T ps the start timer period
  • T p ⁇ T p-up the start timer period
  • T p ⁇ T p-up the start timer period
  • the electromagnetic pen touch data is generated, the marking electromagnetic pen touch is used, the timing is started, the timing period is T h-up , and at the time of point F, when the pen touch data is detected, the timing is re-timed and timed. If there is still electromagnetic pen touch data generated at the timing cycle, continue to re-timing, as indicated by G point, until the timing cycle is reached, the electromagnetic pen touch data is no longer generated, as shown by point I, the electromagnetic is canceled.
  • the pen touch uses a marker.
  • S420 Determine a type of touch data of the touch point at the current time. If the touch data is at least two different types, the touch data is filtered according to the current application mode.
  • a touch point is a touch state or a touch pending state, that is, MOVE or DOWN
  • the touch lift state corresponding to the touch point is reissued according to the report protocol.
  • Touching the data information that is, replenishing the touch data corresponding to the UP event; if the previous state of the point is the touch state, that is, the UP state, the data is not re-issued and directly filtered.
  • the touch data corresponding to each type of event is constructed by referring to the reporting protocol.
  • the concept of data reissue is explained.
  • the touch component is an infrared touch frame, an electromagnetic screen or a capacitive screen
  • the generated touch data and the reported touch data are Very frequent (generally in milliseconds). Therefore, simply starting to filter out the touch data generated by the hand touch at a certain moment, so that the data reported to the system is not completely following the touch protocol, then there may be a problem of missing the reported touch event (such as a touch up event). Causes the system to touch abnormally. Therefore, it is necessary to track and count the state generated by each touch point, and at the time of preparing to filter the data, the touch data that needs to be replenished at the next moment is decided. Replenishing the touch data according to the touch data that needs to be reissued.
  • the touch state of each touch point is tracked and the touch state is determined. If the last touch state of the touch point is a touch state or a touch pending state, the touch point is reissued. Touch the touch data information corresponding to the raised state. The replacement of the touch data is realized, and the integrity of the touch data transmission is ensured.
  • the solution is described in conjunction with a specific application scenario.
  • the electromagnetic touch data and the infrared touch data are generated concurrently, and after the processing of the solution, if the non-priority preemption mode is used, the setting can be set. Filtering the data of the infrared touch avoids the interference of the infrared data on the electromagnetic writing, and in the writing process of the electromagnetic pen, the hand can be smoothly written on the screen, and the interference of the clothing or other people can be avoided.
  • adding a electromagnetic screen combination to the capacitive screen can also set the filter hand touch data to avoid the accidental touch of the hand and affect the writing of the electromagnetic pen.
  • the priority preemption mode can be turned on, and whoever writes/clicks on the touch can grab the writing sovereignty.
  • FIG. 5 is a schematic structural diagram of a touch data separating apparatus according to Embodiment 5, which is suitable for performing a method for separating touch data provided by an embodiment of the present invention.
  • the device may specifically include:
  • the filtering module 510 is configured to determine a type of touch data of the touch point at the current moment. If the touch data is at least two different types, the touch data is filtered according to the current application mode.
  • the data reissue module 520 is configured to determine whether the touch data meets a preset touch protocol rule, and if not, re-issue the touch data according to the preset touch protocol rule.
  • the device further includes:
  • a touch state acquisition module is configured to acquire a touch state of each touch point.
  • the filtering module 510 is specifically configured to:
  • the current application mode is the priority preemption mode, detecting that the current touch data is the first touch data, determining whether the data type of the second touch data generated in the first preset time and the data type of the first touch data are The same, if not, filtering the second touch data;
  • the data type of the first touch data includes a pen touch data type or a hand touch data type
  • the data type of the second touch data includes a pen touch data type or a hand touch data type
  • the priority touch mode preferentially responds to the current touch data
  • the filtering module 510 is specifically configured to:
  • the current application mode is the first non-preemptive preemption mode, detecting that the first touch data and the second touch data exist simultaneously, filtering the second touch data;
  • the current application mode is the second non-preemptive preemption mode, detecting that the first touch data and the second touch data exist simultaneously, filtering the first touch data.
  • the touch status of the touch point includes:
  • the data reissue module 520 is specifically configured to:
  • the touch data information corresponding to the touch lift state of the touch point is re-issued.
  • the touch data When the touch data is detected, the touch data is being used, determining whether the touch data can be detected after the second preset time, and if yes, determining whether the touch can be detected after the second preset time Data, until the touch data cannot be detected, marking the state as a touch-up state;
  • the second preset time is greater than a period in which the touch data is generated.
  • the device for separating touch data provided by the embodiment of the present invention may perform a method for separating touch data provided by any embodiment of the present invention, and has a function module and a beneficial effect corresponding to the execution method.
  • FIG. 6 is a schematic structural diagram of a computer device according to Embodiment 6 of the present invention.
  • FIG. 6 shows a block diagram of an exemplary computer device 12 suitable for use in implementing embodiments of the present invention.
  • the computer device 12 shown in FIG. 6 is merely an example and should not impose any limitation on the function and scope of use of the embodiments of the present invention.
  • computer device 12 is embodied in the form of a general purpose computing device.
  • Components of computer device 12 may include, but are not limited to, one or more processors or processing units 16, system memory 28, and bus 18 that connect different system components, including system memory 28 and processing unit 16.
  • Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of a variety of bus structures.
  • these architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MAC) bus, an Enhanced ISA Bus, a Video Electronics Standards Association (VESA) local bus, and peripheral component interconnects ( PCI) bus.
  • ISA Industry Standard Architecture
  • MAC Micro Channel Architecture
  • VESA Video Electronics Standards Association
  • PCI peripheral component interconnects
  • Computer device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by computer device 12, including both volatile and nonvolatile media, removable and non-removable media.
  • System memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and/or cache memory 32.
  • Computer device 12 may further include other removable/non-removable, volatile/non-volatile computer system storage media.
  • storage system 34 may be used to read and write non-removable, non-volatile magnetic media (not shown in Figure 6, commonly referred to as "hard disk drives").
  • a disk drive for reading and writing to a removable non-volatile disk (such as a "floppy disk"), and a removable non-volatile disk (such as a CD-ROM, DVD-ROM) may be provided.
  • each drive can be coupled to bus 18 via one or more data medium interfaces.
  • Memory 28 can include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of various embodiments of the present invention.
  • a program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28, such program modules 42 including, but not limited to, an operating system, one or more applications, other programs Modules and program data, each of these examples or some combination may include an implementation of a network environment.
  • Program module 42 typically performs the functions and/or methods of the described embodiments of the present invention.
  • Computer device 12 may also be in communication with one or more external devices 14 (eg, a keyboard, pointing device, display 24, etc.), and may also be in communication with one or more devices that enable a user to interact with the computer device 12, and/or Any device (eg, a network card, modem, etc.) that enables the computer device 12 to communicate with one or more other computing devices. This communication can take place via an input/output (I/O) interface 22. Also, computer device 12 can communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and/or a public network, such as the Internet) via network adapter 20. As shown, network adapter 20 communicates with other modules of computer device 12 via bus 18.
  • external devices 14 eg, a keyboard, pointing device, display 24, etc.
  • Any device eg, a network card, modem, etc.
  • network adapter 20 communicates with other modules of computer device 12 via bus 18.
  • the processing unit 16 performs various function applications and data processing by running a program stored in the system memory 28, for example, implementing a method for separating touch data provided by the embodiments of the present invention:
  • the processing unit executes the program, it is implemented to: determine the type of the touch data of the touch point at the current time, and if the touch data is at least two different types, filter the touch data according to the current application mode; Determining whether the touch data meets a preset touch protocol rule, and if not, re-issuing the touch data according to the preset touch protocol rule.
  • the seventh embodiment of the present invention provides a computer readable storage medium, on which a computer program is stored, and the program is executed by the processor to implement a method for separating touch data provided by all embodiments of the present invention:
  • the program is executed by the processor to: determine the type of touch data of the touch point at the current time, and if the touch data is at least two different types, filter the touch data according to the current application mode; Whether the touch data satisfies a preset touch protocol rule, and if not, re-issues the touch data according to the preset touch protocol rule.
  • the computer readable medium can be a computer readable signal medium or a computer readable storage medium.
  • the computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples (non-exhaustive lists) of computer readable storage media include: electrical connections having one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read only memory (ROM), Erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the foregoing.
  • a computer readable storage medium can be any tangible medium that can contain or store a program, which can be used by or in connection with an instruction execution system, apparatus or device.
  • a computer readable signal medium may include a data signal that is propagated in the baseband or as part of a carrier, carrying computer readable program code. Such propagated data signals can take a variety of forms including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • the computer readable signal medium can also be any computer readable medium other than a computer readable storage medium, which can transmit, propagate, or transport a program for use by or in connection with the instruction execution system, apparatus, or device. .
  • Program code embodied on a computer readable medium can be transmitted by any suitable medium, including but not limited to wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
  • Computer program code for performing the operations of the present invention may be written in one or more programming languages, or a combination thereof, including an object oriented programming language - such as Java, Smalltalk, C++, and also conventional. Procedural programming language - such as the "C" language or a similar programming language.
  • the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer, partly on the remote computer, or entirely on the remote computer or server.
  • the remote computer can be connected to the user's computer via any kind of network, including a local area network (LAN) or wide area network (WAN), or can be connected to an external computer (eg, using an Internet service provider) Internet connection).
  • LAN local area network
  • WAN wide area network
  • Internet service provider Internet service provider

Abstract

Disclosed are a touch data separation method and apparatus, a device, and a storage medium. The method comprises: determining the type of touch data of a touch point at a current moment, and if the touch data is of at least two different types, filtering the touch data according to the current application mode; determining whether the touch data meets a preset touch protocol rule; and if not, resending the touch data according to the preset touch protocol rule. The present invention implements the separation of concurrent touch data without improving hardware, and improves the transmission rate of touch data in a touch device.

Description

一种触摸数据的分离方法、装置、设备和存储介质Method, device, device and storage medium for separating touch data 技术领域Technical field
本发明涉及数据处理技术,尤其涉及一种触摸数据的分离方法、装置、设备和存储介质。The present invention relates to data processing technologies, and in particular, to a method, device, device and storage medium for separating touch data.
背景技术Background technique
一般的交互智能终端都具备触摸功能,例如教室使用的智能白板或智能会议平板等,该类终端产品中,使用的硬件部件通常为红外触摸框、电磁屏、电容屏三种。为了支持更加细致的书写体验,往往会使用电磁屏和电容屏组合,或红外触摸框和电磁屏组合。其中,电磁屏仅支持电磁笔的书写,而电容屏和红外触摸框均支持手触控,同时,红外触摸框还支持非透明物体的触控。A general interactive intelligent terminal has a touch function, such as a smart whiteboard or a smart conference tablet used in a classroom. The hardware components used in such a terminal product are usually an infrared touch frame, an electromagnetic screen, and a capacitive screen. In order to support a more detailed writing experience, a combination of electromagnetic screen and capacitive screen, or a combination of an infrared touch frame and an electromagnetic screen is often used. Among them, the electromagnetic screen only supports the writing of the electromagnetic pen, while the capacitive screen and the infrared touch frame both support the hand touch, and the infrared touch frame also supports the touch of the non-transparent object.
无论是上述哪种组合方式,在手和笔同时存在时,书写应用就会同时接收到两种上报数据,一种笔触摸数据,一种手触摸数据,而这两种数据是针对同一物理触控点产生的,并且由于电磁屏与电容屏(或电磁屏与红外触摸框)对触摸的感应精度不同,使得存在数值偏差,因此会体现在书写断线或不流畅等。Regardless of the combination method described above, when both the hand and the pen exist, the writing application receives two kinds of reported data, one type of pen touch data, one type of hand touch data, and the two types of data are for the same physical touch. The control points are generated, and because the electromagnetic screen and the capacitive screen (or the electromagnetic screen and the infrared touch frame) have different sensing precisions, the numerical deviation is caused, so that the writing is broken or not smooth.
现有技术中,通常是分时分发不同类型的数据,每一时刻仅存在一种类型的数据,对硬件设计有较高要求,而且对于每类数据都多了额外的延迟时间。In the prior art, different types of data are usually distributed in a time-sharing manner, and only one type of data exists at a time, which has high requirements on hardware design, and additional delay time is added for each type of data.
发明内容Summary of the invention
本发明实施例提供一种触摸数据的分离方法、装置、设备和存储介质,实现了在无需对硬件进行改进的基础上,对并发的触摸数据进行分离,提高了触 摸设备中触摸数据的传输速率。The embodiment of the invention provides a method, a device, a device and a storage medium for separating touch data, which realizes separating the concurrent touch data without improving the hardware, and improves the transmission rate of the touch data in the touch device. .
第一方面,本发明实施例提供了一种触摸数据的分离方法,所述方法包括:In a first aspect, an embodiment of the present invention provides a method for separating touch data, where the method includes:
判断当前时刻触摸点的触摸数据的类型,若所述触摸数据为至少两种不同的类型,则根据当前的应用模式对触摸数据进行过滤;Determining the type of touch data of the touch point at the current moment. If the touch data is at least two different types, filtering the touch data according to the current application mode;
确定所述触摸数据是否满足预设触摸协议规则,若否,根据所述预设触摸协议规则对所述触摸数据进行补发。Determining whether the touch data meets a preset touch protocol rule, and if not, re-issuing the touch data according to the preset touch protocol rule.
第二方面,本发明实施例提供了一种触摸数据的分离装置,所述装置包括:In a second aspect, an embodiment of the present invention provides a device for separating touch data, where the device includes:
过滤模块,用于判断当前时刻触摸点的触摸数据的类型,若所述触摸数据为至少两种不同的类型,则根据当前的应用模式对触摸数据进行过滤;a filtering module, configured to determine a type of touch data of a touch point at a current moment, and if the touch data is at least two different types, filtering the touch data according to the current application mode;
数据补发模块,用于确定所述触摸数据是否满足预设触摸协议规则,若否,根据所述预设触摸协议规则对所述触摸数据进行补发。The data reissue module is configured to determine whether the touch data meets a preset touch protocol rule, and if not, re-issue the touch data according to the preset touch protocol rule.
第三方面,本发明实施例还提供了一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现如本发明实施例中任一所述的触摸数据的分离方法。In a third aspect, an embodiment of the present invention further provides a computer device, including a memory, a processor, and a computer program stored on the memory and operable on the processor, where the processor implements the program, such as the present invention A method of separating touch data according to any of the embodiments.
第四方面,本发明实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如本发明实施例中任一所述的触摸数据的分离方法。In a fourth aspect, the embodiment of the present invention further provides a computer readable storage medium, where the computer program is stored, and when the program is executed by the processor, the method for separating touch data according to any one of the embodiments of the present invention is implemented. .
本发明实施例中,通过在当前时刻触摸点的触摸数据的类型若为至少两种不同的类型时,根据当前的应用模式对触摸数据进行过滤;若所述触摸数据不满足预设触摸协议规则,则根据所述预设触摸协议规则确定下一时刻需要补发的触摸数据;根据所述需要补发的触摸数据对所述触摸数据进行补发。实现了在无需对硬件进行改进的基础上,对并发的触摸数据进行分离,提高了触摸设 备中触摸数据的传输速率。In the embodiment of the present invention, when the type of the touch data touched by the point at the current time is at least two different types, the touch data is filtered according to the current application mode; if the touch data does not satisfy the preset touch protocol rule And determining touch data that needs to be replenished at the next moment according to the preset touch protocol rule; and re-issuing the touch data according to the touch data that needs to be re-issued. It realizes the separation of concurrent touch data without improving the hardware, and improves the transmission rate of touch data in the touch device.
附图说明DRAWINGS
图1a是本发明实施例一中的一种触摸数据的分离方法的流程图;1a is a flowchart of a method for separating touch data according to Embodiment 1 of the present invention;
图1b是现有技术中一种两类触摸数据分时分发机制的示意图;FIG. 1b is a schematic diagram of a two-stage touch data time sharing mechanism in the prior art; FIG.
图1c是本发明实施例所适用的一种两类触摸数据并发与分离机制的示意图;FIG. 1c is a schematic diagram of a two-type touch data concurrency and separation mechanism according to an embodiment of the present invention; FIG.
图2是本发明实施例二中的一种触摸数据的分离方法的流程图;2 is a flowchart of a method for separating touch data according to Embodiment 2 of the present invention;
图3是本发明实施例三中的一种触摸数据的分离方法的流程图;3 is a flowchart of a method for separating touch data according to Embodiment 3 of the present invention;
图4a是本发明实施例四中的一种触摸数据的分离方法的流程图;4a is a flowchart of a method for separating touch data according to Embodiment 4 of the present invention;
图4b是本发明实施例四所适用的一种手触摸状态标记方法的示意图;4b is a schematic diagram of a method for marking a hand touch state according to Embodiment 4 of the present invention;
图4c是本发明实施例四所适用的一种笔触摸状态标记方法的示意图;4c is a schematic diagram of a pen touch state marking method applicable to Embodiment 4 of the present invention;
图5是本发明实施例五中的一种触摸数据的分离装置的结构示意图;FIG. 5 is a schematic structural diagram of a device for separating touch data according to Embodiment 5 of the present invention; FIG.
图6是本发明实施例六中的一种计算机设备的结构示意图。FIG. 6 is a schematic structural diagram of a computer device according to Embodiment 6 of the present invention.
具体实施方式Detailed ways
下面结合附图和实施例对本发明作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部结构。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. It should also be noted that, for ease of description, only some, but not all, of the structures related to the present invention are shown in the drawings.
实施例一Embodiment 1
图1a为本发明实施例一提供的一种触摸数据的分离方法的流程图,本实施例可适用于触摸屏或触摸板等至少有两种触摸数据需要分离的情况,该方法可 以由本发明是实施例提供的一种触摸数据的分离装置来执行,该装置可采用软件和/或硬件的方式实现,并一般可集成在具有触摸功能的终端设备中,如教室用的智能白板、智能会议平板等。参考图1a,该方法具体可以包括如下步骤:FIG. 1 is a flowchart of a method for separating touch data according to Embodiment 1 of the present invention. The present embodiment is applicable to a case where at least two kinds of touch data need to be separated, such as a touch screen or a touch panel, and the method can be implemented by the present invention. For example, a touch data separation device is provided, which can be implemented by software and/or hardware, and can be integrated into a terminal device with touch function, such as a smart whiteboard for classrooms, a smart conference tablet, etc. . Referring to FIG. 1a, the method may specifically include the following steps:
S110、判断当前时刻触摸点的触摸数据的类型,若所述触摸数据为至少两种不同的类型,则根据当前的应用模式对触摸数据进行过滤。S110. Determine a type of touch data of the touch point at the current time. If the touch data is at least two different types, the touch data is filtered according to the current application mode.
其中,当手和笔同时作用于触控部件时,会同时产生笔触摸数据和手触摸数据,首先要识别当前的数据类型。可选的,触控部件通常为红外触摸框、电磁屏和电容屏三种,其中,为了增加细致的书写体验,通常使用电磁屏和电容屏组合,或红外触摸框和电磁屏组合。电磁屏仅支持电磁笔的书写与触摸点击,即笔触摸数据是由电磁屏产生,而电容屏和红外触摸框均支持手触,即手触摸数据是由电容屏或红外触摸框产生。Wherein, when the hand and the pen act on the touch component at the same time, the pen touch data and the hand touch data are simultaneously generated, and the current data type is first identified. Optionally, the touch component is usually an infrared touch frame, an electromagnetic screen, and a capacitive screen. In order to increase the detailed writing experience, a combination of an electromagnetic screen and a capacitive screen, or an infrared touch frame and an electromagnetic screen are generally used. The electromagnetic screen only supports the writing and touch click of the electromagnetic pen, that is, the pen touch data is generated by the electromagnetic screen, and the capacitive screen and the infrared touch frame both support the hand touch, that is, the hand touch data is generated by the capacitive screen or the infrared touch frame.
红外触摸数据用IR表示,其中IR为Infrared Radiation的缩写,电磁笔触摸数据用EMR表示,其中EMR为Electromagnetic Radiation的缩写。图1b示出了现有技术的一种两类触摸数据分时分发机制,如图1b所示,t代表时间,现有技术中是通过分时分发不同类型的触摸数据,即每一时刻存在一种类型的触摸数据,不需要过滤处理,每一类触摸数据都多了额外的延迟时间。例如,如果单纯存在红外触摸数据,则相邻的两个红外触摸数据之间多了额外的电磁笔触摸数据占用的发送时间(尽管实际上不存在电磁笔书写)。图1c示出了一种两类触摸数据并发与分离机制,如图1c所示,t代表时间,150代表红外触摸数据,160代表电磁笔触摸数据,两类触摸数据是完全独立的。Infrared touch data is represented by IR, where IR is an abbreviation of Infrared Radiation, and electromagnetic pen touch data is represented by EMR, where EMR is an abbreviation of Electromagnetic Radiation. FIG. 1b shows a two-type touch data time-sharing distribution mechanism in the prior art. As shown in FIG. 1b, t represents time. In the prior art, different types of touch data are distributed by time sharing, that is, each time exists. One type of touch data does not require filtering, and each type of touch data has an additional delay time. For example, if there is purely infrared touch data, the transmission time occupied by the additional electromagnetic pen touch data is increased between adjacent two infrared touch data (although there is actually no electromagnetic pen writing). Figure 1c shows a two-type touch data concurrency and separation mechanism. As shown in Figure 1c, t represents time, 150 represents infrared touch data, and 160 represents electromagnetic pen touch data. The two types of touch data are completely independent.
具体的,识别当前时刻触摸点的触摸数据的类型,若所述触摸数据为至少两中不同的类型,例如,同时存在手触摸数据和笔触摸数据,则根据当前的应 用模式对触摸数据进行过滤。可选的,当前的应用模式包括优先抢占模式和非优先抢占模式。Specifically, the type of the touch data of the touch point at the current time is recognized. If the touch data is at least two different types, for example, the hand touch data and the pen touch data exist at the same time, the touch data is filtered according to the current application mode. . Optionally, the current application mode includes a priority preemption mode and a non-preemptive preemption mode.
S120、确定所述触摸数据是否满足预设触摸协议规则,若否,则执行S130,若是,则直接进行过滤。S120. Determine whether the touch data meets a preset touch protocol rule. If not, execute S130, and if yes, perform direct filtering.
其中,预设触摸协议符合标准报点协议规则,标准报点协议规则提供了完整的数据包应遵循的协议,即,每类时间对应的数据包参照协议进行构建,未参照协议进行构建的数据包不是完整的数据包,不能被正常响应。在本方案中,数据包指的是触摸数据的数据包,确定触摸数据是否满足预设触摸协议规则,若不满足,则执行S130;若满足,则直接根据当前的应用模式对触摸数据进行过滤。The preset touch protocol conforms to the standard reporting protocol rule, and the standard reporting protocol rule provides a protocol that the complete data packet should follow, that is, the data packet corresponding to each type of time is constructed by referring to the protocol, and the data not constructed by referring to the protocol is constructed. The package is not a complete packet and cannot be responded properly. In this solution, the data packet refers to a data packet of the touch data, and determines whether the touch data meets the preset touch protocol rule. If not, the method S130 is performed; if yes, the touch data is directly filtered according to the current application mode. .
S130、根据所述预设触摸协议规则对所述触摸数据进行补发。S130. Replenish the touch data according to the preset touch protocol rule.
具体的,按照所述预设触摸协议规则对当前时刻的触摸数据进行分析,确定触摸数据是否满足预设触摸协议规则,根据该规则确定下一时刻需要补发的触摸数据。Specifically, the touch data of the current time is analyzed according to the preset touch protocol rule, and it is determined whether the touch data meets a preset touch protocol rule, and the touch data that needs to be replenished at the next moment is determined according to the rule.
其中,根据需要补发的触摸数据对触摸数据进行补发,保证触摸数据在满足预设触摸协议规则下的完整性,为触摸数据的传输以及响应提供了保证。The touch data is reissued according to the touch data that needs to be reissued to ensure the integrity of the touch data under the preset touch protocol rule, and provides guarantee for the transmission and response of the touch data.
本发明实施例中,通过在当前时刻触摸点的触摸数据的类型若为至少两种不同的类型时,根据当前的应用模式对触摸数据进行过滤;若所述触摸数据不满足预设触摸协议规则,则根据所述预设触摸协议规则确定下一时刻需要补发的触摸数据;根据所述需要补发的触摸数据对所述触摸数据进行补发。实现了在无需对硬件进行改进的基础上,对并发的触摸数据进行分离,提高了触摸设备中触摸数据的传输速率。In the embodiment of the present invention, when the type of the touch data touched by the point at the current time is at least two different types, the touch data is filtered according to the current application mode; if the touch data does not satisfy the preset touch protocol rule And determining touch data that needs to be replenished at the next moment according to the preset touch protocol rule; and re-issuing the touch data according to the touch data that needs to be re-issued. It realizes the separation of concurrent touch data without improving the hardware, and improves the transmission rate of touch data in the touch device.
在上述实施例的基础上,触摸数据的分离方法还包括;获取每个触摸点的触摸状态。Based on the above embodiment, the method for separating touch data further includes: acquiring a touch state of each touch point.
其中,触摸屏上的每个点的触摸状态和用户的操作有关,当检测到触摸数据产生时,则获取每个触摸点的触摸状态。对于各个触摸点,当前时刻的触摸状态不同,导致触摸数据不同,进而根据预设触摸协议规则确定下一时刻需要补发的触摸数据也会不同。Wherein, the touch state of each point on the touch screen is related to the operation of the user, and when the touch data is detected, the touch state of each touch point is acquired. For each touch point, the touch state at the current time is different, resulting in different touch data, and then determining the touch data that needs to be reissued at the next moment according to the preset touch protocol rule may also be different.
实施例二Embodiment 2
图2为本发明实施例二提供的一种触摸数据的分离方法的流程图,本实施例在上述实施例的基础上,对“根据当前的应用模式对触摸数据进行过滤”进行了优化。参考图2,该方法具体可以包括如下步骤:FIG. 2 is a flowchart of a method for separating touch data according to Embodiment 2 of the present invention. On the basis of the foregoing embodiment, this embodiment optimizes “filtering touch data according to a current application mode”. Referring to FIG. 2, the method may specifically include the following steps:
S210、判断当前时刻触摸点的触摸数据的类型,若所述触摸数据为至少两种不同的类型,若当前的应用模式为优先抢占模式,检测到当前的触摸数据为第一触摸数据时,判断第一预设时间内产生的第二触摸数据的数据类型与所述第一触摸数据的数据类型是否相同,若否,则对所述第二触摸数据进行过滤。S210: Determine a type of the touch data of the touch point at the current time. If the touch data is at least two different types, if the current application mode is the priority preemption mode, and the current touch data is detected as the first touch data, Whether the data type of the second touch data generated in the first preset time is the same as the data type of the first touch data, and if not, filtering the second touch data.
其中,以触摸数据的类型是两种不同的类型为例,在当前的应用模式为优先抢占模式下,检测到当前的触摸数据为第一触摸数据时,判断第一预设时间内产生的第二触摸数据的数据类型是否和第一触摸数据的数据类型相同,若不同,则对第二触摸数据过滤,若相同,则继续进行判断。需要说明的是,触摸数据的数据类型不同时,触摸数据的数据内容也不相同,而第二触摸数据与第一触摸数据不同包括两种情况,触摸数据的类型不同以及触摸数据的内容不同。在本方案中,比较的是第二触摸数据的数据类型与第一触摸数据的数据类型, 也即,在第二触摸数据的数据类型与第一触摸数据的数据类型不同时,对第二触摸数据进行过滤。The following is an example in which the type of the touch data is two different types. When the current application mode is the priority preemption mode, when the current touch data is detected as the first touch data, the first generated time is determined. Whether the data type of the two touch data is the same as the data type of the first touch data. If they are different, the second touch data is filtered. If they are the same, the determination is continued. It should be noted that when the data types of the touch data are different, the data content of the touch data is different, and the second touch data and the first touch data include two cases, the types of the touch data are different, and the content of the touch data is different. In the present solution, comparing the data type of the second touch data with the data type of the first touch data, that is, when the data type of the second touch data is different from the data type of the first touch data, the second touch The data is filtered.
其中,第一触摸数据的数据类型包括笔触摸数据类型或手触摸数据类型,第二触摸数据的数据类型包括笔触摸数据类型或手触摸数据类型,优先抢占模式下优先响应当前触摸数据。The data type of the first touch data includes a pen touch data type or a hand touch data type, and the data type of the second touch data includes a pen touch data type or a hand touch data type, and the priority touch mode preferentially responds to the current touch data.
在一个具体的例子中,第一触摸数据包括笔触摸数据或手触摸数据,第二触摸数据包括笔触摸数据或手触摸数据,当第一触摸数据为笔触摸数据,且在第一预设时间内产生的第二触摸数据为手触摸数据时,则对手触摸数据进行过滤。第一预设时间可以是触摸数据的持续时间,也即,触摸状态标记时间,具体的标记方法稍后进行详细的描述。In a specific example, the first touch data includes pen touch data or hand touch data, and the second touch data includes pen touch data or hand touch data, when the first touch data is pen touch data, and is at a first preset time When the second touch data generated in the hand is the hand touch data, the opponent touch data is filtered. The first preset time may be the duration of the touch data, that is, the touch status mark time, and the specific marking method will be described in detail later.
具体的应用场景可以是,例如电磁笔先进行触摸操作,检测到当前的触摸数据为电磁笔触摸数据,则将后续的手触摸数据一概过滤;例如手先进行触摸操作,检测到当前的触摸数据为手触摸数据,则将后续的电磁笔触摸数据一概过滤。可选的,当原先的操作方式停止时,后来的操作方式才能抢夺到优先权,该场景可以是,当前检测到的触摸数据为笔触摸数据,超过第一预设时间后,检测到的数据为手触摸数据,则手触摸操作抢夺到优先权,也即,笔触摸操作已停止。The specific application scenario may be that, for example, the electromagnetic pen first performs a touch operation, and when the current touch data is detected as the electromagnetic pen touch data, the subsequent hand touch data is filtered; for example, the hand first performs a touch operation, and the current touch data is detected as When the hand touches the data, the subsequent electromagnetic pen touch data is filtered. Optionally, when the original operation mode is stopped, the subsequent operation mode can rob the priority. The scenario may be that the currently detected touch data is pen touch data, and the detected data is exceeded after the first preset time. When the data is touched by the hand, the hand touch operation grabs the priority, that is, the pen touch operation has stopped.
示例性的,下面分情况对优先抢占模式下的触摸数据的标记和过滤进行说明。为了清晰的进行描述,首先对触摸数据进行定义。定义电磁笔触摸操作所产生的触摸数据为P触摸数据,定义手触摸操作所产生的触摸数据为H触摸数据,其中,P触摸数据和H触摸数据均符合标准通用的触摸协议。Exemplarily, the following describes the marking and filtering of touch data in the priority preemption mode. For a clear description, the touch data is first defined. The touch data generated by the electromagnetic pen touch operation is defined as P touch data, and the touch data generated by the hand touch operation is defined as H touch data, wherein the P touch data and the H touch data conform to the standard universal touch protocol.
(1)如果当前P触摸数据产生,标记当前有电磁笔在使用。如果当前仅有 电磁笔被标记使用,则记录电磁笔为优先抢占者,并且不进行任何触摸数据过滤;如果当前已经有手被标记使用,则进一步判断如果手为已标记的优先抢占者,则过滤P触摸数据;如果是电磁笔已被标记为优先抢占者,则过滤H触摸数据;其他情况不过滤任何触摸数据。(1) If the current P touch data is generated, the mark currently has an electromagnetic pen in use. If only the electromagnetic pen is currently marked for use, the recording electromagnetic pen is the priority preemptor, and no touch data filtering is performed; if the hand has been marked for use, it is further determined that if the hand is the marked priority preemptor, then The P touch data is filtered; if the electromagnetic pen has been marked as a priority preemptor, the H touch data is filtered; in other cases, no touch data is filtered.
(2)如果当前H触摸数据产生,标记当前有手触摸使用。如果当前仅有手被标记使用,则记录手为优先抢占者,并且不进行任何触摸数据过滤;如果当前已有电磁笔被标记使用,则进一步判断如果电磁笔已被标记为优先抢占者,则过滤触摸数据;如果手已被标记为优先抢占者,则过滤P触摸数据;其他情况不过滤任何包。(2) If the current H touch data is generated, the mark is currently used by the hand touch. If only the hand is currently marked for use, the record hand is the priority preemptor and no touch data filtering is performed; if the currently existing electromagnetic pen is marked for use, it is further determined that if the electromagnetic pen has been marked as a priority preemptor, then Filter touch data; if the hand has been marked as a priority preemptor, the P touch data is filtered; in other cases, no packets are filtered.
(3)其他情况不过滤任何包(3) Other conditions do not filter any package
S220、确定所述触摸数据是否满足预设触摸协议规则,若否,则执行S230,若是,则直接进行过滤。S220. Determine whether the touch data meets a preset touch protocol rule. If not, execute S230, and if yes, perform direct filtering.
S230、根据所述预设触摸协议规则对所述触摸数据进行补发。S230: Re-issue the touch data according to the preset touch protocol rule.
本发明实施例中,在当前的应用模式为优先抢占模式下,若当前的应用模式为优先抢占模式,检测到当前的触摸数据为第一触摸数据时,判断第一预设时间内产生的第二触摸数据的数据类型与所述第一触摸数据的数据类型是否相同,若否,则对所述第二触摸数据进行过滤。实现了优先抢占模式下数据的过滤。In the embodiment of the present invention, when the current application mode is the priority preemption mode, if the current application mode is the priority preemption mode, and the current touch data is detected as the first touch data, determining the first generated time in the first preset time. Whether the data type of the two touch data is the same as the data type of the first touch data, and if not, filtering the second touch data. The filtering of data in the priority preemption mode is implemented.
实施例三Embodiment 3
图3为本发明实施例三提供的一种触摸数据的分离方法的流程图,本实施例在上述实施例的基础上,对“根据当前的应用模式对触摸数据进行过滤”进行 了优化。参考图3,该方法具体可以包括如下步骤:FIG. 3 is a flowchart of a method for separating touch data according to Embodiment 3 of the present invention. On the basis of the foregoing embodiment, the present embodiment optimizes “filtering touch data according to a current application mode”. Referring to FIG. 3, the method may specifically include the following steps:
S310、判断当前时刻触摸点的触摸数据的类型,若所述触摸数据为至少两种不同的类型,若当前的应用模式为第一非优先抢占模式,检测到第一触摸数据和第二触摸数据同时存在时,则过滤所述第二触摸数据;若当前的应用模式为第二非优先抢占模式,检测到第一触摸数据和第二触摸数据同时存在时,则过滤所述第一触摸数据。S310. Determine a type of the touch data of the touch point at the current time. If the touch data is at least two different types, if the current application mode is the first non-preemptive preemption mode, the first touch data and the second touch data are detected. The second touch data is filtered when the current application mode is the second non-preemptive preemption mode, and when the first touch data and the second touch data are detected to exist at the same time, the first touch data is filtered.
具体的,以触摸数据的类型是两种不同的类型为例,第一非优先抢占模式是在第一触摸数据和第二触摸数据同时存在时过滤第二触摸数据;第二非优先抢占模式为在第一触摸数据和第二触摸数据同时存在时过滤第一触摸数据。Specifically, the second non-preemptive preemption mode is to filter the second touch data when the first touch data and the second touch data exist simultaneously; the second non-preemptive preemption mode is The first touch data is filtered when the first touch data and the second touch data are simultaneously present.
在一个具体的例子中,当第一触摸数据为笔触摸数据,第二触摸数据为手触摸数据时,在第一非优先抢占模式下过滤手触摸数据,在第二非优先抢占模式下过滤笔触摸数据。In a specific example, when the first touch data is pen touch data, the second touch data is hand touch data, the hand touch data is filtered in the first non-preemptive preemption mode, and the pen is filtered in the second non-preemptive preemption mode. Touch the data.
示例性的,下面分情况对非优先抢占模式下的触摸数据的标记和过滤进行说明。为了清晰的进行描述,仍采用上述对P触摸数据和H触摸数据的定义进行说明,以当前非优先抢占模式为过滤H触摸数据为例进行说明。Exemplarily, the following describes the marking and filtering of touch data in the non-preemptive preemptive mode. For the sake of clear description, the definitions of the P touch data and the H touch data are still described above, and the current non-preemptive preemption mode is used as the filtering H touch data as an example.
(1)如果当前P触摸数据产生,标记当前有电磁笔在使用。如果当前仅有电磁笔在使用,则不过滤任何触摸数据包;如果当前已有手在使用,则过滤H触摸数据;其他情况不过滤任何触摸数据。(1) If the current P touch data is generated, the mark currently has an electromagnetic pen in use. If only the electromagnetic pen is currently in use, no touch data packets are filtered; if there is currently a hand in use, the H touch data is filtered; in other cases, no touch data is filtered.
(2)如果当前H触摸数据产生,则标记当前有手在使用。如果当前仅有手在使用,则不过滤任何触摸数据;如果当前已有电磁笔在使用,则过滤H触摸数据;其他情况不过滤任何触摸数据。(2) If the current H touch data is generated, the mark is currently in use. If only the hand is currently in use, no touch data is filtered; if the current electromagnetic pen is currently in use, the H touch data is filtered; in other cases, no touch data is filtered.
S320、确定所述触摸数据是否满足预设触摸协议规则,若否,则执行S330, 若是,则直接进行过滤。S320. Determine whether the touch data meets a preset touch protocol rule. If not, execute S330. If yes, perform direct filtering.
S330、根据所述预设触摸协议规则对所述触摸数据进行补发。S330. Replenish the touch data according to the preset touch protocol rule.
本发明实施例中,当前的应用模式为非优先抢占模式时,其中非优先抢占模式包括第一非优先抢占模式和第二非优先抢占模式的情况下,在第一非优先抢占模式下过滤第二触摸数据,在第二非优先抢占模式下过滤第一触摸数据。实现了在非优先抢占模式下对触摸数据的过滤。In the embodiment of the present invention, when the current application mode is the non-preemptive preemption mode, where the non-preemptive preemption mode includes the first non-preemptive preemption mode and the second non-preemptive preemption mode, the filtering is performed in the first non-preemptive preemption mode. The second touch data filters the first touch data in the second non-preemptive preemption mode. Filtering of touch data in non-preemptive preemption mode is implemented.
实施例四Embodiment 4
图4a为本发明实施例四提供的一种触摸数据的分离方法的流程图,本实施例在上述实施例的基础上,对“根据所述预设触摸协议规则对所述触摸数据进行补发”进行了优化。参考图4a,该方法具体可以包括如下步骤:FIG. 4a is a flowchart of a method for separating touch data according to Embodiment 4 of the present invention. On the basis of the foregoing embodiment, this embodiment re-sends the touch data according to the preset touch protocol rule. "Optimized." Referring to FIG. 4a, the method may specifically include the following steps:
S410、获取每个触摸点的触摸状态。S410. Acquire a touch state of each touch point.
可选的,所述触摸点的触摸状态包括:触摸状态、触摸抬起状态和触摸未决状态信息。Optionally, the touch state of the touch point includes: a touch state, a touch lift state, and a touch pending state information.
其中,数据补发的关键是对各个触摸点进行跟踪和统计,通常情况下各个触摸点的触摸状态可以表示为集合{ID,STATUS},其中,STATUS∈{DOWN,UP,MOVE},ID为是IDENTIFY的简写,唯一标识一个触摸点;STATUS表示各个触摸点的状态。DOWM为触摸状态,也即按下状态,例如用户的手指按下触摸设备的第一触控点;UP为触摸抬起状态,例如用户的手指离开触摸设备的第一触控点;MOVE为触摸未决状态,也即移动和/或滑动状态,例如用户的手指从触摸设备的第一触控点移动至第二触控点。其中,触摸状态为手或电磁笔接触或按压在触摸点上,触摸抬起状态为是手或电磁笔离开 触摸点,触摸未决状态为手或电磁笔从一个触摸点移动和/或滑动至另一个触摸点的过渡状态。Among them, the key to data re-issue is to track and count each touch point. Generally, the touch status of each touch point can be represented as a set {ID, STATUS}, where STATUS ∈ {DOWN, UP, MOVE}, ID is Is short for IDENTIFY, uniquely identifies a touch point; STATUS indicates the status of each touch point. The DOWM is a touch state, that is, a pressed state, for example, a user's finger presses the first touch point of the touch device; UP is a touch lift state, for example, the user's finger leaves the first touch point of the touch device; MOVE is a touch The pending state, that is, the moving and/or sliding state, for example, the user's finger moves from the first touch point of the touch device to the second touch point. Wherein, the touch state is that the hand or the electromagnetic pen touches or presses on the touch point, the touch lift state is the hand or the electromagnetic pen leaves the touch point, and the touch pending state is the hand or the electromagnetic pen moves and/or slides from a touch point to The transition state of another touch point.
可选的,所述触摸抬起状态为:当检测到触摸数据时,则标记触摸数据正在使用,判断第二预设时间后是否能检测到所述触摸数据,若是,则继续判断所述第二预设时间后是否能检测到所述触摸数据,直到不能检测到所述触摸数据为止,标记所述状态为触摸抬起状态;其中,所述第二预设时间大于产生所述触摸数据的周期。Optionally, the touch up state is: when the touch data is detected, the mark touch data is being used, determining whether the touch data can be detected after the second preset time, and if yes, continuing to determine the first Whether the touch data can be detected after the preset time, until the touch data cannot be detected, marking the state as a touch-up state; wherein the second preset time is greater than generating the touch data cycle.
其中,检测到触摸数据时,则标记触摸数据正在使用,判断第二预设时间后是否能检测到所述触摸数据,可选的,第二预设时间可以是定时周期,具体的周期数值可以根据触摸数据类型和用户习惯设定,这里不做限制。直到不能检测到触摸数据为止,标记该状态为触摸抬起状态。需要说明的是,触摸数据的载体在触摸设备,标记触摸数据正在使用,也即触摸设备正在使用,具体的例子可以是用户的手指按下触摸设备的触摸屏。Wherein, when the touch data is detected, the touch data is being used, and whether the touch data can be detected after the second preset time is determined. Optionally, the second preset time may be a timing period, and the specific period value may be According to the type of touch data and user habits, there is no limit here. The state is marked as a touch-up state until the touch data cannot be detected. It should be noted that the carrier of the touch data is in the touch device, and the touch data is being used, that is, the touch device is being used. A specific example may be that the user's finger presses the touch screen of the touch device.
接下来对手的使用状态的标记方法进行描述。假设手触摸所产生的触摸数据的周期为T h。图4b示出了一种手触摸状态标记方法,如图4b所示,t代表时间,460代表H触摸数据。首次手触摸产生触摸数据的时刻为T hs,启动定时器周期为T h-up,满足T h<T h-up,当H触摸数据产生时,标记手触摸在使用,并重置定时器,重新计时,周期依然为T h-up。当定时器溢出时,则标记手触摸已抬起。具体的,A点时刻,手触摸数据产生,标记手触摸开始使用,开始定时,定时周期为T h-up,在B点时刻,检测到仍有手触摸数据产生,则重新定时,若在定时周期到时仍有手触摸数据产生,则继续重新定时,如C点所示,直到定时周期到,检测到手触摸数据不再产生,如D点所示,则取消手触摸使用标记。 Next, the marking method of the opponent's use state is described. It is assumed that the period of the touch data generated by the hand touch is T h . Figure 4b shows a hand touch status marking method, as shown in Figure 4b, t represents time and 460 represents H touch data. The time at which the first hand touch generates the touch data is T hs , the start timer period is T h-up , and T h <T h-up is satisfied. When the H touch data is generated, the mark hand touch is used, and the timer is reset. After re-clocking, the cycle is still T h-up . When the timer overflows, the marker hand touch is raised. Specifically, at point A, the hand touch data is generated, the marker hand touch is used, the timing is started, and the timing period is T h-up . At the time point B, it is detected that there is still hand touch data generated, and then the timing is re-timed. If there is still hand touch data generated at the time of the cycle, the retiming is continued. As indicated by point C, until the timing cycle is reached, the detected hand touch data is no longer generated. As indicated by point D, the hand touch usage flag is canceled.
同理,电磁笔的使用状态的标记方法类似,下面进行简单描述。假设电磁笔触摸所产生的触摸数据的周期为T p。图4c示出了一种手触摸状态标记方法,如图4c所示,t代表时间,470代表P触摸数据。首次电磁笔触摸产生触摸数据的时刻为T ps,启动定时器周期为T p-up,满足T p<T p-up,当P触摸数据产生时,标记电磁笔触摸在使用,并重置定时器,重新计时,周期依然为T h-up。当定时器溢出时,则标记电磁笔触摸已抬起。具体的,E点时刻,电磁笔触摸数据产生,标记电磁笔触摸开始使用,开始定时,定时周期为T h-up,在F点时刻,检测到仍有笔触摸数据产生,则重新定时,定时,若在定时周期到时仍有电磁笔触摸数据产生,则继续重新定时,如G点所示,直到定时周期到,检测到电磁笔触摸数据不再产生,如I点所示,则取消电磁笔触摸使用标记。 Similarly, the marking method of the state of use of the electromagnetic pen is similar, and a brief description will be given below. It is assumed that the period of the touch data generated by the electromagnetic pen touch is T p . Figure 4c shows a hand touch status marking method, as shown in Figure 4c, t represents time and 470 represents P touch data. The moment when the first electromagnetic pen touch generates touch data is T ps , the start timer period is T p-up , and T p <T p-up is satisfied. When the P touch data is generated, the mark electromagnetic pen touch is in use, and the timing is reset. Reclocked, the cycle is still T h-up . When the timer overflows, the marker stylus touch has been raised. Specifically, at point E, the electromagnetic pen touch data is generated, the marking electromagnetic pen touch is used, the timing is started, the timing period is T h-up , and at the time of point F, when the pen touch data is detected, the timing is re-timed and timed. If there is still electromagnetic pen touch data generated at the timing cycle, continue to re-timing, as indicated by G point, until the timing cycle is reached, the electromagnetic pen touch data is no longer generated, as shown by point I, the electromagnetic is canceled. The pen touch uses a marker.
在一个具体的例子中,在优先抢占模式下,笔和手应该处于公平竞争的状态,可以去取T p-up=T h-up;而在非优先抢占模式下,当笔处于绝对的优先时,需要满足T p-up>T h-upIn a specific example, in the priority preemption mode, the pen and the hand should be in a state of fair competition, and T p-up =T h-up can be taken ; in the non-preemptive preemption mode, the pen is in absolute priority. When you need to meet T p-up >T h-up .
S420、判断当前时刻触摸点的触摸数据的类型,若所述触摸数据为至少两种不同的类型,则根据当前的应用模式对触摸数据进行过滤。S420: Determine a type of touch data of the touch point at the current time. If the touch data is at least two different types, the touch data is filtered according to the current application mode.
S430、确定所述触摸数据是否满足预设触摸协议规则,若否,则执行S440,若是,则直接进行过滤。S430. Determine whether the touch data meets a preset touch protocol rule. If not, execute S440. If yes, perform direct filtering.
S440、针对每个触摸点,若所述触摸点的上一触摸状态为触摸状态或触摸未决状态,则根据所述预设触摸协议规则补发所述触摸点的触摸抬起状态对应的触摸数据信息。S440. For each touch point, if the last touch state of the touch point is a touch state or a touch pending state, the touch corresponding to the touch lift state of the touch point is reissued according to the preset touch protocol rule. Data information.
其中,以一个触摸点为例,若该点上一触摸状态为触摸状态或触摸未决状态,也即,为MOVE或DOWN,则根据报点协议补发该触摸点的触摸抬起状 态对应的触摸数据信息,也即,补发UP事件所对应的触摸数据;若该点的上一状态为触摸状态,也即UP状态,则不进行数据补发,直接进行过滤。可选的,每类事件对应的触摸数据参照报点协议进行构建。For example, if a touch point is a touch state or a touch pending state, that is, MOVE or DOWN, the touch lift state corresponding to the touch point is reissued according to the report protocol. Touching the data information, that is, replenishing the touch data corresponding to the UP event; if the previous state of the point is the touch state, that is, the UP state, the data is not re-issued and directly filtered. Optionally, the touch data corresponding to each type of event is constructed by referring to the reporting protocol.
接下来对数据补发的概念进行说明,当电磁笔和手同时作用于触控部件,其中,触控部件为红外触摸框、电磁屏或电容屏,那么所产生触摸数据和上报的触摸数据是很频繁的(一般都是毫秒级)。因此,单纯的在某一时刻开始过滤掉手触摸所产生的触摸数据,导致上报给系统的数据不是完整遵循触摸协议的,那么就有可能产生遗漏上报触摸事件问题(比如触摸抬起事件),导致系统触摸异常。因此,需要跟踪和统计每一个触摸点所产生的状态,在准备过滤数据的时刻起,决策下一时刻需要补发的触摸数据。根据所述需要补发的触摸数据对所述触摸数据进行补发。Next, the concept of data reissue is explained. When the electromagnetic pen and the hand act on the touch component at the same time, wherein the touch component is an infrared touch frame, an electromagnetic screen or a capacitive screen, the generated touch data and the reported touch data are Very frequent (generally in milliseconds). Therefore, simply starting to filter out the touch data generated by the hand touch at a certain moment, so that the data reported to the system is not completely following the touch protocol, then there may be a problem of missing the reported touch event (such as a touch up event). Causes the system to touch abnormally. Therefore, it is necessary to track and count the state generated by each touch point, and at the time of preparing to filter the data, the touch data that needs to be replenished at the next moment is decided. Replenishing the touch data according to the touch data that needs to be reissued.
本发明实施例中,通过跟踪每个触摸点触摸状态并对所述触摸状态进行判断,若所述触摸点的上一触摸状态为触摸状态或触摸未决状态,则补发所述触摸点的触摸抬起状态对应的触摸数据信息。实现了对触摸数据的补发,保证了触摸数据传输的完整性。In the embodiment of the present invention, the touch state of each touch point is tracked and the touch state is determined. If the last touch state of the touch point is a touch state or a touch pending state, the touch point is reissued. Touch the touch data information corresponding to the raised state. The replacement of the touch data is realized, and the integrity of the touch data transmission is ensured.
在上述技术方案的基础上,结合一个具体应用场景对本方案进行说明。以对红外触摸框加电磁屏组合为例,当电磁笔在电磁屏上书写时,会并发产生电磁触摸数据和红外触摸数据,而经过本方案的处理,若使用非优先抢占模式,可以设定过滤红外触摸的数据,避免了红外数据对电磁书写的干扰,并且在电磁笔书写过程,可以手枕着屏幕流畅书写,还可以避免衣物或者其他人的干扰。同理,对电容屏加电磁屏组合,同样可以设定过滤手触摸数据,避免手的误触而影响电磁笔的书写。可选的,在一些诸如游戏场合,可以开启优先抢占模式, 谁先书写/点击触摸就可以抢到书写主权。Based on the above technical solutions, the solution is described in conjunction with a specific application scenario. Taking the combination of the infrared touch frame and the electromagnetic screen as an example, when the electromagnetic pen is written on the electromagnetic screen, the electromagnetic touch data and the infrared touch data are generated concurrently, and after the processing of the solution, if the non-priority preemption mode is used, the setting can be set. Filtering the data of the infrared touch avoids the interference of the infrared data on the electromagnetic writing, and in the writing process of the electromagnetic pen, the hand can be smoothly written on the screen, and the interference of the clothing or other people can be avoided. In the same way, adding a electromagnetic screen combination to the capacitive screen can also set the filter hand touch data to avoid the accidental touch of the hand and affect the writing of the electromagnetic pen. Optionally, in some game situations, the priority preemption mode can be turned on, and whoever writes/clicks on the touch can grab the writing sovereignty.
实施例五Embodiment 5
图5是本发明是实施例五提供的一种触摸数据的分离装置的结构示意图,该装置适用于执行本发明实施例提供给的一种触摸数据的分离方法。如图5所示,该装置具体可以包括:FIG. 5 is a schematic structural diagram of a touch data separating apparatus according to Embodiment 5, which is suitable for performing a method for separating touch data provided by an embodiment of the present invention. As shown in FIG. 5, the device may specifically include:
过滤模块510,用于判断当前时刻触摸点的触摸数据的类型,若所述触摸数据为至少两种不同的类型,则根据当前的应用模式对触摸数据进行过滤;The filtering module 510 is configured to determine a type of touch data of the touch point at the current moment. If the touch data is at least two different types, the touch data is filtered according to the current application mode.
数据补发模块520,用于确定所述触摸数据是否满足预设触摸协议规则,若否,根据所述预设触摸协议规则对所述触摸数据进行补发。The data reissue module 520 is configured to determine whether the touch data meets a preset touch protocol rule, and if not, re-issue the touch data according to the preset touch protocol rule.
进一步的,所述装置还包括:Further, the device further includes:
触摸状态获取模块,用于获取每个触摸点的触摸状态。A touch state acquisition module is configured to acquire a touch state of each touch point.
进一步的,过滤模块510具体用于:Further, the filtering module 510 is specifically configured to:
若当前的应用模式为优先抢占模式,检测到当前的触摸数据为第一触摸数据时,判断第一预设时间内产生的第二触摸数据的数据类型与所述第一触摸数据的数据类型是否相同,若否,则对所述第二触摸数据进行过滤;If the current application mode is the priority preemption mode, detecting that the current touch data is the first touch data, determining whether the data type of the second touch data generated in the first preset time and the data type of the first touch data are The same, if not, filtering the second touch data;
其中,第一触摸数据的数据类型包括笔触摸数据类型或手触摸数据类型,第二触摸数据的数据类型包括笔触摸数据类型或手触摸数据类型,优先抢占模式下优先响应当前触摸数据。The data type of the first touch data includes a pen touch data type or a hand touch data type, and the data type of the second touch data includes a pen touch data type or a hand touch data type, and the priority touch mode preferentially responds to the current touch data.
进一步的,过滤模块510具体用于:Further, the filtering module 510 is specifically configured to:
若当前的应用模式为第一非优先抢占模式,检测到第一触摸数据和第二触摸数据同时存在时,则过滤所述第二触摸数据;If the current application mode is the first non-preemptive preemption mode, detecting that the first touch data and the second touch data exist simultaneously, filtering the second touch data;
若当前的应用模式为第二非优先抢占模式,检测到第一触摸数据和第二触摸数据同时存在时,则过滤所述第一触摸数据。If the current application mode is the second non-preemptive preemption mode, detecting that the first touch data and the second touch data exist simultaneously, filtering the first touch data.
进一步的,所述触摸点的触摸状态包括:Further, the touch status of the touch point includes:
触摸状态、触摸抬起状态和触摸未决状态信息;Touch status, touch up status, and touch pending status information;
数据补发模块520具体用于:The data reissue module 520 is specifically configured to:
针对每个触摸点,若所述触摸点的上一触摸状态为触摸状态或触摸未决状态,则补发所述触摸点的触摸抬起状态对应的触摸数据信息。For each touch point, if the last touch state of the touch point is a touch state or a touch pending state, the touch data information corresponding to the touch lift state of the touch point is re-issued.
进一步的,所述触摸抬起状态为:Further, the touch up state is:
当检测到触摸数据时,则标记触摸数据正在使用,判断第二预设时间后是否能检测到所述触摸数据,若是,则继续判断所述第二预设时间后是否能检测到所述触摸数据,直到不能检测到所述触摸数据为止,标记所述状态为触摸抬起状态;When the touch data is detected, the touch data is being used, determining whether the touch data can be detected after the second preset time, and if yes, determining whether the touch can be detected after the second preset time Data, until the touch data cannot be detected, marking the state as a touch-up state;
其中,所述第二预设时间大于产生所述触摸数据的周期。The second preset time is greater than a period in which the touch data is generated.
本发明实施例提供的触摸数据的分离装置可执行本发明任意实施例提供的触摸数据的分离方法,具备执行方法相应的功能模块和有益效果。The device for separating touch data provided by the embodiment of the present invention may perform a method for separating touch data provided by any embodiment of the present invention, and has a function module and a beneficial effect corresponding to the execution method.
实施例六Embodiment 6
图6为本发明实施例六提供的一种计算机设备的结构示意图。图6示出了适于用来实现本发明实施方式的示例性计算机设备12的框图。图6显示的计算机设备12仅仅是一个示例,不应对本发明实施例的功能和使用范围带来任何限制。FIG. 6 is a schematic structural diagram of a computer device according to Embodiment 6 of the present invention. FIG. 6 shows a block diagram of an exemplary computer device 12 suitable for use in implementing embodiments of the present invention. The computer device 12 shown in FIG. 6 is merely an example and should not impose any limitation on the function and scope of use of the embodiments of the present invention.
如图6所示,计算机设备12以通用计算设备的形式表现。计算机设备12 的组件可以包括但不限于:一个或者多个处理器或者处理单元16,系统存储器28,连接不同系统组件(包括系统存储器28和处理单元16)的总线18。As shown in Figure 6, computer device 12 is embodied in the form of a general purpose computing device. Components of computer device 12 may include, but are not limited to, one or more processors or processing units 16, system memory 28, and bus 18 that connect different system components, including system memory 28 and processing unit 16.
总线18表示几类总线结构中的一种或多种,包括存储器总线或者存储器控制器,外围总线,图形加速端口,处理器或者使用多种总线结构中的任意总线结构的局域总线。举例来说,这些体系结构包括但不限于工业标准体系结构(ISA)总线,微通道体系结构(MAC)总线,增强型ISA总线、视频电子标准协会(VESA)局域总线以及外围组件互连(PCI)总线。 Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of a variety of bus structures. For example, these architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MAC) bus, an Enhanced ISA Bus, a Video Electronics Standards Association (VESA) local bus, and peripheral component interconnects ( PCI) bus.
计算机设备12典型地包括多种计算机系统可读介质。这些介质可以是任何能够被计算机设备12访问的可用介质,包括易失性和非易失性介质,可移动的和不可移动的介质。 Computer device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by computer device 12, including both volatile and nonvolatile media, removable and non-removable media.
系统存储器28可以包括易失性存储器形式的计算机系统可读介质,例如随机存取存储器(RAM)30和/或高速缓存存储器32。计算机设备12可以进一步包括其它可移动/不可移动的、易失性/非易失性计算机系统存储介质。仅作为举例,存储系统34可以用于读写不可移动的、非易失性磁介质(图6未显示,通常称为“硬盘驱动器”)。尽管图6中未示出,可以提供用于对可移动非易失性磁盘(例如“软盘”)读写的磁盘驱动器,以及对可移动非易失性光盘(例如CD-ROM,DVD-ROM或者其它光介质)读写的光盘驱动器。在这些情况下,每个驱动器可以通过一个或者多个数据介质接口与总线18相连。存储器28可以包括至少一个程序产品,该程序产品具有一组(例如至少一个)程序模块,这些程序模块被配置以执行本发明各实施例的功能。 System memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and/or cache memory 32. Computer device 12 may further include other removable/non-removable, volatile/non-volatile computer system storage media. By way of example only, storage system 34 may be used to read and write non-removable, non-volatile magnetic media (not shown in Figure 6, commonly referred to as "hard disk drives"). Although not shown in FIG. 6, a disk drive for reading and writing to a removable non-volatile disk (such as a "floppy disk"), and a removable non-volatile disk (such as a CD-ROM, DVD-ROM) may be provided. Or other optical media) read and write optical drive. In these cases, each drive can be coupled to bus 18 via one or more data medium interfaces. Memory 28 can include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of various embodiments of the present invention.
具有一组(至少一个)程序模块42的程序/实用工具40,可以存储在例如存储器28中,这样的程序模块42包括——但不限于——操作系统、一个或者 多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。程序模块42通常执行本发明所描述的实施例中的功能和/或方法。A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28, such program modules 42 including, but not limited to, an operating system, one or more applications, other programs Modules and program data, each of these examples or some combination may include an implementation of a network environment. Program module 42 typically performs the functions and/or methods of the described embodiments of the present invention.
计算机设备12也可以与一个或多个外部设备14(例如键盘、指向设备、显示器24等)通信,还可与一个或者多个使得用户能与该计算机设备12交互的设备通信,和/或与使得该计算机设备12能与一个或多个其它计算设备进行通信的任何设备(例如网卡,调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口22进行。并且,计算机设备12还可以通过网络适配器20与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。如图所示,网络适配器20通过总线18与计算机设备12的其它模块通信。应当明白,尽管图6中未示出,可以结合计算机设备12使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储系统等。 Computer device 12 may also be in communication with one or more external devices 14 (eg, a keyboard, pointing device, display 24, etc.), and may also be in communication with one or more devices that enable a user to interact with the computer device 12, and/or Any device (eg, a network card, modem, etc.) that enables the computer device 12 to communicate with one or more other computing devices. This communication can take place via an input/output (I/O) interface 22. Also, computer device 12 can communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and/or a public network, such as the Internet) via network adapter 20. As shown, network adapter 20 communicates with other modules of computer device 12 via bus 18. It should be understood that although not shown in FIG. 6, other hardware and/or software modules may be utilized in conjunction with computer device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tapes. Drives and data backup storage systems, etc.
处理单元16通过运行存储在系统存储器28中的程序,从而执行各种功能应用以及数据处理,例如实现本发明实施例所提供的触摸数据的分离方法:The processing unit 16 performs various function applications and data processing by running a program stored in the system memory 28, for example, implementing a method for separating touch data provided by the embodiments of the present invention:
也即,所述处理单元执行所述程序时实现:判断当前时刻触摸点的触摸数据的类型,若所述触摸数据为至少两种不同的类型,则根据当前的应用模式对触摸数据进行过滤;确定所述触摸数据是否满足预设触摸协议规则,若否,根据所述预设触摸协议规则对所述触摸数据进行补发。That is, when the processing unit executes the program, it is implemented to: determine the type of the touch data of the touch point at the current time, and if the touch data is at least two different types, filter the touch data according to the current application mode; Determining whether the touch data meets a preset touch protocol rule, and if not, re-issuing the touch data according to the preset touch protocol rule.
实施例七Example 7
本发明实施例七提供了一种计算机可读存储介质,其上存储有计算机程序, 该程序被处理器执行时实现如本申请所有发明实施例提供的触摸数据的分离方法:The seventh embodiment of the present invention provides a computer readable storage medium, on which a computer program is stored, and the program is executed by the processor to implement a method for separating touch data provided by all embodiments of the present invention:
也即,该程序被处理器执行时实现:判断当前时刻触摸点的触摸数据的类型,若所述触摸数据为至少两种不同的类型,则根据当前的应用模式对触摸数据进行过滤;确定所述触摸数据是否满足预设触摸协议规则,若否,根据所述预设触摸协议规则对所述触摸数据进行补发。That is, the program is executed by the processor to: determine the type of touch data of the touch point at the current time, and if the touch data is at least two different types, filter the touch data according to the current application mode; Whether the touch data satisfies a preset touch protocol rule, and if not, re-issues the touch data according to the preset touch protocol rule.
可以采用一个或多个计算机可读的介质的任意组合。计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本文件中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。Any combination of one or more computer readable media can be utilized. The computer readable medium can be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples (non-exhaustive lists) of computer readable storage media include: electrical connections having one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read only memory (ROM), Erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the foregoing. In this document, a computer readable storage medium can be any tangible medium that can contain or store a program, which can be used by or in connection with an instruction execution system, apparatus or device.
计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括——但不限于——电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。A computer readable signal medium may include a data signal that is propagated in the baseband or as part of a carrier, carrying computer readable program code. Such propagated data signals can take a variety of forms including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the foregoing. The computer readable signal medium can also be any computer readable medium other than a computer readable storage medium, which can transmit, propagate, or transport a program for use by or in connection with the instruction execution system, apparatus, or device. .
计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括——但不限于——无线、电线、光缆、RF等等,或者上述的任意合适的组合。Program code embodied on a computer readable medium can be transmitted by any suitable medium, including but not limited to wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
可以以一种或多种程序设计语言或其组合来编写用于执行本发明操作的计算机程序代码,所述程序设计语言包括面向对象的程序设计语言-诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言-诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)-连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for performing the operations of the present invention may be written in one or more programming languages, or a combination thereof, including an object oriented programming language - such as Java, Smalltalk, C++, and also conventional. Procedural programming language - such as the "C" language or a similar programming language. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer, partly on the remote computer, or entirely on the remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer via any kind of network, including a local area network (LAN) or wide area network (WAN), or can be connected to an external computer (eg, using an Internet service provider) Internet connection).
注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。Note that the above are only the preferred embodiments of the present invention and the technical principles applied thereto. Those skilled in the art will appreciate that the present invention is not limited to the specific embodiments described herein, and that various modifications, changes and substitutions may be made without departing from the scope of the invention. Therefore, the present invention has been described in detail by the above embodiments, but the present invention is not limited to the above embodiments, and other equivalent embodiments may be included without departing from the inventive concept. The scope is determined by the scope of the appended claims.

Claims (10)

  1. 一种触摸数据的分离方法,其特征在于,包括:A method for separating touch data, comprising:
    判断当前时刻触摸点的触摸数据的类型,若所述触摸数据为至少两种不同的类型,则根据当前的应用模式对触摸数据进行过滤;Determining the type of touch data of the touch point at the current moment. If the touch data is at least two different types, filtering the touch data according to the current application mode;
    确定所述触摸数据是否满足预设触摸协议规则,若否,根据所述预设触摸协议规则对所述触摸数据进行补发。Determining whether the touch data meets a preset touch protocol rule, and if not, re-issuing the touch data according to the preset touch protocol rule.
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:获取每个触摸点的触摸状态。The method of claim 1, further comprising: acquiring a touch state of each touch point.
  3. 根据权利要求1所述的方法,其特征在于,根据当前的应用模式对触摸数据进行过滤包括:The method according to claim 1, wherein filtering the touch data according to the current application mode comprises:
    若当前的应用模式为优先抢占模式,检测到当前的触摸数据为第一触摸数据时,判断第一预设时间内产生的第二触摸数据的数据类型与所述第一触摸数据的数据类型是否相同,若否,则对所述第二触摸数据进行过滤;If the current application mode is the priority preemption mode, detecting that the current touch data is the first touch data, determining whether the data type of the second touch data generated in the first preset time and the data type of the first touch data are The same, if not, filtering the second touch data;
    其中,第一触摸数据的数据类型包括笔触摸数据类型或手触摸数据类型,第二触摸数据的数据类型包括笔触摸数据类型或手触摸数据类型,优先抢占模式下优先响应当前触摸数据。The data type of the first touch data includes a pen touch data type or a hand touch data type, and the data type of the second touch data includes a pen touch data type or a hand touch data type, and the priority touch mode preferentially responds to the current touch data.
  4. 根据权利要求1所述的方法,其特征在于,根据当前的应用模式对触摸数据进行过滤包括:The method according to claim 1, wherein filtering the touch data according to the current application mode comprises:
    若当前的应用模式为第一非优先抢占模式,检测到第一触摸数据和第二触摸数据同时存在时,则过滤所述第二触摸数据;If the current application mode is the first non-preemptive preemption mode, detecting that the first touch data and the second touch data exist simultaneously, filtering the second touch data;
    若当前的应用模式为第二非优先抢占模式,检测到第一触摸数据和第二触摸数据同时存在时,则过滤所述第一触摸数据。If the current application mode is the second non-preemptive preemption mode, detecting that the first touch data and the second touch data exist simultaneously, filtering the first touch data.
  5. 根据权利要求2所述的方法,其特征在于,所述触摸点的触摸状态包括:The method according to claim 2, wherein the touch state of the touch point comprises:
    触摸状态、触摸抬起状态和触摸未决状态信息;Touch status, touch up status, and touch pending status information;
    根据所述预设触摸协议规则对所述触摸数据进行补发包括:Replenishing the touch data according to the preset touch protocol rule includes:
    针对每个触摸点,若所述触摸点的上一触摸状态为触摸状态或触摸未决状态,则根据所述预设触摸协议规则补发所述触摸点的触摸抬起状态对应的触摸数据信息。For each touch point, if the last touch state of the touch point is a touch state or a touch pending state, the touch data information corresponding to the touch lift state of the touch point is reissued according to the preset touch protocol rule. .
  6. 根据权利要求5所述的方法,其特征在于,所述触摸抬起状态为:The method of claim 5 wherein said touch up state is:
    当检测到触摸数据时,则标记触摸数据正在使用,判断第二预设时间后是否能检测到所述触摸数据,若是,则继续判断所述第二预设时间后是否能检测到所述触摸数据,直到不能检测到所述触摸数据为止,标记所述状态为触摸抬起状态;When the touch data is detected, the touch data is being used, determining whether the touch data can be detected after the second preset time, and if yes, determining whether the touch can be detected after the second preset time Data, until the touch data cannot be detected, marking the state as a touch-up state;
    其中,所述第二预设时间大于产生所述触摸数据的周期。The second preset time is greater than a period in which the touch data is generated.
  7. 一种触摸数据的分离装置,其特征在于,包括:A device for separating touch data, comprising:
    过滤模块,用于判断当前时刻触摸点的触摸数据的类型,若所述触摸数据为至少两种不同的类型,则根据当前的应用模式对触摸数据进行过滤;a filtering module, configured to determine a type of touch data of a touch point at a current moment, and if the touch data is at least two different types, filtering the touch data according to the current application mode;
    数据补发模块,用于确定所述触摸数据是否满足预设触摸协议规则,若否,根据所述预设触摸协议规则对所述触摸数据进行补发。The data reissue module is configured to determine whether the touch data meets a preset touch protocol rule, and if not, re-issue the touch data according to the preset touch protocol rule.
  8. 根据权利要求7所述的装置,其特征在于,所述过滤模块具体用于:The device according to claim 7, wherein the filtering module is specifically configured to:
    若当前的应用模式为优先抢占模式,检测到当前的触摸数据为第一触摸数据时,判断第一预设时间内产生的第二触摸数据的数据类型与所述第一触摸数据的数据类型是否相同,若否,则对所述第二触摸数据进行过滤;If the current application mode is the priority preemption mode, detecting that the current touch data is the first touch data, determining whether the data type of the second touch data generated in the first preset time and the data type of the first touch data are The same, if not, filtering the second touch data;
    其中,第一触摸数据的数据类型包括笔触摸数据类型或手触摸数据类型,第二触摸数据的数据类型包括笔触摸数据类型或手触摸数据类型,优先抢占模 式下优先响应当前触摸数据。The data type of the first touch data includes a pen touch data type or a hand touch data type, and the data type of the second touch data includes a pen touch data type or a hand touch data type, and the priority touch mode preferentially responds to the current touch data.
  9. 一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述程序时实现如权利要求1-6中任一所述的方法。A computer device comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein the processor executes the program as claimed in any one of claims 1-6 The method described.
  10. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如权利要求1-6中任一所述的方法。A computer readable storage medium having stored thereon a computer program, wherein the program, when executed by a processor, implements the method of any of claims 1-6.
PCT/CN2017/116775 2017-09-22 2017-12-17 Touch data separation method and apparatus, device, and storage medium WO2019056614A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710867087.6A CN107704126A (en) 2017-09-22 2017-09-22 A kind of separation method of touch data, device, equipment and storage medium
CN201710867087.6 2017-09-22

Publications (1)

Publication Number Publication Date
WO2019056614A1 true WO2019056614A1 (en) 2019-03-28

Family

ID=61174282

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/116775 WO2019056614A1 (en) 2017-09-22 2017-12-17 Touch data separation method and apparatus, device, and storage medium

Country Status (2)

Country Link
CN (1) CN107704126A (en)
WO (1) WO2019056614A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110221767A (en) * 2019-06-13 2019-09-10 广州视源电子科技股份有限公司 The control method and device of intelligent interaction device
CN111208917B (en) * 2019-12-31 2022-04-08 广州视源电子科技股份有限公司 Touch data processing method and device, intelligent equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102436333A (en) * 2011-10-25 2012-05-02 汉王科技股份有限公司 Input device compatible with capacitance positioning and electromagnet positioning and input method thereof
CN103257729A (en) * 2012-02-17 2013-08-21 宏碁股份有限公司 Touch signal processing method and electronic device
CN103543944A (en) * 2012-07-17 2014-01-29 三星电子株式会社 Method of executing functions of a terminal including pen recognition panel and terminal supporting the method
CN105975122A (en) * 2016-04-27 2016-09-28 集怡嘉数码科技(深圳)有限公司 Touch track compensation method and apparatus as well as terminal device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8451237B2 (en) * 2009-07-06 2013-05-28 Atmel Corporation Sensitivity control as a function of touch shape
CA2797883C (en) * 2010-09-24 2016-02-09 Research In Motion Limited Portable electronic device and method of controlling same
CN102163108B (en) * 2011-04-26 2013-07-10 广东威创视讯科技股份有限公司 Method and device for identifying multiple touch points
KR101907463B1 (en) * 2012-02-24 2018-10-12 삼성전자주식회사 Composite touch screen and operating method thereof
US9256314B2 (en) * 2012-03-15 2016-02-09 Microsoft Technology Licensing, Llc Input data type profiles
KR102096070B1 (en) * 2012-06-22 2020-04-14 삼성전자주식회사 Method for improving touch recognition and an electronic device thereof
CN103207718B (en) * 2013-03-18 2016-08-03 敦泰科技有限公司 A kind of mutual capacitance type touch screen and touch sensible method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102436333A (en) * 2011-10-25 2012-05-02 汉王科技股份有限公司 Input device compatible with capacitance positioning and electromagnet positioning and input method thereof
CN103257729A (en) * 2012-02-17 2013-08-21 宏碁股份有限公司 Touch signal processing method and electronic device
CN103543944A (en) * 2012-07-17 2014-01-29 三星电子株式会社 Method of executing functions of a terminal including pen recognition panel and terminal supporting the method
CN105975122A (en) * 2016-04-27 2016-09-28 集怡嘉数码科技(深圳)有限公司 Touch track compensation method and apparatus as well as terminal device

Also Published As

Publication number Publication date
CN107704126A (en) 2018-02-16

Similar Documents

Publication Publication Date Title
JP6408085B2 (en) Event recognition
WO2020019616A1 (en) Touch control data processing method and device, intelligent device and storage medium
TWI421726B (en) Wireless presenter system and matching method applied thereto
JP2018156680A (en) Navigation application using side-mounted touch pad
WO2019033655A1 (en) Method and apparatus for mistouch prevention, device, and storage medium
CN105320417B (en) Page switching method and client
WO2019184490A1 (en) Method for use in displaying icons of hosted applications, and device and storage medium
US20210256077A1 (en) Methods, devices and computer-readable storage media for processing a hosted application
AU2015297122A1 (en) Electronic device operating in idle mode and method thereof
US20140157128A1 (en) Systems and methods for processing simultaneously received user inputs
KR20170076359A (en) Method and apparatus for precessing touch event
WO2020015704A1 (en) Touch control method and apparatus, storage medium, and terminal device
CN104049887A (en) Methods for data transmission and electronic devices using the same
US10459737B2 (en) Waking and sleeping a display among a plurality of displays using gestures
US20210326151A1 (en) Methods, devices and computer-readable storage media for processing a hosted application
US20150130761A1 (en) Method and apparatus for allocating computing resources in touch-based mobile device
US11768719B2 (en) Selectively filtering applications from an application volume
US10671795B2 (en) Handwriting preview window
CN110633046A (en) Storage method and device of distributed system, storage equipment and storage medium
WO2019105188A1 (en) Touch sensing signal processing method, system and device, and electronic device
US9372622B2 (en) Method for recording a track and electronic device using the same
WO2016173307A1 (en) Message copying method and device, and smart terminal
WO2019056614A1 (en) Touch data separation method and apparatus, device, and storage medium
WO2022161244A1 (en) Multi-host arbitration method and apparatus, and readable storage medium
EP3262581A1 (en) Opening new application window in response to remote resource sharing

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: 17925976

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 15.10.2020)

122 Ep: pct application non-entry in european phase

Ref document number: 17925976

Country of ref document: EP

Kind code of ref document: A1