WO2020133108A1 - 笔迹采集方法、笔迹传输方法及装置、手写板及其系统 - Google Patents
笔迹采集方法、笔迹传输方法及装置、手写板及其系统 Download PDFInfo
- Publication number
- WO2020133108A1 WO2020133108A1 PCT/CN2018/124489 CN2018124489W WO2020133108A1 WO 2020133108 A1 WO2020133108 A1 WO 2020133108A1 CN 2018124489 W CN2018124489 W CN 2018124489W WO 2020133108 A1 WO2020133108 A1 WO 2020133108A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- handwriting
- point
- relative
- data
- encoding
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/033—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
- G06F3/0354—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of two-dimensional [2D] relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
Definitions
- Handwriting collection method handwriting transmission method and device, handwriting board and system thereof
- the present invention relates to the field of handwriting tablets, and more specifically, to a handwriting collection method, handwriting transmission method and device, handwriting board and system thereof.
- the handwriting board currently used collects sampling points on the patterns drawn on the board, and the collected data includes X and Y axis position information, pressure value information, and sampling time and other related data.
- Each sampling point uses a fixed data format to encode the collected data, where the X-axis and Y-axis position information each require 16bit data, the pressure value information requires 16bit data, and the sampling time requires 32bit data, which means that each sampling point needs to be occupied 80bit data.
- the X-axis and Y-axis position information each require 16bit data
- the pressure value information requires 16bit data
- sampling time requires 32bit data, which means that each sampling point needs to be occupied 80bit data.
- the technical problem to be solved is to provide a handwriting collection method, a handwriting transmission method and device, a handwriting board, and a system thereof in view of the above-mentioned defect that the multiple writing boards simultaneously transmit excessive amounts of data at the same time, resulting in delay.
- the technical solution adopted to solve its technical problem is: to construct a handwriting collection method, including:
- a handwriting transmission method including:
- the first coding rule is used to encode the handwriting starting point, and the coding includes the initial coordinate information encoding and the initial pressure information encoding of the handwriting starting point;
- the sampling point data is the middle point or end point of the handwriting
- the second encoding rule is used to encode the middle point or end point of the handwriting
- the encoding includes the relative coordinates of the middle point or end point of the handwriting Information coding and relative pressure information coding
- a handwriting transmission device including:
- a first acquisition unit for acquiring handwriting points after detecting a writing signal, the writing signal being generated by a writing action
- a judging unit for judging whether the handwriting point is a handwriting starting point, and the handwriting starting point includes initial coordinate information and initial pressure information;
- a first encoding unit configured to encode the starting point of the handwriting when the handwriting point is the starting point of the handwriting
- a second encoding unit configured to encode the middle point of the handwriting or the end point of the handwriting using a second encoding rule when the handwriting point is not the starting point of the handwriting, and the encoding includes the relative coordinates of the middle point or end point of the handwriting Information coding and relative pressure information coding;
- the first sending unit is configured to send a data packet, where the data packet includes at least one of an encoded handwriting start point and an encoded handwriting middle point or handwriting end point.
- the handwriting board includes a processor, the processor is used to execute the computer program stored in the memory to implement the above-mentioned handwriting collection method, or the above-mentioned handwriting transmission method .
- a handwriting board system comprising at least two handwriting boards as described above, and a data receiving end;
- the tablet is connected to the data receiving end through wireless wireless communication.
- the tablet uses a sampling frequency at a fixed time interval between adjacent handwriting points.
- the position information and pressure information of the other handwriting points are Compared with the coordinate change information of the previous stroke point, the coding of each stroke point is shorter, and the amount of data transmitted is greatly reduced, which solves the defect of delay caused by the excessive amount of data transmitted by multiple writing boards at the same time, and improves the user experience.
- FIG. 1 is a flowchart of a handwriting collection method according to an embodiment of the present invention
- FIG. 2 is a flowchart of a handwriting transmission method according to an embodiment of the present invention.
- FIG. 3 is a flowchart of a handwriting transmission method according to an embodiment of the present invention.
- FIG. 4 is a schematic structural diagram of a handwriting transmission device according to an embodiment of the present invention.
- FIG. 5 is a schematic structural diagram of a handwriting transmission device according to an embodiment of the present invention.
- FIG. 6 is a schematic structural diagram of a handwriting board provided by an embodiment of the present invention.
- FIG. 7 is a schematic structural diagram of a tablet system provided by an embodiment of the present invention.
- the handwriting collection method of this embodiment may be applied to a handwriting tablet, which includes a writing surface for receiving writing actions, and the writing surface may be a touch display screen with a touch function.
- the writing surface includes a writing sensor for sensing the writing action, and the continuous contact points in the writing process are sampled by the writing sensor to obtain handwriting.
- the writing sensor is a flexible sensor. It should be noted that this method is a process of acquiring the handwriting of strokes, that is, the continuous trajectory formed from the writing of the pen to the lifting of the pen during the writing process. Therefore, when writing a Chinese character or drawing a graphic, this method can be implemented repeatedly. Further
- the handwriting collection method in this embodiment includes:
- S11 Obtain reference sample data of the starting point of handwriting, the reference sample data includes initial coordinate information and initial pressure information.
- the tablet enters an input detection state to detect whether a writing signal is generated, wherein the writing signal is generated by a user's writing action applied by a physical contact or a stylus touching the writing surface.
- the reference sampling data of the starting point of the handwriting is obtained through the writing sensor, where the starting point of the handwriting is the contact point between the stylus and the writing surface at the beginning of the writing action, which is the first handwriting point of the handwriting.
- the reference sampling data includes initial coordinate information and initial pressure information, and the initial coordinate information includes X-axis coordinate values and Y-axis coordinate values on the writing surface.
- the reference sample data is encoded according to the first encoding rule.
- the initial coordinate information can be 32-bit encoded
- the initial pressure information can be 16-bit encoded.
- the encoded reference sample data includes 32-bit encoded initial coordinate information and 16-bit encoded initial pressure information.
- S12. Acquire relative sampling data on the middle point of the handwriting and the end point of the handwriting.
- the relative sampling data includes relative coordinate information and relative pressure information.
- a preset sampling interval needs to be set in advance, and the relative sampling data at the middle point of the handwriting and the end point of the handwriting is obtained according to the preset sampling interval time, that is, the sampling point data of the sampling points on the handwriting are collected one by one according to the preset sampling interval until the End sampling after the end of the handwriting.
- the relative sampling data obtained at each sampling point includes relative coordinate information and relative pressure information, where the relative coordinate information is the coordinate change information of the current sampling point relative to the previous sampling point; the relative pressure information is the current sampling point The pressure change information of the point relative to the previous sampling point.
- the relative coordinate information and relative pressure information are encoded according to the second encoding rule.
- the relative coordinate information may be 18-bit encoded
- the relative pressure information may be 8-bit encoded.
- the encoded relative sampling data includes 16-bit encoded relative coordinate information and 8-bit encoded relative pressure information.
- the smaller the preset sampling interval the greater the number of sampling points, and the smaller the change in coordinates and pressure between adjacent sampling points, the fewer the number of encoding bits required in the encoding process; the greater the preset sampling interval , The smaller the number of sampling points, the greater the change in coordinates and pressure between adjacent sampling points, which is required in the encoding process The more digits of code. Therefore, under the premise that the number of encoding bits is determined, the data compression rate is inversely proportional to the number of sampling points.
- the principle of selecting the sampling interval is that under the premise that the 18-bit encoded coordinate information and the 8-bit encoded relative pressure information satisfy the coordinates and pressure information that can reflect the relative sampling point, the larger the sampling interval, the data compression rate The higher.
- the preset sampling interval is a constant value, that is, the interval between every two adjacent sampling points is the same. Therefore, compared with the prior art, all sampling points in this application have no time coding, which can greatly reduce The small coding length greatly reduces the amount of data that needs to be transmitted. When multiple handwriting boards are connected to one display terminal at the same time, no display delay occurs, and smooth writing of multiple handwriting boards is achieved.
- each sampling point collects absolute coordinate information and absolute pressure information, resulting in a large amount of data after encoding of the absolute coordinate information and absolute pressure information; considering the coordinate information and The pressure information does not change much.
- This embodiment uses relative coordinate information and relative pressure information to describe the sampling point, where the relative coordinate information is the coordinate change information of the current sampling point relative to the previous sampling point; the relative pressure information is the relative of the current sampling point The pressure change information at the previous sampling point; thus greatly reducing the amount of data encoded at the sampling point.
- each sampling point needs to collect time information, resulting in a larger encoded data for each sampling point; therefore, this embodiment uses a preset sampling interval for sampling, then the time information of each sampling point is determined in advance It is no longer necessary to collect time information of each sampling point, thereby greatly reducing the amount of data after the sampling point is encoded. Therefore, in this embodiment, by using relative coordinate information and relative pressure information, and sampling at a preset time interval, the amount of data after sampling point encoding is greatly reduced, and different sampling units can be adjusted for the display differences of different display devices. Under the condition of ensuring the lossless compression of the data, a compression rate of no more than 30% can be achieved. When multiple display tablets are connected to one display terminal at the same time, there will be no display delay and smooth writing of multiple display tablets.
- the preset sampling interval may be set according to the size and resolution of the display handwriting panel.
- the number of sampling points may be increased, that is, the preset sampling interval may be decreased ;
- the method further includes: adding response data for marking whether the data packet is delivered to the encoded data of the sampling point data, and encoding the response data.
- the response data is 8-bit encoded. If the confirmation response sent by the receiving end is received after sending the data packet, it means that the data packet has been delivered; if the confirmation response sent by the receiving end is not received after sending the data packet, then It means that the data packet has not been delivered and the data packet needs to be resent. By setting the response data, you can ensure that each sampling point data is sent to the data receiving end.
- the preset sampling interval between the collection points is set before acquiring the collection point data.
- the relative coordinate information of the other sampling points except the first sampling point is that the current sampling point is relative to the previous
- the coordinate change information of a sampling point; the relative pressure information is the pressure change information of the current sampling point relative to the previous sampling point. Therefore, each sampling point no longer needs time information, the coding is shorter, and the amount of collected data is also greatly reduced.
- the handwriting transmission method of this embodiment may be applied to a handwriting tablet.
- the handwriting tablet includes a writing surface for receiving writing actions.
- the writing surface may be a touch display screen with a touch function.
- the writing surface includes a writing sensor for sensing the writing action, and the writing sensor samples the contact points in the writing process to obtain handwriting.
- the writing sensor is a flexible sensor. It should be noted that this method obtains a handwriting of a stroke, that is, a continuous trajectory formed from writing down to lifting during the writing process. Therefore, when writing a Chinese character or drawing a graphic, this method can be implemented repeatedly. Further, the handwriting transmission method includes:
- the tablet After the tablet is started, it is detected whether a writing signal is generated, and the writing signal is generated by a user's writing action through a limb contact or a stylus pen. After detecting the writing signal, the handwriting sensor starts to acquire handwriting points. Since sampling needs to be performed at fixed time intervals in this embodiment, before detecting the writing signal, the sampling interval time between adjacent handwriting points is set as the preset sampling interval, that is, the tablet and the data packet receiving end need to set a preset Set the sampling interval.
- the handwriting starting point is different from other handwriting points in the handwriting
- the handwriting starting point is the reference sampling data
- the data of the other handwriting points is relative sampling data
- this implementation the contents and coding methods of the reference sample data and the relative sample data are different, so after acquiring the handwriting point data, it is necessary to determine whether the handwriting point data is the reference sampling data, that is, to determine whether the handwriting point is Handwriting start point.
- determining whether the handwriting point data is the reference sampling data includes: determining whether the count value is equal to the initial count value, and the initial count value is the count value of the handwriting point corresponding to the starting point of the handwriting. If the count value is equal to the initial count value, the handwriting point is the starting point of the handwriting, and the handwriting point data is the reference sampling data; if the count value is not equal to the initial count value, the handwriting point is not the starting point of the handwriting, and the handwriting point data is not the reference sampling data.
- the first encoding rule is used to encode the handwriting starting point, and the encoding includes the initial coordinate information encoding and the initial pressure information encoding of the handwriting starting point.
- the first coding rule includes: 32-bit encoding of the initial coordinate information and 16-bit encoding of the initial pressure information.
- the sampling point data is the handwriting middle point or handwriting end point
- the second encoding rule is used to encode the handwriting middle point or handwriting end point
- the encoding includes the relative coordinates of the handwriting middle point or handwriting end point Information coding and relative pressure information coding.
- the relative coordinate information is the coordinate change information of the current handwriting point relative to the previous stroke point;
- the relative pressure information is the pressure change information of the current handwriting point relative to the previous stroke point.
- the second encoding rule includes: encoding 16-bit relative coordinate information and encoding 8-bit relative pressure information.
- S25 Send a data packet, where the data packet includes at least one of a handwriting start point obtained by encoding and a middle point or handwriting end point obtained by encoding.
- the encoded data packets are sent out via wireless communication.
- Wireless communication methods include but are not limited to Bluetooth wireless communication methods, WIFI wireless communication methods, and so on.
- the preset sampling interval between the collection points is set before acquiring the data of the collection points.
- the relative coordinate information is the current sampling point relative to the previous sampling point.
- Coordinate change information Relative pressure information is the pressure change information of the current sampling point relative to the previous sampling point. Therefore, each sampling point no longer needs time information, the coding is shorter, and the amount of data in the transmission process is also greatly reduced. Examples
- the handwriting transmission method of this embodiment further includes:
- S26 Detect whether a confirmation response sent by the receiving end is received. If the confirmation response sent by the receiving end is received after sending the data packet, it means that the data packet has been delivered; if the confirmation response sent by the receiving end is not received after sending the data packet, it means that the data packet has not been delivered and needs to be resent data pack. By setting the response data, you can ensure that every handwriting point data is sent to the data receiving end. Further, detecting whether the confirmation response sent by the receiving end is received includes: detecting whether the confirmation response sent by the receiving end is received within a preset waiting time, and the preset waiting time can be set as needed. Alternatively, the response data used to mark whether the data packet is delivered can be 8-bit encoded.
- each word is about 7.3 strokes on average.
- sampling is performed at fixed time intervals, so the middle point or end point of the handwriting only includes relative coordinate information and relative pressure information, where the relative coordinate information is the coordinate change information of the current sampling point relative to the previous sampling point; relative pressure information It is the pressure change information of the current sampling point relative to the previous sampling point.
- the relative coordinate information is the coordinate change information of the current sampling point relative to the previous sampling point
- relative pressure information It is the pressure change information of the current sampling point relative to the previous sampling point.
- the relative coordinate information and relative pressure information need to be encoded, and the time information is no longer required to be collected and encoded, thereby greatly reducing the encoding length. For example, if the relative coordinate information is encoded with 18 bits, and the relative pressure information is encoded with 8 bits, then theoretically only 1.3Mbps is needed to write smoothly, and the data compression ratio can reach nearly 40%.
- a confirmation-retransmission mechanism is set to ensure that the data receiving end can receive the sampling point data of each sampling point, thereby ensuring clear and consistent handwriting.
- the handwriting transmission device of this embodiment may be applied to a handwriting tablet, which includes
- the writing surface of the writing action can be a touch display screen with a touch function.
- the writing surface includes a writing sensor for sensing the writing action, and the writing sensor samples the contact points in the writing process to obtain handwriting.
- the writing sensor is a flexible sensor. It should be noted that the device acquires the handwriting of a stroke, that is, the continuous trajectory formed from the pen dropping to the pen lifting during the writing process. Therefore, when writing a Chinese character or drawing a figure, it can be realized by repeatedly executing the device. Further, the handwriting transmission device of this embodiment includes:
- the first collection unit 41 is configured to acquire handwriting points after detecting a writing signal, and the writing signal is generated by the writing action.
- the tablet After the tablet is activated, it is detected whether a writing signal is generated, and the writing signal is generated by a user's writing action through a limb contact or a stylus pen. After detecting the writing signal, the handwriting sensor starts to acquire handwriting points. Since sampling needs to be performed at fixed time intervals in this embodiment, before detecting the writing signal, the sampling interval time between adjacent handwriting points is set as the preset sampling interval, that is, the tablet and the data packet receiving end need to set a preset Set the sampling interval.
- the judging unit 42 is configured to judge whether the handwriting point is a handwriting starting point, and the handwriting starting point includes initial coordinate information and initial pressure information.
- the handwriting starting point is different from other handwriting points in the handwriting
- the handwriting starting point is the reference sampling data
- the data of the other handwriting points is the relative sampling data
- this implementation the contents and encoding methods of the reference sample data and the relative sample data are different, so after acquiring the handwriting point data, it is necessary to determine whether the handwriting point data is the reference sampling data, that is, whether the handwriting point is the handwriting starting point.
- judging whether the handwriting point data is the reference sampling data includes: judging whether the count value is equal to the initial count value, and the initial count value is the count value of the handwriting point corresponding to the starting point of the handwriting. If the count value is equal to the initial count value, the handwriting point is the starting point of the handwriting, and the handwriting point data is the reference sampling data; if the count value is not equal to the initial count value, the handwriting point is not the starting point of the handwriting, and the handwriting point data is not the reference sampling data.
- the first encoding unit 43 is configured to encode the starting point of the handwriting when the handwriting point is the starting point of the handwriting.
- the first encoding rule includes: 32-bit encoding of the initial coordinate information and 16-bit encoding of the initial pressure information.
- the second encoding unit 44 is configured to encode the middle point of the handwriting or the end point of the handwriting using the second encoding rule when the handwriting point is not the starting point of the handwriting, and the encoding includes encoding of relative coordinate information and relative pressure of the middle point or end point of the handwriting Information coding.
- the relative coordinate information is the coordinate change information of the current handwriting point relative to the previous stroke point; the relative pressure information is the pressure change information of the current handwriting point relative to the previous stroke point.
- the second encoding rule includes: encoding relative coordinate information by 16 bits, and encoding relative pressure information by 8 bits.
- the first sending unit 45 is configured to send a data packet, and the data packet includes at least one of a handwriting start point obtained by coding and a middle point or handwriting end point obtained by coding.
- the encoded data packets are sent via wireless communication.
- Wireless communication methods include but are not limited to Bluetooth wireless communication methods, WIF I wireless communication methods, and the like.
- the preset sampling interval between the collection points is set before acquiring the collection point data.
- the relative coordinate information is the coordinate change information of the current sampling point relative to the previous sampling point;
- the relative pressure information is the pressure change information of the current sampling point relative to the previous sampling point. Therefore, each sampling point no longer needs time information, the coding is shorter, and the amount of data in the transmission process is greatly reduced
- the handwriting transmission device of this embodiment further includes:
- the detection unit 46 is configured to detect whether a confirmation response sent by the receiving end is received. If the confirmation response sent by the receiving end is received after sending the data packet, it means that the data packet has been delivered; if the confirmation response sent by the receiving end is not received after sending the data packet, it means that the data packet has not been delivered and needs to be resent data pack. By setting the response data, you can ensure that every handwriting point data is sent to the data receiving end. Further, detecting whether the confirmation response sent by the receiving end is received includes: detecting whether the confirmation response sent by the receiving end is received within a preset waiting time, and the preset waiting time can be set as needed. As an option , The response data used to mark whether the data packet is delivered can be encoded with 8 bits.
- the second sending unit 47 is configured to resend the encoded data packet if the confirmation response is not received.
- the confirmation-retransmission mechanism is set to ensure that the data receiving end can receive the sampling point data of each sampling point, thereby ensuring clear and consistent handwriting.
- the handwriting board of this embodiment includes a processor, which is used to implement the above-mentioned handwriting collection method or the above-mentioned handwriting transmission method when executing the computer program stored in the memory.
- the tablet system of this embodiment includes at least two tablet as described above, and a data receiving terminal; the tablet is connected to the data receiving terminal through wireless wireless communication.
- Wireless communication methods include but are not limited to Bluetooth wireless communication methods, WIFI wireless communication methods, and so on.
- the data receiving end includes a display screen for displaying handwriting.
- the preset sampling interval between the collection points is set before acquiring the collection point data.
- the relative coordinate information is the current sampling point relative to the previous sampling point.
- Coordinate change information Relative pressure information is the pressure change information of the current sampling point relative to the previous sampling point. Therefore, each sampling point no longer needs time information, the coding is shorter, and the amount of data in the transmission process is greatly reduced
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Character Discrimination (AREA)
Abstract
笔迹采集方法、笔迹传输方法及装置、手写板及其系统。笔迹传输方法包括:检测到书写信号后获取笔迹点,书写信号由书写动作产生;判断笔迹点是否为笔迹起点;若是,则采用第一编码规则对笔迹起点进行编码,编码包括笔迹起点的初始坐标信息编码和初始压力信息编码;若否,则采样点数据为笔迹中间点或笔迹终点,采用第二编码规则对笔迹中间点或笔迹终点进行编码,编码包括笔迹中间点或笔迹终点的相对坐标信息编码和相对压力信息编码。写字板使用相邻笔迹点之间固定时间间隔的采样频率,并在相邻笔迹点使用相对位置信息和相对压力信息,从而使每一个笔迹点的编码更短,传输数据量大大减小,提高用户体验。
Description
笔迹釆集方法、 笔迹传输方法及装置、 手写板及其系统 技术领域
[0001] 本发明涉及手写板领域, 更具体地说, 涉及一种笔迹采集方法、 笔迹传输方法 及装置、 手写板及其系统。
背景技术
[0002] 目前所使用的手写板对在板子上绘制的图案进行抽样点采集, 采集数据包括 X Y轴位置信息、 压力值信息和采样时间等相关数据。 每个采样点使用固定数据格 式对采集数据进行编码, 其中 X轴和 Y轴的位置信息各需要 16bit数据, 压力值信 息需要 16bit数据, 采样时间需要 32bit数据, 这意味着每一个采样点需要占用 80bi t数据。 使用现有技术在会议或课堂教学等多人同时在线书写和展示场景下, 假 定 40人, 平均每 300ms采集 300个点完成一个字书写, 则理论上需要近 3.2Mbps的 带宽的才能进行流畅书写。
[0003] 但由于蓝牙等低功耗无线设备, 数据传输速率有限, 多台设备同时产生的数据 量过大导致实时展示时出现明显的延迟, 非常影响实际使用, 用户体验差。
发明概述
技术问题
[0004] 需要解决的技术问题在于, 针对现有技术的上述多台写字板同时传输数据量过 大导致延迟的缺陷, 提供一种笔迹采集方法、 笔迹传输方法及装置、 手写板及 其系统。
问题的解决方案
技术解决方案
[0005] 解决其技术问题所采用的技术方案是: 构造一种笔迹采集方法, 包括:
[0006] 获取笔迹起点的基准采样数据, 所述基准采样数据包括初始坐标信息和初始压 力信息;
[0007] 获取笔迹中间点及笔迹终点上的相对采样数据, 所述相对采样数据包括相对坐 标信息和相对压力信息。
[0008] 另一方面, 还提供一种笔迹传输方法, 包括:
[0009] 检测到书写信号后获取笔迹点, 所述书写信号由书写动作产生;
[0010] 判断所述笔迹点是否为笔迹起点;
[0011] 若是, 则采用第一编码规则对所述笔迹起点进行编码, 编码包括所述笔迹起点 的初始坐标信息编码和初始压力信息编码;
[0012] 若否, 则所述采样点数据为笔迹中间点或笔迹终点, 采用第二编码规则对所述 笔迹中间点或笔迹终点进行编码, 编码包括所述笔迹中间点或笔迹终点的相对 坐标信息编码和相对压力信息编码;
[0013] 发送数据包, 所述数据包包括编码得到的笔迹起点和编码得到的笔迹中间点或 笔迹终点中的至少一项。
[0014] 另一方面, 还提供一种笔迹传输装置, 包括:
[0015] 第一采集单元, 用于检测到书写信号后获取笔迹点, 所述书写信号由书写动作 产生;
[0016] 判断单元, 用于判断所述笔迹点是否为笔迹起点, 所述笔迹起点包括初始坐标 信息和初始压力信息;
[0017] 第一编码单元, 用于当所述笔迹点为笔迹起点时, 采用第一编码规则对所述笔 迹起点进行编码;
[0018] 第二编码单元, 用于当所述笔迹点不是笔迹起点时, 采用第二编码规则对所述 笔迹中间点或笔迹终点进行编码, 编码包括所述笔迹中间点或笔迹终点的相对 坐标信息编码和相对压力信息编码;
[0019] 第一发送单元, 用于发送数据包, 所述数据包包括编码得到的笔迹起点和编码 得到的笔迹中间点或笔迹终点中的至少一项。
[0020] 另一方面, 还提供一种手写板, 所述手写板包括处理器, 所述处理器用于执行 存储器中存储的计算机程序时实现如上述的笔迹采集方法, 或如上述的笔迹传 输方法。
[0021] 另一方面, 还提供一种手写板系统, 包括至少两个如上述的手写板、 以及数据 接收端;
[0022] 所述手写板通过无线无线通信方式连接所述数据接收端。
发明的有益效果
有益效果
[0023] 上述方案中, 写字板使用相邻笔迹点之间固定时间间隔的采样频率, 对于书写 过程中的每一笔, 除第一个笔迹点外, 其他笔迹点的位置信息和压力信息是相 对于前一笔迹点的坐标变化信息, 从而使每一个笔迹点的编码更短, 传输数据 量大大减小, 解决多台写字板同时传输数据量过大导致延迟的缺陷, 提高用户 体验。
对附图的简要说明
附图说明
[0024] 下面将结合附图及实施例对本发明作进一步说明, 附图中:
[0025] 图 1是本发明一实施例提供的笔迹采集方法的流程图;
[0026] 图 2是本发明一实施例提供的笔迹传输方法的流程图;
[0027] 图 3是本发明一实施例提供的笔迹传输方法的流程图;
[0028] 图 4是本发明一实施例提供的笔迹传输装置的结构示意图;
[0029] 图 5是本发明一实施例提供的笔迹传输装置的结构示意图;
[0030] 图 6是本发明一实施例提供的手写板的结构示意图;
[0031] 图 7是本发明一实施例提供的手写板系统的结构示意图。
实施该发明的最佳实施例
本发明的最佳实施方式
[0032] 为了对本发明的技术特征、 目的和效果有更加清楚的理解, 现对照附图详细说 明本发明的具体实施方式。
[0033] 如图 1所示, 本实施例的笔迹采集方法可应用于手写板, 手写板包括用于接收 书写动作的书写面, 该书写面可选用具有触摸功能的触摸显示屏。 书写面包括 用于感应书写动作的书写传感器, 通过书写传感器采样书写过程中的连续接触 点, 获取手写笔迹。 优选地, 书写传感器为柔性传感器。 需要说明的是, 该方 法是一个笔画的笔迹的获取过程, 即书写过程中从落笔到提笔所形成的连续轨 迹。 因此, 书写一个汉字或绘制图形时, 可通过重复执行该方法实现。 进一步
, 本实施例的笔迹采集方法包括:
[0034] S11、 获取笔迹起点的基准采样数据, 基准采样数据包括初始坐标信息和初始 压力信息。
[0035] 具体的, 启动手写板后手写板进入输入检测状态, 检测是否有书写信号产生, 其中书写信号由用户通过肢体接触或手写笔接触书写面施加的书写动作产生。 检测到书写信号后, 开始通过书写传感器获取笔迹起点的基准采样数据, 此处 的笔迹起点即书写动作开始时手写笔与书写面的接触点, 也就是笔迹的第一个 笔迹点。 基准采样数据包括初始坐标信息和初始压力信息, 初始坐标信息包括 书写面上的 X轴坐标值和 Y轴坐标值。 获取基准采样数据后按照第一编码规则对 基准采样数据进行编码。 作为选择, 可对初始坐标信息进行 32位编码, 对初始 压力信息进行 16位编码, 编码后基准采样数据包括 32位编码的初始坐标信息和 1 6位编码的初始压力信息。
[0036] S12、 获取笔迹中间点及笔迹终点上的相对采样数据, 相对采样数据包括相对 坐标信息和相对压力信息。
[0037] 具体的, 在完成对笔迹起点的采样后, 需进一步对笔迹的笔迹中间点及笔迹终 点进行采样, 以获取一个完整笔迹数据。 本实施例需预先设置预设采样间隔, 根据预设采样间隔时间获取笔迹中间点及笔迹终点上的相对采样数据, 即按照 该预设采样间隔逐个采集笔迹上采样点的采样点数据, 直至该笔迹的终点后结 束采样。 从第二采样点开始, 每个采样点获取的相对采样数据包括相对坐标信 息和相对压力信息, 其中相对坐标信息为当前采样点相对于前一采样点的坐标 变化信息; 相对压力信息为当前采样点相对于前一采样点的压力变化信息。 获 取采样点数据的相对坐标信息和相对压力信息后按照第二编码规则对相对坐标 信息和相对压力信息进行编码。
[0038] 作为选择, 可对相对坐标信息进行 18位编码, 对相对压力信息进行 8位编码, 编码后的相对采样数据包括 16位编码的相对坐标信息和 8位编码的相对压力信息 。 替换性地, 预设采样间隔越小, 采样点的数量越多, 相邻采样点之间的坐标 和压力变化越小, 在编码过程中需要的编码位数越少; 预设采样间隔越大, 采 样点的数量越少, 相邻采样点之间的坐标和压力变化越大, 在编码过程中需要
的编码位数越多。 所以在编码位数确定的前提下, 数据压缩率与采样点的数量 成反比。 因此, 一实施例中, 选取采样间隔的原则是, 在 18位编码坐标信息和 8 位编码相对压力信息满足可体现相对采样点的坐标和压力信息的前提下, 采样 间隔越大, 数据压缩率越高。 本实施例中预设采样间隔为一恒值, 即每两个相 邻采样点之间的间隔相同, 因此, 相对于现有技术, 本申请所有采样点均没有 时间编码, 这样就可以大大减小编码长度, 从而使需要传输的数据量大大减小 。 在多个手写板同时连接到一个显示终端时, 不会出现显示延迟, 实现多个手 写板的流畅书写。
[0039] 5见有技术中每个采样点采集的是绝对坐标信息和绝对压力信息, 从而导致绝对 坐标信息和绝对压力信息在编码后数据量较大; 考虑到相邻采样点的坐标信息 和压力信息都变化不大, 本实施例采用相对坐标信息和相对压力信息来描述采 样点, 其中相对坐标信息为当前采样点相对于前一采样点的坐标变化信息; 相 对压力信息为当前采样点相对于前一采样点的压力变化信息; 从而使得采样点 编码后的数据量大大减小。 另外, 5见有技术中每个采样点都需要采集时间信息 , 导致每个采样点的编码数据较大; 所以本实施例使用预设采样间隔进行采样 , 则每个采样点的时间信息提前确定, 不再需要采集每个采样点的时间信息, 从而使得采样点编码后的数据量大大减小。 所以, 本实施例通过采用相对坐标 信息和相对压力信息、 以及预设时间间隔采样, 使得采样点编码后的数据量大 大减小, 对于不同的显示设备的显示差异可以调整不同的采样单位, 在保证数 据无损压缩的条件下, 可做到不高于 30%的压缩率。 当多台手写板同时连接一台 显示终端时, 不会出现显示延迟, 实现多个手写板的流畅书写。
[0040] 作为选择, 预设采样间隔可根据显示笔迹面板的尺寸和分辨率设定, 当面板的 尺寸越大、 分辨率越高时, 可增大采样点数量, 即减小预设采样间隔; 当面板 的尺寸越小、 分辨率越低时, 可减小采样点数量, 即增大预设采样间隔。
[0041] 进一步, 在对采样点数据进行编码后还包括: 在采样点数据的编码数据上添加 用于标记数据包是否送达的响应数据, 并对响应数据进行编码。 作为选择, 对 响应数据进行 8位编码。 若在发送数据包后接收到接收端发送的确认响应, 则说 明数据包已经送达; 若在发送数据包后没有接收到接收端发送的确认响应, 则
说明数据包没有送达, 需要重新发送数据包。 通过设置响应数据可以确保每一 个采样点数据都发送到数据接收端。
[0042] 本实施例在获取采集点数据前设置采集点之间的预设采样间隔, 在采样过程中 , 除第一个采样点外, 其他采样点的相对坐标信息为当前采样点相对于前一采 样点的坐标变化信息; 相对压力信息为当前采样点相对于前一采样点的压力变 化信息。 从而每一个采样点不再需要时间信息, 编码更短, 采集数据量也大大 减小。
[0043] 如图 2所示, 本实施例的笔迹传输方法可应用于手写板, 手写板包括用于接收 书写动作的书写面, 该书写面可选用具有触摸功能的触摸显示屏。 书写面包括 用于感应书写动作的书写传感器, 通过书写传感器采样书写过程中的接触点, 获取手写笔迹。 优选地, 书写传感器为柔性传感器。 需要说明的是, 该方法获 取的是一个笔画的笔迹, 即书写过程中从落笔到提笔所形成的连续轨迹。 因此 , 书写一个汉字或绘制图形时, 可通过重复执行该方法实现。 进一步, 该笔迹 传输方法包括:
[0044] S21、 检测到书写信号后获取笔迹点, 书写信号由书写动作产生。
[0045] 具体的, 启动手写板后检测是否有书写信号产生, 书写信号由用户通过肢体接 触或手写笔施加的书写动作产生。 检测到书写信号后, 开始通过书写传感器获 取笔迹点。 因本实施例中需要按照固定的时间间隔来采样, 所以在检测书写信 号前, 设置相邻笔迹点之间的采样间隔时间为预设采样间隔, 即需要手写板与 数据包接收端预先设置预设采样间隔。
[0046] 进一步, 检测到书写信号后获取笔迹点包括: 检测到书写信号后获取笔迹点, 并设置用于标记笔迹点个数的计数值; 例如, 设置笔迹起点的计数值 COUnter=0 , 以后每增加一个采样点 Counter值加 1。
[0047] S22、 判断笔迹点是否为笔迹起点。
[0048] 具体的, 本实施例中所选择的笔迹点中, 笔迹起点有别于笔迹中的其他笔迹点 , 笔迹起点为基准采样数据, 而其他笔迹点的数据为相对采样数据, 且本实施 例中基准采样数据和相对采样数据的内容和编码方式都是不同的, 所以在获取 笔迹点数据后需要判断笔迹点数据是否为基准采样数据, 即判断笔迹点是否为
笔迹起点。
[0049] 进一步, 判断笔迹点数据是否为基准采样数据包括: 判断计数值是否等于初始 计数值, 初始计数值为笔迹起点对应笔迹点的计数值。 若计数值等于初始计数 值, 说明该笔迹点为笔迹起点, 笔迹点数据为基准采样数据; 若计数值不等于 初始计数值, 说明该笔迹点不是笔迹起点, 笔迹点数据不是基准采样数据。 例 如初始计数值为 0, 即笔迹起点对应的计数值为 0, 通过判断计数值 Counter是否 等于 0来判断笔迹点是不是笔迹起点。 若 Counter=0, 说明笔迹点为笔迹起点, 笔 迹点数据为基准采样数据; 若 Counter^O, 说明笔迹点不是笔迹起点, 笔迹点数 据不是基准采样数据, 则采样点数据为笔迹中间点或笔迹终点。
[0050] S23、 若笔迹点为笔迹起点, 则采用第一编码规则对笔迹起点进行编码, 编码 包括笔迹起点的初始坐标信息编码和初始压力信息编码。 其中第一编码规则包 括: 对初始坐标信息进行 32位编码, 对初始压力信息进行 16位编码。
[0051] S24、 若笔迹点不是笔迹起点, 则采样点数据为笔迹中间点或笔迹终点, 采用 第二编码规则对笔迹中间点或笔迹终点进行编码, 编码包括笔迹中间点或笔迹 终点的相对坐标信息编码和相对压力信息编码。 其中相对坐标信息为当前笔迹 点相对于前一笔迹点的坐标变化信息; 相对压力信息为当前笔迹点相对于前一 笔迹点的压力变化信息。 作为选择, 第二编码规则包括: 对相对坐标信息进行 1 6位编码, 对相对压力信息进行 8位编码。
[0052] S25、 发送数据包, 数据包包括编码得到的笔迹起点和编码得到的笔迹中间点 或笔迹终点中的至少一项。 作为选择, 通过无线通信方式将编码得到的数据包 发送出去。 无线通信方式包括但不限于蓝牙无线通信方式、 WIFI无线通信方式 等。
[0053] 本实施例在获取采集点数据前设置采集点之间的预设采样间隔, 在采样过程中 , 除第一个采样点外, 相对坐标信息为当前采样点相对于前一采样点的坐标变 化信息; 相对压力信息为当前采样点相对于前一采样点的压力变化信息。 从而 每一个采样点不再需要时间信息, 编码更短, 发送过程中的数据量也大大减小 发明实施例
实施例
[0054] 如图 3所示, 在上述实施例的基础上, 本实施例的笔迹传输方法在发送数据包 之后还包括:
[0055] S26、 检测是否接收到接收端发送的确认响应。 若在发送数据包后接收到接收 端发送的确认响应, 则说明数据包已经送达; 若在发送数据包后没有接收到接 收端发送的确认响应, 则说明数据包没有送达, 需要重新发送数据包。 通过设 置响应数据可以确保每一个笔迹点数据都发送到数据接收端。 进一步, 检测是 否接收到接收端发送的确认响应包括: 检测在预设等待时间内是否接收到接收 端发送的确认响应, 预设等待时间可根据需要进行设置。 作为选择, 可对用于 标记数据包是否送达的响应数据进行 8位编码。
[0056] S27、 若接收到接收端发送的确认响应, 则重新发送数据包。
[0057] S28、 若未接收到接收端发送的确认响应, 则执行步骤: 检测到书写信号后获 取笔迹点。
[0058] 对于背景技术中的例子, 使用现有技术后: 在会议或课堂教学等多人同时在线 书写和展示场景下, 假定 40人, 平均每 300ms采集 300个点完成一个字书写, 则 理论上需要近 3.2Mbps的带宽的才能进行流畅书写。
[0059] 采用本实施例的方案后: 40人, 平均每 300ms采集 300个点完成一个字书写, 且 按中文字使用频率统计, 每个字平均是 7.3笔左右。 本实施例以固定的时间间隔 进行采样, 所以笔迹中间点或笔迹终点仅包括相对坐标信息和相对压力信息, 其中相对坐标信息为当前采样点相对于前一采样点的坐标变化信息; 相对压力 信息为当前采样点相对于前一采样点的压力变化信息。 在编码过程中仅需要对 相对坐标信息和相对压力信息进行编码, 不再需要对时间信息进行采集和编码 , 从而大大减小编码长度。 例如对相对坐标信息进行 18位编码, 对相对压力信 息进行 8位编码, 则理论上只需要 1.3Mbps的速率就能进行流畅书写, 数据压缩 比能达到近 40%。
[0060] 本实施例通过设置确认 -重发机制, 保证数据接收端能够收到每一个采样点的 采样点数据, 从而保证笔迹的清晰连贯。
[0061] 如图 4所示, 本实施例的笔迹传输装置可应用于手写板, 手写板包括用于接收
书写动作的书写面, 该书写面可选用具有触摸功能的触摸显示屏。 书写面包括 用于感应书写动作的书写传感器, 通过书写传感器采样书写过程中的接触点, 获取手写笔迹。 优选地, 书写传感器为柔性传感器。 需要说明的是, 该装置获 取的是一个笔画的笔迹, 即书写过程中从落笔到提笔所形成的连续轨迹。 因此 , 书写一个汉字或绘制图形时, 可通过重复执行该装置实现。 进一步, 本实施 例的笔迹传输装置包括:
[0062] 第一采集单元 41, 用于检测到书写信号后获取笔迹点, 书写信号由书写动作产 生。
[0063] 具体的, 启动手写板后检测是否有书写信号产生, 书写信号由用户通过肢体接 触或手写笔施加的书写动作产生。 检测到书写信号后, 开始通过书写传感器获 取笔迹点。 因本实施例中需要按照固定的时间间隔来采样, 所以在检测书写信 号前, 设置相邻笔迹点之间的采样间隔时间为预设采样间隔, 即需要手写板与 数据包接收端预先设置预设采样间隔。
[0064] 进一步, 检测到书写信号后获取笔迹点包括: 检测到书写信号后获取笔迹点, 并设置用于标记笔迹点个数的计数值; 例如, 设置笔迹起点的计数值 COUnter=0 , 以后每增加一个采样点 Counter值加 1
[0065] 判断单元 42, 用于判断笔迹点是否为笔迹起点, 笔迹起点包括初始坐标信息和 初始压力信息。
[0066] 具体的, 本实施例中所选择的笔迹点中, 笔迹起点有别于笔迹中的其他笔迹点 , 笔迹起点为基准采样数据, 而其他笔迹点的数据为相对采样数据, 且本实施 例中基准采样数据和相对采样数据的内容和编码方式都是不同的, 所以在获取 笔迹点数据后需要判断笔迹点数据是否为基准采样数据, 即判断笔迹点是否为 笔迹起点。
[0067] 进一步, 判断笔迹点数据是否为基准采样数据包括: 判断计数值是否等于初始 计数值, 初始计数值为笔迹起点对应笔迹点的计数值。 若计数值等于初始计数 值, 说明该笔迹点为笔迹起点, 笔迹点数据为基准采样数据; 若计数值不等于 初始计数值, 说明该笔迹点不是笔迹起点, 笔迹点数据不是基准采样数据。 例 如初始计数值为 0, 即笔迹起点对应的计数值为 0, 通过判断计数值 Counter是否
等于 0来判断笔迹点是不是笔迹起点。 若 Counter=0, 说明笔迹点为笔迹起点, 笔 迹点数据为基准采样数据; 若 Counter^O, 说明笔迹点不是笔迹起点, 笔迹点数 据不是基准采样数据, 则采样点数据为笔迹中间点或笔迹终点。
[0068] 第一编码单元 43 , 用于当笔迹点为笔迹起点时, 采用第一编码规则对笔迹起点 进行编码。 其中第一编码规则包括: 对初始坐标信息进行 32位编码, 对初始压 力信息进行 16位编码。
[0069] 第二编码单元 44, 用于当笔迹点不是笔迹起点时, 采用第二编码规则对笔迹中 间点或笔迹终点进行编码, 编码包括笔迹中间点或笔迹终点的相对坐标信息编 码和相对压力信息编码。 其中相对坐标信息为当前笔迹点相对于前一笔迹点的 坐标变化信息; 相对压力信息为当前笔迹点相对于前一笔迹点的压力变化信息 。 作为选择, 第二编码规则包括: 对相对坐标信息进行 16位编码, 对相对压力 信息进行 8位编码。
[0070] 第一发送单元 45, 用于发送数据包, 数据包包括编码得到的笔迹起点和编码得 到的笔迹中间点或笔迹终点中的至少一项。 作为选择, 通过无线通信方式将编 码得到的数据包发送出去。 无线通信方式包括但不限于蓝牙无线通信方式、 WIF I无线通信方式等。
[0071] 本实施例在获取采集点数据前设置采集点之间的预设采样间隔, 在采样过程中
, 除第一个采样点外, 相对坐标信息为当前采样点相对于前一采样点的坐标变 化信息; 相对压力信息为当前采样点相对于前一采样点的压力变化信息。 从而 每一个采样点不再需要时间信息, 编码更短, 发送过程中的数据量也大大减小
[0072] 如图 5所示, 在上述实施例的基础上, 本实施例的笔迹传输装置还包括:
[0073] 检测单元 46 , 用于检测是否接收到接收端发送的确认响应。 若在发送数据包后 接收到接收端发送的确认响应, 则说明数据包已经送达; 若在发送数据包后没 有接收到接收端发送的确认响应, 则说明数据包没有送达, 需要重新发送数据 包。 通过设置响应数据可以确保每一个笔迹点数据都发送到数据接收端。 进一 步, 检测是否接收到接收端发送的确认响应包括: 检测在预设等待时间内是否 接收到接收端发送的确认响应, 预设等待时间可根据需要进行设置。 作为选择
, 可对用于标记数据包是否送达的响应数据进行 8位编码。
[0074] 第二发送单元 47 , 用于若未接收到确认响应, 则重新发送编码得到的数据包。
[0075] 对于背景技术中的例子, 使用现有技术后: 在会议或课堂教学等多人同时在线 书写和展示场景下, 假定 40人, 平均每 300ms采集 300个点完成一个字书写, 则 理论上需要近 3.2Mbps的带宽的才能进行流畅书写。
[0076] 采用本实施例的方案后: 40人, 平均每 300ms采集 300个点完成一个字书写, 且 按中文字使用频率统计, 每个字平均是 7.3笔左右, 是则理论上只需要 1.3Mbps的 速率就能进行流畅书写, 数据压缩比能达到近 40%。
[0077] 本实施例通过设置确认 -重发机制, 保证数据接收端能够收到每一个采样点的 采样点数据, 从而保证笔迹的清晰连贯。
实施例
[0078] 如图 6所示, 本实施例的手写板包括处理器, 处理器用于执行存储器中存储的 计算机程序时实现如上述的笔迹采集方法, 或如上述的笔迹传输方法。
实施例
[0079] 如图 7所示, 本实施例的手写板系统, 包括至少两个如上述的手写板、 以及数 据接收端; 手写板通过无线无线通信方式连接数据接收端。 无线通信方式包括 但不限于蓝牙无线通信方式、 WIFI无线通信方式等。 作为选择, 数据接收端包 括用于显示笔迹的显示屏。
[0080] 本实施例在获取采集点数据前设置采集点之间的预设采样间隔, 在采样过程中 , 除第一个采样点外, 相对坐标信息为当前采样点相对于前一采样点的坐标变 化信息; 相对压力信息为当前采样点相对于前一采样点的压力变化信息。 从而 每一个采样点不再需要时间信息, 编码更短, 发送过程中的数据量也大大减小
[0081] 本说明书中各个实施例采用递进的方式描述, 每个实施例重点说明的都是与其 他实施例的不同之处, 各个实施例之间相同相似部分互相参见即可。 对于实施 例公开的装置而言, 由于其与实施例公开的方法相对应, 所以描述的比较简单 , 相关之处参见方法部分说明即可。
[0082] 专业人员还可以进一步意识到, 结合本文中所公开的实施例描述的各示例的单
元及算法步骤, 能够以电子硬件、 计算机软件或者二者的结合来实现, 为了清 楚地说明硬件和软件的可互换性, 在上述说明中已经按照功能一般性地描述了 各示例的组成及步骤。 这些功能究竟以硬件还是软件方式来执行, 取决于技术 方案的特定应用和设计约束条件。 专业技术人员可以对每个特定的应用来使用 不同方法来实现所描述的功能, 但是这种实现不应认为超出本发明的范围。
[0083] 结合本文中所公开的实施例描述的方法或算法的步骤可以直接用硬件、 处理器 执行的软件模块, 或者二者的结合来实施。 软件模块可以置于随机存储器 (RA M) 、 内存、 只读存储器 (ROM) 、 电可编程 ROM、 电可擦除可编程 ROM、 寄 存器、 硬盘、 可移动磁盘、 CD-ROM、 或技术领域内所公知的任意其它形式的 存储介质中。
[0084] 以上实施例只为说明本发明的技术构思及特点, 其目的在于让熟悉此项技术的 人士能够了解本发明的内容并据此实施, 并不能限制本发明的保护范围。 凡跟 本发明权利要求范围所做的均等变化与修饰, 均应属于本发明权利要求的涵盖 范围。
Claims
[权利要求 1] 一种笔迹采集方法, 其特征在于, 包括:
获取笔迹起点的基准采样数据, 所述基准采样数据包括初始坐标信息 和初始压力信息;
获取笔迹中间点及笔迹终点上的相对采样数据, 所述相对采样数据包 括相对坐标信息和相对压力信息。
[权利要求 2] 根据权利要求 1所述的笔迹采集方法, 其特征在于, 所述基准采样数 据包括 32位编码的初始坐标信息和 16位编码的初始压力信息; 所述相对采样数据包括 16位编码的相对坐标信息和 8位编码的相对压 力信息。
[权利要求 3] 根据权利要求 2所述的笔迹采集方法, 其特征在于, 所述相对采样数 据还包括 8位编码的响应数据, 所述响应数据用于标记所述相对采样 数据是否送达。
[权利要求 4] 根据权利要求 1所述的笔迹采集方法, 其特征在于, 所述相对采样数 据中相对坐标信息为当前采样点相对于前一采样点的坐标变化信息; 所述相对压力信息为当前采样点相对于前一采样点的压力变化信息。
[权利要求 5] 根据权利要求 1所述的笔迹采集方法, 其特征在于, 所述获取笔迹中 间点及笔迹终点上的相对采样数据包括: 根据预设采样间隔时间获取 笔迹中间点及笔迹终点上的相对采样数据。
[权利要求 6] 一种笔迹传输方法, 其特征在于, 包括:
检测到书写信号后获取笔迹点, 所述书写信号由书写动作产生; 判断所述笔迹点是否为笔迹起点;
若是, 则采用第一编码规则对所述笔迹起点进行编码, 编码包括所述 笔迹起点的初始坐标信息编码和初始压力信息编码;
若否, 则所述采样点数据为笔迹中间点或笔迹终点, 采用第二编码规 则对所述笔迹中间点或笔迹终点进行编码, 编码包括所述笔迹中间点 或笔迹终点的相对坐标信息编码和相对压力信息编码;
发送数据包, 所述数据包包括编码得到的笔迹起点和编码得到的笔迹
中间点或笔迹终点中的至少一项。
[权利要求 7] 根据权利要求 6所述的笔迹传输方法, 其特征在于, 所述发送数据包 之后还包括:
检测是否接收到接收端发送的确认响应;
若是, 则执行所述步骤: 检测到书写信号后获取笔迹点;
若否, 则重新发送数据包。
[权利要求 8] 根据权利要求 7所述的笔迹传输方法, 其特征在于, 所述检测是否接 收到接收端发送的确认响应包括: 检测在预设等待时间内是否接收到 接收端发送的确认响应。
[权利要求 9] 根据权利要求 6所述的笔迹传输方法, 其特征在于, 所述发送数据包 包括:
通过无线通信方式将编码得到的数据包发送出去。
[权利要求 10] 根据权利要求 6所述的笔迹传输方法, 其特征在于, 所述第一编码规 则包括: 对所述初始坐标信息进行 32位编码, 对所述初始压力信息进 行 16位编码;
所述第二编码规则包括: 对所述相对坐标信息进行 16位编码, 对所述 相对压力信息进行 8位编码。
[权利要求 11] 根据权利要求 10所述的笔迹传输方法, 其特征在于, 所述第二编码规 则还包括:
对用于标记数据包是否送达的响应数据进行 8位编码。
[权利要求 12] 根据权利要求 6所述的笔迹传输方法, 其特征在于, 所述相对坐标信 息为当前笔迹点相对于前一笔迹点的坐标变化信息;
所述相对压力信息为当前笔迹点相对于前一笔迹点的压力变化信息。
[权利要求 13] 根据权利要求 6所述的笔迹传输方法, 其特征在于, 所述检测到书写 信号后获取笔迹点包括:
检测到书写信号后获取笔迹点, 并设置用于标记笔迹点个数的计数值 所述判断所述笔迹点是否为笔迹起点包括: 判断所述计数值是否等于
初始计数值, 所述初始计数值为所述笔迹起点对应笔迹点的计数值。
[权利要求 14] 根据权利要求 6所述的笔迹传输方法, 其特征在于, 在所述检测到书 写信号后获取笔迹点之前还包括:
设置相邻笔迹点之间的采样间隔时间为预设采样间隔。
[权利要求 15] 一种笔迹传输装置, 其特征在于, 包括:
第一采集单元, 用于检测到书写信号后获取笔迹点, 所述书写信号由 书写动作产生;
判断单元, 用于判断所述笔迹点是否为笔迹起点, 所述笔迹起点包括 初始坐标信息和初始压力信息;
第一编码单元, 用于当所述笔迹点为笔迹起点时, 采用第一编码规则 对所述笔迹起点进行编码;
第二编码单元, 用于当所述笔迹点不是笔迹起点时, 采用第二编码规 则对所述笔迹中间点或笔迹终点进行编码, 编码包括所述笔迹中间点 或笔迹终点的相对坐标信息编码和相对压力信息编码;
第一发送单元, 用于发送数据包, 所述数据包包括编码得到的笔迹起 点和编码得到的笔迹中间点或笔迹终点中的至少一项。
[权利要求 16] 根据权利要求 15所述的笔迹传输装置, 其特征在于, 还包括:
检测单元, 用于检测是否接收到接收端发送的确认响应;
第二发送单元, 用于若未接收到所述确认响应, 则重新发送编码得到 的数据包。
[权利要求 17] 根据权利要求 15所述的笔迹传输装置, 其特征在于, 第一编码单元还 用于对所述初始坐标信息进行 32位编码, 对所述初始压力信息进行 16 位编码;
所述第二编码单元还用于对所述相对坐标信息进行 16位编码, 对所述 相对压力信息进行 8位编码。
[权利要求 18] 根据权利要求 17所述的笔迹传输装置, 其特征在于, 所述第二编码单 元还用于对用于标记数据包是否送达的响应数据进行 8位编码。
[权利要求 19] 一种手写板, 其特征在于, 所述手写板包括处理器, 所述处理器用于
执行存储器中存储的计算机程序时实现如权利要求 1-5任一项所述的 笔迹采集方法, 或如权利要求 6-15任一项所述的笔迹传输方法。
[权利要求 20] 一种手写板系统, 其特征在于, 包括至少两个如权利要求 19所述的手 写板、 以及数据接收端;
所述手写板通过无线无线通信方式连接所述数据接收端。
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201880097620.8A CN113168243A (zh) | 2018-12-27 | 2018-12-27 | 笔迹采集方法、笔迹传输方法及装置、手写板及其系统 |
| PCT/CN2018/124489 WO2020133108A1 (zh) | 2018-12-27 | 2018-12-27 | 笔迹采集方法、笔迹传输方法及装置、手写板及其系统 |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2018/124489 WO2020133108A1 (zh) | 2018-12-27 | 2018-12-27 | 笔迹采集方法、笔迹传输方法及装置、手写板及其系统 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2020133108A1 true WO2020133108A1 (zh) | 2020-07-02 |
Family
ID=71128518
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2018/124489 Ceased WO2020133108A1 (zh) | 2018-12-27 | 2018-12-27 | 笔迹采集方法、笔迹传输方法及装置、手写板及其系统 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN113168243A (zh) |
| WO (1) | WO2020133108A1 (zh) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN116781725A (zh) * | 2023-06-30 | 2023-09-19 | 贵阳语玩科技有限公司 | 一种在线协同绘画的同步方法、装置及系统 |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115469766A (zh) * | 2022-09-20 | 2022-12-13 | 北京科加触控技术有限公司 | 书写压力模拟方法、模块、设备及存储介质 |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101751440A (zh) * | 2008-12-19 | 2010-06-23 | 高德软件有限公司 | 一种数据压缩/解压缩方法及其装置 |
| CN103729074A (zh) * | 2013-12-26 | 2014-04-16 | 三星电子(中国)研发中心 | 一种识别笔迹的装置、系统及方法 |
| CN105446689A (zh) * | 2015-12-16 | 2016-03-30 | 广州视睿电子科技有限公司 | 远程批注同步的方法与系统 |
| CN108805108A (zh) * | 2018-07-17 | 2018-11-13 | 珠海向导科技有限公司 | 一种板书笔迹记录方法 |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102761495B (zh) * | 2011-04-29 | 2015-12-16 | 北京壹人壹本信息科技有限公司 | 一种基于手写原笔迹的即时通信方法、通信终端和系统 |
| CN102902407B (zh) * | 2012-09-12 | 2015-08-05 | 青岛海信移动通信技术股份有限公司 | 一种触摸屏输出显示触摸笔迹的方法及设备 |
-
2018
- 2018-12-27 CN CN201880097620.8A patent/CN113168243A/zh active Pending
- 2018-12-27 WO PCT/CN2018/124489 patent/WO2020133108A1/zh not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101751440A (zh) * | 2008-12-19 | 2010-06-23 | 高德软件有限公司 | 一种数据压缩/解压缩方法及其装置 |
| CN103729074A (zh) * | 2013-12-26 | 2014-04-16 | 三星电子(中国)研发中心 | 一种识别笔迹的装置、系统及方法 |
| CN105446689A (zh) * | 2015-12-16 | 2016-03-30 | 广州视睿电子科技有限公司 | 远程批注同步的方法与系统 |
| CN108805108A (zh) * | 2018-07-17 | 2018-11-13 | 珠海向导科技有限公司 | 一种板书笔迹记录方法 |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN116781725A (zh) * | 2023-06-30 | 2023-09-19 | 贵阳语玩科技有限公司 | 一种在线协同绘画的同步方法、装置及系统 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN113168243A (zh) | 2021-07-23 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111580690B (zh) | 触控笔模式切换方法、装置、触控笔及可读存储介质 | |
| CN110505076B (zh) | 数据包丢失率的测量方法、获取方法、终端及网络设备 | |
| CN103048507B (zh) | 一种可短程操作的数字示波器 | |
| WO2019052582A1 (zh) | 音频编码方法、解码方法、装置及音频编解码系统 | |
| WO2015058656A1 (zh) | 直播控制方法,及主播设备 | |
| WO2019233216A1 (zh) | 一种手势动作的识别方法、装置以及设备 | |
| WO2014183351A1 (zh) | 手写输入方法及装置 | |
| KR102422181B1 (ko) | 전자 장치의 디스플레이 제어 방법 및 그 전자 장치 | |
| WO2020133108A1 (zh) | 笔迹采集方法、笔迹传输方法及装置、手写板及其系统 | |
| CN109343788B (zh) | 一种移动终端的操作控制方法及移动终端 | |
| WO2013178093A1 (zh) | 排版方法、设备及系统 | |
| CN108681498A (zh) | 一种cpu占用率的监测方法、装置以及移动终端 | |
| CN103428489A (zh) | 分享屏幕截图的发送装置以及方法 | |
| CN112558797B (zh) | 主动笔及其控制方法、装置以及计算机可读存储介质 | |
| CN105700810A (zh) | 信息交互方法和装置 | |
| CN102799286B (zh) | 手写笔的输入方法和装置 | |
| CN115576829A (zh) | 一种应用程序测试方法、装置、存储介质和计算机设备 | |
| CN112118188A (zh) | 一种流量限速方法、装置、电子设备及存储介质 | |
| CN109889568B (zh) | 一种数据导出方法、服务器及系统 | |
| CN112987976B (zh) | 触摸笔及其书写笔迹的显示方法、装置以及终端设备 | |
| CN108429805A (zh) | 一种文件下载处理方法、发送终端及接收终端 | |
| CN118626877A (zh) | 一种问题指令优化处理方法、装置、设备及存储介质 | |
| CN112486354A (zh) | 电子设备的触控方法、触控组件的信息传输方法及装置 | |
| CN106909265B (zh) | 终端系统光标事件的处理方法及装置、鼠标 | |
| CN110933513A (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: 18945316 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 18945316 Country of ref document: EP Kind code of ref document: A1 |