CN112214192B - Operation method, system, computer equipment and storage medium of intelligent interaction panel - Google Patents

Operation method, system, computer equipment and storage medium of intelligent interaction panel Download PDF

Info

Publication number
CN112214192B
CN112214192B CN202011139045.9A CN202011139045A CN112214192B CN 112214192 B CN112214192 B CN 112214192B CN 202011139045 A CN202011139045 A CN 202011139045A CN 112214192 B CN112214192 B CN 112214192B
Authority
CN
China
Prior art keywords
initial limit
text frame
frame
limit
text
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.)
Active
Application number
CN202011139045.9A
Other languages
Chinese (zh)
Other versions
CN112214192A (en
Inventor
凌斌
廖明章
李可圣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Horion Intelligent Technology Co ltd
Original Assignee
Shenzhen Horion Intelligent Technology Co ltd
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 Shenzhen Horion Intelligent Technology Co ltd filed Critical Shenzhen Horion Intelligent Technology Co ltd
Priority to CN202011139045.9A priority Critical patent/CN112214192B/en
Publication of CN112214192A publication Critical patent/CN112214192A/en
Application granted granted Critical
Publication of CN112214192B publication Critical patent/CN112214192B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1407General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros
    • 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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/147Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention discloses an operation method and system of an intelligent interaction panel, a computer device and a storage medium, wherein the operation method comprises the following steps: acquiring an initial limit of a text frame in an element frame, and determining initial limit coordinates of the text frame; judging whether the written content exceeds the initial limit of the text frame in real time; if the written content exceeds the initial limit of the text frame, the initial limit of the text frame is adjusted to be the current limit which the written content can fall into; and adjusting the initial limit of the element frame according to the current limit of the text frame. When the characters are handwritten in the element frames, the invention can ensure that the sizes of the element frames can be automatically adapted to the sizes of the characters.

Description

Operation method, system, computer equipment and storage medium of intelligent interaction panel
Technical Field
The invention relates to the technical field of intelligent interaction plates, in particular to an operation method, an operation system, computer equipment and a storage medium of an intelligent interaction plate.
Background
Currently, when writing text content manually in a flow chart or a mind chart of an electronic whiteboard or an intelligent interaction panel, a user is generally required to manually adjust the sizes of the element frames in the flow chart or the mind chart, so that the element frames can adapt to the written content. The defect of the mode is that manual adjustment is required by a user, the effect of automatically adjusting the element frame cannot be achieved by the electronic whiteboard or the intelligent interaction panel, and the intelligent effect is insufficient, so that the experience of the user is reduced.
Disclosure of Invention
The embodiment of the invention provides an operation method and an operation system of an intelligent interaction panel, aiming at enabling the intelligent interaction panel to automatically adapt element frames to the size of written characters.
In a first aspect, an embodiment of the present invention provides an operation method of an intelligent interactive tablet, including:
acquiring an initial limit of a text frame in an element frame, and determining initial limit coordinates of the text frame;
judging whether the written content exceeds the initial limit of the text frame in real time;
if the written content exceeds the initial limit of the text frame, the initial limit of the text frame is adjusted to be the current limit which the written content can fall into;
and adjusting the initial limit of the element frame according to the current limit of the text frame.
Further, the obtaining the initial limit of the text box in the element border of the flowchart and determining the initial limit coordinate of the text box includes:
determining 4 rectangular point coordinates of the initial limit of the text frame, and taking the rectangular point coordinates at the upper left and the rectangular point coordinates at the lower right as the initial limit coordinates of the text frame; or the right-angle point coordinate at the lower left and the right-angle point coordinate at the upper right are used as the initial limit coordinates of the text frame.
Further, the real-time judging whether the writing content exceeds the initial limit of the text frame includes:
detecting whether the position coordinates of the pen-down point are within the initial limit of the text frame in real time;
if the position coordinates of the pen drop points are within the initial limit of the text frame, judging that the writing content is within the initial limit of the text frame;
and if the position coordinates of the pen drop point are not in the initial limit of the text frame, judging that the writing content exceeds the initial limit of the text frame.
Further, if the written content is not within the initial limit of the text box, adjusting the initial limit of the text box to the current limit that the written content can fall into, including:
traversing all the coordinates of the pen-down points passing through the writing content in real time, and obtaining the maximum coordinate values of the coordinates of all the pen-down points, wherein the maximum coordinate values comprise an uppermost coordinate value, a lowermost coordinate value, a leftmost coordinate value and a rightmost coordinate value;
comparing the maximum coordinate value with an initial limit coordinate corresponding to the text frame;
and if the maximum coordinate value exceeds the initial limit coordinate corresponding to the text frame, expanding the initial limit coordinate corresponding to the text frame according to the exceeding value of the maximum coordinate value, or integrally expanding all the initial limit coordinates of the text frame according to the exceeding value of the maximum coordinate value.
Further, if the maximum coordinate value exceeds the initial limit coordinate corresponding to the text frame, expanding the initial limit coordinate corresponding to the text frame according to the exceeding value of the maximum coordinate value, or integrally expanding all the initial limit coordinates of the text frame according to the exceeding value of the maximum coordinate value, including:
if the maximum coordinate value exceeds the initial limit coordinate of the text frame, expanding the initial limit coordinate corresponding to the text frame according to the sum of the exceeding value of the maximum coordinate value and a preset expansion threshold, or integrally expanding all the initial limit coordinates of the text frame according to the sum of the exceeding value of the maximum coordinate value and the preset expansion threshold.
Further, the adjusting the initial boundary of the element frame according to the current boundary of the text frame includes:
and performing equivalent range expansion on the initial limit of the element frame according to the expansion range of the current limit of the text frame.
Further, the adjusting the initial boundary of the element frame according to the current boundary of the text frame includes:
acquiring the proportion of the current limit and the initial limit of the text frame, and taking the proportion as an adjustment proportion;
based on the adjustment proportion, the center of the element frame is taken as an adjustment center, and the proportion of the current limit of the element frame to the initial limit is adjusted to be equal to the adjustment proportion.
In a second aspect, an embodiment of the present invention further provides an operating system of an intelligent interaction tablet, including:
the acquiring unit is used for acquiring the initial limit of the text frame in the element frame and determining the initial limit coordinate of the text frame;
the judging unit is used for judging whether the writing content exceeds the initial limit of the text frame in real time;
the first adjusting unit is used for adjusting the initial limit of the text frame to be the current limit which can be fallen into by the writing content if the writing content exceeds the initial limit of the text frame;
and the second adjusting unit is used for adjusting the initial limit of the element frame according to the current limit of the text frame.
In a third aspect, an embodiment of the present invention provides a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the method of operating an intelligent interactive tablet as described above when the computer program is executed.
In a fourth aspect, embodiments of the present invention provide a computer readable storage medium having a computer program stored thereon, which when executed by a processor, implements a method of operating a smart interactive tablet as described above.
The embodiment of the invention provides an operation method, a system and related components of an intelligent interaction panel, wherein the operation method comprises the following steps: acquiring an initial limit of a text frame in an element frame, and determining initial limit coordinates of the text frame; judging whether the written content exceeds the initial limit of the text frame in real time; if the written content exceeds the initial limit of the text frame, the initial limit of the text frame is adjusted to be the current limit which the written content can fall into; and adjusting the initial limit of the element frame according to the current limit of the text frame. When the embodiment of the invention is used for handwriting characters in the element frame, the size of the element frame can be ensured to be automatically adapted to the size of the characters.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of an operation method of an intelligent interactive tablet according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of an element frame and a text frame of an intelligent interactive tablet according to an embodiment of the present invention;
FIG. 3 is a schematic block diagram of an operating system of an intelligent interactive tablet provided by the named embodiment.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be understood that the terms "comprises" and "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
Referring to fig. 1, fig. 1 is a schematic diagram of an operation method of an intelligent interaction panel according to an embodiment of the present invention, which specifically includes: steps S101 to S104.
S101, acquiring an initial limit of a text frame in an element frame, and determining initial limit coordinates of the text frame;
s102, judging whether the written content exceeds the initial limit of the text frame in real time;
s103, if the written content exceeds the initial limit of the text frame, adjusting the initial limit of the text frame to be the current limit which can be fallen into by the written content;
s104, adjusting the initial limit of the element frame according to the current limit of the text frame.
In this embodiment, when a user performs manual writing in an element frame on the intelligent interaction tablet, due to excessive writing content or larger writing text characters, the writing content may exceed a text frame in the element frame, and even may exceed the element frame, so that the content presented by the intelligent interaction tablet lacks visual aesthetic feeling, and the visual experience of the user is reduced. Therefore, in this embodiment, whether the element border and the text frame need to be adjusted is determined in real time according to the writing content of the user, that is, when the writing content exceeds the initial border of the text frame, the initial border of the text frame needs to be adjusted, so that the writing content can fall into the text frame entirely. After the text frame is adjusted, the gap between the text frame and the element frame changes, namely the gap between the written content and the element frame changes, so that the element frame is correspondingly adjusted for improving the visual experience of a user.
By utilizing the operation method of the intelligent interaction panel provided by the embodiment, when characters are written in the element frames, the sizes of the character frames can be changed along with the change of the sizes of the character contents, and the element frames can be changed along with the change of the sizes of the character frames, so that the automatic adjustment of the sizes of the elements can be realized, the process of manually adjusting the sizes of the elements is omitted, and the operation for drawing thinking guide diagrams, flowcharts and the like is very convenient and quick.
It should be noted that, in conjunction with fig. 2, the element herein may be understood as a graphic element, which includes the element frame (solid line frame in fig. 2) and the text frame (dashed line frame in fig. 2), where a (X, Y), B (X, Y) on the dashed line frame are rectangular coordinates of the text frame, and C (X, Y) is a center point of the text frame and the element frame. It should be further noted that, the element frame in this embodiment is generally in a shape commonly used such as a mind map or a flowchart, for example, a diamond shape, a rectangle shape, etc., and the element frame is visible when editing, the text frame is a region in which text is written in the element frame, generally in a rectangle shape, and the text frame may be in an invisible state, i.e. invisible, in actual editing.
In one embodiment, the step S101 includes:
determining 4 rectangular point coordinates of the initial limit of the text frame, and taking the rectangular point coordinates at the upper left and the rectangular point coordinates at the lower right as the initial limit coordinates of the text frame; or the right-angle point coordinate at the lower left and the right-angle point coordinate at the upper right are used as the initial limit coordinates of the text frame.
In this embodiment, after the initial boundary of the text frame is obtained, the initial boundary coordinates corresponding to the initial boundary of the text frame, that is, the 4 rectangular point coordinates of the initial boundary of the text frame, may be obtained. In the 4 rectangular point coordinates, as seen in the longitudinal axis direction, the abscissa of every two rectangular point coordinates in the 4 rectangular point coordinates is the same, and as seen in the transverse axis direction, the ordinate of every two rectangular point coordinates in the 4 rectangular point coordinates is the same, so that when the initial limit coordinates of the text frame are obtained, only two rectangular point coordinates in the diagonal direction, namely, the rectangular point coordinates at the upper left and the rectangular point coordinates at the lower right, or the rectangular point coordinates at the lower left and the rectangular point coordinates at the upper right, need to be obtained. As shown in fig. 2, coordinates a (X, Y) and B (X, Y) may be the initial boundary coordinates of the text box.
For example, the 4 rectangular coordinates of the initial boundary of the text frame are A1 (5, 9), A2 (9, 9), A3 (5, 12), and A4 (9, 12), respectively, and the initial boundary coordinates of the acquired text frame are A1 (5, 9) and A4 (9, 12), or A2 (9, 9) and A3 (5, 12).
In an embodiment, the step S102 includes:
detecting whether the position coordinates of the pen-down point are within the initial limit of the text frame in real time;
if the position coordinates of the pen drop points are within the initial limit of the text frame, judging that the writing content is within the initial limit of the text frame;
and if the position coordinates of the pen drop point are not in the initial limit of the text frame, judging that the writing content exceeds the initial limit of the text frame.
In this embodiment, although the writing content may be continuous during writing, the writing content may be regarded as a connection of coordinate points, so that when determining whether the writing content exceeds the initial limit of the text frame, the determination may be made according to the position coordinates of the pen-down point of the writing content. Of course, since the position coordinates of the pen-down point are generally changed in real time, it is possible that the position coordinates of the pen-down point are not within the initial limit of the text box during the current detection, and the position coordinates of the pen-down point are within the initial limit of the text box during the next detection.
In one embodiment, the step S103 includes:
traversing all the coordinates of the pen-down points passing through the writing content in real time, and obtaining the maximum coordinate values of the coordinates of all the pen-down points, wherein the maximum coordinate values comprise an uppermost coordinate value, a lowermost coordinate value, a leftmost coordinate value and a rightmost coordinate value;
comparing the maximum coordinate value with an initial limit coordinate corresponding to the text frame;
and if the maximum coordinate value exceeds the initial limit coordinate corresponding to the text frame, expanding the initial limit coordinate corresponding to the text frame according to the exceeding value of the maximum coordinate value, or integrally expanding all the initial limit coordinates of the text frame according to the exceeding value of the maximum coordinate value.
In this embodiment, after it is determined that the writing content exceeds the initial limit of the text box, the coordinates of the pen-down point of the writing content are obtained in real time, and the maximum coordinate values are further obtained. Since the maximum coordinate value covers the uppermost coordinate value, the lowermost coordinate value, the leftmost coordinate value and the rightmost coordinate value of the pen-down point, it is possible that the uppermost coordinate value exceeds the initial limit coordinate corresponding to the text frame (i.e., the initial limit coordinate with the largest ordinate) and the lowermost coordinate value does not exceed the initial limit coordinate corresponding to the text frame (i.e., the initial limit coordinate with the smallest ordinate). Therefore, after determining that the written content exceeds the initial limit of the text box, it is further necessary to determine whether the maximum coordinate value of the written content exceeds the initial limit coordinate corresponding to the text box.
After the maximum coordinate value is determined to be exceeded, the corresponding border of the text frame is expanded according to the exceeding value and the exceeding direction of the maximum coordinate value, for example, if the uppermost coordinate value exceeds the initial limit coordinate of the text frame and the exceeding value is a, the upper border of the text frame is expanded upwards by a or the length (such as the multiple of a or the sum of a and a certain fixed value) related to a, so that the writing content can fall into the current limit of the expanded text frame. In this embodiment, the expansion is performed only in the exceeding direction, that is, when the position coordinate of a certain direction of the pen-down point of the writing content exceeds the initial limit coordinate corresponding to the text frame, the corresponding direction of the text frame is expanded, and the direction may be one direction, two directions, three directions, four directions, or the like. As for the extension range, the extension range of each side may be related to the corresponding excess value (e.g., the extension range is a, a multiple of a, or a sum of a and a certain fixed value, etc.), or the extension range of each side may be the same (e.g., the extension range is the maximum excess value of each direction, or a multiple of the maximum excess value, or a sum of the maximum excess value and a certain fixed value, etc.).
Further, after the maximum coordinate value is determined to be exceeded, the whole initial limit of the text frame may be expanded as a whole according to the exceeding value of the maximum coordinate value. For example, if the uppermost coordinate value exceeds the initial limit coordinate of the text frame and the exceeding value is a, the overall initial limit of the text frame is expanded, that is, the upper frame, the lower frame, the left frame and the right frame of the text frame are respectively expanded by a or a length related to a (such as a multiple of a or a sum of a and a fixed value, etc.), so that the distances or proportions between the frames of the text frame and the frames of the element frame are the same or similar, and the visual appearance is improved. When the whole expansion is carried out, if the written content exceeds the text frame from a plurality of directions, the maximum exceeding value of each direction can be obtained from the written content, and then each frame of the text frame is expanded according to the maximum exceeding value. The text frame can be expanded according to equal proportion (namely the length and width ratio of the text frame are unchanged), so that the expanded text frame covers all writing contents and meets the requirement of a preset range.
In an embodiment, if the maximum coordinate value exceeds the initial limit coordinate corresponding to the text frame, the initial limit coordinate corresponding to the text frame is expanded according to the exceeding value of the maximum coordinate value, or all the initial limit coordinates of the text frame are integrally expanded according to the exceeding value of the maximum coordinate value, including:
if the maximum coordinate value exceeds the initial limit coordinate of the text frame, expanding the initial limit coordinate corresponding to the text frame according to the sum of the exceeding value of the maximum coordinate value and a preset expansion threshold, or integrally expanding all the initial limit coordinates of the text frame according to the sum of the exceeding value of the maximum coordinate value and the preset expansion threshold.
In this embodiment, after determining the exceeding value of the maximum coordinate value, the text frame is expanded according to the sum of the exceeding value and a preset expansion threshold, where the preset expansion threshold is a preset threshold for expanding the initial limit coordinate of the text frame. The visual experience of the user can be further improved by expanding the text frame according to the sum of the exceeding value and the preset expansion threshold value, so that the text frame and the writing content in the text frame are more in accordance with the aesthetic of the user.
For example, in the case of performing unilateral expansion, if the exceeding value of the leftmost coordinate value is a and the preset expansion threshold is b, the length of a+b may be expanded by the left frame of the text frame.
Or, when the whole expansion is performed, the exceeding values of the writing content in all directions are as follows: and the exceeding value of the rightmost coordinate value is a1, the exceeding value of the leftmost coordinate value is a2, the exceeding value of the uppermost coordinate value is a3, the exceeding value of the lowermost coordinate value is a4, wherein the maximum exceeding value is a1, and the preset expansion threshold value is b, so that all frames of the text frame can be expanded according to the length of a1+b. The text frame can be expanded in equal proportion (namely, the length of the text frame and the length proportion are unchanged), so that the expanded text frame covers all writing contents, and the distance between the right frame of the expanded text frame and the rightmost coordinate value of the writing contents is b.
In one embodiment, the step S104 includes:
and performing equivalent range expansion on the initial limit of the element frame according to the expansion range of the current limit of the text frame.
In this embodiment, after the size of the text frame is properly adjusted, the gap between the current limit of the text frame and the initial limit of the element frame is reduced, so that the text in the element frame is more attractive for maintaining visual comfort, and therefore, the element frame is also adjusted to a certain extent. Specifically, the initial limit of the element frame is equivalently adjusted according to the expansion range of the current limit of the text frame, that is, the current limit of the text frame is adjusted compared with the initial limit adjustment range (including length and width). That is, the extension range of the element frame is equal to the extension range of the text frame. Of course, when the element frame is adjusted, the center point of the element frame (i.e., the center point of the text frame) is also adjusted.
Further, the expansion range of the text frame is obtained, and the element frame is expanded according to the sum of the expansion range of the text frame and a preset adjustment threshold value. Therefore, the expanded element frames and the expanded text frames are more in line with visual sense.
In one embodiment, the step S104 includes:
acquiring the proportion of the current limit and the initial limit of the text frame, and taking the proportion as an adjustment proportion;
based on the adjustment proportion, the center of the element frame is taken as an adjustment center, and the proportion of the current limit of the element frame to the initial limit is adjusted to be equal to the adjustment proportion.
In this embodiment, the element frame is adjusted in equal proportion according to the proportion between the current limit and the initial limit of the text frame, that is, the proportion between the adjusted current limit and the initial limit of the element frame is equal to the proportion between the current limit and the initial limit of the text frame. It will be appreciated that the ratio between the current limit of the element frame and the initial limit of the element frame is equal to the ratio between the current limit and the initial limit of the text frame, that is, the ratio between the length of the current limit of the element frame and the length of the initial limit of the element frame is equal to the ratio between the length of the current limit of the text frame and the length of the initial limit of the text frame, and the ratio between the width of the current limit of the element frame and the width of the initial limit of the element frame is equal to the ratio between the width of the current limit of the text frame and the width of the initial limit of the text frame.
For example, the length of the initial boundary of the text frame is M1, the width of the initial boundary is N1, the adjusted current boundary is M2, the width of the adjusted current boundary is N2, the length ratio between the current boundary and the initial boundary of the text frame is M2/M1, the width ratio is N2/N1, the length of the initial boundary of the element frame is M1, the width of the element frame is N1, the element frame is adjusted according to the ratio between the current boundary and the initial boundary of the text frame, the current length ratio m2=m2/m1 of the element frame is M1, that is, m2/m1=m2/M1, and the current width ratio n2=n2/N1 of the element frame is N2/N1, that is, n2/n1=n2/N1.
Fig. 3 is an operating system 300 of an intelligent interactive tablet according to an embodiment of the present invention, where the operating system 300 includes:
an obtaining unit 301, configured to obtain an initial limit of a text frame in an element frame, and determine an initial limit coordinate of the text frame;
a judging unit 302, configured to judge in real time whether the written content exceeds an initial limit of the text frame;
a first adjusting unit 303, configured to adjust the initial limit of the text box to a current limit in which the writing content can fall entirely if the writing content exceeds the initial limit of the text box;
and the second adjusting unit 304 is configured to adjust the initial boundary of the element frame according to the current boundary of the text frame.
In an embodiment, the obtaining unit 301 includes:
the coordinate determining unit is used for determining 4 rectangular point coordinates of the initial limit of the text frame, and taking the rectangular point coordinates at the upper left and the rectangular point coordinates at the lower right as the initial limit coordinates of the text frame; or the right-angle point coordinate at the lower left and the right-angle point coordinate at the upper right are used as the initial limit coordinates of the text frame.
In one embodiment, the determining unit 302 includes:
the real-time detection unit is used for detecting whether the position coordinates of the pen-down point are within the initial limit of the text frame in real time;
the first judging unit is used for judging that the writing content is in the initial limit of the text frame if the position coordinates of the pen-down point are in the initial limit of the text frame;
and the second judging unit is used for judging that the writing content exceeds the initial limit of the text frame if the position coordinates of the pen-down point are not in the initial limit of the text frame.
In an embodiment, the first adjusting unit 303 includes:
the traversing unit is used for traversing all the coordinates of the pen-down points passing through the writing content in real time and acquiring the maximum coordinate values of the coordinates of all the pen-down points, wherein the maximum coordinate values comprise an uppermost coordinate value, a lowermost coordinate value, a leftmost coordinate value and a rightmost coordinate value;
the comparison unit is used for comparing the maximum coordinate value with the initial limit coordinate corresponding to the text frame;
and the whole expansion unit is used for expanding the initial limit coordinates corresponding to the text frame according to the exceeding value of the maximum coordinate value or expanding all the initial limit coordinates of the text frame according to the exceeding value of the maximum coordinate value if the maximum coordinate value exceeds the initial limit coordinates corresponding to the text frame.
In an embodiment, the integral expansion unit comprises:
and the threshold expansion unit is used for expanding the initial limit coordinates corresponding to the text frame according to the sum of the exceeding value of the maximum coordinate value and a preset expansion threshold value or integrally expanding all the initial limit coordinates of the text frame according to the sum of the exceeding value of the maximum coordinate value and the preset expansion threshold value if the maximum coordinate value exceeds the initial limit coordinates of the text frame.
In an embodiment, the second adjusting unit 304 includes:
and carrying out equivalent range expansion on the initial limit of the element frame according to the expansion range of the current limit of the text frame.
In an embodiment, the second adjusting unit 304 includes:
the proportion obtaining unit is used for obtaining the proportion of the current limit and the initial limit of the text frame and taking the proportion as an adjustment proportion;
and the proportion adjusting unit is used for adjusting the proportion of the current limit and the initial limit of the element frame to be equal to the adjustment proportion by taking the center of the element frame as an adjustment center based on the adjustment proportion.
Since the embodiments of the system portion and the embodiments of the method portion correspond to each other, the embodiments of the system portion refer to the description of the embodiments of the method portion, which is not repeated herein.
The embodiment of the present invention also provides a computer readable storage medium having a computer program stored thereon, which when executed can implement the steps provided in the above embodiment. The storage medium may include: a U-disk, a removable hard disk, a Read-only memory (ROM), a random access memory (RandomAccess Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The embodiment of the invention also provides a computer device, which can comprise a memory and a processor, wherein the memory stores a computer program, and the processor can realize the steps provided by the embodiment when calling the computer program in the memory. Of course, the computer device may also include various network interfaces, power supplies, and the like.
In the description, each embodiment is described in a progressive manner, and each embodiment is mainly described by the differences from other embodiments, so that the same similar parts among the embodiments are mutually referred. For the system disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant points refer to the description of the method section. It should be noted that it would be obvious to those skilled in the art that various improvements and modifications can be made to the present application without departing from the principles of the present application, and such improvements and modifications fall within the scope of the claims of the present application.
It should also be noted that in this specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.

Claims (9)

1. An operation method of an intelligent interaction panel is characterized by comprising the following steps:
acquiring an initial limit of a text frame in an element frame, and determining initial limit coordinates of the text frame;
judging whether the written content exceeds the initial limit of the text frame in real time;
if the written content exceeds the initial limit of the text frame, the initial limit of the text frame is adjusted to be the current limit which the written content can fall into;
adjusting the initial limit of the element frame according to the current limit of the text frame;
the adjusting the initial limit of the element frame according to the current limit of the text frame comprises the following steps:
acquiring the proportion of the current limit and the initial limit of the text frame, and taking the proportion as an adjustment proportion;
based on the adjustment proportion, the center of the element frame is taken as an adjustment center, and the proportion of the current limit of the element frame to the initial limit is adjusted to be equal to the adjustment proportion.
2. The method for operating an intelligent interactive tablet according to claim 1, wherein the obtaining the initial limit of the text box in the element frame and determining the initial limit coordinates of the text box comprises:
determining 4 rectangular point coordinates of the initial limit of the text frame, and taking the rectangular point coordinates at the upper left and the rectangular point coordinates at the lower right as the initial limit coordinates of the text frame; or the right-angle point coordinate at the lower left and the right-angle point coordinate at the upper right are used as the initial limit coordinates of the text frame.
3. The method of claim 1, wherein the determining in real time whether the written content is beyond the initial limit of the text box comprises:
detecting whether the position coordinates of the pen-down point are within the initial limit of the text frame in real time;
if the position coordinates of the pen drop points are within the initial limit of the text frame, judging that the writing content is within the initial limit of the text frame;
and if the position coordinates of the pen drop point are not in the initial limit of the text frame, judging that the writing content exceeds the initial limit of the text frame.
4. The method for operating an intelligent interactive tablet according to claim 3, wherein if the written content is not within the initial limit of the text box, adjusting the initial limit of the text box to the current limit that the written content can fall into, comprises:
traversing all the coordinates of the pen-down points passing through the writing content in real time, and obtaining the maximum coordinate values of the coordinates of all the pen-down points, wherein the maximum coordinate values comprise an uppermost coordinate value, a lowermost coordinate value, a leftmost coordinate value and a rightmost coordinate value;
comparing the maximum coordinate value with an initial limit coordinate corresponding to the text frame;
and if the maximum coordinate value exceeds the initial limit coordinate corresponding to the text frame, expanding the initial limit coordinate corresponding to the text frame according to the exceeding value of the maximum coordinate value, or integrally expanding all the initial limit coordinates of the text frame according to the exceeding value of the maximum coordinate value.
5. The method according to claim 4, wherein if the maximum coordinate value exceeds the initial limit coordinate corresponding to the text frame, expanding the initial limit coordinate corresponding to the text frame according to the exceeding value of the maximum coordinate value, or integrally expanding all the initial limit coordinates of the text frame according to the exceeding value of the maximum coordinate value, comprises:
if the maximum coordinate value exceeds the initial limit coordinate of the text frame, expanding the initial limit coordinate corresponding to the text frame according to the sum of the exceeding value of the maximum coordinate value and a preset expansion threshold, or integrally expanding all the initial limit coordinates of the text frame according to the sum of the exceeding value of the maximum coordinate value and the preset expansion threshold.
6. The method of claim 1, wherein the adjusting the initial limits of the element frame according to the current limits of the text frame comprises:
and performing equivalent range expansion on the initial limit of the element frame according to the expansion range of the current limit of the text frame.
7. An intelligent interactive tablet operating system, comprising
The acquiring unit is used for acquiring the initial limit of the text frame in the element frame and determining the initial limit coordinate of the text frame;
the judging unit is used for judging whether the writing content exceeds the initial limit of the text frame in real time;
the first adjusting unit is used for adjusting the initial limit of the text frame to be the current limit which can be fallen into by the writing content if the writing content exceeds the initial limit of the text frame;
the second adjusting unit is used for adjusting the initial limit of the element frame according to the current limit of the text frame;
the second adjusting unit includes:
the proportion obtaining unit is used for obtaining the proportion of the current limit and the initial limit of the text frame and taking the proportion as an adjustment proportion;
and the proportion adjusting unit is used for adjusting the proportion of the current limit and the initial limit of the element frame to be equal to the adjustment proportion by taking the center of the element frame as an adjustment center based on the adjustment proportion.
8. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing a method of operating the intelligent interactive tablet of any one of claims 1 to 6 when the computer program is executed.
9. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon a computer program which, when executed by a processor, implements the method of operating a smart interactive tablet according to any one of claims 1 to 6.
CN202011139045.9A 2020-10-22 2020-10-22 Operation method, system, computer equipment and storage medium of intelligent interaction panel Active CN112214192B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011139045.9A CN112214192B (en) 2020-10-22 2020-10-22 Operation method, system, computer equipment and storage medium of intelligent interaction panel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011139045.9A CN112214192B (en) 2020-10-22 2020-10-22 Operation method, system, computer equipment and storage medium of intelligent interaction panel

Publications (2)

Publication Number Publication Date
CN112214192A CN112214192A (en) 2021-01-12
CN112214192B true CN112214192B (en) 2023-08-04

Family

ID=74056461

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011139045.9A Active CN112214192B (en) 2020-10-22 2020-10-22 Operation method, system, computer equipment and storage medium of intelligent interaction panel

Country Status (1)

Country Link
CN (1) CN112214192B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112949661B (en) * 2021-05-13 2021-08-06 北京世纪好未来教育科技有限公司 Detection frame self-adaptive external expansion method and device, electronic equipment and storage medium
CN114546175A (en) * 2022-02-28 2022-05-27 长沙朗源电子科技有限公司 Character drawing method and system of electronic whiteboard, electronic whiteboard and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107273032A (en) * 2017-06-28 2017-10-20 广州视源电子科技股份有限公司 Information composition method, device, equipment and computer-readable storage medium
CN108834426A (en) * 2015-10-19 2018-11-16 迈思慧公司 The system and method for handwriting recognition in figure
CN111046453A (en) * 2019-12-13 2020-04-21 微创(上海)网络技术股份有限公司 Method for realizing automatic layout of flow chart

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6587128B2 (en) * 1999-07-15 2003-07-01 International Business Machines Corporation Method for displaying hidden objects by varying the transparency of overlapping objects
CN105242839A (en) * 2015-11-12 2016-01-13 广州视睿电子科技有限公司 Touch menu control method and system
CN109284494A (en) * 2018-09-07 2019-01-29 广州视源电子科技股份有限公司 A kind of method, apparatus, equipment and the storage medium of dynamic adjustment table
CN109460180B (en) * 2018-11-01 2022-05-31 联想(北京)有限公司 Control method and electronic device
CN110427601B (en) * 2019-07-16 2021-05-18 广州视源电子科技股份有限公司 Form processing method and device, intelligent interactive panel and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108834426A (en) * 2015-10-19 2018-11-16 迈思慧公司 The system and method for handwriting recognition in figure
CN107273032A (en) * 2017-06-28 2017-10-20 广州视源电子科技股份有限公司 Information composition method, device, equipment and computer-readable storage medium
CN111046453A (en) * 2019-12-13 2020-04-21 微创(上海)网络技术股份有限公司 Method for realizing automatic layout of flow chart

Also Published As

Publication number Publication date
CN112214192A (en) 2021-01-12

Similar Documents

Publication Publication Date Title
CN112214192B (en) Operation method, system, computer equipment and storage medium of intelligent interaction panel
CN101452444B (en) Rapid editing and typesetting method for handwriting information
US10339209B2 (en) Webpage display method and device
CN100566373C (en) Image edit method and image editing apparatus
CN110163030B (en) PDF framed table extraction method based on image information
CN106201172B (en) Canvas display method and device for touch screen terminal
JP4737269B2 (en) Image processing apparatus and program
CN108304132B (en) Graph display method, device, equipment and storage medium
US20090319887A1 (en) Fit and fill techniques for pictures
CN104915332A (en) Method and device for generating composing template
CN110427601B (en) Form processing method and device, intelligent interactive panel and storage medium
CN105389165A (en) Document picture display method and apparatus, and terminal
US11080464B2 (en) Correction techniques of overlapping digital glyphs
CN107239390B (en) Method and device for checking application interface information
CN104408754B (en) A kind of icon synthetic method
CN108154792B (en) Graphic character annotation method and device
EP1962489A2 (en) Document edit device
CN103186880B (en) Generate the method and apparatus of thumbnail
CN109657203B (en) Method and system for adjusting font size of font library
CN112115884A (en) Form recognition method and system
CN107832359B (en) Picture retrieval method and system
CN105242832A (en) Method and device for displaying screen locking information flow
CN110120059B (en) Icon generation method and device
CN106558019B (en) Picture arrangement method and device
CN113962193A (en) Table typesetting method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant