WO2018072385A1 - Method and system for extending writing page - Google Patents

Method and system for extending writing page Download PDF

Info

Publication number
WO2018072385A1
WO2018072385A1 PCT/CN2017/077051 CN2017077051W WO2018072385A1 WO 2018072385 A1 WO2018072385 A1 WO 2018072385A1 CN 2017077051 W CN2017077051 W CN 2017077051W WO 2018072385 A1 WO2018072385 A1 WO 2018072385A1
Authority
WO
WIPO (PCT)
Prior art keywords
writing
page
roaming
area
boundary area
Prior art date
Application number
PCT/CN2017/077051
Other languages
French (fr)
Chinese (zh)
Inventor
张维元
Original Assignee
广州视源电子科技股份有限公司
广州视臻信息科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 广州视源电子科技股份有限公司, 广州视臻信息科技有限公司 filed Critical 广州视源电子科技股份有限公司
Publication of WO2018072385A1 publication Critical patent/WO2018072385A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance

Definitions

  • the present invention relates to the field of page processing technologies, and in particular, to an extended method and system for writing a page.
  • An extension method for writing a page comprising the following steps:
  • the roaming direction of the writing page is determined according to the orientation of the target boundary region with respect to the writing page, and the writing page is roamed in the roaming direction.
  • An expansion system for writing pages including the following units:
  • An obtaining unit configured to acquire a dwell time of the pen down point in the target boundary area when the pen down point of the writing operation is detected within the target boundary area of the writing page;
  • a comparing unit configured to compare the dwell time with the size of the first preset time to obtain a comparison result
  • the roaming unit is configured to determine a roaming direction of the writing page according to the orientation of the target boundary area relative to the writing page when the comparison result indicates that the dwell time is greater than or equal to the first preset time, and roam the writing page in the roaming direction.
  • the above expansion method and system for writing a page when detecting that the pen down point of the writing operation is located in the target boundary region of the writing page, acquiring the dwell time of the pen down point in the target boundary region; comparing the dwell time with the first preset time The size of the comparison result is obtained; when the comparison result indicates that the dwell time is greater than or equal to the first preset time, the roaming direction of the writing page is determined according to the orientation of the target boundary area with respect to the writing page, and the writing page is roamed in the roaming direction.
  • the solution analyzes the position of the falling point of the writing operation, and obtains the dwell time of the falling point in the target boundary area when the falling point is located in the target boundary area of the writing page, and compares it with the first preset time, thereby Identifying the user's extended page intent; when the dwell time is greater than or equal to the first preset time, indicating that the user has an expanded page intent, then determining the roaming direction according to the orientation of the target boundary area relative to the written page, and writing the page along the roaming direction Roaming, thereby expanding the writing space of the page according to the user's writing operation, thereby avoiding requiring the user to actively expand the writing space, and improving the operation efficiency of expanding the writing space.
  • FIG. 1 is a schematic flow chart of a method for expanding a written page in one embodiment
  • FIG. 2 is a schematic structural diagram of an expansion system for writing a page in one embodiment
  • FIG. 3 is a schematic structural diagram of an expansion system for writing a page in one embodiment
  • FIG. 4 is a schematic structural diagram of an expansion system for writing a page in one embodiment
  • Figure 5 is a block diagram showing the structure of an expansion system for writing a page in one embodiment.
  • FIG. 1 it is a schematic flowchart of a method for expanding a writing page of the present invention.
  • the image erasing method in this embodiment includes the following steps:
  • Step S101 Acquire a dwell time of the pen down point in the target boundary area when detecting that the pen down point of the writing operation is located in the target boundary area of the writing page;
  • Step S102 comparing the dwell time with the size of the first preset time to obtain a comparison result
  • Step S103 When the comparison result indicates that the dwell time is greater than or equal to the first preset time, determine the roaming direction of the writing page according to the orientation of the target boundary area with respect to the writing page, and roam the writing page along the roaming direction.
  • the dwell time of the pen down point in the target boundary area is acquired; the dwell time is compared with the first preset time, and the comparison result is obtained.
  • the comparison result indicates that the dwell time is greater than or equal to the first preset time
  • the roaming direction of the writing page is determined according to the orientation of the target boundary area with respect to the writing page, and the writing page is roamed in the roaming direction.
  • the solution analyzes the position of the falling point of the writing operation, and obtains the dwell time of the falling point in the target boundary area when the falling point is located in the target boundary area of the writing page, and compares it with the first preset time, thereby Identify the user's extended page intent;
  • the dwell time is greater than or equal to the first preset time, it indicates that the user has an expanded page intention, and then the roaming direction is determined according to the orientation of the target boundary region relative to the writing page, and the writing page is roamed in the roaming direction, thereby being
  • the writing operation is used to expand the writing space of the page, thereby avoiding the requirement for the user to actively expand the writing space and improve the operation efficiency of expanding the writing space.
  • the user's writing operation data may be collected, including the abscissa and the ordinate of each pen point in the writing page, according to the writing operation data. You can know the position of the pen down point on the writing page.
  • the target boundary area is generally within a few centimeters (such as 3-5 cm) from the page boundary. As long as the writing operation data is collected, it can be determined whether the pen ending point is at the boundary of the writing page.
  • the target boundary region may be a left boundary region, an upper boundary region, a right boundary region, or a lower boundary region, and the left boundary region, the upper boundary region, the right boundary region, and the lower boundary region are sequentially connected end to end to form a writing page.
  • the roaming direction is determined according to the orientation of the target boundary area with respect to the writing page, and the roaming direction is opposite to the orientation of the target boundary area with respect to the writing page. If the target boundary area is the left border area, the roaming direction is rightward, writing After the page roams to the right, the left side of the writing page expands the corresponding writing space, and the distance of the roaming can be preset as needed.
  • the dwell time includes a writing time of the pen down point in the boundary area of the writing page and a dwell time of the pen down point in the boundary area of the writing page, wherein the dwell time refers to writing a pen in the boundary area of the writing page, but not writing And did not leave the time of writing the border area of the page.
  • the first preset time may be set at the millisecond level.
  • the target boundary area is the left boundary area of the writing page, and the upper side
  • the corresponding roaming directions are respectively determined according to the orientations of the two adjacent boundary regions with respect to the writing page, and two corresponding The roaming direction vectors are added to obtain a secondary roaming direction, and the writing page is roamed in the secondary roaming direction.
  • the left boundary area, the upper boundary area, the right boundary area, and the lower boundary area are connected end to end, enclosing a closed area, and each boundary has a certain width, so The two adjacent boundary regions must have partial overlap regions.
  • the roaming direction of the writing page is the vector sum of the roaming directions corresponding to the two adjacent boundary regions, so as to avoid being in the two points due to the pen down point.
  • a boundary area has been expanded and chaotic.
  • the roaming direction of the writing page is the lower right direction, and the right direction and the lower direction are both at an angle of 45 degrees, and the roaming distance can be preset according to needs.
  • the step of roaming the written page in the roaming direction further includes the following steps:
  • the ratio of the first area value to the second area value is greater than or equal to the first preset value, all the writing strokes on the roaming written page are obtained, and all the writing strokes are reduced by a preset ratio, and the reduced writing handwriting is reduced. Move to the writing page before roaming so that the written page before roaming fully displays the reduced writing handwriting.
  • the first area value of the roaming written page and the second area value of the writing page before roaming need to be calculated, when the first area value and the second area value are When the ratio is greater than or equal to the first preset value, it indicates that the extended area of the writing page is too large, and the writing handwriting on the writing page cannot be completely completed on the normal writing page before roaming. Display, at this time, the writing handwriting needs to be reduced to an appropriate size so that it can be fully displayed in the writing page before roaming, and moved to the writing page before roaming, thus preventing the writing page from being excessively expanded, thereby making the writing handwriting too scattered. After the reduction movement process, all the writing strokes can be guaranteed to be displayed in the normal writing page before roaming.
  • the first preset multiple and the preset ratio are corresponding, the first preset multiple is greater than 1, and the preset ratio is less than 1, and the product of the two should be equal to 1 or between 0.8 and 1, so that the reduction can be avoided.
  • the writing strokes are too small.
  • the first preset multiple can be adjusted according to requirements, generally the first preset multiple can be 1.5 times to 2 times, and the reduced writing stroke can be reduced to 50%-60% of the normal size, the first preset multiple And the reduction ratio can be adjusted according to the actual situation.
  • the upper left corner of the smallest rectangle covering the reduced written handwriting is aligned with the upper left corner of the written page before roaming.
  • the method for augmenting the page further includes the following steps:
  • the target boundary area is an overlapping area of any two adjacent boundary areas in the left boundary area, the upper boundary area, the right boundary area, and the lower boundary area of the writing page, calculating a minimum rectangle covering all writing strokes on the writing page
  • the third area value and the fourth area value of the writing page determine whether the ratio of the third area value to the second area value is greater than or equal to the second preset value, and if so, add a blank page to the writing page.
  • the writing pages are generally planar, the left boundary area, the upper boundary area, the right boundary area, and the lower boundary area are connected end to end, enclosing a closed area, and each boundary has a certain width, so Any two adjacent boundary regions necessarily have a partial overlap region.
  • the ratio of the area value of the smallest rectangle covering the written handwriting to the written page area value is greater than or equal to the second preset multiple, At this point the writing page has been written enough Handwriting, you need to start another page to continue writing, that is, add a blank page to the writing page.
  • the range of writing handwriting may be disordered, and the rectangle covering the writing handwriting may be used to represent the range of the writing handwriting, and when the writing handwriting is determined in scope, the smallest rectangle covering the writing handwriting is used to be as close as possible to the writing.
  • the true range of handwriting may be disordered, and the rectangle covering the writing handwriting may be used to represent the range of the writing handwriting, and when the writing handwriting is determined in scope, the smallest rectangle covering the writing handwriting is used to be as close as possible to the writing. The true range of handwriting.
  • the second preset multiple is between 0 and 1, and generally 0.5, 0.6, 0.7, 0.8 or 0.9 may be selected, and the number of pages of the added blank page may be one page.
  • the writing page may be a writing page before roaming, or may be a writing page after roaming.
  • the method before the step of detecting that the pen down point of the writing operation is within the target boundary area of the writing page, the method further includes the following steps:
  • the second preset time countdown is started when the pen is written or dropped, and if any writing or pen down operation is detected before the countdown ends, it is determined that the pen down point is in the writing state, and the target of the pen down point where the writing operation is detected is located on the writing page.
  • the pen down point when writing, may leave the writing page for a short time, as long as the writing or pen writing operation is detected within the second preset time countdown from the beginning of the pen down, indicating that the writing state is still in the writing state, the state of the pen If the duration exceeds the third preset time, it can be determined as a continuous writing state.
  • the pen down point is in the continuous writing state, and the dwell time of the pen drop point in the target boundary area is greater than or equal to the first preset time, and the two judgments of the continuous writing state and the dwell time are comprehensively judged, so that the user writes the page space for expansion.
  • the identification of the intent is more accurate, which makes the expansion of the written page more convenient and timely, and improves the user's writing experience.
  • the second preset time countdown is restarted, so that it can be continuously detected whether the pen down point is in the writing state.
  • the third preset time is longer than the second preset time.
  • the second preset time and the third preset time may be set in the millisecond level.
  • the expansion method of the above written page can be applied to a smart device such as an electronic whiteboard.
  • the expansion method of the writing page can be implemented in the software of the electronic whiteboard.
  • a background service is started to monitor whether the user triggers the writing operation, and if so, the writing data is collected, wherein the writing data refers to the abscissa and the ordinate of each pen down point.
  • the writing continuity is determined.
  • a millisecond countdown starts when the user writes or drops the pen. If there is no writing or pen down action at the end of the timer, the writing state is determined to be non-persistent writing. If a writing or pen down action occurs during the countdown of a millisecond, the a millisecond is restarted. Countdown; if it is not in a non-persistent writing state for more than b milliseconds, the writing state is determined to be continuous writing; where b>a.
  • the pen drop point is within an area of n cm from the boundary of the writing page, and the dwell time in the boundary area is m msec or more. According to the orientation of the boundary area where the pen point is located, the boundary area is divided into upper and lower left and right sides, and the pen point is defined.
  • the boundary area is the primary factor that triggers the expansion of the writing space.
  • a corresponding roaming vector is formed to correspond to the up, down, left, and right directions, wherein the direction of the roaming vector is opposite to the orientation of the boundary region, such as The falling point is in the left boundary area, and the direction of the roaming vector is rightward.
  • the corresponding two vectors will be The total vector after vector operation is determined as the final roaming vector, and the final roaming direction is the direction of the total vector; the writing page will roam according to the direction of the roaming vector; the roaming distance can be the average arm length of the human.
  • the area of the written page after automatic roaming reaches the normal book before roaming Write 150% or more of the page size, reduce the writing stroke to 50% of the normal size, and roam all the writing strokes to the normal writing page before roaming.
  • the smallest rectangle covering all writing strokes can be respectively
  • the boundary area is adjacent to the left boundary area.
  • the area value of the smallest rectangle covering the writing handwriting and the area value of the writing page before roaming can also be calculated, and It is judged whether the area value of the minimum rectangle is greater than or equal to half of the area value of the writing page before roaming, and if so, a blank page can be added to the writing page.
  • a blank page may be added only when the pen down point is in the overlapping area of the right boundary area and the lower boundary area, and the area value of the minimum rectangle is greater than or equal to half of the area value of the writing page before roaming. page.
  • ordinal numbers such as “first” and “second” are merely used to distinguish the objects involved, and are not intended to limit the objects themselves.
  • the present invention also provides an expansion system for writing a page.
  • an embodiment of the expansion system of the writing page of the present invention will be described in detail.
  • the expansion system of the writing page in this embodiment includes the following units:
  • the acquiring unit 210 is configured to acquire a dwell time of the pen down point in the target boundary area when the pen down point of the writing operation is detected in the target boundary area of the writing page;
  • the comparing unit 220 is configured to compare the dwell time with the size of the first preset time to obtain a comparison result
  • the roaming unit 230 is configured to determine, when the comparison result indicates that the dwell time is greater than or equal to the first preset time, determining a roaming direction of the writing page according to the orientation of the target boundary area with respect to the writing page, and roaming the writing page in the roaming direction.
  • the roaming unit 230 is further configured to: when the target boundary area is an overlapping area of any two adjacent boundary areas in the left boundary area, the upper boundary area, the right boundary area, and the lower boundary area of the writing page.
  • the corresponding roaming directions are respectively determined according to the orientations of the two adjacent boundary regions with respect to the writing page, and the two corresponding roaming direction vectors are added to obtain a secondary roaming direction, and the writing page is roamed in the secondary roaming direction.
  • the expansion system of the writing page further includes a reduction unit 240 for calculating the first area value of the roaming written page and the second area of the writing page before roaming. a value, if the ratio of the first area value to the second area value is greater than or equal to the first preset value, all the writing strokes on the written page after the roaming are acquired, and all the writing strokes are reduced according to a preset ratio, and the reduced The writing handwriting moves to the writing page before the roaming, so that the writing page before the roaming displays the reduced writing handwriting in a comprehensive manner.
  • the expansion system of the writing page further includes an adding page unit 250 for using the left boundary area, the upper boundary area, and the right border area of the writing page in the target boundary area. And an overlapping area of any two adjacent boundary areas in the lower boundary area, calculating a third area value of the smallest rectangle covering all writing strokes on the writing page and a fourth area value of the writing page, determining the third area value and Whether the ratio of the second area value is greater than or equal to the second preset value, and if so, adding a blank page to the writing page.
  • the expansion system of the writing page further includes a state determining unit 260 for starting a second preset time countdown when writing or pen down, and detecting if the countdown ends. If any writing or pen down operation is performed, it is determined that the pen down point is in a writing state; if the pen down point is in a writing state for a duration exceeding a third preset time, determining that the pen down point is in a continuous writing state;
  • the obtaining unit 210 determines, after the state determining unit 260 determines that the pen down point is in the continuous writing state, When it is detected that the pen down point is within the target boundary area of the writing page, the dwell time of the pen down point in the target boundary area is acquired.
  • the expansion system of the writing page of the present invention corresponds to the expansion method of the writing page of the present invention, and the technical features and advantages of the embodiment of the method for expanding the writing page are applicable to the embodiment of the expansion system of the writing page. in.

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)
  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

A method and a system for extending a writing page. The method comprises: upon detecting that a position of a stylus in a writing operation is within a target border region of a writing page, acquiring a duration of time that the stylus remains in the target border region (S101); comparing the duration of time with a first predetermined time period to obtain a comparison result (S102); and when the comparison result indicates that the duration of time is greater than or equal to the first predetermined time period, determining a scrolling direction of the writing page according to a direction of the target border region relative to the writing page, and scrolling the writing page in the scrolling direction (S103). The duration of time the stylus remains in the target border region of the writing page is acquired and is compared with the first predetermined period of time to determine a page extending intention of a user. When the duration of time is greater than or equal to the first predetermined period of time, it means that the user intends to extend the page, and the writing page is extended in the corresponding scrolling direction. Thus, writing space of a page is extended according to the writing operation of a user, enhancing operational efficiency in extending writing space.

Description

书写页面的扩充方法和系统Writing page expansion method and system 技术领域Technical field
本发明涉及页面处理技术领域,特别是涉及书写页面的扩充方法和系统。The present invention relates to the field of page processing technologies, and in particular, to an extended method and system for writing a page.
背景技术Background technique
在对电子白板页面进行书写操作时,经常会有写满整页或者写到页边距的情况出现,遇到这种页面可书写空间不足的情况,用户往往是手动去添加新的一页或者将现有的书写笔迹缩小或将书写笔迹漫游至其他地方来获得可用的书写空间。When writing a whiteboard page, there are often cases where a full page is written or a margin is written. In the case where the page can be written with insufficient space, the user often manually adds a new page or Reduce the existing writing strokes or roam the writing strokes to other places to get the available writing space.
根据这种方案,在页面上书写空间不足时,要求用户主动去进行书写空间的扩充,操作效率低,增加了用户进行书写操作时的不便。According to this scheme, when the writing space on the page is insufficient, the user is required to actively expand the writing space, and the operation efficiency is low, which increases the inconvenience when the user performs the writing operation.
发明内容Summary of the invention
基于此,有必要针对现有的对页面书写空间不足时的扩充效率低的问题,提供一种书写页面的扩充方法和系统。Based on this, it is necessary to provide an expansion method and system for writing a page in view of the existing problem of low expansion efficiency when the page writing space is insufficient.
一种书写页面的扩充方法,包括以下步骤:An extension method for writing a page, comprising the following steps:
在检测到书写操作的落笔点位于书写页面的目标边界区域内时,获取落笔点在目标边界区域的停留时间;Obtaining a dwell time of the pen down point in the target boundary area when detecting that the pen down point of the writing operation is within the target boundary area of the writing page;
比较停留时间与第一预设时间的大小,获得比较结果;Comparing the dwell time with the size of the first preset time to obtain a comparison result;
在比较结果表明停留时间大于或等于第一预设时间时,根据目标边界区域相对于书写页面的方位确定书写页面的漫游方向,将书写页面沿漫游方向漫游。When the comparison result indicates that the dwell time is greater than or equal to the first preset time, the roaming direction of the writing page is determined according to the orientation of the target boundary region with respect to the writing page, and the writing page is roamed in the roaming direction.
一种书写页面的扩充系统,包括以下单元: An expansion system for writing pages, including the following units:
获取单元,用于在检测到书写操作的落笔点位于书写页面的目标边界区域内时,获取落笔点在目标边界区域的停留时间;An obtaining unit, configured to acquire a dwell time of the pen down point in the target boundary area when the pen down point of the writing operation is detected within the target boundary area of the writing page;
比较单元,用于比较停留时间与第一预设时间的大小,获得比较结果;a comparing unit, configured to compare the dwell time with the size of the first preset time to obtain a comparison result;
漫游单元,用于在比较结果表明停留时间大于或等于第一预设时间时,根据目标边界区域相对于书写页面的方位确定书写页面的漫游方向,将书写页面沿漫游方向漫游。The roaming unit is configured to determine a roaming direction of the writing page according to the orientation of the target boundary area relative to the writing page when the comparison result indicates that the dwell time is greater than or equal to the first preset time, and roam the writing page in the roaming direction.
根据上述书写页面的扩充方法和系统,其是在检测到书写操作的落笔点位于书写页面的目标边界区域内时,获取落笔点在目标边界区域的停留时间;比较停留时间与第一预设时间的大小,获得比较结果;在比较结果表明停留时间大于或等于第一预设时间时,根据目标边界区域相对于书写页面的方位确定书写页面的漫游方向,将书写页面沿漫游方向漫游。此方案通过对书写操作的落笔点的位置进行分析,在落笔点位于书写页面的目标边界区域内时获取落笔点在目标边界区域的停留时间,并与第一预设时间作比较,以此来识别用户的扩充页面意图;当停留时间大于或等于第一预设时间时,表明用户有扩充页面意图,此时就根据目标边界区域相对于书写页面的方位确定漫游方向,将书写页面沿漫游方向漫游,由此可以根据用户的书写操作来进行扩充页面的书写空间,从而避免了要求用户主动去进行书写空间的扩充,提高了扩充书写空间的操作效率。According to the above expansion method and system for writing a page, when detecting that the pen down point of the writing operation is located in the target boundary region of the writing page, acquiring the dwell time of the pen down point in the target boundary region; comparing the dwell time with the first preset time The size of the comparison result is obtained; when the comparison result indicates that the dwell time is greater than or equal to the first preset time, the roaming direction of the writing page is determined according to the orientation of the target boundary area with respect to the writing page, and the writing page is roamed in the roaming direction. The solution analyzes the position of the falling point of the writing operation, and obtains the dwell time of the falling point in the target boundary area when the falling point is located in the target boundary area of the writing page, and compares it with the first preset time, thereby Identifying the user's extended page intent; when the dwell time is greater than or equal to the first preset time, indicating that the user has an expanded page intent, then determining the roaming direction according to the orientation of the target boundary area relative to the written page, and writing the page along the roaming direction Roaming, thereby expanding the writing space of the page according to the user's writing operation, thereby avoiding requiring the user to actively expand the writing space, and improving the operation efficiency of expanding the writing space.
附图说明DRAWINGS
图1是其中一个实施例中书写页面的扩充方法的流程示意图;1 is a schematic flow chart of a method for expanding a written page in one embodiment;
图2是其中一个实施例中书写页面的扩充系统的结构示意图;2 is a schematic structural diagram of an expansion system for writing a page in one embodiment;
图3是其中一个实施例中书写页面的扩充系统的结构示意图; 3 is a schematic structural diagram of an expansion system for writing a page in one embodiment;
图4是其中一个实施例中书写页面的扩充系统的结构示意图;4 is a schematic structural diagram of an expansion system for writing a page in one embodiment;
图5是其中一个实施例中书写页面的扩充系统的结构示意图。Figure 5 is a block diagram showing the structure of an expansion system for writing a page in one embodiment.
具体实施方式detailed description
为使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步的详细说明。应当理解,此处所描述的具体实施方式仅仅用以解释本发明,并不限定本发明的保护范围。The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the scope of the invention.
参见图1所示,为本发明的书写页面的扩充方法的流程示意图。该实施例中的图像擦除方法,包括以下步骤:Referring to FIG. 1 , it is a schematic flowchart of a method for expanding a writing page of the present invention. The image erasing method in this embodiment includes the following steps:
步骤S101:在检测到书写操作的落笔点位于书写页面的目标边界区域内时,获取落笔点在目标边界区域的停留时间;Step S101: Acquire a dwell time of the pen down point in the target boundary area when detecting that the pen down point of the writing operation is located in the target boundary area of the writing page;
步骤S102:比较停留时间与第一预设时间的大小,获得比较结果;Step S102: comparing the dwell time with the size of the first preset time to obtain a comparison result;
步骤S103:在比较结果表明停留时间大于或等于第一预设时间时,根据目标边界区域相对于书写页面的方位确定书写页面的漫游方向,将书写页面沿漫游方向漫游。Step S103: When the comparison result indicates that the dwell time is greater than or equal to the first preset time, determine the roaming direction of the writing page according to the orientation of the target boundary area with respect to the writing page, and roam the writing page along the roaming direction.
在本实施例中,在检测到书写操作的落笔点位于书写页面的目标边界区域内时,获取落笔点在目标边界区域的停留时间;比较停留时间与第一预设时间的大小,获得比较结果;在比较结果表明停留时间大于或等于第一预设时间时,根据目标边界区域相对于书写页面的方位确定书写页面的漫游方向,将书写页面沿漫游方向漫游。此方案通过对书写操作的落笔点的位置进行分析,在落笔点位于书写页面的目标边界区域内时获取落笔点在目标边界区域的停留时间,并与第一预设时间作比较,以此来识别用户的扩充页面意图; 当停留时间大于或等于第一预设时间时,表明用户有扩充页面意图,此时就根据目标边界区域相对于书写页面的方位确定漫游方向,将书写页面沿漫游方向漫游,由此可以根据用户的书写操作来进行扩充页面的书写空间,从而避免了要求用户主动去进行书写空间的扩充,提高了扩充书写空间的操作效率。In this embodiment, when it is detected that the pen down point of the writing operation is located in the target boundary area of the writing page, the dwell time of the pen down point in the target boundary area is acquired; the dwell time is compared with the first preset time, and the comparison result is obtained. When the comparison result indicates that the dwell time is greater than or equal to the first preset time, the roaming direction of the writing page is determined according to the orientation of the target boundary area with respect to the writing page, and the writing page is roamed in the roaming direction. The solution analyzes the position of the falling point of the writing operation, and obtains the dwell time of the falling point in the target boundary area when the falling point is located in the target boundary area of the writing page, and compares it with the first preset time, thereby Identify the user's extended page intent; When the dwell time is greater than or equal to the first preset time, it indicates that the user has an expanded page intention, and then the roaming direction is determined according to the orientation of the target boundary region relative to the writing page, and the writing page is roamed in the roaming direction, thereby being The writing operation is used to expand the writing space of the page, thereby avoiding the requirement for the user to actively expand the writing space and improve the operation efficiency of expanding the writing space.
优选的,在检测书写操作的落笔点是否位于书写页面的目标边界区域内之前,可以采集用户的书写操作数据,其中包括每个落笔点在书写页面中的横坐标和纵坐标,根据书写操作数据可以获知落笔点在书写页面上的位置,目标边界区域一般为距离页面边界若干公分(如3-5公分)以内的区域,只要采集到书写操作数据,就可以确定落笔点是否在书写页面的边界区域内,目标边界区域可以为左边界区域、上边界区域、右边界区域或下边界区域,左边界区域、上边界区域、右边界区域和下边界区域依次首尾相接,围成书写页面。Preferably, before detecting whether the pen down point of the writing operation is located in the target boundary area of the writing page, the user's writing operation data may be collected, including the abscissa and the ordinate of each pen point in the writing page, according to the writing operation data. You can know the position of the pen down point on the writing page. The target boundary area is generally within a few centimeters (such as 3-5 cm) from the page boundary. As long as the writing operation data is collected, it can be determined whether the pen ending point is at the boundary of the writing page. In the region, the target boundary region may be a left boundary region, an upper boundary region, a right boundary region, or a lower boundary region, and the left boundary region, the upper boundary region, the right boundary region, and the lower boundary region are sequentially connected end to end to form a writing page.
优选的,根据目标边界区域相对于书写页面的方位确定漫游方向,漫游方向与目标边界区域相对于书写页面的方位是相反的,如目标边界区域为左边界区域,则漫游方向为向右,书写页面向右漫游后,书写页面的左方就扩充出相应的书写空间,漫游的距离可以根据需要进行预设。Preferably, the roaming direction is determined according to the orientation of the target boundary area with respect to the writing page, and the roaming direction is opposite to the orientation of the target boundary area with respect to the writing page. If the target boundary area is the left border area, the roaming direction is rightward, writing After the page roams to the right, the left side of the writing page expands the corresponding writing space, and the distance of the roaming can be preset as needed.
优选的,停留时间包括落笔点在书写页面的边界区域中的书写时间和落笔点在书写页面的边界区域中的停顿时间,其中停顿时间是指在书写页面的边界区域中落笔,但未进行书写,也未离开书写页面的边界区域的时间。Preferably, the dwell time includes a writing time of the pen down point in the boundary area of the writing page and a dwell time of the pen down point in the boundary area of the writing page, wherein the dwell time refers to writing a pen in the boundary area of the writing page, but not writing And did not leave the time of writing the border area of the page.
优选的,为了在用户进行书写操作时能及时进行书写页面的扩充,第一预设时间可以设置在毫秒级。Preferably, in order to enable the expansion of the writing page in time when the user performs the writing operation, the first preset time may be set at the millisecond level.
在其中一个实施例中,在目标边界区域为书写页面的左边界区域、上边 界区域、右边界区域和下边界区域中的任意两个相邻的边界区域的重叠区域时,根据两个相邻的边界区域相对于书写页面的方位分别确定对应的漫游方向,将两个对应的漫游方向矢量相加,获得二次漫游方向,将书写页面沿二次漫游方向漫游。In one of the embodiments, the target boundary area is the left boundary area of the writing page, and the upper side When overlapping regions of any two adjacent boundary regions in the boundary region, the right boundary region, and the lower boundary region, the corresponding roaming directions are respectively determined according to the orientations of the two adjacent boundary regions with respect to the writing page, and two corresponding The roaming direction vectors are added to obtain a secondary roaming direction, and the writing page is roamed in the secondary roaming direction.
在本实施例中,由于书写页面一般都是平面的,左边界区域、上边界区域、右边界区域和下边界区域首尾相接,围成一个封闭的区域,并且各个边界具有一定的宽度,因此任意相邻的两个边界区域必然有部分重叠区域,当落笔点在该重叠区域时,书写页面的漫游方向是两个相邻的边界区域对应的漫游方向的矢量和,避免因落笔点处于两个边界区域而出现扩充混乱的情况。In this embodiment, since the writing pages are generally planar, the left boundary area, the upper boundary area, the right boundary area, and the lower boundary area are connected end to end, enclosing a closed area, and each boundary has a certain width, so The two adjacent boundary regions must have partial overlap regions. When the pen down point is in the overlap region, the roaming direction of the writing page is the vector sum of the roaming directions corresponding to the two adjacent boundary regions, so as to avoid being in the two points due to the pen down point. A boundary area has been expanded and chaotic.
具体的,如落笔点在左边界区域和上边界区域的重叠区域,书写页面的漫游方向为右下方向,与右方向和下方向均成45度角,漫游的距离可以根据需要进行预设。Specifically, if the falling point is in the overlapping area of the left boundary area and the upper boundary area, the roaming direction of the writing page is the lower right direction, and the right direction and the lower direction are both at an angle of 45 degrees, and the roaming distance can be preset according to needs.
在其中一个实施例中,将书写页面沿漫游方向漫游的步骤之后还包括以下步骤:In one of the embodiments, the step of roaming the written page in the roaming direction further includes the following steps:
计算漫游后的书写页面的第一面积值和漫游前的书写页面的第二面积值;Calculating a first area value of the written page after roaming and a second area value of the written page before roaming;
若第一面积值与第二面积值的比值大于或等于第一预设值,则获取漫游后的书写页面上的所有书写笔迹,将所有书写笔迹按预设比例缩小,将缩小后的书写笔迹移动至漫游前的书写页面,以使得漫游前的书写页面全面显示缩小后的书写笔迹。If the ratio of the first area value to the second area value is greater than or equal to the first preset value, all the writing strokes on the roaming written page are obtained, and all the writing strokes are reduced by a preset ratio, and the reduced writing handwriting is reduced. Move to the writing page before roaming so that the written page before roaming fully displays the reduced writing handwriting.
在本实施例中,在进行书写页面扩展后,需要对漫游后的书写页面的第一面积值和漫游前的书写页面的第二面积值进行计算,当第一面积值与第二面积值的比值大于或等于第一预设值时,表明此时书写页面的扩充区域已经过大,在书写页面上的书写笔迹已经无法在漫游前正常的书写页面上完整地 显示,此时需要将书写笔迹缩小至合适大小,使其能在漫游前的书写页面中全面显示,并移动至漫游前的书写页面,如此可以防止书写页面过分扩充,从而使得书写笔迹过于分散,进行缩小移动处理后可以保证所有的书写笔迹全面显示在漫游前的正常的书写页面中。In this embodiment, after the writing page is expanded, the first area value of the roaming written page and the second area value of the writing page before roaming need to be calculated, when the first area value and the second area value are When the ratio is greater than or equal to the first preset value, it indicates that the extended area of the writing page is too large, and the writing handwriting on the writing page cannot be completely completed on the normal writing page before roaming. Display, at this time, the writing handwriting needs to be reduced to an appropriate size so that it can be fully displayed in the writing page before roaming, and moved to the writing page before roaming, thus preventing the writing page from being excessively expanded, thereby making the writing handwriting too scattered. After the reduction movement process, all the writing strokes can be guaranteed to be displayed in the normal writing page before roaming.
优选的,第一预设倍数和预设比例是对应的,第一预设倍数大于1,预设比例小于1,两者的乘积应等于1或在0.8至1之间,如此可以避免缩小后的书写笔迹过小。Preferably, the first preset multiple and the preset ratio are corresponding, the first preset multiple is greater than 1, and the preset ratio is less than 1, and the product of the two should be equal to 1 or between 0.8 and 1, so that the reduction can be avoided. The writing strokes are too small.
优选的,第一预设倍数可以根据需要进行调整,一般第一预设倍数可以为1.5倍至2倍,缩小时可以将书写笔迹缩小至正常大小的50%-60%,第一预设倍数和缩小比例可以根据实际情况进行调整。Preferably, the first preset multiple can be adjusted according to requirements, generally the first preset multiple can be 1.5 times to 2 times, and the reduced writing stroke can be reduced to 50%-60% of the normal size, the first preset multiple And the reduction ratio can be adjusted according to the actual situation.
优选的,覆盖缩小后的书写笔迹的最小矩形的左上角与漫游前的书写页面的左上角对齐。Preferably, the upper left corner of the smallest rectangle covering the reduced written handwriting is aligned with the upper left corner of the written page before roaming.
在其中一个实施例中,书写页面的扩充方法还包括以下步骤:In one embodiment, the method for augmenting the page further includes the following steps:
在目标边界区域为书写页面的左边界区域、上边界区域、右边界区域和下边界区域中的任意两个相邻的边界区域的重叠区域时,计算覆盖书写页面上所有书写笔迹的最小矩形的第三面积值和书写页面的第四面积值,判断第三面积值与第二面积值的比值是否大于或等于第二预设值,若是,则为书写页面添加空白页。When the target boundary area is an overlapping area of any two adjacent boundary areas in the left boundary area, the upper boundary area, the right boundary area, and the lower boundary area of the writing page, calculating a minimum rectangle covering all writing strokes on the writing page The third area value and the fourth area value of the writing page determine whether the ratio of the third area value to the second area value is greater than or equal to the second preset value, and if so, add a blank page to the writing page.
在本实施例中,由于书写页面一般都是平面的,左边界区域、上边界区域、右边界区域和下边界区域首尾相接,围成一个封闭的区域,并且各个边界具有一定的宽度,因此任意相邻的两个边界区域必然有部分重叠区域,当落笔点在该重叠区域时,如果覆盖书写笔迹的最小矩形的面积值与书写页面面积值的比值大于或等于第二预设倍数,表明此时书写页面已经写有足够的 笔迹,需要另起页继续进行书写,即为书写页面添加空白页。其中,书写笔迹的范围可能是杂乱无章的,可以采用覆盖书写笔迹的矩形来表示书写笔迹的范围,在对书写笔迹进行范围确定时,使用的是覆盖书写笔迹的最小矩形,以尽可能地接近书写笔迹的真实范围。In this embodiment, since the writing pages are generally planar, the left boundary area, the upper boundary area, the right boundary area, and the lower boundary area are connected end to end, enclosing a closed area, and each boundary has a certain width, so Any two adjacent boundary regions necessarily have a partial overlap region. When the pen down point is in the overlap region, if the ratio of the area value of the smallest rectangle covering the written handwriting to the written page area value is greater than or equal to the second preset multiple, At this point the writing page has been written enough Handwriting, you need to start another page to continue writing, that is, add a blank page to the writing page. Wherein, the range of writing handwriting may be disordered, and the rectangle covering the writing handwriting may be used to represent the range of the writing handwriting, and when the writing handwriting is determined in scope, the smallest rectangle covering the writing handwriting is used to be as close as possible to the writing. The true range of handwriting.
优选的,第二预设倍数在0至1之间,一般可以选择0.5、0.6、0.7、0.8或0.9,添加的空白页的页数可以为一页。Preferably, the second preset multiple is between 0 and 1, and generally 0.5, 0.6, 0.7, 0.8 or 0.9 may be selected, and the number of pages of the added blank page may be one page.
优选的,在进行添加空白页之前,书写页面可以是漫游前的书写页面,也可以是漫游后的书写页面。Preferably, before the blank page is added, the writing page may be a writing page before roaming, or may be a writing page after roaming.
在其中一个实施例中,检测到书写操作的落笔点位于书写页面的目标边界区域内的步骤之前,还包括以下步骤:In one of the embodiments, before the step of detecting that the pen down point of the writing operation is within the target boundary area of the writing page, the method further includes the following steps:
在书写或落笔时开始第二预设时间倒计时,若倒计时结束前检测到任何书写或落笔操作,则判定落笔点处于书写状态,并进入所述在检测到书写操作的落笔点位于书写页面的目标边界区域内时,获取所述落笔点在所述目标边界区域的停留时间的步骤。The second preset time countdown is started when the pen is written or dropped, and if any writing or pen down operation is detected before the countdown ends, it is determined that the pen down point is in the writing state, and the target of the pen down point where the writing operation is detected is located on the writing page. The step of acquiring the dwell time of the pen down point in the target boundary area when the boundary area is within.
在本实施例中,在书写时,落笔点可能会短暂离开书写页面,只要从落笔开始,在第二预设时间倒计时内检测到书写或落笔操作,表明此时还是处于书写状态,该状态的持续时间超过第三预设时间,就可以判定为持续性书写状态。落笔点处于持续性书写状态,落笔点在目标边界区域的停留时间大于或等于第一预设时间,通过持续书写状态和停留时间这两个维度进行综合判断,使得对用户的扩充书写页面空间的意图的识别更加准确,进而使得书写页面的扩充更加方便及时,提高用户书写的体验。In this embodiment, when writing, the pen down point may leave the writing page for a short time, as long as the writing or pen writing operation is detected within the second preset time countdown from the beginning of the pen down, indicating that the writing state is still in the writing state, the state of the pen If the duration exceeds the third preset time, it can be determined as a continuous writing state. The pen down point is in the continuous writing state, and the dwell time of the pen drop point in the target boundary area is greater than or equal to the first preset time, and the two judgments of the continuous writing state and the dwell time are comprehensively judged, so that the user writes the page space for expansion. The identification of the intent is more accurate, which makes the expansion of the written page more convenient and timely, and improves the user's writing experience.
优选的,若倒计时结束之前检测到任何书写或落笔操作,则重新开始第二预设时间倒计时,如此可以持续检测落笔点是否处于书写状态。 Preferably, if any writing or pen down operation is detected before the end of the countdown, the second preset time countdown is restarted, so that it can be continuously detected whether the pen down point is in the writing state.
优选的,在确定落笔点处于书写状态后,再确定落笔点是否处于持续性书写状态,为了确保判断的准确性,第三预设时间长于第二预设时间。Preferably, after determining that the pen down point is in the writing state, it is determined whether the pen down point is in a continuous writing state, and in order to ensure the accuracy of the judgment, the third preset time is longer than the second preset time.
优选的,为了在用户进行书写操作时能及时判定书写状态,第二预设时间和第三预设时间可以设置在毫秒级。Preferably, in order to determine the writing state in time when the user performs the writing operation, the second preset time and the third preset time may be set in the millisecond level.
上述书写页面的扩充方法可以应用于电子白板等智能设备。The expansion method of the above written page can be applied to a smart device such as an electronic whiteboard.
以电子白板为例,书写页面的扩充方法可以在电子白板的软件中实现。当电子白板开启后,启动一个后台服务,用于监听用户是否触发书写操作,若有则对书写数据进行采集,其中书写数据指的是每个落笔点的横坐标和纵坐标。Taking an electronic whiteboard as an example, the expansion method of the writing page can be implemented in the software of the electronic whiteboard. When the electronic whiteboard is turned on, a background service is started to monitor whether the user triggers the writing operation, and if so, the writing data is collected, wherein the writing data refers to the abscissa and the ordinate of each pen down point.
采集到书写数据之后,判定书写持续性。从用户书写或落笔的时候开始a毫秒倒计时,如果计时结束没有任何书写或落笔的动作,则判定书写状态为非持续性书写,如果倒计时a毫秒期间有书写或落笔动作发生,则重新开始a毫秒倒计时;若持续超过b毫秒不处于非持续性书写状态,则将书写状态判定为持续性书写;其中b>a。After the written data is collected, the writing continuity is determined. A millisecond countdown starts when the user writes or drops the pen. If there is no writing or pen down action at the end of the timer, the writing state is determined to be non-persistent writing. If a writing or pen down action occurs during the countdown of a millisecond, the a millisecond is restarted. Countdown; if it is not in a non-persistent writing state for more than b milliseconds, the writing state is determined to be continuous writing; where b>a.
落笔点在距离书写页面边界n公分以内区域,并在该边界区域的停留时间为m毫秒以上,则根据落笔点所在的边界区域的方位,将分为上下左右的边界区域,界定落笔点所在的边界区域是触发扩充书写空间的首要因素。The pen drop point is within an area of n cm from the boundary of the writing page, and the dwell time in the boundary area is m msec or more. According to the orientation of the boundary area where the pen point is located, the boundary area is divided into upper and lower left and right sides, and the pen point is defined. The boundary area is the primary factor that triggers the expansion of the writing space.
在持续书写的状态下,并且落笔点在上下左右任一边界区域时,则形成对应的漫游向量来对应上下左右四个方向,其中,漫游向量的方向与边界区域所在的方位是相反的,如落笔点在左边界区域,则漫游向量的方向为向右,若落笔点涉及两个相邻的边界区域,即落笔点处于两个相邻的边界区域的重叠区域,则将对应的两个向量进行矢量运算后的总向量定为最终的漫游向量,最终的漫游方向为总向量的方向;书写页面将根据漫游向量的方向进行漫游;漫游的距离可以为人类的平均臂长。In the state of continuous writing, and the falling point is in any of the upper and lower boundary regions, a corresponding roaming vector is formed to correspond to the up, down, left, and right directions, wherein the direction of the roaming vector is opposite to the orientation of the boundary region, such as The falling point is in the left boundary area, and the direction of the roaming vector is rightward. If the falling point involves two adjacent boundary areas, that is, the falling point is in the overlapping area of two adjacent boundary areas, the corresponding two vectors will be The total vector after vector operation is determined as the final roaming vector, and the final roaming direction is the direction of the total vector; the writing page will roam according to the direction of the roaming vector; the roaming distance can be the average arm length of the human.
在进行漫游后,如果自动漫游后的书写页面面积大小达到漫游前正常书 写页面面积大小的150%或以上,则将书写笔迹缩小至正常大小的50%,并将所有书写笔迹漫游至漫游前正常书写页面中,优选的,覆盖所有书写笔迹的最小矩形可以分别与上边界区域和左边界区域相邻。After roaming, if the area of the written page after automatic roaming reaches the normal book before roaming Write 150% or more of the page size, reduce the writing stroke to 50% of the normal size, and roam all the writing strokes to the normal writing page before roaming. Preferably, the smallest rectangle covering all writing strokes can be respectively The boundary area is adjacent to the left boundary area.
若落笔点涉及两个相邻的边界区域,即落笔点处于两个相邻的边界区域的重叠区域,还可以计算覆盖书写笔迹的最小矩形的面积值和漫游前的书写页面的面积值,并判断最小矩形的面积值是否大于或等于漫游前的书写页面的面积值的一半,若是,则可以为书写页面添加一页空白页。优选的,根据书写的习惯,可以只在落笔点处于右边界区域和下边界区域的重叠区域,且最小矩形的面积值大于或等于漫游前的书写页面的面积值的一半时,添加一页空白页。If the pen point corresponds to two adjacent boundary regions, that is, the pen point is in an overlapping region of two adjacent boundary regions, the area value of the smallest rectangle covering the writing handwriting and the area value of the writing page before roaming can also be calculated, and It is judged whether the area value of the minimum rectangle is greater than or equal to half of the area value of the writing page before roaming, and if so, a blank page can be added to the writing page. Preferably, according to the writing habit, a blank page may be added only when the pen down point is in the overlapping area of the right boundary area and the lower boundary area, and the area value of the minimum rectangle is greater than or equal to half of the area value of the writing page before roaming. page.
在本发明中,“第一”、“第二”等序数词只是为了对所涉及的对象进行区分,并不是对对象本身进行限定。In the present invention, ordinal numbers such as "first" and "second" are merely used to distinguish the objects involved, and are not intended to limit the objects themselves.
根据上述书写页面的扩充方法,本发明还提供一种书写页面的扩充系统,以下就本发明的书写页面的扩充系统的实施例进行详细说明。According to the expansion method of the above-described writing page, the present invention also provides an expansion system for writing a page. Hereinafter, an embodiment of the expansion system of the writing page of the present invention will be described in detail.
参见图2所示,为本发明的书写页面的扩充系统的实施例。该实施例中的书写页面的扩充系统包括以下单元:Referring to Figure 2, an embodiment of an expansion system for a writing page of the present invention is shown. The expansion system of the writing page in this embodiment includes the following units:
获取单元210,用于在检测到书写操作的落笔点位于书写页面的目标边界区域内时,获取落笔点在目标边界区域的停留时间;The acquiring unit 210 is configured to acquire a dwell time of the pen down point in the target boundary area when the pen down point of the writing operation is detected in the target boundary area of the writing page;
比较单元220,用于比较停留时间与第一预设时间的大小,获得比较结果;The comparing unit 220 is configured to compare the dwell time with the size of the first preset time to obtain a comparison result;
漫游单元230,用于在比较结果表明停留时间大于或等于第一预设时间时,根据目标边界区域相对于书写页面的方位确定书写页面的漫游方向,将书写页面沿漫游方向漫游。 The roaming unit 230 is configured to determine, when the comparison result indicates that the dwell time is greater than or equal to the first preset time, determining a roaming direction of the writing page according to the orientation of the target boundary area with respect to the writing page, and roaming the writing page in the roaming direction.
在其中一个实施例中,漫游单元230还用于在目标边界区域为书写页面的左边界区域、上边界区域、右边界区域和下边界区域中的任意两个相邻的边界区域的重叠区域时,根据两个相邻的边界区域相对于书写页面的方位分别确定对应的漫游方向,将两个对应的漫游方向矢量相加,获得二次漫游方向,将书写页面沿二次漫游方向漫游。In one embodiment, the roaming unit 230 is further configured to: when the target boundary area is an overlapping area of any two adjacent boundary areas in the left boundary area, the upper boundary area, the right boundary area, and the lower boundary area of the writing page The corresponding roaming directions are respectively determined according to the orientations of the two adjacent boundary regions with respect to the writing page, and the two corresponding roaming direction vectors are added to obtain a secondary roaming direction, and the writing page is roamed in the secondary roaming direction.
在其中一个实施例中,如图3所示,书写页面的扩充系统还包括缩小单元240,缩小单元240用于计算漫游后的书写页面的第一面积值和漫游前的书写页面的第二面积值,若第一面积值与第二面积值的比值大于或等于第一预设值,则获取漫游后的书写页面上的所有书写笔迹,将所有书写笔迹按预设比例缩小,将缩小后的书写笔迹移动至漫游前的书写页面,以使得漫游前的书写页面全面显示缩小后的书写笔迹。In one embodiment, as shown in FIG. 3, the expansion system of the writing page further includes a reduction unit 240 for calculating the first area value of the roaming written page and the second area of the writing page before roaming. a value, if the ratio of the first area value to the second area value is greater than or equal to the first preset value, all the writing strokes on the written page after the roaming are acquired, and all the writing strokes are reduced according to a preset ratio, and the reduced The writing handwriting moves to the writing page before the roaming, so that the writing page before the roaming displays the reduced writing handwriting in a comprehensive manner.
在其中一个实施例中,如图4所示,书写页面的扩充系统还包括添加页面单元250,添加页面单元250用于在目标边界区域为书写页面的左边界区域、上边界区域、右边界区域和下边界区域中的任意两个相邻的边界区域的重叠区域时,计算覆盖书写页面上所有书写笔迹的最小矩形的第三面积值和书写页面的第四面积值,判断第三面积值与第二面积值的比值是否大于或等于第二预设值,若是,则为书写页面添加空白页。In one embodiment, as shown in FIG. 4, the expansion system of the writing page further includes an adding page unit 250 for using the left boundary area, the upper boundary area, and the right border area of the writing page in the target boundary area. And an overlapping area of any two adjacent boundary areas in the lower boundary area, calculating a third area value of the smallest rectangle covering all writing strokes on the writing page and a fourth area value of the writing page, determining the third area value and Whether the ratio of the second area value is greater than or equal to the second preset value, and if so, adding a blank page to the writing page.
在其中一个实施例中,如图5所示,书写页面的扩充系统还包括状态判定单元260,状态判定单元260用于在书写或落笔时开始第二预设时间倒计时,若倒计时结束前检测到任何书写或落笔操作,则判定落笔点处于书写状态;若落笔点处于书写状态的持续时间超过第三预设时间,则判定落笔点处于持续性书写状态;In one embodiment, as shown in FIG. 5, the expansion system of the writing page further includes a state determining unit 260 for starting a second preset time countdown when writing or pen down, and detecting if the countdown ends. If any writing or pen down operation is performed, it is determined that the pen down point is in a writing state; if the pen down point is in a writing state for a duration exceeding a third preset time, determining that the pen down point is in a continuous writing state;
获取单元210在状态判定单元260判定落笔点处于持续性书写状态后, 在检测到落笔点位于书写页面的目标边界区域内时,获取落笔点在目标边界区域的停留时间。The obtaining unit 210 determines, after the state determining unit 260 determines that the pen down point is in the continuous writing state, When it is detected that the pen down point is within the target boundary area of the writing page, the dwell time of the pen down point in the target boundary area is acquired.
本发明的书写页面的扩充系统与本发明的书写页面的扩充方法一一对应,在上述书写页面的扩充方法的实施例阐述的技术特征及其有益效果均适用于书写页面的扩充系统的实施例中。The expansion system of the writing page of the present invention corresponds to the expansion method of the writing page of the present invention, and the technical features and advantages of the embodiment of the method for expanding the writing page are applicable to the embodiment of the expansion system of the writing page. in.
以上所述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above-described embodiments may be arbitrarily combined. For the sake of brevity of description, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction between the combinations of these technical features, All should be considered as the scope of this manual.
以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。 The above-described embodiments are merely illustrative of several embodiments of the present invention, and the description thereof is more specific and detailed, but is not to be construed as limiting the scope of the invention. It should be noted that a number of variations and modifications may be made by those skilled in the art without departing from the spirit and scope of the invention. Therefore, the scope of the invention should be determined by the appended claims.

Claims (10)

  1. 一种书写页面的扩充方法,其特征在于,包括以下步骤:A method for expanding a writing page, comprising the steps of:
    在检测到书写操作的落笔点位于书写页面的目标边界区域内时,获取所述落笔点在所述目标边界区域的停留时间;Obtaining a dwell time of the pen down point in the target boundary area when detecting that the pen down point of the writing operation is located in a target boundary area of the writing page;
    比较所述停留时间与第一预设时间的大小,获得比较结果;Comparing the residence time with the size of the first preset time to obtain a comparison result;
    在所述比较结果表明所述停留时间大于或等于所述第一预设时间时,根据所述目标边界区域相对于所述书写页面的方位确定所述书写页面的漫游方向,将所述书写页面沿所述漫游方向漫游。When the comparison result indicates that the dwell time is greater than or equal to the first preset time, determining a roaming direction of the writing page according to an orientation of the target boundary region with respect to the writing page, and writing the writing page Roam along the roaming direction.
  2. 根据权利要求1所述的书写页面的扩充方法,其特征在于,还包括以下步骤:The method for expanding a writing page according to claim 1, further comprising the steps of:
    在所述目标边界区域为所述书写页面的左边界区域、上边界区域、右边界区域和下边界区域中的任意两个相邻的边界区域的重叠区域时,根据所述两个相邻的边界区域相对于所述书写页面的方位分别确定对应的漫游方向,将两个对应的漫游方向矢量相加,获得二次漫游方向,将所述书写页面沿所述二次漫游方向漫游。When the target boundary area is an overlapping area of any two adjacent boundary areas of the left boundary area, the upper boundary area, the right boundary area, and the lower boundary area of the writing page, according to the two adjacent Determining a corresponding roaming direction with respect to the orientation of the border area, and adding two corresponding roaming direction vectors to obtain a secondary roaming direction, and roaming the writing page along the secondary roaming direction.
  3. 根据权利要求1所述的书写页面的扩充方法,其特征在于,所述将所述书写页面沿所述漫游方向漫游的步骤之后还包括以下步骤:The method for expanding a writing page according to claim 1, wherein the step of roaming the writing page along the roaming direction further comprises the following steps:
    计算漫游后的书写页面的第一面积值和漫游前的书写页面的第二面积值;Calculating a first area value of the written page after roaming and a second area value of the written page before roaming;
    若所述第一面积值与所述第二面积值的比值大于或等于第一预设值,则获取漫游后的书写页面上的所有书写笔迹,将所有书写笔迹按预设比例缩小,将缩小后的书写笔迹移动至漫游前的书写页面,以使得漫游前的书写页面全面显示缩小后的书写笔迹。If the ratio of the first area value to the second area value is greater than or equal to the first preset value, all the writing strokes on the roaming written page are obtained, and all the writing strokes are reduced according to a preset ratio, and the writing will be reduced. The subsequent writing handwriting moves to the writing page before the roaming, so that the written page before roaming displays the reduced writing handwriting in a comprehensive manner.
  4. 根据权利要求1所述的书写页面的扩充方法,其特征在于,还包括以 下步骤:The method for expanding a writing page according to claim 1, further comprising Next steps:
    在所述目标边界区域为所述书写页面的左边界区域、上边界区域、右边界区域和下边界区域中的任意两个相邻的边界区域的重叠区域时,计算覆盖所述书写页面上所有书写笔迹的最小矩形的第三面积值和所述书写页面的第四面积值,判断所述第三面积值与所述第二面积值的比值是否大于或等于第二预设值,若是,则为所述书写页面添加空白页。When the target boundary area is an overlapping area of any two adjacent boundary areas in the left boundary area, the upper boundary area, the right boundary area, and the lower boundary area of the writing page, calculating to cover all of the writing pages Writing a third area value of the smallest rectangle of the handwriting and a fourth area value of the writing page, determining whether a ratio of the third area value to the second area value is greater than or equal to a second preset value, and if so, Add a blank page to the writing page.
  5. 根据权利要求1至4中任意一项所述的书写页面的扩充方法,其特征在于,还包括以下步骤:The method for expanding a writing page according to any one of claims 1 to 4, further comprising the steps of:
    在书写或落笔时开始第二预设时间倒计时,若倒计时结束前检测到任何书写或落笔操作,则判定所述落笔点处于书写状态;Starting a second preset time countdown when writing or dropping the pen, and if any writing or pen down operation is detected before the countdown ends, determining that the pen down point is in a writing state;
    若所述落笔点处于书写状态的持续时间超过第三预设时间,则判定所述落笔点处于持续性书写状态,并进入所述在检测到书写操作的落笔点位于书写页面的目标边界区域内时,获取所述落笔点在所述目标边界区域的停留时间的步骤。If the duration of the writing point in the writing state exceeds the third preset time, determining that the pen down point is in a continuous writing state, and entering the target boundary area where the writing point of the writing operation is located in the writing page And acquiring the dwell time of the pen down point in the target boundary area.
  6. 一种书写页面的扩充系统,其特征在于,包括以下单元:An expansion system for writing a page, comprising the following units:
    获取单元,用于在检测到书写操作的落笔点位于书写页面的目标边界区域内时,获取所述落笔点在所述目标边界区域的停留时间;And an acquiring unit, configured to acquire a dwell time of the pen down point in the target boundary area when the pen down point of the writing operation is detected in a target boundary area of the writing page;
    比较单元,用于比较所述停留时间与第一预设时间的大小,获得比较结果;a comparison unit, configured to compare the residence time with a size of the first preset time to obtain a comparison result;
    漫游单元,用于在所述比较结果表明所述停留时间大于或等于所述第一预设时间时,根据所述目标边界区域相对于所述书写页面的方位确定所述书写页面的漫游方向,将所述书写页面沿所述漫游方向漫游。a roaming unit, configured to determine a roaming direction of the writing page according to an orientation of the target boundary area relative to the writing page when the comparison result indicates that the dwell time is greater than or equal to the first preset time, The written page is roamed in the roaming direction.
  7. 根据权利要求6所述的书写页面的扩充系统,其特征在于,所述漫游 单元还用于在所述目标边界区域为所述书写页面的左边界区域、上边界区域、右边界区域和下边界区域中的任意两个相邻的边界区域的重叠区域时,根据所述两个相邻的边界区域相对于所述书写页面的方位分别确定对应的漫游方向,将两个对应的漫游方向矢量相加,获得二次漫游方向,将所述书写页面沿所述二次漫游方向漫游。The expansion system of a writing page according to claim 6, wherein said roaming The unit is further configured to: when the target boundary area is an overlapping area of any two adjacent boundary areas of the left boundary area, the upper boundary area, the right boundary area, and the lower boundary area of the writing page, according to the two The adjacent boundary regions respectively determine a corresponding roaming direction with respect to the orientation of the writing page, and add two corresponding roaming direction vectors to obtain a secondary roaming direction, and the writing page is along the secondary roaming direction roaming.
  8. 根据权利要求6所述的书写页面的扩充系统,其特征在于,还包括缩小单元,所述缩小单元用于计算漫游后的书写页面的第一面积值和漫游前的书写页面的第二面积值,若所述第一面积值与所述第二面积值的比值大于或等于第一预设值,则获取漫游后的书写页面上的所有书写笔迹,将所有书写笔迹按预设比例缩小,将缩小后的书写笔迹移动至漫游前的书写页面,以使得漫游前的书写页面全面显示缩小后的书写笔迹。The expansion system of a writing page according to claim 6, further comprising a reduction unit, wherein the reduction unit is configured to calculate a first area value of the roaming written page and a second area value of the written page before roaming If the ratio of the first area value to the second area value is greater than or equal to the first preset value, all the writing strokes on the roaming written page are obtained, and all writing strokes are reduced according to a preset ratio, and The reduced writing handwriting moves to the writing page before the roaming, so that the written page before roaming displays the reduced writing handwriting in full.
  9. 根据权利要求6所述的书写页面的扩充系统,其特征在于,还包括添加页面单元,所述添加页面单元用于在所述目标边界区域为所述书写页面的左边界区域、上边界区域、右边界区域和下边界区域中的任意两个相邻的边界区域的重叠区域时,计算覆盖所述书写页面上所有书写笔迹的最小矩形的第三面积值和所述书写页面的第四面积值,判断所述第三面积值与所述第二面积值的比值是否大于或等于第二预设值,若是,则为所述书写页面添加空白页。The expansion system of a writing page according to claim 6, further comprising an adding page unit, wherein the adding page unit is configured to be a left boundary area and an upper boundary area of the writing page in the target boundary area, Calculating a third area value of a minimum rectangle covering all writing strokes on the writing page and a fourth area value of the writing page when overlapping regions of any two adjacent boundary regions in the right boundary region and the lower boundary region And determining whether the ratio of the third area value to the second area value is greater than or equal to a second preset value, and if so, adding a blank page to the writing page.
  10. 根据权利要求6至9中任意一项所述的书写页面的扩充系统,其特征在于,还包括状态判定单元;The expansion system of a writing page according to any one of claims 6 to 9, further comprising a state determining unit;
    所述状态判定单元用于在书写或落笔时开始第二预设时间倒计时,若倒计时结束前检测到任何书写或落笔操作,则判定所述落笔点处于书写状态;若所述落笔点处于书写状态的持续时间超过第三预设时间,则判定所述落笔 点处于持续性书写状态;The state determining unit is configured to start a second preset time countdown when writing or pen down, and if any writing or pen down operation is detected before the countdown ends, determining that the pen down point is in a writing state; if the pen down point is in a writing state If the duration exceeds the third preset time, then the pen is determined The point is in a continuous writing state;
    所述获取单元在所述状态判定单元判定所述落笔点处于持续性书写状态后,在检测到所述落笔点位于书写页面的目标边界区域内时,获取所述落笔点在所述目标边界区域的停留时间。 The acquiring unit, after the state determining unit determines that the pen down point is in a continuous writing state, acquires the pen down point in the target boundary region when detecting that the pen down point is located in a target boundary region of the writing page The time of stay.
PCT/CN2017/077051 2016-10-21 2017-03-17 Method and system for extending writing page WO2018072385A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610921675.9 2016-10-21
CN201610921675 2016-10-21

Publications (1)

Publication Number Publication Date
WO2018072385A1 true WO2018072385A1 (en) 2018-04-26

Family

ID=58592853

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/077051 WO2018072385A1 (en) 2016-10-21 2017-03-17 Method and system for extending writing page

Country Status (2)

Country Link
CN (1) CN106598289B (en)
WO (1) WO2018072385A1 (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106598289B (en) * 2016-10-21 2019-07-09 广州视源电子科技股份有限公司 Method and system for expanding written page
CN107491249B (en) * 2017-08-21 2020-11-06 广州视源电子科技股份有限公司 Control method, device and equipment of intelligent tablet and storage medium
CN109840046A (en) * 2017-11-29 2019-06-04 鸿合科技股份有限公司 Touch screen writes processing method and processing device
CN108334229B (en) * 2018-01-31 2021-12-14 广州视源电子科技股份有限公司 Method, device and equipment for adjusting writing track and readable storage medium
CN109101150B (en) * 2018-07-20 2021-02-02 广州视源电子科技股份有限公司 Element insertion method and device, electronic equipment and computer readable storage medium
CN109117072B (en) * 2018-07-24 2021-07-30 广州视源电子科技股份有限公司 Writing area control method and system, writing method and system and interactive intelligent tablet
CN109271909A (en) * 2018-09-03 2019-01-25 广东小天才科技有限公司 Handwriting recognition method, handwriting recognition device, handwriting recognition terminal and handwriting recognition storage medium
CN111063223B (en) * 2020-01-07 2022-02-08 杭州大拿科技股份有限公司 English word spelling practice method and device
CN115938244B (en) * 2023-02-20 2023-06-02 深圳市英唐数码科技有限公司 Multi-pen-shaped adaptive electronic paper book display method, system and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120293424A1 (en) * 2011-05-20 2012-11-22 Microsoft Corporation User interface for handwriting inputs
CN102844727A (en) * 2010-02-12 2012-12-26 张善俊 Hand-written data processing device
CN104331186A (en) * 2014-10-29 2015-02-04 广州视睿电子科技有限公司 Processing method and system for writing area of touch screen
CN104793883A (en) * 2015-03-26 2015-07-22 广州视睿电子科技有限公司 Method and system for processing writing area of touch screen
CN106598289A (en) * 2016-10-21 2017-04-26 广州视源电子科技股份有限公司 Method and system for expanding written page

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102844727A (en) * 2010-02-12 2012-12-26 张善俊 Hand-written data processing device
US20120293424A1 (en) * 2011-05-20 2012-11-22 Microsoft Corporation User interface for handwriting inputs
CN104331186A (en) * 2014-10-29 2015-02-04 广州视睿电子科技有限公司 Processing method and system for writing area of touch screen
CN104793883A (en) * 2015-03-26 2015-07-22 广州视睿电子科技有限公司 Method and system for processing writing area of touch screen
CN106598289A (en) * 2016-10-21 2017-04-26 广州视源电子科技股份有限公司 Method and system for expanding written page

Also Published As

Publication number Publication date
CN106598289A (en) 2017-04-26
CN106598289B (en) 2019-07-09

Similar Documents

Publication Publication Date Title
WO2018072385A1 (en) Method and system for extending writing page
US9195881B2 (en) Image transformation apparatus and method
US20170109917A1 (en) Method and device for erasing a writing path on an infrared electronic white board, and a system for writing on an infrared electronic white board
CN108334229B (en) Method, device and equipment for adjusting writing track and readable storage medium
WO2021098359A1 (en) Lane line recognizing method, device, equipment, and storage medium
US11119622B2 (en) Window expansion method and associated electronic device
CN105302464B (en) System and method for scribing flow type document
CN111316283B (en) Gesture recognition method and device
TW201413640A (en) Apparatus and method capable of changing picture
US10409479B2 (en) Display control method and electronic apparatus
US9727145B2 (en) Detecting device and detecting method
US9891730B2 (en) Information processing apparatus, information processing method therefor, and non-transitory storage medium
CN109741365A (en) Method for tracking target, unmanned plane, terminal device and storage medium
US9069398B1 (en) Electronic device having a touch panel display and a method for operating the same
TWI547863B (en) Handwriting recognition method, system and electronic device
US10521653B2 (en) Image processing device, image processing method, and storage medium
CN103645855A (en) Touch reading method and device
CN104596509B (en) Positioning method and system, and mobile terminal
CN104252499A (en) Paging method and electronic display device
CN108334393B (en) iOS end view resource multiplexing method, storage medium, equipment and system
CN105955625B (en) A kind of display methods of scroll bar, device and intelligent terminal
CN111208928B (en) Control method for page scrolling
CN105824503B (en) Interface moving method and device
Liu et al. Re-detection and distractor association from a global perspective: A long-term tracking system
CN108724171B (en) Intelligent robot control method and device and intelligent robot

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

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: 1205A 02.10.2019

122 Ep: pct application non-entry in european phase

Ref document number: 17861283

Country of ref document: EP

Kind code of ref document: A1