WO2019033643A1 - 多电磁笔书写区分方法、装置及电子设备 - Google Patents

多电磁笔书写区分方法、装置及电子设备 Download PDF

Info

Publication number
WO2019033643A1
WO2019033643A1 PCT/CN2017/116083 CN2017116083W WO2019033643A1 WO 2019033643 A1 WO2019033643 A1 WO 2019033643A1 CN 2017116083 W CN2017116083 W CN 2017116083W WO 2019033643 A1 WO2019033643 A1 WO 2019033643A1
Authority
WO
WIPO (PCT)
Prior art keywords
electromagnetic
information
pressure sensitive
writing
preset
Prior art date
Application number
PCT/CN2017/116083
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 WO2019033643A1 publication Critical patent/WO2019033643A1/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/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0412Digitisers structurally integrated in a display
    • 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
    • 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/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/03547Touch pads, in which fingers can move on a surface
    • 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/0414Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using force sensing means to determine a position
    • 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

Definitions

  • the present application relates to the field of electromagnetic touch technology, and in particular, to a multi-electromagnetic pen writing distinguishing method, device and electronic device.
  • the color of the handwriting written at the same time is the same, and it is difficult to distinguish the writing content corresponding to each writer in the portion where the writing content is adjacent, intersected, and overlapped.
  • the present application provides a multi-electromagnetic pen writing distinguishing method, device, and electronic device, and aims to solve the problem that it is difficult to distinguish the writing contents corresponding to each writer when writing multiple electromagnetic pens.
  • a multi-electromagnetic pen writing distinguishing method the method is applied to an electronic device loaded with an operating system, the method comprising the steps of: acquiring an electromagnetic pen having a preset electromagnetic frequency
  • the electromagnetic touch signal generated when contacting the electronic tablet calculates the touch position information and the pressure sensitive information of the electromagnetic pen according to the electromagnetic touch signal; and expands the pressure sensitive information according to a preset expansion algorithm corresponding to the preset electromagnetic frequency;
  • the expanded pressure sensing information is encapsulated into a multi-touch signal, and the multi-touch signal is parsed, wherein the expanded pressure sensing information is parsed into a floating point type; the floating point type pressure sensing is performed according to a preset conversion algorithm.
  • the information is converted into the expanded pressure sensitive information, and the expanded pressure sensitive information is matched to the writing attribute information preset by the electromagnetic pen, and the writing track having the preset writing attribute is generated at the touch position of the electromagnetic pen.
  • the expanded pressure sensitive information is pressure sensitive information in a preset form corresponding to different electromagnetic pens; the preset form includes: a singular form and an even form, and a fixed mantissa form.
  • the preset conversion algorithm is: pressing a pressure sensitive value in an electromagnetic pen pressure sensing information Expanding according to formula (1); expanding the pressure sensitive value in the pressure sensitive information of another electromagnetic pen according to formula (2);
  • F a0 and F a1 are the pressure sensitive values in the pressure sensitive information before and after the expansion of the electromagnetic pen
  • F b0 and F b1 are the pressure sensitive values in the pressure sensitive information before and after the expansion of the other electromagnetic pen.
  • the preset conversion algorithm is: converting a floating point type pressure sensitive value into an expanded pressure sensitive value according to formula (3);
  • f is the pressure sensitive value of the electromagnetic pen floating point type
  • F is the expanded pressure sensitive value
  • u is the preset pressure sensitive level of the electromagnetic pen
  • INT is the rounding operation.
  • the preset conversion algorithm is: using a pressure sensitive value in the electromagnetic pen pressure sensing information according to a formula (4) to expand;
  • F n0 and F n1 are pressure sensitive values in the pressure sense information before and after the expansion of the n+1th electromagnetic pen, and n is any integer of 0, 1, ..., 9.
  • the preset conversion algorithm is: converting a pressure sensitive value of a floating point type into an expanded pressure sensitive value according to formula (5);
  • f n is the pressure sensitivity value of the n+1th electromagnetic pen floating point type
  • F n is the expanded pressure sensitive value
  • v n is the preset pressure sensitive level of the electromagnetic pen
  • INT is the rounding operation.
  • the method further includes: adjusting a line thickness and a color depth of the writing track according to the expanded pressure sensing information.
  • the method further includes: when the setting information for modifying the writing attribute is detected, and the expanded pressure sensing information for triggering the setting information, the modified writing attribute information and the expanded pressure are Sense information association; when the setting information for modifying the writing property of the electromagnetic pen named A is detected, the modified writing attribute information and the The pressure sensitive information associated with the expansion of the electromagnetic pen is associated.
  • writing attributes include: line type, color, font, identifier.
  • the present application also discloses a multi-electromagnetic pen writing and distinguishing device, comprising: a calculating module, configured to acquire an electromagnetic touch signal generated when an electromagnetic pen having a preset electromagnetic frequency is in contact with an electronic tablet, and calculate a touch of the electromagnetic pen according to the electromagnetic touch signal Position information, pressure sensing information, and expansion of the pressure sensing information according to a preset expansion algorithm corresponding to the preset electromagnetic frequency; the sending module is configured to package the touch position information and the expanded pressure sensing information into a multi-touch signal, Parsing the multi-touch signal, wherein the expanded pressure sensitive information is parsed into a floating point type; the writing module is configured to convert the floating point pressure sensitive information into the expanded pressure sensitive information according to a preset conversion algorithm And matching the written pressure attribute information to the writing attribute information preset by the electromagnetic pen, and generating a writing track having a preset writing attribute at the touch position of the electromagnetic pen.
  • a calculating module configured to acquire an electromagnetic touch signal generated when an electromagnetic pen having a preset electromagnetic frequency is
  • the application also discloses an electronic device comprising: a processor; a memory for storing processor executable instructions.
  • the processor is configured to: acquire an electromagnetic touch signal generated when an electromagnetic pen having a preset electromagnetic frequency is in contact with an electronic tablet, and calculate touch position information and pressure sensing information of the electromagnetic pen according to the electromagnetic touch signal;
  • the preset expansion algorithm corresponding to the electromagnetic frequency expands the pressure sensitive information; encapsulates the touch position information and the expanded pressure sensitive information into a multi-touch signal, and parses the multi-touch signal, wherein the expanded pressure sensing information It is parsed into a floating point type; the floating point type pressure sensitive information is converted into the expanded pressure sensitive information according to a preset conversion algorithm, and the expanded pressure sensitive information is matched to the electromagnetic pen's preset writing attribute information, in the electromagnetic pen
  • the touch position generates a writing trajectory with a preset writing attribute.
  • different electromagnetic pens have different electromagnetic frequency ranges, and the electromagnetic touch signals generated by the electromagnetic pen are obtained to calculate the touch position information and pressure sensing information of the electromagnetic pen; the pressure sensitive information is expanded to make different electromagnetic pens The generated pressure sensitive information has different characteristics; the touch position information and the expanded pressure sensitive information are encapsulated into a multi-touch signal, and the expanded pressure sensitive information is parsed into a process of parsing the multi-touch signal into Floating point type; then convert the floating point pressure sensitive information into expanded pressure sensitive information, and match the written pressure attribute information to the writing attribute information preset by the electromagnetic pen, and generate the preset writing at the touch position of the electromagnetic pen The trajectory of the attribute.
  • the writing attribute information of each electromagnetic pen is preset, and the writing attribute information includes color, line shape, etc., by setting different colors and lines, and writing with different electromagnetic pens, it is possible to generate writing tracks of different colors and lines, thereby distinguishing The writing content corresponding to each writer.
  • FIG. 1 is a flowchart of a multi-electromagnetic pen writing distinguishing method according to an exemplary embodiment of the present application
  • FIG. 2 is a schematic diagram showing the distinction between two electromagnetic pens according to an exemplary embodiment of the present application
  • FIG. 3 is a schematic diagram showing an electromagnetic pen modifying its own writing attribute according to an exemplary embodiment of the present application
  • FIG. 4 is a schematic diagram showing modification of writing attributes according to an electromagnetic pen name according to an exemplary embodiment of the present application
  • FIG. 5 is a logic block diagram of a multi-electromagnetic pen writing distinguishing device according to an exemplary embodiment of the present application.
  • FIG. 6 is a logic block diagram of an electronic device according to an exemplary embodiment of the present application.
  • first, second, third, etc. may be used to describe various information in this application, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other.
  • first information may also be referred to as the second information without departing from the scope of the present application.
  • second information may also be referred to as the first information.
  • word "if” as used herein may be interpreted as "when” or "when” or "in response to determination.”
  • a multi-electromagnetic pen writing differentiation method may include the following steps:
  • Step S110 Acquire an electromagnetic touch signal generated when the electromagnetic pen having the preset electromagnetic frequency is in contact with the electronic tablet, and calculate touch position information and pressure sensing information of the electromagnetic pen according to the electromagnetic touch signal;
  • Step S120 expanding the pressure sensitive information according to a preset expansion algorithm corresponding to the preset electromagnetic frequency
  • the method for distinguishing the writing of the multi-electromagnetic pen may be a terminal, wherein the terminal may be an electronic device such as an electronic tablet supporting the writing of the electromagnetic pen, and the terminal may be installed with an application such as an electronic whiteboard.
  • the application supports setting writing properties such as different colors for multiple electromagnetic pens.
  • the electromagnetic pen is a device capable of generating electromagnetic waves.
  • the touch frame device in the electronic tablet can calculate the electromagnetic wave (electromagnetic touch signal) sent by the electromagnetic pen.
  • Electromagnetic The position where the pen is in contact with the electronic tablet (touch position information), the electromagnetic wave band that different electromagnetic pens in this application can transmit is different.
  • the preset electromagnetic frequency of the 1024-level electromagnetic pen A is 120KHz-140KHz
  • the electromagnetic wave B of the 1024-level electromagnetic pen B The preset electromagnetic frequency is 150KHz-170KHz.
  • the pressing force may be the same when writing, the electromagnetic wave generated by the electromagnetic pen A is always in the range of 120KHz-140KHz, and the electromagnetic wave generated by the electromagnetic pen B is always in the range of 150KHz-170KHz, so that The range of the received electromagnetic wave is distinguished by which electromagnetic pen is sent by the electromagnetic pen, and after the touch frame device calculates the pressure sensitive information according to the electromagnetic touch signal, the pressure sensitive information is expanded according to the preset expansion algorithm to make different
  • the pressure sensitive information of the electromagnetic pen has different forms, that is, the expanded pressure sensitive information has pressure sensitive information of a preset form corresponding to different electromagnetic pens; taking a 1024-level electromagnetic pen as an example, the pressure sense is an integer of 0 to 1023, At present, the simple classification of numbers has singular and even forms, fixed mantissa forms, etc.
  • the singular numbers 1, 3, 5, etc. are used as the pressure sensitive information after the expansion of the electromagnetic pen, and the even numbers such as 0, 2, 4, etc. are used as the pressure sensitive information of the other electromagnetic pen; or
  • the pressure-sensing information after the expansion of the electromagnetic pen becomes all the zeros, and the pressure-sensing information after the expansion of the other electromagnetic pen becomes all the firsts.
  • Step S130 The touch position information and the expanded pressure sensitive information are encapsulated into a multi-touch signal, and the multi-touch signal is parsed, wherein the expanded pressure sensitive information is parsed into a floating point type;
  • the multi-touch signal is usually in the form of (X, Y, Down, Up, Move), (X, Y) represents the coordinate position of the touch, and Down, Up, and Move respectively describe the three actions of the touch action: pressing, lifting, and sliding.
  • this application also encapsulates the expanded pressure sensing information into a multi-touch signal, for example, sends a multi-touch signal in the form of (X, Y, Pressure, Down, Up, Move), where (Pressure) indicates pressure sense.
  • the externally input multi-touch signal is sent to the operating system to be received by the application, and the operating system parses the multi-touch signal to identify the information therein, wherein the expanded pressure sensitive information is parsed into a floating point type. For example, a floating point number between 0.0 and 1.0.
  • Step S140 Convert floating point type pressure sensitive information into expanded pressure sensitive information according to a preset conversion algorithm, and match the expanded pressure sensitive information to the writing attribute information preset by the electromagnetic pen, and generate the touch position of the electromagnetic pen.
  • the present application converts floating point pressure sensitive information into expanded pressure according to a preset conversion algorithm.
  • Sensing information that is, the floating-point pressure sensitive information is restored to the form of the expanded pressure sensitive information, so that the expanded pressure sensitive information can be used to distinguish which electromagnetic pen belongs to the multi-touch signal, and can be preset for different electromagnetic pens.
  • Different writing attribute information for example, one electromagnetic pen is set to red, and the other electromagnetic pen is set to blue, so that the writing attribute information can be matched according to the expanded pressure sensing information, and a writing track having a corresponding writing attribute is generated at the touch position.
  • the writing track of one electromagnetic pen is red, and the writing track of another electromagnetic pen is blue.
  • the traditional method can also change the writing properties of the electromagnetic pen, the writing of different electromagnetic pens
  • the attributes are the same. If you want to write different colors, you should constantly modify the writing attributes, and you can't distinguish the writing contents of each writer when writing at the same time. This application can set different colors, lines, etc. for different electromagnetic pens. Writing attributes, when writing multiple electromagnetic pens at the same time, can generate different color, linear writing trajectories, thereby distinguishing the writing content corresponding to each writer, and can also use different electromagnetic pens as "color pens", eliminating the need for Frequently modify the problem of writing attributes.
  • the preset conversion algorithm can be:
  • F a0 and F a1 are the pressure sensitive values in the pressure sensitive information before and after the expansion of the electromagnetic pen
  • F b0 and F b1 are the pressure sensitive values in the pressure sensitive information before and after the expansion of the other electromagnetic pen.
  • the pressure-sensing values obtained by the expansion of the above formula (1) are all singular, and the pressure-sensing values obtained by the expansion of the above formula (2) are even numbers.
  • the pressure sensitive value of the electromagnetic pen A is expanded to 201.
  • the pressure sensitive value of the electromagnetic pen B is expanded to 200, so that the pressure sensitive value can be singular or even. To distinguish the touch signal generated by the electromagnetic pen.
  • the pressure information of the singular form and the even form are all floating point type pressure sensitive information, in order to enable the application to distinguish which electromagnetic pen is generated by the multi-touch signal, Converting the pressure sensitive value of the floating point type into an expanded pressure sensitive value according to formula (3);
  • f is the pressure sensitive value of the electromagnetic pen floating point type
  • F is the expanded pressure sensitive value
  • u is the preset pressure sensitive level of the electromagnetic pen
  • INT is the rounding operation.
  • the expanded pressure sensitivity value 200 is converted into an 8-digit floating point type, it is 0.09765625, and the expanded pressure sensitive value 201 is converted into an 8-digit floating point type, which is 0.09814453.
  • the rounding involved in the process of floating point type causes the whole operation to be calculated during the restoration The current numerical deviation can thus accurately restore the floating point type pressure sensitive value to the expanded pressure sensitive value.
  • the application by using the parity judgment of the pressure sensitivity value, it is possible to distinguish which electromagnetic pen the received multi-touch information belongs to, so that the application generates a writing trajectory according to the writing attribute corresponding thereto.
  • the student used the blue electromagnetic pen to answer “2”.
  • the teacher could draw “ ⁇ ” with the red electromagnetic pen. Or "X" to mark, through different colors can easily distinguish the writing content corresponding to each writer.
  • the preset conversion algorithm may be:
  • F n0 and F n1 are pressure sensitive values in the pressure sense information before and after the expansion of the n+1th electromagnetic pen, and n is any integer of 0, 1, ..., 9.
  • the pressure sensitivity value of the second electromagnetic pen is expanded to 1001.
  • the pressure sensitivity value is the same as the extended mantissa according to the formula (4), so that the touch signal generated by the electromagnetic pen can be distinguished by the mantissa form of the expanded pressure sensitivity value.
  • the above-mentioned pressure sensitive information with a fixed mantissa form becomes floating point type pressure sensitive information that cannot be directly recognized.
  • the floating point type pressure sensitive value is converted into the expanded pressure sensitive value according to formula (5);
  • f n is the pressure sensitivity value of the n+1th electromagnetic pen floating point type
  • F n is the expanded pressure sensitive value
  • v n is the preset pressure sensitive level of the electromagnetic pen
  • INT is the rounding operation.
  • the expanded pressure sensitivity value 1000 is converted into an 8-digit floating point type, it is 0.09765625, and the expanded pressure sensitive value 2000 is converted into an 8-digit floating point type, which is 0.1953125.
  • the expanded pressure sensitivity value is proportional to the original pressure sensitivity value, thereby adjusting the line shape of the writing track according to the expanded pressure sensing information. Thickness and color depth.
  • the expanded pressure sensitivity values 0 and 1 may correspond to the line thickness and the color depth corresponding to 0 of the pre-expansion pressure sensitivity value.
  • the expanded pressure-sensing values 2 and 3 correspond to the line thickness and color depth corresponding to 1 of the pre-expansion pressure-sensing value; and when the pressure-information information of the fixed mantissa type is used to distinguish not more than ten electromagnetic pens, the expansion can be performed.
  • the post-pressure value 0, 1, ..., 9 corresponds to the line thickness and color depth corresponding to 0 of the pre-expansion pressure-sensing value, and the expanded pressure-sensitivity values 10, 11, ..., 19 and before expansion
  • the thickness of the line corresponding to 1 of the pressure sensitivity value corresponds to the thickness of the color. Therefore, when distinguishing the writing contents of the respective electromagnetic pens, "original handwriting" writing can be realized.
  • the modified writing attribute information is associated with the expanded pressure sensing information
  • the modified writing attribute information is associated with the expanded pressure sensing information of the electromagnetic pen;
  • writing attributes include: line type, color, font, identifier.
  • the user modifies the writing property of the electromagnetic pen on the electronic tablet 300, and the modified writing attribute information is associated with the electromagnetic pen that triggers the setting information, that is, which electromagnetic pen is currently modifying the writing attribute information.
  • the indication is to modify the writing property of the electromagnetic pen.
  • the electromagnetic touch signal generated by the electromagnetic pen it can distinguish which electromagnetic pen is in operation, so that the modified writing attribute information and the expanded information can be The pressure sensitive information is associated.
  • the modification method is directly convenient, but when the number of electromagnetic pens is large (for example, 10), it is necessary to replace 10 electromagnetic pens to modify the writing attribute information one by one, which increases the operation burden of the user. For this reason, as shown in FIG.
  • the application also proposes a modification according to the pen name.
  • the user modifies the writing property of the electromagnetic pen on the electronic tablet 400, that is, the writing attribute information of a certain electromagnetic pen is modified, and the electromagnetic pen has the modified writing attribute.
  • the modification method is intuitive and convenient.
  • the present application also provides an embodiment of a multi-electromagnetic pen writing distinguishing device.
  • the multi-electromagnetic pen writing distinguishing device 500 includes:
  • the calculation module 510 is configured to acquire an electromagnetic touch signal generated when the electromagnetic pen having the preset electromagnetic frequency is in contact with the electronic tablet, and calculate touch position information and pressure sensing information of the electromagnetic pen according to the electromagnetic touch signal;
  • the pressure sensing information is expanded according to a preset expansion algorithm corresponding to the preset electromagnetic frequency
  • the sending module 520 is configured to encapsulate the touch position information and the expanded pressure sensitive information into a multi-touch signal, and parse the multi-touch signal, wherein the expanded pressure sensitive information is parsed into a floating point type;
  • the writing module 530 is configured to convert the floating-point pressure sensing information into the expanded pressure sensing information according to a preset conversion algorithm, and match the expanded pressure sensing information to the writing property information preset by the electromagnetic pen, in the electromagnetic pen
  • the touch location generates a writing trajectory with a preset writing attribute.
  • the present application further provides an electronic device 600, including: a processor 610; a memory 620 for storing processor-executable instructions.
  • the processor 610 is configured to: acquire an electromagnetic touch signal generated when an electromagnetic pen having a preset electromagnetic frequency is in contact with an electronic tablet, and calculate touch position information and pressure sensing information of the electromagnetic pen according to the electromagnetic touch signal;
  • the preset expansion algorithm corresponding to the electromagnetic frequency is used to expand the pressure sensitive information;
  • the touch position information and the expanded pressure sensitive information are encapsulated into a multi-touch signal, and the multi-touch signal is parsed, wherein the expanded pressure sense is The information is parsed into a floating point type; the floating point type pressure sensitive information is converted into the expanded pressure sensitive information according to a preset conversion algorithm, and the expanded pressure sensitive information is matched to the electromagnetic pen's preset writing attribute information, in the electromagnetic
  • the touch position of the pen generates a writing trajectory with a preset writing attribute.
  • the device embodiment since it basically corresponds to the method embodiment, reference may be made to the partial description of the method embodiment.
  • the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the objectives of the present application. Those of ordinary skill in the art can understand and implement without any creative effort.

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)

Abstract

一种多电磁笔书写区分方法、装置及电子设备,所述方法通过获取电磁笔书写时产生的电磁触摸信号计算电磁笔的触摸位置信息、压感信息;对压感信息进行扩充,使不同的电磁笔生成的压感信息具有不同特征;将触摸位置信息、扩充后的压感信息封装成多点触摸信号,根据扩充后的压感信息匹配为电磁笔预设的书写属性信息,在电磁笔的触摸位置生成具有预设书写属性的书写轨迹。通过设置不同的颜色、线形等书写属性信息,使用不同的电磁笔书写时,能够生成不同颜色、线形的书写轨迹,从而区分出各书写者对应的书写内容。

Description

多电磁笔书写区分方法、装置及电子设备 技术领域
本申请涉及电磁式触控技术领域,尤其涉及一种多电磁笔书写区分方法、装置及电子设备。
背景技术
随着教学的进一步深化改革,能够支持手写的电子白板产品备受教育市场关注,市场需求持续增长。电子白板用于课堂互动教学时,可能有多个学生需要同时在电子白板上答题,针对这一需求,目前已经有支持多人同步手写的电子白板。
然而,现有的支持多人同步手写的电子白板,多笔同时书写出的笔迹颜色是相同,则在书写内容邻近、交叉、重叠的部分,将难以区分各书写者对应的书写内容。
发明内容
有鉴于此,本申请提供一种多电磁笔书写区分方法、装置及电子设备,旨在解决多支电磁笔书写时难以区分各书写者对应的书写内容的问题。
具体地,本申请是通过如下技术方案实现的:一种多电磁笔书写区分方法,该方法应用于装载有操作系统的电子设备中,该方法包括以下步骤:获取具有预设电磁频率的电磁笔与电子平板接触时产生的电磁触摸信号,根据电磁触摸信号计算电磁笔的触摸位置信息、压感信息;根据与预设电磁频率对应的预设扩充算法对压感信息进行扩充;将触摸位置信息、扩充后的压感信息封装成多点触摸信号,对所述多点触摸信号进行解析,其中扩充后的压感信息被解析成浮点型;根据预设的转换算法将浮点型压感信息转换成扩充后的压感信息,根据扩充后的压感信息匹配为电磁笔预设的书写属性信息,在电磁笔的触摸位置生成具有预设书写属性的书写轨迹。
一个实施例中,所述扩充后的压感信息为与不同电磁笔对应的预设形式的压感信息;所述预设形式包括:单数形式和偶数形式,固定尾数形式。
一个实施例中,当所述预设形式为单数形式和偶数形式、且用于区分两支电磁笔时,所述预设的转换算法为:将一支电磁笔压感信息中的压感值根据公式(1)进行扩充;将另一支电磁笔压感信息中的压感值根据公式(2)进行扩充;
Fa1=2×Fa0+1……(1)
Fb1=2×Fb0………(2)
其中:Fa0、Fa1为一支电磁笔扩充前后压感信息中的压感值,Fb0、Fb1为另一支电磁笔扩充前后压感信息中的压感值。
一个实施例中,所述预设的转换算法为:将浮点型的压感值根据公式(3)转换成扩充后的压感值;
F=INT(f×(2×u-1)+0.5)……(3)
其中:f为电磁笔浮点型的压感值,F为扩充后的压感值,u为预设的电磁笔的压感等级,INT为取整运算。
一个实施例中,当所述预设形式为固定尾数形式、且用于区分不超过十支电磁笔时,所述预设的转换算法为:将电磁笔压感信息中的压感值根据公式(4)进行扩充;
Fn1=10×Fn0+n……(4)
其中:Fn0、Fn1为第n+1支电磁笔扩充前后压感信息中的压感值,n为0、1、……、9中任一整数。
一个实施例中,所述预设的转换算法为:将浮点型的压感值根据公式(5)转换成扩充后的压感值;
Fn=INT(fn×(2×vn-1)+0.5)……(5)
其中:fn为第n+1支电磁笔浮点型的压感值,Fn为扩充后的压感值,vn为预设的电磁笔的压感等级,INT为取整运算。
一个实施例中,所述方法还包括:根据扩充后的压感信息调整书写轨迹的线型粗细、颜色深浅。
一个实施例中,所述方法还包括:当检测到对书写属性进行修改的设置信息、及触发该设置信息的扩充后的压感信息时,将修改后的书写属性信息与该扩充后的压感信息关联;当检测到对名称为A的电磁笔书写属性进行修改的设置信息时,将修改后的书写属性信息与该 电磁笔扩充后的压感信息关联。其中,书写属性包括:线型、颜色、字体、标识符。
本申请还公开了一种多电磁笔书写区分装置,包括:计算模块,用于获取具有预设电磁频率的电磁笔与电子平板接触时产生的电磁触摸信号,根据电磁触摸信号计算电磁笔的触摸位置信息、压感信息,及根据与预设电磁频率对应的预设扩充算法对压感信息进行扩充;发送模块,用于将触摸位置信息、扩充后的压感信息封装成多点触摸信号,对所述多点触摸信号进行解析,其中扩充后的压感信息被解析成浮点型;书写模块,用于根据预设的转换算法将浮点型压感信息转换成扩充后的压感信息,根据扩充后的压感信息匹配为电磁笔预设的书写属性信息,在电磁笔的触摸位置生成具有预设书写属性的书写轨迹。
本申请还公开了一种电子设备,包括:处理器;用于存储处理器可执行指令的存储器。其中,所述处理器被配置为:获取具有预设电磁频率的电磁笔与电子平板接触时产生的电磁触摸信号,根据电磁触摸信号计算电磁笔的触摸位置信息、压感信息;根据与预设电磁频率对应的预设扩充算法对压感信息进行扩充;将触摸位置信息、扩充后的压感信息封装成多点触摸信号,对所述多点触摸信号进行解析,其中扩充后的压感信息被解析成浮点型;根据预设的转换算法将浮点型压感信息转换成扩充后的压感信息,根据扩充后的压感信息匹配为电磁笔预设的书写属性信息,在电磁笔的触摸位置生成具有预设书写属性的书写轨迹。
本申请中,不同的电磁笔具有不同的电磁频率范围,通过获取电磁笔书写时产生的电磁触摸信号计算电磁笔的触摸位置信息、压感信息;对压感信息进行扩充,使不同的电磁笔生成的压感信息具有不同特征;将触摸位置信息、扩充后的压感信息封装成多点触摸信号,对所述多点触摸信号进行解析的过程中会将扩充后的压感信息被解析成浮点型;再将浮点型压感信息转换成扩充后的压感信息,根据扩充后的压感信息匹配为电磁笔预设的书写属性信息,在电磁笔的触摸位置生成具有预设书写属性的书写轨迹。预设了各电磁笔的书写属性信息,书写属性信息包括颜色、线形等,通过设置不同的颜色、线形,使用不同的电磁笔进行书写时,能够生成不同颜色、线形的书写轨迹,从而区分出各书写者对应的书写内容。
附图说明
图1是本申请一示例性实施例示出的一种多电磁笔书写区分方法的流程图;
图2是本申请一示例性实施例示出的区分两支电磁笔的示意图;
图3是本申请一示例性实施例示出的电磁笔修改自身书写属性的示意图;
图4是本申请一示例性实施例示出的根据电磁笔名称修改书写属性的示意图;
图5是本申请一示例性实施例示出的一种多电磁笔书写区分装置的逻辑框图;
图6是本申请一示例性实施例示出的一种电子设备的逻辑框图。
具体实施方式
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本申请的一些方面相一致的装置和方法的例子。
在本申请使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本申请。在本申请和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。
应当理解,尽管在本申请可能采用术语第一、第二、第三等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本申请范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。取决于语境,如在此所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”。
如图1所示,一种多电磁笔书写区分方法可以包括以下步骤:
步骤S110:获取具有预设电磁频率的电磁笔与电子平板接触时产生的电磁触摸信号,根据电磁触摸信号计算电磁笔的触摸位置信息、压感信息;
步骤S120:根据与预设电磁频率对应的预设扩充算法对压感信息进行扩充;
本发明实施例提供的多电磁笔书写区分方法,该方法的执行主体可以是终端,其中终端可以是支持电磁笔书写的电子平板等电子设备,该终端中可以安装有电子白板等应用程序,该应用程序支持为多支电磁笔设置不同的颜色等书写属性。
电磁笔是一种能生成电磁波的装置,在电磁笔与电子平板接触(例如,书写过程中)时,电子平板中的触摸框设备通过接收电磁笔发送的电磁波(电磁触摸信号),能够计算出电磁 笔与电子平板接触的位置(触摸位置信息),本申请中不同的电磁笔能够发送的电磁波频段不同,例如,1024级电磁笔A的预设电磁频率为120KHz-140KHz,1024级电磁笔B的预设电磁频率为150KHz-170KHz,虽然书写时按压的力度可能相同,但电磁笔A生成的电磁波始终处于120KHz-140KHz范围内,电磁笔B生成的电磁波始终处于150KHz-170KHz范围内,从而可以根据接收的电磁波所处的范围区分该电磁波是由哪支电磁笔发送的,触摸框设备在根据电磁触摸信号计算出压感信息后,对根据预设的扩充算法对压感信息进行扩充,使不同电磁笔的压感信息具有不同的形式,即扩充后的压感信息具有与不同电磁笔对应的预设形式的压感信息;以1024级电磁笔为例,压感为0~1023的整数,目前对数字进行简单分类的方式有单数形式和偶数形式,固定尾数形式等,例如,区分2支电磁笔时,可以将1、3、5……等单数作为一支电磁笔扩充后的压感信息,将0、2、4……等偶数作为另一支电磁笔扩充后的压感信息;或者可以将一支电磁笔扩充后的压感信息变成尾数全为0,将另一支电磁笔扩充后的压感信息变成尾数全为1等。通过扩充即可供后续程序根据压感信息区分电磁笔。
步骤S130:将触摸位置信息、扩充后的压感信息封装成多点触摸信号,对所述多点触摸信号进行解析,其中扩充后的压感信息被解析成浮点型;
多点触摸信号通常的形式为(X,Y,Down,Up,Move),(X,Y)表示触摸的坐标位置,Down、Up、Move分别描述触摸动作按下、抬起、滑动这三个状态,本申请将扩充后的压感信息也封装到多点触摸信号中,例如,以(X,Y,Pressure,Down,Up,Move)的形式发送多点触摸信号,其中(Pressure)表示压感。外部输入的多点触摸信号要发送到操作系统才能被应用程序接收到,而操作系统会对多点触摸信号进行解析以识别其中的信息,其中扩充后的压感信息被解析成浮点型,例如0.0~1.0之间的浮点数。
步骤S140:根据预设的转换算法将浮点型压感信息转换成扩充后的压感信息,根据扩充后的压感信息匹配为电磁笔预设的书写属性信息,在电磁笔的触摸位置生成具有预设书写属性的书写轨迹。
以前述单数形式和偶数形式的压感信息为例,100和101转化成浮点数后将难以区分,为此,本申请根据预设的转换算法将浮点型压感信息转换成扩充后的压感信息,即将浮点型压感信息还原至扩充后的压感信息的形式,从而可以根据扩充后的压感信息区分该多点触摸信号属于哪去电磁笔,可以为不同的电磁笔预设不同的书写属性信息,例如一支电磁笔设置为红色、另一支电磁笔设置为蓝色,从而可以根据扩充后的压感信息匹配书写属性信息,在触摸位置生成具有对应书写属性的书写轨迹,例如一支电磁笔的书写轨迹为红色、另一支电磁笔的书写轨迹为蓝色。传统方式虽然也可以更改电磁笔的书写属性,但不同的电磁笔的书写 属性是相同的,若想写出不同颜色则要不断修改书写属性,且多人同时书写时仍不能区分各书写者的书写内容,而本申请可以为不同的电磁笔设置不同的颜色、线形等书写属性,在多支电磁笔同时书写时,能够生成不同颜色、线形的书写轨迹,从而区分出各书写者对应的书写内容,也可以将不同的电磁笔作为“彩笔”使用,省去了频繁修改书写属性的问题。
前面讲到了根据具有预设形式的扩充后的压感信息来区分不同电磁笔的情况,接下来介绍如何得到单数形式和偶数形式,固定尾数形式的扩充后的压感信息。
用于通过单数形式和偶数形式的压感信息来区分两支电磁笔,则预设的转换算法可以为:
将一支电磁笔压感信息中的压感值根据公式(1)进行扩充;
将另一支电磁笔压感信息中的压感值根据公式(2)进行扩充;
Fa1=2×Fa0+1……(1)
Fb1=2×Fb0………(2)
其中:Fa0、Fa1为一支电磁笔扩充前后压感信息中的压感值,Fb0、Fb1为另一支电磁笔扩充前后压感信息中的压感值。
通过上述公式(1)进行扩充后得到的压感值均为单数,通过上述公式(2)进行扩充后得到的压感值均为偶数。如图2所示,以1024级电磁笔A、电磁笔B在电子平板200进行书写为例,若书写对应的压感值均为100,则通过公式(1):2×100+1=201,电磁笔A的压感值扩充成了201,通过公式(2):2×100=200,电磁笔B的压感值扩充成了200,从而可以通过压感值是单数形式的还是偶数形式的来区分电磁笔产生的触摸信号。
经过操作系统的解析,上述单数形式和偶数形式的压感信息均变成了差异极小的浮点型压感信息,为了使应用程序能够区分多点触摸信号是由哪支电磁笔产生的,将浮点型的压感值根据公式(3)转换成扩充后的压感值;
F=INT(f×(2×u-1)+0.5)……(3)
其中:f为电磁笔浮点型的压感值,F为扩充后的压感值,u为预设的电磁笔的压感等级,INT为取整运算。
例如,扩充后的压感值200转化成8位数的浮点型后为0.09765625,扩充后的压感值201转化成8位数的浮点型后为0.09814453,对于1024级的电磁笔,根据公式(3)进行计算:INT(0.09765625×(2×1024-1)+0.5)=200,INT(0.09814453×(2×1024-1)+0.5)=201,其中增加0.5的值能够抵消因转化成浮点型的过程中涉及的四舍五入导致还原时取整运算出 现的数值偏差,因而可以将浮点型的压感值准确的还原到扩充后的压感值。再通过对压感值的奇偶判断可以区分接收的多点触摸信息属于哪支电磁笔,从而应用程序根据与之对应的书写属性生成书写轨迹。例如,老师在电子平板上用蓝色的电磁笔出题“1+1=”请学生上前作答,学生用蓝色的电磁笔答出“2”,老师可以用红色的电磁笔画出“√”或“×”进行标记,通过不同的颜色即可方便的区分出各书写者对应的书写内容。
用于通过固定尾数形式的压感信息来区分不超过十支电磁笔,则预设的转换算法可以为:
将电磁笔压感信息中的压感值根据公式(4)进行扩充;
Fn1=10×Fn0+n……(4)
其中:Fn0、Fn1为第n+1支电磁笔扩充前后压感信息中的压感值,n为0、1、……、9中任一整数。
同一支电磁笔的压感值通过上述公式(4)进行扩充后可以得到具有固定尾数的压感值,以1024级的第1至第10支电磁笔在电子平板进行书写为例,若书写对应的压感值均为100,则通过公式(4):10×100+0=1000,第1支电磁笔的压感值扩充成了1000,通过公式(4):10×100+1=1001,第2支电磁笔的压感值扩充成了1001,通过公式(4):10×100+9=1009,第10支电磁笔的压感值扩充成了1009,同一支电磁笔书写产生的压感值根据公式(4)扩充后的尾数相同,从而可以通过扩充后的压感值的尾数形式来区分电磁笔产生的触摸信号。
经过操作系统的解析,上述具有固定尾数形式的压感信息均变成了无法直接辨识的浮点型压感信息,为了使应用程序能够区分多点触摸信号是由哪支电磁笔产生的,将浮点型的压感值根据公式(5)转换成扩充后的压感值;
Fn=INT(fn×(2×vn-1)+0.5)……(5)
其中:fn为第n+1支电磁笔浮点型的压感值,Fn为扩充后的压感值,vn为预设的电磁笔的压感等级,INT为取整运算。
例如,扩充后的压感值1000转化成8位数的浮点型后为0.09765625,扩充后的压感值2000转化成8位数的浮点型后为0.1953125,对于1024级的电磁笔,根据公式(5)进行计算:INT(0.09765625×(2×1024-1)+0.5)=1000,其中增加0.5的值能够抵消因转化成浮点型的过程中涉及的四舍五入导致还原时取整运算出现的数值偏差,因而可以将浮点型的压感值准确的还原到扩充后的压感值。再通过对压感值的奇偶判断可以区分接收的多点触摸信息属于哪支电磁笔,从而应用程序根据与之对应的书写属性生成书写轨迹。
电磁笔书写过程中,根据书写者力度的不同产生不同的压感,从而能够实现根据书写力度改变书写轨迹的线型粗细、颜色深浅等,实现如使用毛笔在纸上真实书写的感觉(“原笔迹”书写)。虽然本申请为区分电磁笔而对压感值进行了扩充,但扩充后的压感值与原压感值是呈正比例的,由此,可以根据扩充后的压感信息调整书写轨迹的线型粗细、颜色深浅。例如,通过单数形式和偶数形式的压感信息来区分两支电磁笔时,可以将扩充后的压感值0、1与扩充前压感值的0对应的线型粗细、颜色深浅相对应,将扩充后的压感值2、3与扩充前压感值的1对应的线型粗细、颜色深浅相对应;通过固定尾数形式的压感信息来区分不超过十支电磁笔时,可以将扩充后的压感值0、1、……、9与扩充前压感值的0对应的线型粗细、颜色深浅相对应,将扩充后的压感值10、11、……、19与扩充前压感值的1对应的线型粗细、颜色深浅相对应。从而,在区分各电磁笔的书写内容时,还能实现“原笔迹”书写。
通常来说,为电子平板配置的可区分的电磁笔的数量是有限的,当然,电磁笔的数量也有限,基本不可能为每一种颜色设置一支电磁笔,从而有必要为电磁笔提供修改书写属性的功能,以下提供2种示例性的修改方式:
当检测到对书写属性进行修改的设置信息、及触发该设置信息的扩充后的压感信息时,将修改后的书写属性信息与该扩充后的压感信息关联;
当检测到对名称为A的电磁笔书写属性进行修改的设置信息时,将修改后的书写属性信息与该电磁笔扩充后的压感信息关联;
其中,书写属性包括:线型、颜色、字体、标识符。
如图3所示,用户在电子平板300对电磁笔的对书写属性进行修改,修改后的书写属性信息与触发该设置信息的电磁笔关联,即当前是哪支电磁笔在修改书写属性信息,表示是对这支电磁笔的书写属性进行修改,电磁笔操作过程中,根据其产生的电磁触摸信号即可区分是哪支电磁笔在操作,从而可以将修改后的书写属性信息与该扩充后的压感信息关联。该修改方式直接便利,但是,当电磁笔数量较多(例如10支)时,要更换10支电磁笔来逐一修改书写属性信息,会增加用户的操作负担,为此,如图4所示,本申请还提出了根据笔名进行修改的方式,用户在电子平板400对电磁笔的对书写属性进行修改,即对某支电磁笔的书写属性信息进行修改,该电磁笔就具有修改后的书写属性,修改方式直观便利。
与前述多电磁笔书写区分方法的实施例相对应,本申请还提供了多电磁笔书写区分装置的实施例。
请参考图5,该多电磁笔书写区分装置500包括:
计算模块510,用于获取具有预设电磁频率的电磁笔与电子平板接触时产生的电磁触摸信号,根据电磁触摸信号计算电磁笔的触摸位置信息、压感信息;及
根据与预设电磁频率对应的预设扩充算法对压感信息进行扩充;
发送模块520,用于将触摸位置信息、扩充后的压感信息封装成多点触摸信号,对所述多点触摸信号进行解析,其中扩充后的压感信息被解析成浮点型;
书写模块530,用于根据预设的转换算法将浮点型压感信息转换成扩充后的压感信息,根据扩充后的压感信息匹配为电磁笔预设的书写属性信息,在电磁笔的触摸位置生成具有预设书写属性的书写轨迹。
请参考图6,本申请还提供了一种电子设备600,包括:处理器610;用于存储处理器可执行指令的存储器620。
其中,所述处理器610被配置为:获取具有预设电磁频率的电磁笔与电子平板接触时产生的电磁触摸信号,根据电磁触摸信号计算电磁笔的触摸位置信息、压感信息;根据与预设电磁频率对应的预设扩充算法对压感信息进行扩充;将触摸位置信息、扩充后的压感信息封装成多点触摸信号,对所述多点触摸信号进行解析,其中扩充后的压感信息被解析成浮点型;根据预设的转换算法将浮点型压感信息转换成扩充后的压感信息,根据扩充后的压感信息匹配为电磁笔预设的书写属性信息,在电磁笔的触摸位置生成具有预设书写属性的书写轨迹。
上述装置中各个单元的功能和作用的实现过程具体详见上述方法中对应步骤的实现过程,在此不再赘述。
对于装置实施例而言,由于其基本对应于方法实施例,所以相关之处参见方法实施例的部分说明即可。以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本申请方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。
以上所述仅为本申请的较佳实施例而已,并不用以限制本申请,凡在本申请的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本申请保护的范围之内。

Claims (10)

  1. 一种多电磁笔书写区分方法,该方法应用于装载有操作系统的电子设备中,其特征在于,所述方法包括以下步骤:
    获取具有预设电磁频率的电磁笔与电子平板接触时产生的电磁触摸信号,根据电磁触摸信号计算电磁笔的触摸位置信息、压感信息;
    根据与预设电磁频率对应的预设扩充算法对压感信息进行扩充;
    将触摸位置信息、扩充后的压感信息封装成多点触摸信号,对所述多点触摸信号进行解析,其中扩充后的压感信息被解析成浮点型;
    根据预设的转换算法将浮点型压感信息转换成扩充后的压感信息,根据扩充后的压感信息匹配为电磁笔预设的书写属性信息,在电磁笔的触摸位置生成具有预设书写属性的书写轨迹。
  2. 如权利要求1所述的多电磁笔书写区分方法,其特征在于,所述扩充后的压感信息为与不同电磁笔对应的预设形式的压感信息;
    所述预设形式包括:单数形式和偶数形式,固定尾数形式。
  3. 如权利要求2所述的多电磁笔书写区分方法,其特征在于,当所述预设形式为单数形式和偶数形式、且用于区分两支电磁笔时,所述预设的转换算法为:
    将一支电磁笔压感信息中的压感值根据公式(1)进行扩充;
    将另一支电磁笔压感信息中的压感值根据公式(2)进行扩充;
    Fa1=2×Fa0+1……(1)
    Fb1=2×Fb0………(2)
    其中:Fa0、Fa1为一支电磁笔扩充前后压感信息中的压感值,Fb0、Fb1为另一支电磁笔扩充前后压感信息中的压感值。
  4. 如权利要求3所述的多电磁笔书写区分方法,其特征在于,所述预设的转换算法为:
    将浮点型的压感值根据公式(3)转换成扩充后的压感值;
    F=INT(f×(2×u-1)+0.5)……(3)
    其中:f为电磁笔浮点型的压感值,F为扩充后的压感值,u为预设的电磁笔的压感等级,INT为取整运算。
  5. 如权利要求2所述的多电磁笔书写区分方法,其特征在于,当所述预设形式为固定尾数形式、且用于区分不超过十支电磁笔时,所述预设的转换算法为:
    将电磁笔压感信息中的压感值根据公式(4)进行扩充;
    Fn1=10×Fn0+n……(4)
    其中:Fn0、Fn1为第n+1支电磁笔扩充前后压感信息中的压感值,n为0、1、……、9中任一整数。
  6. 如权利要求5所述的多电磁笔书写区分方法,其特征在于,所述预设的转换算法为:
    将浮点型的压感值根据公式(5)转换成扩充后的压感值;
    Fn=INT(fn×(2×vn-1)+0.5)……(5)
    其中:fn为第n+1支电磁笔浮点型的压感值,Fn为扩充后的压感值,vn为预设的电磁笔的压感等级,INT为取整运算。
  7. 如权利要求1至6中任一项所述的多电磁笔书写区分方法,其特征在于,所述方法还包括:
    根据扩充后的压感信息调整书写轨迹的线型粗细、颜色深浅。
  8. 如权利要求1至6中任一项所述的多电磁笔书写区分方法,其特征在于,所述方法还包括:
    当检测到对书写属性进行修改的设置信息、及触发该设置信息的扩充后的压感信息时,将修改后的书写属性信息与该扩充后的压感信息关联;
    当检测到对名称为A的电磁笔书写属性进行修改的设置信息时,将修改后的书写属性信息与该电磁笔扩充后的压感信息关联;
    其中,书写属性包括:线型、颜色、字体、标识符。
  9. 一种多电磁笔书写区分装置,其特征在于,包括:
    计算模块,用于获取具有预设电磁频率的电磁笔与电子平板接触时产生的电磁触摸信号,根据电磁触摸信号计算电磁笔的触摸位置信息、压感信息;及
    根据与预设电磁频率对应的预设扩充算法对压感信息进行扩充;
    发送模块,用于将触摸位置信息、扩充后的压感信息封装成多点触摸信号,对所述多点触摸信号进行解析,其中扩充后的压感信息被解析成浮点型;
    书写模块,用于根据预设的转换算法将浮点型压感信息转换成扩充后的压感信息,根据扩充后的压感信息匹配为电磁笔预设的书写属性信息,在电磁笔的触摸位置生成具有预设书写属性的书写轨迹。
  10. 一种电子设备,其特征在于,包括:
    处理器;
    用于存储处理器可执行指令的存储器;
    其中,所述处理器被配置为:
    获取具有预设电磁频率的电磁笔与电子平板接触时产生的电磁触摸信号,根据电磁触摸 信号计算电磁笔的触摸位置信息、压感信息;
    根据与预设电磁频率对应的预设扩充算法对压感信息进行扩充;
    将触摸位置信息、扩充后的压感信息封装成多点触摸信号,对所述多点触摸信号进行解析,其中扩充后的压感信息被解析成浮点型;
    根据预设的转换算法将浮点型压感信息转换成扩充后的压感信息,根据扩充后的压感信息匹配为电磁笔预设的书写属性信息,在电磁笔的触摸位置生成具有预设书写属性的书写轨迹。
PCT/CN2017/116083 2017-08-14 2017-12-14 多电磁笔书写区分方法、装置及电子设备 WO2019033643A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710692116.X 2017-08-14
CN201710692116.XA CN107491210B (zh) 2017-08-14 2017-08-14 多电磁笔书写区分方法、装置及电子设备

Publications (1)

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

Family

ID=60645395

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/116083 WO2019033643A1 (zh) 2017-08-14 2017-12-14 多电磁笔书写区分方法、装置及电子设备

Country Status (2)

Country Link
CN (1) CN107491210B (zh)
WO (1) WO2019033643A1 (zh)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108762579B (zh) * 2018-06-15 2021-09-28 广州华欣电子科技有限公司 一种多支压感笔书写笔迹的生成方法、系统及相关组件
CN109407962A (zh) * 2018-11-14 2019-03-01 北京科加触控技术有限公司 一种笔触显示方法、装置、书写设备、触摸设备及系统
CN109919148B (zh) * 2019-03-05 2022-01-11 郑州万特电气股份有限公司 多目标屏幕定位方法、系统及灭火实训系统及使用方法
CN111352570B (zh) 2020-03-24 2021-06-01 深圳市鸿合创新信息技术有限责任公司 书写交互方法、智能交互显示设备以及书写交互系统
CN114003137B (zh) * 2020-07-27 2024-06-25 华为技术有限公司 信息输入设备在终端上操控的方法、装置及系统
CN111813311B (zh) * 2020-09-10 2020-12-04 湖南新云网科技有限公司 轨迹颜色生成方法、装置、电子设备及可读存储介质
CN113253961B (zh) * 2021-06-02 2021-12-03 广州朗国电子科技股份有限公司 一种电子黑板控制方法、系统、电子黑板和可读介质
CN114185690A (zh) * 2021-11-23 2022-03-15 北京鸿合爱学教育科技有限公司 属性确定方法及相关设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080129709A1 (en) * 2006-12-01 2008-06-05 Chun-Lin Lin Electromagnetic Pen With Amplitude-Controlled Inking Function
CN201259668Y (zh) * 2008-09-26 2009-06-17 汉王科技股份有限公司 一种电磁式多点触摸感应装置
CN103677326A (zh) * 2012-09-19 2014-03-26 深圳市经纬科技有限公司 电磁笔的压力补偿方法、系统及终端
CN105278794A (zh) * 2014-06-20 2016-01-27 鸿合科技有限公司 基于电磁白板的多人同步手写识别方法、装置及电磁笔
CN105320390A (zh) * 2014-06-20 2016-02-10 鸿合科技有限公司 基于电磁白板的双人手写识别方法、装置及电磁笔

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4814552A (en) * 1987-12-02 1989-03-21 Xerox Corporation Ultrasound position input device
CN100583017C (zh) * 2008-03-10 2010-01-20 清华大学 带用户身份标识的无线控制激光笔及多用户光点识别系统
CN201302702Y (zh) * 2008-11-19 2009-09-02 苏州瀚瑞微电子有限公司 用于电容式触控屏体现书写笔画粗细的触控笔
CN103207706A (zh) * 2012-01-13 2013-07-17 南京先能光电科技有限公司 双光笔电子白板系统及笔区别方法
CN103870089B (zh) * 2012-12-10 2017-08-01 航天信息股份有限公司 一种输入显示系统和方法
CN203786706U (zh) * 2013-12-31 2014-08-20 深圳市天时通科技有限公司 电子白板书写系统

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080129709A1 (en) * 2006-12-01 2008-06-05 Chun-Lin Lin Electromagnetic Pen With Amplitude-Controlled Inking Function
CN201259668Y (zh) * 2008-09-26 2009-06-17 汉王科技股份有限公司 一种电磁式多点触摸感应装置
CN103677326A (zh) * 2012-09-19 2014-03-26 深圳市经纬科技有限公司 电磁笔的压力补偿方法、系统及终端
CN105278794A (zh) * 2014-06-20 2016-01-27 鸿合科技有限公司 基于电磁白板的多人同步手写识别方法、装置及电磁笔
CN105320390A (zh) * 2014-06-20 2016-02-10 鸿合科技有限公司 基于电磁白板的双人手写识别方法、装置及电磁笔

Also Published As

Publication number Publication date
CN107491210A (zh) 2017-12-19
CN107491210B (zh) 2020-06-09

Similar Documents

Publication Publication Date Title
WO2019033643A1 (zh) 多电磁笔书写区分方法、装置及电子设备
CN110362228A (zh) 一种基于液晶黑板的无限板书方法及其系统
CN103890744B (zh) 多点触摸界面方法、系统和设备
WO2022057535A1 (zh) 信息展示方法及装置、存储介质及电子设备
CN111142770B (zh) 一种生成笔锋的方法及处理装置
TW413798B (en) A method and apparatus for automatically determining signal parameters of an analog display signal received by a display unit of a computer system
CN204965380U (zh) 触摸设备用按压识别装置
JPWO2016157400A1 (ja) インクファイルの出力方法及び出力装置
US20210191684A1 (en) Control method, control device, control system, electronic whiteboard, and mobile terminal
CN110083424A (zh) 用于电子墨水投影的方法和系统
JP2017521692A (ja) 音声制御映像表示装置及び映像表示装置の音声制御方法
CN106898170A (zh) 基于语音和数字板书同步回放的习题解答教学方法
CN108345440A (zh) 一种显示添加的几何图形辅助线的方法及其装置
CN106383618A (zh) 一种智能书写系统及智能书写笔
CN105654080B (zh) 手写笔的操作控制方法及装置
CN105224221B (zh) 一种终端设备及标记方法
CN104900094A (zh) 终端中书写模拟的实现方法和装置
CN106648432A (zh) 用于大屏显示设备的控制方法和控制装置
CN105630443B (zh) 一种kvm系统的osd显示方法
CN111341162A (zh) 一种基于网络语音视频多方交互的一体式智能系统
CN106933397A (zh) 虚拟对象控制方法及装置
CN104092958B (zh) 视频信号标注方法、系统以及装置
CN103838466A (zh) 信息处理方法、装置及电子设备
CN108652211A (zh) 一种模块化智能讲台
WO2021176609A1 (ja) 入出力モデルを設定可能なペン状態検出回路

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

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

Country of ref document: EP

Kind code of ref document: A1