WO2019033655A1 - 一种防误触的方法、装置、设备及存储介质 - Google Patents

一种防误触的方法、装置、设备及存储介质 Download PDF

Info

Publication number
WO2019033655A1
WO2019033655A1 PCT/CN2017/116739 CN2017116739W WO2019033655A1 WO 2019033655 A1 WO2019033655 A1 WO 2019033655A1 CN 2017116739 W CN2017116739 W CN 2017116739W WO 2019033655 A1 WO2019033655 A1 WO 2019033655A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
smart pen
touch
data type
touch data
Prior art date
Application number
PCT/CN2017/116739
Other languages
English (en)
French (fr)
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 WO2019033655A1 publication Critical patent/WO2019033655A1/zh

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/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0354Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
    • G06F3/03545Pens or stylus
    • 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/042Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by opto-electronic means
    • 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/046Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by electromagnetic means
    • 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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text

Definitions

  • the present invention relates to a smart terminal technology, and in particular, to a method, device, device and storage medium for preventing accidental touch.
  • Electromagnetic screen + touch screen dual touch infrared screen + touch screen dual touch
  • electronic smart tablet supports smart pen and touch operation.
  • the current technical solution is to respond to smart pens and touch data at the same time, and the functions of the two devices are the same.
  • the user's hand rests on the screen, or the sleeves touch the screen when writing. Since the smart pen can be written while the smart pen is writing, it is very easy to malfunction.
  • the embodiment of the invention provides a method, a device, a device and a storage medium for preventing false touches, which can prevent accidental touch and improve user experience.
  • an embodiment of the present invention provides a method for preventing false touches, including:
  • determining the type of the touch data received according to the current cooperation state including:
  • determining the received touch data type includes: a smart pen data type and a touch data type;
  • the operation data corresponding to the touch data type is obtained, and the corresponding operation instruction is determined according to the operation data, including:
  • the operation data corresponding to the touch data type is obtained, and the corresponding operation instruction is determined according to the operation data, including:
  • the touch data is acquired, and the written content is determined based on the touch data.
  • determining the received touch data type includes: after the smart pen data type and the touch data type, the method further includes:
  • the received data type is a smart pen data type
  • the operation data corresponding to the touch data type is obtained, and the corresponding operation instruction is determined according to the operation data, including:
  • the written content is determined based on the smart pen data.
  • determining the received touch data type includes: after the smart pen data type and the touch data type, the method further includes:
  • determining the type of the touch data received includes: a smart pen data type and a touch data type;
  • the operation data corresponding to the touch data type is obtained, and the corresponding operation instruction is determined according to the operation data, including:
  • the written content is determined based on the smart pen data.
  • the embodiment of the present invention further provides an anti-missing device, and the device includes:
  • An obtaining module configured to obtain a current cooperation state between the smart pen and a placement bit corresponding to the smart pen
  • a data type determining module configured to determine the received touch data type according to the current cooperation state
  • the operation instruction determining module is configured to acquire operation data corresponding to the touch data type, and determine a corresponding operation instruction according to the operation data.
  • the data type determining module includes:
  • a first determining unit configured to determine, when the current cooperation state is a separated state, that the received touch data type comprises: a smart pen data type and a touch data type;
  • the operation instruction determining module comprises:
  • a second determining unit configured to acquire smart pen data and touch data, determine writing content according to the smart pen data, and determine a corresponding gesture operation according to the touch data
  • a third determining unit configured to determine that the received data type is a touch data type when the current cooperation state is a connected state
  • the operation instruction determining module comprises:
  • a fourth determining unit configured to acquire touch data, and determine writing content according to the touch data.
  • a fifth determining unit configured to determine, after the current matching state is a separated state, determining that the received touch data type includes a smart pen data type and a touch data type, and determining that the smart pen is in contact with the display screen,
  • the data type is smart pen data type
  • the operation instruction determining module is specifically configured to:
  • the written content is determined based on the smart pen data.
  • a sixth determining unit configured to: when the current matching state is a separated state, determine that the received touch data type includes a smart pen data type and a touch data type, and the smart pen is above the electromagnetic screen and/or the infrared touch frame Determining the type of touch data received includes a smart pen data type and a touch data type;
  • the operation instruction determining module is specifically configured to:
  • the written content is determined based on the smart pen data.
  • 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 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
  • 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 preventing false touch according to any one of the embodiments of the present invention is implemented. .
  • the embodiment of the present invention obtains the current cooperation state between the placement bits corresponding to the smart pen and the smart pen; determines the received touch data type according to the current cooperation state; acquires operation data corresponding to the touch data type, and according to the operation data Determining the corresponding operation instructions can prevent accidental touch and improve the user experience.
  • Embodiment 1 is a flow chart of a method for preventing false touches in Embodiment 1 of the present invention
  • Embodiment 2 is a flow chart of a method for preventing false touches in Embodiment 2 of the present invention
  • FIG. 3 is a schematic structural diagram of an apparatus for preventing mis-touch in the third embodiment of the present invention.
  • Embodiment 4 is a schematic structural diagram of a computer device in Embodiment 4 of the present invention.
  • FIG. 1 is a flowchart of a method for preventing false touches according to Embodiment 1 of the present invention.
  • the present embodiment is applicable to a situation of preventing false touches, and the method may be performed by an anti-missing device in an embodiment of the present invention.
  • the device can be implemented in software and/or hardware. As shown in FIG. 1 , the method specifically includes the following steps:
  • the smart pen can realize the control of the capacitive touch screen, the control of the electromagnetic touch screen, and the control of the infrared touch screen.
  • the current cooperation state includes a separation state and a connection state.
  • the current cooperation state between the smart pen and the placement position corresponding to the smart pen may be that the smart pen is placed in the placement position corresponding to the smart pen, or the smart pen is not placed in the placement position corresponding to the smart pen.
  • the corresponding position of the smart pen may be a pen slot for the user to place the smart pen, and a smart pen sensor is disposed in the pen slot.
  • a smart pen sensor is disposed in the pen slot.
  • an infrared pair tube may be disposed on the left and right sides of the pen slot, if the smart pen is to be Placed in the pen tray, due to the occlusion of the smart pen, the intensity of the infrared light received by the infrared tube is zero; if the smart pen is taken out of the pen slot, since there is no occlusion, the infrared light received by the infrared tube is obtained.
  • the intensity is A.
  • an infrared pair tube is disposed on the left and right sides of the pen slot, it can be determined whether the smart pen is placed in the pen slot or the pen slot according to the intensity of the infrared light in the tube. It is also possible to place a gravity sensor in the pen tray. If the smart pen is placed in the pen tray, the gravity sensor can sense the weight of the smart pen. If the smart pen is not placed in the pen tray, the gravity sensor cannot perceive the gravity sensor. Go to the weight of the smart pen, and then determine whether the smart pen is in the pen slot based on the data measured by the gravity sensor.
  • the smart pen is placed in the placement position according to the sensor in the placement position corresponding to the smart pen, or is not in the placement position.
  • the touch data type may be a smart pen data type and a touch data type, or may be a smart pen data type, or may be a touch data type.
  • the smart pen if the smart pen is in the placement position, it indicates that the user does not use the smart pen, and then determines that the data type received by the smart tablet is a touch data type; if the smart pen is not in the placement position, the user is not likely to use the smart pen, Determine the type of data received by the smart tablet as touch data type and smart pen data type.
  • the operation instruction may be determining the written content according to the smart pen data, determining the corresponding gesture operation according to the touch data, and determining the corresponding written content according to the touch data.
  • the operation data corresponding to the touch data type may be when the touch data type includes a smart pen data type and a touch data type, and the corresponding operation data includes smart pen data and touch data, and the operation instruction corresponding to the smart pen data is based on The smart pen data determines the written content, and the operation instruction corresponding to the touch data is to determine a corresponding gesture operation according to the touch data.
  • the operation data corresponding to the touch data type may be when the touch data type is a touch data type, and the corresponding operation data is touch data, and the operation instruction corresponding to the smart pen data is determined according to the touch data.
  • the electromagnetic pen and the sensor may be connected by physical circuits, such as infrared sensing, gravity sensing, etc., and are mainly used to identify the connection state, the separation state, and the connection state of the electromagnetic pen. If the stylus is connected, it is considered that the user is ready to write.
  • the driver software sends the latest connection status to the smart tablet.
  • the smart tablet records the connection status and controls subsequent touch operations: if the connection status is changed from the connected state to the separated state, the user is considered ready to write. At this time, the pen presses, moves, and raises the data on the electromagnetic screen to process a line.
  • the smart tablet receives the data of the touch operation, and then the touched, moved, and raised data of the touch is processed to draw a line.
  • the smart tablet adds a button for user interaction, and can manually control the processing method of the touch data: when the electromagnetic pen and the sensor are disconnected, the software control sets the button to the unselected state; the electromagnetic pen When the sensor is reconnected, the state of the button is not changed. Click the button to toggle the button state, and the button state switches back and forth between the selected and unselected states.
  • the technical solution of the embodiment obtains the current cooperation state between the placement bits corresponding to the smart pen and the smart pen; determines the received touch data type according to the current cooperation state; acquires operation data corresponding to the touch data type, and The corresponding operation instruction is determined according to the operation data, which can prevent accidental touch and improve the user experience.
  • the received touch is determined according to the current cooperation state.
  • the control data type includes: when the current cooperation state is a separate state, determining the received touch data type includes: a smart pen data type and a touch data type; and correspondingly, acquiring an operation corresponding to the touch data type Data, and determining a corresponding operation instruction according to the operation data, comprising: acquiring smart pen data and touch data, determining writing content according to the smart pen data, determining a corresponding gesture operation according to the touch data; and when the current cooperation state is In the connection state, determining that the received data type is a touch data type; correspondingly, acquiring operation data corresponding to the touch data type, and determining a corresponding operation instruction according to the operation data, including: acquiring touch data, according to The touch data determines writing content.
  • the method in this embodiment specifically includes the following steps:
  • the separation state is a state in which the smart pen is not placed in the placement position, that is, the user may use the smart pen to write.
  • the smart pen is placed in the placement position according to the sensor in the placement position corresponding to the smart pen. If the smart pen is not placed in the placement position, the state between the placement position corresponding to the smart pen and the smart pen is separated. status.
  • the smart pen since the smart pen is not placed in the placement position, the user may write through the smart pen.
  • the smart tablet may receive two types of data, one type is a smart pen data type, and the other type
  • the types are touch data types.
  • the smart pen data is data generated by the user moving on the smart tablet through the smart pen
  • the touch data is data generated by the user moving by hand on the smart tablet.
  • the smart tablet is a smart tablet with a touch screen and a touch screen
  • the capacitance of the contact changes, causing the frequency of the oscillator connected thereto to change.
  • the movement trajectory of the finger can be determined according to the change of the oscillator frequency, thereby obtaining the touch data, and the magnetic field change is generated according to the sensor during the operation of the smart pen (electromagnetic pen) and the sensor under the panel, thereby obtaining the smart pen data.
  • the movement track of the smart pen can be determined according to the change of the oscillator frequency, and then the touch data is obtained, according to the intensity of the infrared light in each infrared pair tube of the infrared touch frame. Determine the movement trajectory of the smart pen to obtain the data. Since the user's hand will block the infrared light when the user uses the smart pen, the data generated by the hand occlusion in the obtained data needs to be deleted, and the remaining data is the smart pen. data.
  • S240 Acquire smart pen data and touch data, determine writing content according to the smart pen data, and determine a corresponding gesture operation according to the touch data.
  • the smart pen if it is not placed in the placement position, it indicates that the user may write through the smart pen, and the writing content is determined according to the smart pen data.
  • the user can pass the hand on the screen of the smart tablet. Slide left and right to move the content displayed on the screen of the smart tablet.
  • the user can write by the smart pen, and the user writes to the far end of the right end, and then can slide from right to left on the screen of the smart tablet by hand, thereby moving the content displayed on the smart tablet to the left, which is convenient. User writes.
  • the smart pen data is acquired, and the written content is determined according to the smart pen data. If the smart pen is not placed in the placement position, and the smart tablet only receives the touch data, the touch data is acquired, and the written content is determined according to the touch data.
  • the current cooperation state is that the connection state refers to the placement position of the smart pen in the smart pen, indicating that the user does not use the smart pen.
  • the smart pen when the smart pen is in the placement position corresponding to the smart pen, it indicates that the user does not use the smart pen, and thus the data type received by the smart tablet is a touch data type.
  • S260 Acquire touch data, and determine writing content according to the touch data.
  • the movement track of the finger is determined according to the change of the oscillator frequency, thereby obtaining the touched data, and the written content is determined according to the touch data.
  • determining the received touch data type includes: after the smart pen data type and the touch data type, the method further includes:
  • the received data type is a smart pen data type
  • the smart pen when the smart pen is in contact with the display screen, it indicates that the user is using the smart pen to perform the writing operation. At this time, the data received by the smart tablet must be generated by the movement of the smart pen, so the type of data received is Smart pen data type.
  • the operation data corresponding to the touch data type is obtained, and the corresponding operation instruction is determined according to the operation data, including:
  • the written content is determined based on the smart pen data.
  • the electromagnetic pen when the electromagnetic pen is in contact with the screen, in order to remove the interference of the touch operation, the touch data needs to be ignored.
  • the electromagnetic pen is in contact with or away from the screen, and the driving or firmware of the electromagnetic screen sends the contact state of the current electromagnetic pen to the smart tablet, and the smart tablet records the contact state of the current electromagnetic pen. If the current electromagnetic pen is in contact with the screen and receives touch data, it is ignored directly.
  • determining the received touch data type includes: after the smart pen data type and the touch data type, the method further includes:
  • determining the type of the touch data received includes: a smart pen data type and a touch data type;
  • the smart pen when the smart pen is above the electromagnetic screen and/or the infrared touch frame, the smart pen hovers over the screen. In this case, it is impossible to judge whether the user writes with a smart pen or with a finger, so the smart tablet
  • the types of touch data received include: smart pen data type and touch data type.
  • the operation data corresponding to the touch data type is obtained, and the corresponding operation instruction is determined according to the operation data, including:
  • the user when the user writes with the smart pen, the user may have a false touch due to the writing habit of the user.
  • the position where the false touch occurs is the area of the lower right corner of the pen tip position of the smart pen, and therefore, according to the touch point position and The relative orientation and distance of the nib position determines valid touch data.
  • the touch point position is the lower right of the nib position, and the touch point position and the nib position are greater than the first preset distance, the corresponding touch data is ignored. If the touch point position is the lower left of the nib position, and the touch point position and the nib position are greater than the second preset distance, determining that the touch data is valid touch data, wherein the first preset distance is greater than the second preset distance . If the touch point position is the upper left of the nib position, and the touch point position and the nib position are greater than the second preset distance, it is determined that the touch data is valid touch data. If the touch point position is the upper right of the nib position, and the touch point position and the nib position are greater than the second preset distance, it is determined that the touch data is valid touch data.
  • touch point position is directly above the nib position, and the touch point position and the nib position are greater than the second preset distance, it is determined that the touch data is valid touch data. If the touch point position is directly below the nib position, and the touch point position and the nib position are greater than the second preset distance, it is determined that the touch data is valid touch data.
  • the written content is determined based on the smart pen data.
  • the electromagnetic pen when the electromagnetic pen is hovering over the screen, the touch data nib of a specific area in the lower right corner of the nib position is hovered over the screen, and it is not determined whether the user is ready to write or there may be a touch. At this time, the touch data cannot be completely ignored, but the touch data of a specific area in the lower right corner of the pen tip is ignored, and the influence of the touch operation when the pen is slightly raised temporarily during writing is prevented.
  • the electromagnetic screen driver or firmware can receive the data (the general nib is about 1 cm above the screen, depending on the electromagnetic screen product), and the hover data is sent to the smart tablet. The tablet records the hover state and the hover tip position P(x1, y1).
  • the touch operation is considered to be in the lower right corner range of the hover tip, ignoring the corresponding press, move, and lift data.
  • the technical solution of the embodiment obtains the current cooperation state between the placement bits corresponding to the smart pen and the smart pen; determines the received touch data type according to the current cooperation state; acquires operation data corresponding to the touch data type, and The corresponding operation instruction is determined according to the operation data, and the function of the touch operation can be automatically adjusted according to the use scene, which is convenient for the user to use and improves the efficiency.
  • FIG. 3 is a schematic structural diagram of an apparatus for preventing mis-touch according to Embodiment 3 of the present invention. This embodiment can be applied to the case of preventing accidental touch.
  • the device can be implemented by software and/or hardware.
  • the device can be integrated in any device that provides anti-missing function, as shown in FIG.
  • the device that is accidentally touched specifically includes: an acquisition module 310, a data type determination module 320, and an operation instruction determination module 330.
  • the obtaining module 310 is configured to obtain a current cooperation state between the smart pen and the placement bit corresponding to the smart pen;
  • the data type determining module 320 is configured to determine the received touch data type according to the current cooperation state
  • the operation instruction determining module 330 is configured to acquire operation data corresponding to the touch data type, and determine a corresponding operation instruction according to the operation data.
  • the data type determining module includes:
  • a first determining unit configured to determine, when the current cooperation state is a separated state, that the received touch data type comprises: a smart pen data type and a touch data type;
  • the operation instruction determining module comprises:
  • a second determining unit configured to acquire smart pen data and touch data, determine writing content according to the smart pen data, and determine a corresponding gesture operation according to the touch data
  • a third determining unit configured to determine that the received data type is a touch data type when the current cooperation state is a connected state
  • the operation instruction determining module comprises:
  • a fourth determining unit configured to acquire touch data, and determine writing content according to the touch data.
  • it also includes:
  • a fifth determining unit configured to determine, after the current matching state is a separated state, determining that the received touch data type includes a smart pen data type and a touch data type, and determining that the smart pen is in contact with the display screen,
  • the data type is smart pen data type
  • the operation instruction determining module is specifically configured to:
  • the written content is determined based on the smart pen data.
  • it also includes:
  • a sixth determining unit configured to: when the current matching state is a separated state, determine that the received touch data type includes a smart pen data type and a touch data type, and the smart pen is above the electromagnetic screen and/or the infrared touch frame Determining the type of touch data received includes a smart pen data type and a touch data type;
  • the operation instruction determining module is specifically configured to:
  • the written content is determined based on the smart pen data.
  • the technical solution of the embodiment obtains the current cooperation state between the placement bits corresponding to the smart pen and the smart pen; determines the received touch data type according to the current cooperation state; acquires operation data corresponding to the touch data type, and The corresponding operation instruction is determined according to the operation data, and the function of the touch operation can be automatically adjusted according to the use scene, which is convenient for the user to use and improves the efficiency.
  • FIG. 4 is a schematic structural diagram of a computer device according to Embodiment 4 of the present invention.
  • FIG. 4 illustrates 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. 4 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.
  • the 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 connects 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 4, commonly referred to as a "hard disk drive”).
  • 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, a method for preventing mis-touch provided by the embodiment of the present invention: obtaining a placement of the smart pen corresponding to the smart pen The current matching state between the bits; determining the received touch data type according to the current matching state; acquiring operation data corresponding to the touch data type, and determining a corresponding operation instruction according to the operation data.
  • a fifth embodiment of the present invention provides a computer readable storage medium, on which a computer program is stored, which is implemented by the processor to implement an anti-missing method provided by all embodiments of the present invention: obtaining a smart pen and a Determining a current matching state between the placement bits corresponding to the smart pen; determining the received touch data type according to the current cooperation state; acquiring operation data corresponding to the touch data type, and determining corresponding according to the operation data Operation instructions.
  • 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 carrying out 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

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • General Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • User Interface Of Digital Computer (AREA)
  • Position Input By Displaying (AREA)

Abstract

一种防误触的方法、装置、设备及存储介质。该方法包括:获取智能笔与智能笔对应的放置位之间的当前配合状态(S110);根据当前配合状态确定接收到的触控数据类型(S120);获取与触控数据类型对应的操作数据,并根据操作数据确定对应的操作指令(S130),通过该方法,能够防止误触,提升用户使用体验。

Description

一种防误触的方法、装置、设备及存储介质 技术领域
本发明涉及一种智能终端技术,尤其涉及一种防误触的方法、装置、设备及存储介质。
背景技术
智能平板广泛应用于教育教学、企业会议、商业展示等领域。电磁屏+触摸屏双触控(红外屏+触摸屏双触控)的智能平板,电子智能平板支持智能笔和触摸的操作。
目前的技术方案是同时响应智能笔和触摸数据,而且两种设备的功能是一样的。用户把手靠在屏幕上书写,或者书写时有衣袖碰到屏幕的情况。由于智能笔在书写时,触摸也可以书写,则非常容易出现误操作。
发明内容
本发明实施例提供一种防误触的方法、装置、设备及存储介质,能够防止误触,提升用户使用体验。
第一方面,本发明实施例提供了一种防误触的方法,包括:
获取智能笔与所述智能笔对应的放置位之间的当前配合状态;
根据所述当前配合状态确定接收到的触控数据类型;
获取与所述触控数据类型对应的操作数据,并根据所述操作数据确定对应的操作指令。
进一步的,根据所述当前配合状态确定接收到的触控数据类型,包括:
当所述当前配合状态为分离状态时,确定接收到的触控数据类型包括:智能笔数据类型和触摸数据类型;
相应的,获取与所述触控数据类型对应的操作数据,并根据所述操作数据确定对应的操作指令,包括:
获取智能笔数据和触摸数据,根据所述智能笔数据确定书写内容,根据触摸数据确定对应的手势操作;
当所述当前配合状态为连接状态时,确定接收到的数据类型为触摸数据类型;
相应的,获取与所述触控数据类型对应的操作数据,并根据所述操作数据确定对应的操作指令,包括:
获取触摸数据,根据所述触摸数据确定书写内容。
进一步的,当所述当前配合状态为分离状态时,确定接收到的触控数据类型包括:智能笔数据类型和触摸数据类型之后,还包括:
于智能笔与显示屏接触时,确定接收到的数据类型为智能笔数据类型;
相应的,获取与所述触控数据类型对应的操作数据,并根据所述操作数据确定对应的操作指令,包括:
获取智能笔数据;
根据所述智能笔数据确定书写内容。
进一步的,当所述当前配合状态为分离状态时,确定接收到的触控数据类型包括:智能笔数据类型和触摸数据类型之后,还包括:
于智能笔在电磁屏和/或红外触摸框上方时,确定接收到的触控数据类型包 括:智能笔数据类型和触摸数据类型;
相应的,获取与所述触控数据类型对应的操作数据,并根据所述操作数据确定对应的操作指令,包括:
获取智能笔数据和触摸数据;
根据触摸点位置与笔尖位置的相对方位和距离确定有效的触摸数据;
根据所述有效的触摸数据确定对应的手势操作;
根据所述智能笔数据确定书写内容。
第二方面,本发明实施例还提供了一种防误触的装置,该装置包括:
获取模块,用于获取智能笔与所述智能笔对应的放置位之间的当前配合状态;
数据类型确定模块,用于根据所述当前配合状态确定接收到的触控数据类型;
操作指令确定模块,用于获取与所述触控数据类型对应的操作数据,并根据所述操作数据确定对应的操作指令。
进一步的,所述数据类型确定模块包括:
第一确定单元,用于当所述当前配合状态为分离状态时,确定接收到的触控数据类型包括:智能笔数据类型和触摸数据类型;
相应的,所述操作指令确定模块包括:
第二确定单元,用于获取智能笔数据和触摸数据,根据所述智能笔数据确定书写内容,根据触摸数据确定对应的手势操作;
第三确定单元,用于当所述当前配合状态为连接状态时,确定接收到的数据类型为触摸数据类型;
相应的,所述操作指令确定模块包括:
第四确定单元,用于获取触摸数据,根据所述触摸数据确定书写内容。
进一步的,还包括:
第五确定单元,用于当所述当前配合状态为分离状态时,确定接收到的触控数据类型包括智能笔数据类型和触摸数据类型之后,于智能笔与显示屏接触时,确定接收到的数据类型为智能笔数据类型;
相应的,操作指令确定模块具体用于:
获取智能笔数据;
根据所述智能笔数据确定书写内容。
进一步的,还包括:
第六确定单元,用于当所述当前配合状态为分离状态时,确定接收到的触控数据类型包括智能笔数据类型和触摸数据类型之后,于智能笔在电磁屏和/或红外触摸框上方时,确定接收到的触控数据类型包括智能笔数据类型和触摸数据类型;
相应的,操作指令确定模块具体用于:
获取智能笔数据和触摸数据;
根据触摸点位置与笔尖位置的相对方位和距离确定有效的触摸数据;
根据所述有效的触摸数据确定对应的手势操作;
根据所述智能笔数据确定书写内容。
第三方面,本发明实施例还提供了一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现如本发明实施例中任一所述的防误触的方法。
第四方面,本发明实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如本发明实施例中任一所述的防误触的方法。
本发明实施例通过获取智能笔与智能笔对应的放置位之间的当前配合状态;根据当前配合状态确定接收到的触控数据类型;获取与触控数据类型对应的操作数据,并根据操作数据确定对应的操作指令,能够防止误触,提升用户使用体验。
附图说明
图1是本发明实施例一中的一种防误触的方法的流程图;
图2是本发明实施例二中的一种防误触的方法的流程图;
图3是本发明实施例三中的一种防误触的装置的结构示意图;
图4是本发明实施例四中的一种计算机设备的结构示意图。
具体实施方式
下面结合附图和实施例对本发明作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部结构。
实施例一
图1为本发明实施例一提供的一种防误触的方法的流程图,本实施例可适用于防误触的情况,该方法可以由本发明实施例中的防误触的装置来执行,该 装置可采用软件和/或硬件的方式实现,如图1所示,该方法具体包括如下步骤:
S110,获取智能笔与所述智能笔对应的放置位之间的当前配合状态。
其中,所述智能笔可以实现对电容式触摸屏的控制,也可以实现对电磁式触摸屏的控制,还可以实现对红外触摸屏的控制。
其中,当前配合状态包括分离状态和连接状态。
具体的,所述智能笔与所述智能笔对应的放置位之间的当前配合状态可以为智能笔放置在智能笔对应的放置位内,也可以为智能笔没有放置在智能笔对应的放置位内。
其中,所述智能笔对应的放置位可以为用户放置智能笔的笔槽,笔槽内设置智能笔感应器,例如可以是,笔槽内的左右两侧设置有红外对管,若将智能笔放置在笔槽里,由于智能笔的遮挡,使得红外对管接收到的红外光的强度为零;若将智能笔拿出笔槽,由于没有遮挡,是得红外对管接收到的红外光的强度为A,因此,若在笔槽内的左右两侧设置有红外对管,则可以根据红外对管内红外光的强度确定智能笔是放置在笔槽内,还是拿出笔槽。也可以为在笔槽内放置重力感应器,若智能笔放置在笔槽里,则重力感应器能够感知到智能笔的重量,若智能笔没有放置在笔槽里,则重力感应器不能够感知到智能笔的重量,进而根据重力感知器测得的数据确定智能笔是否处于笔槽里。
具体的,根据智能笔对应的放置位内的感应器获取智能笔处于放置位,还是没有处于放置位。
S120,根据所述当前配合状态确定接收到的触控数据类型。
其中,所述触控数据类型可以为智能笔数据类型和触摸数据类型,也可以为智能笔数据类型,还可以为触摸数据类型。
具体的,若智能笔处于放置位,则说明用户没有使用智能笔,则确定智能平板接收到的数据类型为触摸数据类型;若智能笔没有处于放置位,则说明用户没有可能使用智能笔,则确定智能平板接收到的数据类型为触摸数据类型和智能笔数据类型。
S130,获取与所述触控数据类型对应的操作数据,并根据所述操作数据确定对应的操作指令。
其中,操作指令可以为根据智能笔数据确定书写内容,也可以为根据触摸数据确定对应的手势操作,还可以为根据触摸数据确定对应的书写内容。
其中,所述触控数据类型对应的操作数据可以为触控数据类型包括智能笔数据类型和触摸数据类型时,对应的操作数据包括智能笔数据和触摸数据,智能笔数据对应的操作指令为根据智能笔数据确定书写内容,触摸数据对应的操作指令为根据触摸数据确定对应的手势操作。所述触控数据类型对应的操作数据可以为触控数据类型为触摸数据类型时,对应的操作数据为触摸数据,智能笔数据对应的操作指令为根据触摸数据确定书写内容。
具体的,根据智能笔是否在放置位内确定能够接收到的触控数据类型,获取与触控数据类型对应的操作数据,并根据操作数据确定对应的操作指令。
在一个具体的例子中,电磁笔和感应器之间可以是物理电路连接,例如:红外感应,重力感应等等,主要用于识别电磁笔的连接状态,分离状态和连接状态。如果电磁笔处于连接状态,则认为是用户准备书写。电磁笔的连接状态发生改变时,驱动软件将最新连接状态发送给智能平板。智能平板记录连接状态,并且控制后续的触摸操作:如果连接状态是从连接状态变为分离状态,那么认为用户准备书写。这时笔在电磁屏上的按下、移动、抬起数据会处理成划 出一条线条。如果这时在智能平板接收到触摸操作的数据,那么将触摸的按下、移动、抬起数据处理成移动白板内容操作。如果连接状态是从分离状态变为连接状态,那么认为用户不使用笔书写。这时在智能平板接收到触摸操作的数据,那么将触摸的按下、移动、抬起数据处理成划出一条线条。
在另一个具体的例子中,也可以通过在智能平板上设置开启和关闭触摸书写的按钮,若按钮处于选中状态,则代表触摸操作是书写。若按钮处于未选中状态,则代表触摸操作不能书写,只能进行移动、漫游操作。在上个例子的基础上,智能平板增加一个按钮,用于用户交互,可以手动控制触摸数据的处理方式:电磁笔和感应器断开的时候,软件控制将按钮置为未选中状态;电磁笔和感应器重新连接的时候,不改变按钮的状态。按钮点击一下切换一下按钮状态,按钮状态在选中和未选中状态间来回切换。
本实施例的技术方案,通过获取智能笔与智能笔对应的放置位之间的当前配合状态;根据当前配合状态确定接收到的触控数据类型;获取与触控数据类型对应的操作数据,并根据操作数据确定对应的操作指令,能够防止误触,提升用户使用体验。
实施例二
图2为本发明实施例二中的一种防误触的方法的流程图,本实施例以上述实施例为基础进行优化,在本实施例中,根据所述当前配合状态确定接收到的触控数据类型,包括:当所述当前配合状态为分离状态时,确定接收到的触控数据类型包括:智能笔数据类型和触摸数据类型;相应的,获取与所述触控数据类型对应的操作数据,并根据所述操作数据确定对应的操作指令,包括:获 取智能笔数据和触摸数据,根据所述智能笔数据确定书写内容,根据触摸数据确定对应的手势操作;当所述当前配合状态为连接状态时,确定接收到的数据类型为触摸数据类型;相应的,获取与所述触控数据类型对应的操作数据,并根据所述操作数据确定对应的操作指令,包括:获取触摸数据,根据所述触摸数据确定书写内容。
如图2所示,本实施例的方法具体包括如下步骤:
S210,获取智能笔与所述智能笔对应的放置位之间的当前配合状态。
S220,判断所述当前配合状态是否为分离状态,若是,则执行S230,若否,则执行S250;
其中,分离状态为智能笔没有放置在放置位的状态,也就是说用户有可能使用智能笔进行书写。
具体的,根据智能笔对应的放置位内的感应器确定智能笔是否放置在放置位内,若智能笔没有放置在放置位内,则智能笔和智能笔对应的放置位之间的状态为分离状态。
S230,确定接收到的触控数据类型包括:智能笔数据类型和触摸数据类型。
具体的,由于智能笔没有放置在放置位内可知用户可能通过智能笔进行书写,则在这种情况下,智能平板可能接受到两种类型的数据,一种类型为智能笔数据类型,另一种类型为触摸数据类型。智能笔数据是用户通过智能笔在智能平板上运动产生的数据,触摸数据是用户通过手在智能平板上移动产生的数据。
在一个具体的例子中,若智能平板为电磁屏+触摸屏双触控的智能平板,当手指触摸在金属层上时,触点的电容就会发生变化,使得与之相连的振荡器频 率发生变化,则可以根据振荡器频率的变化情况确定手指的移动轨迹,进而获得触摸的数据,根据智能笔(电磁笔)操作过程中和面板下的感应器产生磁场变化,进而获得智能笔数据。若智能平板为红外屏+触摸屏双触控的智能平板,可以根据振荡器频率的变化情况确定智能笔的移动轨迹,进而获得触摸的数据,根据红外触摸框的各个红外对管中红外光的强度确定智能笔的移动轨迹,进而获得数据,由于用户使用智能笔的时候,用户的手也会遮挡红外光,则需要将获得的数据中由于手部遮挡产生的数据删除,剩余的数据是智能笔数据。
S240,获取智能笔数据和触摸数据,根据所述智能笔数据确定书写内容,根据触摸数据确定对应的手势操作。
具体的,若智能笔没有放置在放置位内,则说明用户可能通过智能笔进行书写,则根据智能笔数据确定书写内容,用户使用智能笔进行书写时,可以通过将手在智能平板的屏幕上左右滑动实现对智能平板的屏幕上显示内容的移动操作。例如可以是,用户通过智能笔进行书写,用户写到右端较远的位置,则可以用手在智能平板的屏幕上从右向左滑动,进而实现将智能平板上显示的内容向左移动,方便用户书写。
具体的,若智能笔没有放置在放置位内,智能平板只接收到智能笔数据,则获取智能笔数据,根据智能笔数据确定书写内容。若智能笔没有放置在放置位内,而智能平板只接收到触摸数据,则获取触摸数据,根据触摸数据确定书写内容。
S250,当所述当前配合状态为连接状态时,确定接收到的数据类型为触摸数据类型。
其中,所述当前配合状态为连接状态指的是智能笔处于智能笔对应的放置 位,则说明用户没有使用智能笔。
具体的,当智能笔处于智能笔对应的放置位时,说明用户没有使用智能笔,因此智能平板接收到的数据类型为触摸数据类型。
S260,获取触摸数据,根据所述触摸数据确定书写内容。
具体的,根据用户手指触摸在智能平板上时,根据振荡器频率的变化情况确定手指的移动轨迹,进而获得触摸的数据,根据触摸数据确定书写内容。
可选的,当所述当前配合状态为分离状态时,确定接收到的触控数据类型包括:智能笔数据类型和触摸数据类型之后,还包括:
于智能笔与显示屏接触时,确定接收到的数据类型为智能笔数据类型;
具体的,当智能笔和显示屏接触时,则说明用户正在使用智能笔进行书写操作,则这个时候,智能平板接收到的数据一定是由于智能笔的运动产生的,因此接收到的数据类型为智能笔数据类型。
相应的,获取与所述触控数据类型对应的操作数据,并根据所述操作数据确定对应的操作指令,包括:
获取智能笔数据;
根据所述智能笔数据确定书写内容。
在一个具体的例子中,电磁笔与屏幕接触时,为了去掉触摸操作的干扰,需要忽略掉触摸数据。电磁笔与屏幕接触或者离开,电磁屏的驱动或者固件将当前电磁笔的接触状态发送给智能平板,智能平板记录当前电磁笔的接触状态。如果当前电磁笔和屏幕接触,并且接收到触摸数据,那么直接忽略不处理。
可选的,当所述当前配合状态为分离状态时,确定接收到的触控数据类型包括:智能笔数据类型和触摸数据类型之后,还包括:
于智能笔在电磁屏和/或红外触摸框上方时,确定接收到的触控数据类型包括:智能笔数据类型和触摸数据类型;
具体的,于智能笔在电磁屏和/或红外触摸框上方时指的是智能笔悬停在屏幕上方,在这种情况下,无法判断用户是使用智能笔书写还是使用手指书写,因此智能平板接收到的触控数据类型包括:智能笔数据类型和触摸数据类型。
相应的,获取与所述触控数据类型对应的操作数据,并根据所述操作数据确定对应的操作指令,包括:
获取智能笔数据和触摸数据;
根据触摸点位置与笔尖位置的相对方位和距离确定有效的触摸数据;
根据所述有效的触摸数据确定对应的手势操作;
具体的,由于用户使用智能笔进行书写时,由于用户的书写习惯,可能会发生误触的情况,一般误触发生的位置为智能笔笔尖位置的右下角的区域,因此,根据触摸点位置与笔尖位置的相对方位和距离确定有效的触摸数据。
具体的,若触摸点位置为笔尖位置的右下方,且触摸点位置与笔尖位置大于第一预设距离,则忽略对应的触摸数据。若触摸点位置为笔尖位置的左下方,且触摸点位置与笔尖位置大于第二预设距离,则确定所述触摸数据为有效的触摸数据,其中,第一预设距离大于第二预设距离。若触摸点位置为笔尖位置的左上方,且触摸点位置与笔尖位置大于第二预设距离,则确定所述触摸数据为有效的触摸数据。若触摸点位置为笔尖位置的右上方,且触摸点位置与笔尖位置大于第二预设距离,则确定所述触摸数据为有效的触摸数据。若触摸点位置为笔尖位置的正上方,且触摸点位置与笔尖位置大于第二预设距离,则确定所述触摸数据为有效的触摸数据。若触摸点位置为笔尖位置的正下方,且触摸点 位置与笔尖位置大于第二预设距离,则确定所述触摸数据为有效的触摸数据。
根据所述智能笔数据确定书写内容。
在一个具体的例子中,电磁笔悬停在屏幕上方时,忽略笔尖位置的右下角特定区域的触摸数据笔尖悬停在屏幕上,不能确定用户是准备书写,还是可能会有触摸。此时不能完全忽略触摸数据,而是忽略笔尖右下角特定区域的触摸数据,防止书写过程中笔稍微临时抬起时触摸操作的影响。电磁笔悬停在电磁屏上方时,电磁屏驱动或者固件就可以收到数据(一般笔尖在屏幕上方1厘米左右,视不同的电磁屏产品而定),将悬停数据发送给智能平板,智能平板记录悬停状态和悬停的笔尖位置P(x1,y1)。如果此时接收到触摸数据,则读取触摸的按下位置D(x2,y2)。如果x2-x1>8厘米,并且y1-y2>8厘米,则认为触摸操作是在悬停笔尖的右下角范围,忽略对应的按下、移动、抬起数据。
本实施例的技术方案,通过获取智能笔与智能笔对应的放置位之间的当前配合状态;根据当前配合状态确定接收到的触控数据类型;获取与触控数据类型对应的操作数据,并根据操作数据确定对应的操作指令,能自动根据使用场景调整触摸操作的功能,方便用户使用,提高效率。
实施例三
图3为本发明实施例三提供的一种防误触的装置的结构示意图。本实施例可适用于防误触的情况,该装置可采用软件和/或硬件的方式实现,该装置可集成在任何提供防误触的功能的设备中,如图3所示,所述防误触的装置具体包括:获取模块310、数据类型确定模块320和操作指令确定模块330。
其中,获取模块310,用于获取智能笔与所述智能笔对应的放置位之间的 当前配合状态;
数据类型确定模块320,用于根据所述当前配合状态确定接收到的触控数据类型;
操作指令确定模块330,用于获取与所述触控数据类型对应的操作数据,并根据所述操作数据确定对应的操作指令。
可选的,所述数据类型确定模块包括:
第一确定单元,用于当所述当前配合状态为分离状态时,确定接收到的触控数据类型包括:智能笔数据类型和触摸数据类型;
相应的,所述操作指令确定模块包括:
第二确定单元,用于获取智能笔数据和触摸数据,根据所述智能笔数据确定书写内容,根据触摸数据确定对应的手势操作;
第三确定单元,用于当所述当前配合状态为连接状态时,确定接收到的数据类型为触摸数据类型;
相应的,所述操作指令确定模块包括:
第四确定单元,用于获取触摸数据,根据所述触摸数据确定书写内容。
可选的,还包括:
第五确定单元,用于当所述当前配合状态为分离状态时,确定接收到的触控数据类型包括智能笔数据类型和触摸数据类型之后,于智能笔与显示屏接触时,确定接收到的数据类型为智能笔数据类型;
相应的,操作指令确定模块具体用于:
获取智能笔数据;
根据所述智能笔数据确定书写内容。
可选的,还包括:
第六确定单元,用于当所述当前配合状态为分离状态时,确定接收到的触控数据类型包括智能笔数据类型和触摸数据类型之后,于智能笔在电磁屏和/或红外触摸框上方时,确定接收到的触控数据类型包括智能笔数据类型和触摸数据类型;
相应的,操作指令确定模块具体用于:
获取智能笔数据和触摸数据;
根据触摸点位置与笔尖位置的相对方位和距离确定有效的触摸数据;
根据所述有效的触摸数据确定对应的手势操作;
根据所述智能笔数据确定书写内容。
本实施例的技术方案,通过获取智能笔与智能笔对应的放置位之间的当前配合状态;根据当前配合状态确定接收到的触控数据类型;获取与触控数据类型对应的操作数据,并根据操作数据确定对应的操作指令,能自动根据使用场景调整触摸操作的功能,方便用户使用,提高效率。
实施例四
图4为本发明实施例四提供的一种计算机设备的结构示意图。图4示出了适于用来实现本发明实施方式的示例性计算机设备12的框图。图4显示的计算机设备12仅仅是一个示例,不应对本发明实施例的功能和使用范围带来任何限制。
如图4所示,计算机设备12以通用计算设备的形式表现。计算机设备12的组件可以包括但不限于:一个或者多个处理器或者处理单元16,系统存储器 28,连接不同系统组件(包括系统存储器28和处理单元16)的总线18。
总线18表示几类总线结构中的一种或多种,包括存储器总线或者存储器控制器,外围总线,图形加速端口,处理器或者使用多种总线结构中的任意总线结构的局域总线。举例来说,这些体系结构包括但不限于工业标准体系结构(ISA)总线,微通道体系结构(MAC)总线,增强型ISA总线、视频电子标准协会(VESA)局域总线以及外围组件互连(PCI)总线。
计算机设备12典型地包括多种计算机系统可读介质。这些介质可以是任何能够被计算机设备12访问的可用介质,包括易失性和非易失性介质,可移动的和不可移动的介质。
系统存储器28可以包括易失性存储器形式的计算机系统可读介质,例如随机存取存储器(RAM)30和/或高速缓存存储器32。计算机设备12可以进一步包括其它可移动/不可移动的、易失性/非易失性计算机系统存储介质。仅作为举例,存储系统34可以用于读写不可移动的、非易失性磁介质(图4未显示,通常称为“硬盘驱动器”)。尽管图4中未示出,可以提供用于对可移动非易失性磁盘(例如“软盘”)读写的磁盘驱动器,以及对可移动非易失性光盘(例如CD-ROM,DVD-ROM或者其它光介质)读写的光盘驱动器。在这些情况下,每个驱动器可以通过一个或者多个数据介质接口与总线18相连。存储器28可以包括至少一个程序产品,该程序产品具有一组(例如至少一个)程序模块,这些程序模块被配置以执行本发明各实施例的功能。
具有一组(至少一个)程序模块42的程序/实用工具40,可以存储在例如存储器28中,这样的程序模块42包括——但不限于——操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合 中可能包括网络环境的实现。程序模块42通常执行本发明所描述的实施例中的功能和/或方法。
计算机设备12也可以与一个或多个外部设备14(例如键盘、指向设备、显示器24等)通信,还可与一个或者多个使得用户能与该计算机设备12交互的设备通信,和/或与使得该计算机设备12能与一个或多个其它计算设备进行通信的任何设备(例如网卡,调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口22进行。并且,计算机设备12还可以通过网络适配器20与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。如图所示,网络适配器20通过总线18与计算机设备12的其它模块通信。应当明白,尽管图中未示出,可以结合计算机设备12使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储系统等。
处理单元16通过运行存储在系统存储器28中的程序,从而执行各种功能应用以及数据处理,例如实现本发明实施例所提供的防误触的方法:获取智能笔与所述智能笔对应的放置位之间的当前配合状态;根据所述当前配合状态确定接收到的触控数据类型;获取与所述触控数据类型对应的操作数据,并根据所述操作数据确定对应的操作指令。
实施例五
本发明实施例五提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如本申请所有发明实施例提供的防误触的方法:获取智能笔与所述智能笔对应的放置位之间的当前配合状态;根据所述当前配合 状态确定接收到的触控数据类型;获取与所述触控数据类型对应的操作数据,并根据所述操作数据确定对应的操作指令。
可以采用一个或多个计算机可读的介质的任意组合。计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本文件中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。
计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括——但不限于——电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。
计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括——但不限于——无线、电线、光缆、RF等等,或者上述的任意合适的组合。
可以以一种或多种程序设计语言或其组合来编写用于执行本发明操作的计算机程序代码,所述程序设计语言包括面向对象的程序设计语言-诸如Java、 Smalltalk、C++,还包括常规的过程式程序设计语言-诸如”C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)-连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。
注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。

Claims (10)

  1. 一种防误触的方法,其特征在于,包括:
    获取智能笔与所述智能笔对应的放置位之间的当前配合状态;
    根据所述当前配合状态确定接收到的触控数据类型;
    获取与所述触控数据类型对应的操作数据,并根据所述操作数据确定对应的操作指令。
  2. 根据权利要求1所述的方法,其特征在于,根据所述当前配合状态确定接收到的触控数据类型,包括:
    当所述当前配合状态为分离状态时,确定接收到的触控数据类型包括:智能笔数据类型和触摸数据类型;
    相应的,获取与所述触控数据类型对应的操作数据,并根据所述操作数据确定对应的操作指令,包括:
    获取智能笔数据和触摸数据,根据所述智能笔数据确定书写内容,根据触摸数据确定对应的手势操作;
    当所述当前配合状态为连接状态时,确定接收到的数据类型为触摸数据类型;
    相应的,获取与所述触控数据类型对应的操作数据,并根据所述操作数据确定对应的操作指令,包括:
    获取触摸数据,根据所述触摸数据确定书写内容。
  3. 根据权利要求2所述的方法,其特征在于,当所述当前配合状态为分离状态时,确定接收到的触控数据类型包括:智能笔数据类型和触摸数据类型之后,还包括:
    于智能笔与显示屏接触时,确定接收到的数据类型为智能笔数据类型;
    相应的,获取与所述触控数据类型对应的操作数据,并根据所述操作数据确定对应的操作指令,包括:
    获取智能笔数据;
    根据所述智能笔数据确定书写内容。
  4. 根据权利要求2所述的方法,其特征在于,当所述当前配合状态为分离状态时,确定接收到的触控数据类型包括:智能笔数据类型和触摸数据类型之后,还包括:
    于智能笔在电磁屏和/或红外触摸框上方时,确定接收到的触控数据类型包括:智能笔数据类型和触摸数据类型;
    相应的,获取与所述触控数据类型对应的操作数据,并根据所述操作数据确定对应的操作指令,包括:
    获取智能笔数据和触摸数据;
    根据触摸点位置与笔尖位置的相对方位和距离确定有效的触摸数据;
    根据所述有效的触摸数据确定对应的手势操作;
    根据所述智能笔数据确定书写内容。
  5. 一种防误触的装置,其特征在于,包括:
    获取模块,用于获取智能笔与所述智能笔对应的放置位之间的当前配合状态;
    数据类型确定模块,用于根据所述当前配合状态确定接收到的触控数据类型;
    操作指令确定模块,用于获取与所述触控数据类型对应的操作数据,并根据所述操作数据确定对应的操作指令。
  6. 根据权利要求5所述的装置,其特征在于,所述数据类型确定模块包括:
    第一确定单元,用于当所述当前配合状态为分离状态时,确定接收到的触控数据类型包括:智能笔数据类型和触摸数据类型;
    相应的,所述操作指令确定模块包括:
    第二确定单元,用于获取智能笔数据和触摸数据,根据所述智能笔数据确定书写内容,根据触摸数据确定对应的手势操作;
    第三确定单元,用于当所述当前配合状态为连接状态时,确定接收到的数据类型为触摸数据类型;
    相应的,所述操作指令确定模块包括:
    第四确定单元,用于获取触摸数据,根据所述触摸数据确定书写内容。
  7. 根据权利要求6所述的装置,其特征在于,还包括:
    第五确定单元,用于当所述当前配合状态为分离状态时,确定接收到的触控数据类型包括智能笔数据类型和触摸数据类型之后,于智能笔与显示屏接触时,确定接收到的数据类型为智能笔数据类型;
    相应的,操作指令确定模块具体用于:
    获取智能笔数据;
    根据所述智能笔数据确定书写内容。
  8. 根据权利要求6所述的装置,其特征在于,还包括:
    第六确定单元,用于当所述当前配合状态为分离状态时,确定接收到的触控数据类型包括智能笔数据类型和触摸数据类型之后,于智能笔在电磁屏和/或红外触摸框上方时,确定接收到的触控数据类型包括智能笔数据类型和触摸数据类型;
    相应的,操作指令确定模块具体用于:
    获取智能笔数据和触摸数据;
    根据触摸点位置与笔尖位置的相对方位和距离确定有效的触摸数据;
    根据所述有效的触摸数据确定对应的手势操作;
    根据所述智能笔数据确定书写内容。
  9. 一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述程序时实现如权利要求1-4中任一所述的方法。
  10. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如权利要求1-4中任一所述的方法。
PCT/CN2017/116739 2017-08-14 2017-12-17 一种防误触的方法、装置、设备及存储介质 WO2019033655A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710691435.9A CN107291277B (zh) 2017-08-14 2017-08-14 一种防误触的方法、装置、设备及存储介质
CN201710691435.9 2017-08-14

Publications (1)

Publication Number Publication Date
WO2019033655A1 true WO2019033655A1 (zh) 2019-02-21

Family

ID=60106062

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/116739 WO2019033655A1 (zh) 2017-08-14 2017-12-17 一种防误触的方法、装置、设备及存储介质

Country Status (2)

Country Link
CN (1) CN107291277B (zh)
WO (1) WO2019033655A1 (zh)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107291277B (zh) * 2017-08-14 2019-09-03 广州视源电子科技股份有限公司 一种防误触的方法、装置、设备及存储介质
CN108491102A (zh) * 2018-02-07 2018-09-04 广州视源电子科技股份有限公司 一种电子画板的擦除方法及装置
CN110794976B (zh) * 2018-08-03 2022-04-22 华为技术有限公司 一种触控装置及方法
CN109753179B (zh) * 2018-12-17 2022-10-25 掌阅科技股份有限公司 用户操作指令的处理方法及手写阅读设备
CN111208917B (zh) * 2019-12-31 2022-04-08 广州视源电子科技股份有限公司 触摸数据处理方法、装置、智能设备和存储介质
CN111694451B (zh) * 2020-05-22 2024-02-06 广州视源电子科技股份有限公司 操作数据处理方法、装置、设备及存储介质
CN114690976A (zh) * 2021-04-22 2022-07-01 广州创知科技有限公司 基于弹性波的系统首页界面交互操作方法及装置
CN113625889B (zh) * 2021-10-11 2022-02-08 广东新空电子科技股份有限公司 一种基于触控屏的触控笔迹生成方法及装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020080123A1 (en) * 2000-12-26 2002-06-27 International Business Machines Corporation Method for touchscreen data input
CN1797305A (zh) * 2004-11-23 2006-07-05 微软公司 降低意外激活触敏设备
CN104007892A (zh) * 2013-02-22 2014-08-27 三星电子株式会社 用于控制多个对象的显示的方法及其移动终端
CN104541235A (zh) * 2012-06-08 2015-04-22 高通股份有限公司 存储轨迹信息
CN107291277A (zh) * 2017-08-14 2017-10-24 广州视源电子科技股份有限公司 一种防误触的方法、装置、设备及存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020080123A1 (en) * 2000-12-26 2002-06-27 International Business Machines Corporation Method for touchscreen data input
CN1797305A (zh) * 2004-11-23 2006-07-05 微软公司 降低意外激活触敏设备
CN104541235A (zh) * 2012-06-08 2015-04-22 高通股份有限公司 存储轨迹信息
CN104007892A (zh) * 2013-02-22 2014-08-27 三星电子株式会社 用于控制多个对象的显示的方法及其移动终端
CN107291277A (zh) * 2017-08-14 2017-10-24 广州视源电子科技股份有限公司 一种防误触的方法、装置、设备及存储介质

Also Published As

Publication number Publication date
CN107291277B (zh) 2019-09-03
CN107291277A (zh) 2017-10-24

Similar Documents

Publication Publication Date Title
WO2019033655A1 (zh) 一种防误触的方法、装置、设备及存储介质
EP2813938B1 (en) Apparatus and method for selecting object by using multi-touch, and computer readable recording medium
KR102129374B1 (ko) 사용자 인터페이스 제공 방법 및 기계로 읽을 수 있는 저장 매체 및 휴대 단말
US8614682B2 (en) Touchscreen panel unit, scrolling control method, and recording medium
KR102092132B1 (ko) 호버링 입력 효과를 제공하는 전자 장치 및 그 제어 방법
AU2013352248B2 (en) Using clamping to modify scrolling
US9201521B2 (en) Storing trace information
US20160004373A1 (en) Method for providing auxiliary information and touch control display apparatus using the same
US9880642B2 (en) Mouse function provision method and terminal implementing the same
US20150149947A1 (en) Character deletion during keyboard gesture
CN108595029B (zh) 电容笔倾斜角度的确定方法、装置、设备和存储介质
JP2014241139A (ja) 仮想タッチパッド
AU2013223015A1 (en) Method and apparatus for moving contents in terminal
CN102184077A (zh) 计算设备放大手势
WO2021136080A1 (zh) 触摸数据处理方法、装置、智能设备和存储介质
US11150749B2 (en) Control module for stylus with whiteboard-style erasure
US20140354564A1 (en) Electronic device for executing application in response to user input
US9019218B2 (en) Establishing an input region for sensor input
US10146424B2 (en) Display of objects on a touch screen and their selection
US9727151B2 (en) Avoiding accidental cursor movement when contacting a surface of a trackpad
CN108885556B (zh) 控制数字输入
CN103150116A (zh) 一种基于rdp协议对云桌面进行放大显示的方法
WO2019085185A1 (zh) 一种智能笔、智能笔的控制方法、装置、设备及存储介质
KR20210023434A (ko) 디스플레이장치 및 그 제어방법
WO2019056614A1 (zh) 一种触摸数据的分离方法、装置、设备和存储介质

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

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 13/10/2020)

122 Ep: pct application non-entry in european phase

Ref document number: 17921789

Country of ref document: EP

Kind code of ref document: A1