CN106909246B - Electronic writing and erasing method and intelligent touch television - Google Patents

Electronic writing and erasing method and intelligent touch television Download PDF

Info

Publication number
CN106909246B
CN106909246B CN201710028853.XA CN201710028853A CN106909246B CN 106909246 B CN106909246 B CN 106909246B CN 201710028853 A CN201710028853 A CN 201710028853A CN 106909246 B CN106909246 B CN 106909246B
Authority
CN
China
Prior art keywords
erasing
erasing area
area
execution time
boundary
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
CN201710028853.XA
Other languages
Chinese (zh)
Other versions
CN106909246A (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.)
Hisense Visual Technology Co Ltd
Original Assignee
Hisense Electric 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 Hisense Electric Co Ltd filed Critical Hisense Electric Co Ltd
Priority to CN201710028853.XA priority Critical patent/CN106909246B/en
Publication of CN106909246A publication Critical patent/CN106909246A/en
Application granted granted Critical
Publication of CN106909246B publication Critical patent/CN106909246B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0412Digitisers structurally integrated in a display
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/042Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by opto-electronic means
    • G06F3/0421Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by opto-electronic means by interrupting or reflecting a light beam, e.g. optical touch-screen

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)

Abstract

The invention relates to an electronic writing and erasing method and an intelligent touch television, wherein the method comprises the steps of obtaining the position coordinates of characteristic points in an erasing area and the execution time of erasing operation; determining the boundary of an erasing area according to the position coordinates of the characteristic point of the erasing area and the execution time; and clearing the content in the erasing area or outside the erasing area defined by the boundary. The method provided by the embodiment of the invention has the advantages of less calculation data amount and simple process, thereby occupying less storage and calculation resources.

Description

Electronic writing and erasing method and intelligent touch television
Technical Field
The invention relates to the technical field of electronic writing, in particular to an electronic writing erasing method and an intelligent touch television.
Background
The electronic writing application is an application for executing writing, drawing and erasing actions on electronic equipment, and the use forms of the electronic writing application are mainly divided into two types, one type is used on an electronic whiteboard all-in-one machine, and the electronic writing application is applied to occasions such as multimedia teaching, meeting rooms and the like, a user can write on a board surface by hands or a matched electronic pen, and can erase contents on the board surface by using an electronic eraser or a matched electronic eraser; the other is used on intelligent equipment (such as an intelligent touch television, an intelligent mobile terminal, a PC terminal and the like), a display screen of the intelligent equipment provided with an electronic writing application can be used as a writing board, a user can control a writing pen to write on a board surface by using a hand or a mouse, and can control an electronic eraser to erase contents on the board surface by using the hand or the mouse.
Fig. 1 is a schematic diagram of a smart touch television capable of providing a tablet function. As shown in fig. 1, the smart touch television includes a display screen 1, a touch frame 2, a touch MCU3 and a processor 4, wherein the touch frame 2 is disposed on a frame around the display screen 1, the touch MCU3 is connected to the touch frame 2, and the touch MCU3 is configured to implement positioning and touch functions of the display screen 1 according to a position on the touch frame 2 where an infrared signal is blocked; the processor 4 is electrically connected to the display screen 1 and the touch MCU3, and is configured to control writing and erasing of content on the display screen 1 according to the position data sent by the touch MCU 3. When it is necessary to erase the contents on the display screen 1, the user selects the function of the electronic eraser, and as the user controls the movement of the electronic eraser, the touch frame 2 locates the position of the electronic eraser on the display screen 1 in real time and transmits the position data to the touch MCU 3. The touch control MCU3 determines the moving track of the electronic eraser according to the position data and sends the moving track data to the processor 4, and the processor 4 calculates the moving area of the electronic eraser according to the width and the moving track data of the electronic eraser, thereby determining the erasing area of the eraser and further removing the content in the erasing area on the display screen 1.
However, the touch MCU3 needs to position each position data covered by the moving process of the electronic eraser in real time and calculate the moving track according to the position data; meanwhile, the processor 4 needs to calculate the erasing area according to the width and the moving track of the eraser, which causes a large amount of data and a complicated process for calculating the erasing area, thereby occupying the calculation resources of the processor.
Disclosure of Invention
In order to solve the problems of large calculation data volume and complex process in the related technology, the invention provides an electronic writing and erasing method and an intelligent touch television.
According to a first aspect of embodiments of the present invention, there is provided an electronic writing erasing method, including:
acquiring the position coordinates of the feature points of the erasing area and the execution time of the erasing operation;
determining the boundary of an erasing area according to the position coordinates of the characteristic point of the erasing area and the execution time;
and clearing the content in the erasing area or outside the erasing area defined by the boundary.
In a second aspect, there is provided another flow chart of an electronic writing and erasing method, including:
acquiring coordinates of the feature point positions of the erasing area;
determining the boundary of the erasing area according to a closed area formed by connecting the position coordinates of the characteristic points of the erasing area;
and clearing the content in the erasing area or outside the erasing area defined by the boundary.
In a third aspect, a smart touch television is provided, including: memory, treater, display screen and infrared touch-control subassembly, wherein:
the memory for storing program code;
the infrared touch control assembly comprises an infrared touch control frame, a touch control MCU and a touch control driving circuit, wherein the infrared touch control frame is arranged on a frame around the display screen, the touch control MCU is used for controlling the touch control driving circuit, and the touch control driving circuit is used for driving an infrared transmitting tube and an infrared receiving tube on the infrared touch control frame;
the processor is configured to execute the methods of the first and second aspects, and control the erasing of the content on the display screen.
The technical scheme provided by the embodiment of the invention can have the following beneficial effects:
in the method provided by the embodiment of the invention, the position coordinates of the characteristic points of the erasing area and the execution time of the erasing operation are obtained, and the boundary of the erasing area is determined according to the length of the execution time and the characteristic points of the erasing area, so that the content in the area or outside the area defined by the boundary is erased. From the above description, when determining the boundary of the erasing area, the data amount required can be determined according to the characteristic point and the execution time of the erasing area, and the calculation process is simple, so that the occupied storage resource and the calculation resource are less, and the synchronization of the erasing action of the user and the erasing operation of the equipment is achieved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
FIG. 1 is a schematic diagram of a smart touch television capable of providing a tablet function;
FIG. 2 is a schematic flow chart according to a first embodiment of the present invention;
fig. 3 is a schematic flow chart of a second embodiment according to the present invention;
fig. 4 is a schematic flow chart of a third embodiment according to the present invention;
fig. 5 is a schematic flow chart of a fourth embodiment according to the present invention;
fig. 6 is a schematic flow chart of a fifth embodiment according to the present invention;
fig. 7 is a flowchart illustrating another electronic writing and erasing method according to an embodiment of the present invention.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
Taking the intelligent touch screen as an example, the electronic writing application is installed in the intelligent touch television, after the electronic writing application is opened, the intelligent touch television is used as a writing board, a user can write and draw on a display screen of the intelligent touch television, when the electronic writing application needs to be erased, the electronic eraser is selected, the electronic eraser is clicked by a hand, the electronic eraser is dragged to slide, and therefore an erasing area covered by a moving track of the electronic eraser is erased.
However, the intelligent touch television needs to position each position data covered in the moving process of the electronic eraser in real time, calculate a moving track according to all the position data, calculate an erasing area according to the width of the electronic eraser, and finally clear the contents such as characters or drawings in the erasing area on the display screen.
Example one
An embodiment of the present invention provides an electronic writing and erasing method, and referring to fig. 2, a flow chart of an embodiment of the present invention is provided.
In step S101, coordinates of the feature point position of the erasing area and the execution time of the erasing operation are acquired.
The erasing area characteristic point refers to a center point, a boundary point, and the like corresponding to the erasing area, for example, when the erasing area is a circular area, the erasing area characteristic point is any point on the center point or the boundary of the circle. In an electronic writing application, when content needs to be erased, after the electronic eraser is selected, the processor sends an erasing area graph selection instruction, wherein the erasing area graph comprises graphs such as circles, squares, rectangles, triangles, pentagons and the like, each graph has respective characteristic points, for example, a square has a central point, corner points on four corners and a midpoint of each side. After the processor sends an erasing area graph selection instruction, a plurality of graph selection frames appear on a display screen of the intelligent touch television, and a user can select the graph selection frames according to needs.
The erasing operation in the embodiment of the invention comprises that a user presses the electronic eraser by hand, drags the electronic eraser to the erasing area to click or double click the electronic eraser and the like. The execution time corresponds to the erasing operation, for example, when the erasing operation is that the user presses the electronic eraser with a hand, the time for the user to press the electronic eraser is the execution time, when the erasing operation is that the electronic eraser is clicked or double-clicked, the execution time is counted from the time when the electronic eraser is clicked, until the electronic eraser is clicked again, the time between two clicks is the execution time, and similarly, when the erasing operation is double-clicked, the execution time is the time between two double-clicks of the electronic eraser.
In step S102, the boundary of the erasure area is determined according to the coordinates of the erasure area feature point position and the execution time.
When a user presses the electronic eraser, clicks or double clicks the electronic eraser, the processor acquires the coordinates of the characteristic point position of the erasing area, determines the size of the boundary of the erasing area according to the execution time, and takes the coordinates of the characteristic point position of the erasing area as the starting point of the erasing area in the change process of the erasing area along with the increase or decrease of the execution time of the erasing area.
In step S103, the content inside or outside the erasure area defined by the boundary is cleared.
After determining the boundary of the erase region within the execution time of the erase operation, the contents within or outside the erase region defined by the boundary may be selected for erasure. When the electronic eraser function is selected to execute the erasing operation, the processor sends out a selection instruction for clearing the inside or outside of the erasing area, when the user selects to clear the content in the erasing area, the content in the erasing area is automatically cleared after the boundary of the erasing area is determined, and similarly, when the user selects to clear the content outside of the erasing area, the content outside of the erasing area is automatically cleared after the boundary of the erasing area is determined.
According to the method provided by the embodiment of the invention, when the user selects the electronic eraser, the erasing graph of the electronic eraser and the content in the erasing area or outside the erasing area can be simultaneously selected, so that the rapid erasing is realized. When the user stops pressing the electronic eraser, the boundary of the erasing area can be determined in the current erasing operation execution time period, and the processor controls to clear the content in the erasing area or outside the erasing area. Similarly, when the user clicks or double-clicks the electronic eraser again, the boundary of the erasing area can be determined within the execution time of the current erasing area, and the processor controls to clear the content in the erasing area or outside the erasing area.
After determining the boundary of the erasing area, the boundary line of the erasing area can be displayed on the display screen, or the boundary of the erasing area is increased or decreased along with the increase of the execution time in the execution process of the erasing operation, and the change process of the boundary of the erasing area along with the execution time is displayed on the display screen.
As can be seen from the above description, in the method provided in the embodiment of the present invention, the position coordinates of the feature points in the erasing area are first located, and then the size of the erasing area is determined according to the length of the execution time of the erasing operation, that is, the erasing area changes with the execution time, and the electronic eraser does not need to move and cover all the contents in the erasing area, so that the content in the erasing area can be cleared.
Example two
Referring to fig. 3, a schematic flow chart of an embodiment of the present invention is provided.
In step S201, the coordinates of the feature point position of the erasing area and the execution time of the erasing operation are acquired.
In step S202, the size of the feature value of the preset pattern corresponding to the erasing area is determined according to the execution time.
As can be seen from the above description of the embodiments, when the user selects the electronic eraser, the user can select the pattern of the erasing area at the same time, that is, the preset pattern corresponding to the erasing area, and the feature value of the erasing area corresponding to the preset pattern refers to the feature value of the pattern, such as the side length, the perimeter, or the area, of the erasing area corresponding to the preset pattern. Therefore, according to the method provided by the embodiment of the invention, the size of the characteristic value of the erasing area corresponding to the preset graph is determined according to the length of the execution time, so that the boundary of the erasing area is determined.
For example, when the erasing area preset pattern is a circle, the characteristic value is a radius, a circumference, or an area of a center of the circle, and when the erasing area preset pattern is a square, the characteristic value is a side length, a diagonal length, a circumference, or an area of the square.
In step S203, the coordinates of the feature point of the erasure area are used as the coordinates of the center point or the coordinates of the boundary point of the erasure area, and the boundary of the erasure area is determined according to the size of the feature value.
When the characteristic point of the erasing area is the central point of the erasing area, the boundary of the erasing area can be determined when the characteristic value of the erasing area corresponding to the preset graph is determined according to the execution time. For example, when the erasing area corresponds to the preset graph as a circle, the characteristic point of the erasing area is taken as the central point of the erasing area, and the radius of the circle is determined according to the execution time, so that the boundary of the erasing area can be determined according to the central point and the radius of the circle.
Or, when the erasing area corresponds to the preset graph which is a square, the characteristic point of the erasing area is taken as the central point of the square, the side length, the perimeter or the area of the square is determined according to the execution time, and after the side length of the square is determined, the boundary of the square erasing area can be determined according to the central point and the side length of the square.
When the feature point of the erasing area is a boundary point of the erasing area, for example, when the erasing area corresponds to a preset graph which is a rectangle, the feature point of the erasing area is a point at one corner of the square, the length of two adjacent sides of the rectangle, the perimeter or the area of the square are determined according to the execution time, wherein the ratio of the length to the width of the rectangle needs to be preset, and then the boundary of the rectangle can be determined according to the point at one corner in the length direction and the length of two adjacent sides, so as to determine the boundary of the erasing area.
In step S204, the content inside or outside the erasure area defined by the boundary is cleared.
The content within or outside the clear erase region may be determined based on the erase region boundary increasing with increasing execution time or decreasing with increasing execution time. When the boundary of the erasing area is increased along with the increase of the execution time, the content in the erasing area is cleared, and when the boundary of the erasing area is decreased along with the increase of the execution time, the content outside the erasing area is cleared.
If the boundary of the erasing area is increased along with the increase of the execution time, the erasing area is expanded along with the outward expansion of the execution time, and the erasing area is expanded according to the increase of the execution time; if the boundary of the erasing area is reduced along with the increase of the execution time, the erasing area is supposed to be reduced along with the increase of the execution time, and the erasing area is reduced according to the increase of the execution time.
In another embodiment, when the electronic eraser is stopped being pressed, the electronic eraser is clicked or double-clicked again, the processor gives a selection instruction for clearing the erasing area or the outside of the erasing area, and a selection dialog box is displayed on the display screen for the user to select to clear the contents in the erasing area or the inside of the erasing area.
The steps in the embodiments of the present invention that are the same as those in the above embodiments are not described herein again.
As can be seen from the above description, in the method provided in the embodiment of the present invention, the size of the feature values, such as the side length, the perimeter, and the area, of the graph corresponding to the erasing area is determined according to the execution time of the erasing operation, then, the boundary of the erasing area is determined according to the position coordinates of the feature point of the erasing area and the size of the feature value of the erasing area, and finally, the content in the erasing area or outside the erasing area is cleared. According to the method provided by the embodiment of the invention, when the erasing area is calculated, only the characteristic point and the execution time of the erasing area are needed to be obtained, the characteristic value of the graph corresponding to the erasing area is calculated according to the execution time, and finally, the boundary of the erasing area is determined according to the characteristic point and the characteristic value of the erasing area.
EXAMPLE III
In step S301, coordinates of the feature point position of the erasing area and the execution time of the erasing operation are acquired.
In step S302, the magnitude of the characteristic value is determined according to the execution time and the length corresponding to the preset unit time.
Presetting unit time and the length corresponding to the unit time, wherein the unit time is in seconds or milliseconds as the unit time, the length is in centimeter distance units, and the product of the execution time and the length corresponding to the preset unit time is the size of the characteristic value. For example, when the erasing area is a circle, the execution time is 2 seconds, the unit time is in seconds, and the unit time corresponds to 5 cm in length, and then within the execution time of 2 seconds, the length of the corresponding circle radius is 10 cm, and therefore, the radius of the corresponding circle of the erasing area is 10 cm.
Similarly, the calculation of the feature value of the graph with the erasing area being square, rectangular, pentagonal and the like can also be calculated according to the product of the execution time and the corresponding length of the preset unit time. For the case that the execution time is a decimal, the product of the execution time and the length corresponding to the unit time may be a complex decimal, and at this time, the calculated decimal may be rounded to make the feature value of the erasure area an integer, thereby speeding up the calculation of the processor.
In step S303, the coordinates of the feature point of the erasure area are used as the coordinates of the center point or the coordinates of the boundary point of the erasure area, and the boundary of the erasure area is determined according to the size of the feature value.
In step S304, the content inside or outside the erasure area defined by the boundary is cleared.
As can be seen from the above description, the method provided in the embodiment of the present invention calculates the feature value of the erased area by using the product of the execution time and the corresponding length of the unit time, so as to determine the boundary of the erased area according to the feature value of the erased area and the feature point of the erased area. When the boundary of the erasing area is determined, only the characteristic point of the erasing area, the execution time and the length corresponding to the unit time are needed to be used for calculation, the calculated data amount is small, the calculation process is simple, and the calculation resources occupied by a processor are small, so that the calculation process is accelerated, and the quick execution of the erasing action is ensured.
Example four
Referring to fig. 5, a schematic flow chart of an embodiment four process flow provided by the embodiment of the present invention is shown.
In step S401, the coordinates of the feature point position of the erasing area and the execution time of the erasing operation are acquired.
In step S402, the step number of the feature value is determined according to the execution time and a preset time step.
And when the electronic eraser is stopped being pressed, and the electronic eraser is clicked again or double-clicked, an erasing area with the characteristic point of the erasing area as a central point or a boundary point is displayed on the display screen of the intelligent touch television, and meanwhile, the step number is displayed in the erasing area.
Or, with the increase of the execution time, a time step does not pass, a step number boundary line is displayed on the display screen, and after two time steps pass, the two step number boundary lines are displayed on the display screen, so that a user can conveniently judge whether the erasing area displayed on the display screen corresponds to the area which is desired to be erased.
In the step number calculating process, the ratio of the execution time to the preset time step may be a decimal, at this time, in order to calculate the size of the characteristic value conveniently, the calculated decimal is rounded up or down to obtain an integer ratio, and the calculated integer ratio is determined as the step number of the characteristic value.
In step S403, the size of the characteristic value is determined according to the step number and the length corresponding to the preset time step.
The length corresponding to each time step, that is, the length corresponding to each step number is preset, and the product of the step number and the length corresponding to the preset time step is the numerical value of the characteristic value of the erasure area, so that the boundary of the erasure area can be determined according to the characteristic value and the characteristic point.
In step S404, the coordinates of the feature point position of the erasing area are taken as the coordinates of the center point or the coordinates of the boundary point of the erasing area, and the boundary of the erasing area is determined according to the size of the feature value.
In step S405, the content within the erase region or outside the erase region defined by the boundary is cleared.
As can be seen from the above description, when calculating the size of the erasure area feature value, the step number of the feature value is calculated by the execution time and the preset time step, and then the length corresponding to the step number and the preset time is calculated to calculate the size of the feature value.
EXAMPLE five
Referring to fig. 6, an embodiment of the present invention is schematically illustrated in fig. five and six.
In step S501, coordinates of the feature point position of the erasing area and the execution time of the erasing operation are acquired.
In step S502, it is determined whether the execution time is greater than or equal to a preset maximum execution time.
In the above-described embodiment, the time when the electronic eraser is pressed by the execution time value, the time value between two clicks of the electronic eraser, or the like is described, but when the execution time is long, the boundary of the erasing area calculated according to the execution time exceeds the boundary of the smart touch television display screen, and therefore, when the boundary of the erasing area is calculated, it is determined whether the execution time is greater than or equal to the preset maximum execution time.
The longest execution time is determined according to the size of the display screen corresponding to different equipment and the length corresponding to unit time, or the time step length and the length corresponding to the time step length.
In step S503, if yes, the display screen boundary is determined to be the boundary of the erasing area.
If the execution time is greater than or equal to the longest execution time, the display screen boundary is determined to be the boundary of the erasure area, i.e. the full screen content is cleared.
When the erasing area is circular, the radius of the circle corresponding to the maximum execution time is half of the diagonal line of the display screen, however, when the execution time is the maximum execution time, the circle boundary calculated according to the execution time does not completely cover the display screen, and at this time, the content in the area of the circular erasing area covering the display screen can be controlled to be cleared.
In step S504, if not, the erasing area boundary is determined according to the erasing area feature point and the execution time.
If the execution time is less than the maximum execution time, the boundary of the erasure area is calculated according to the method provided by the above embodiment.
In step S505, the content inside or outside the erase region defined by the erase boundary is erased.
As can be seen from the above description, the method provided in the embodiment of the present invention defines the maximum execution time, and when the execution time is greater than or equal to the maximum execution time, the full-screen content is cleared, and when the execution time is less than the maximum execution time, the erasing area boundary is calculated according to the method provided in the above embodiment. Therefore, the method provided by the embodiment of the invention provides a screen clearing method, and when the screen is required to be cleared, the erasing operation is executed for a long time.
In a second aspect, an embodiment of the present invention provides another electronic writing erasing method, and referring to fig. 7, a flowchart of the another electronic writing erasing method provided by the embodiment of the present invention is shown.
In step S601, coordinates of the feature point position of the erasure area are acquired.
And acquiring the characteristic point coordinates of the erasing area, for example, when the erasing area is square, clicking twice on the display screen, and acquiring the position coordinates corresponding to the clicking twice, wherein the two position coordinates correspond to two boundary points or two corners of the square.
Or clicking three times on the display screen or clicking three times on the corresponding position coordinates. In the method provided by the embodiment of the invention, a plurality of characteristic points of the erasing area are obtained.
In step S602, the boundary of the erasing area is determined according to the closed area formed by connecting the coordinates of the positions of the feature points of the erasing area.
Connecting the acquired coordinates of the feature point positions of the erasing area to form a closed area, and determining the closed area as the erasing area.
Or when the preset graph of the erasing area is a circle, acquiring three erasing area characteristic points, wherein the three erasing area characteristic points correspond to a triangle circumscribed circle or an inscribed circle to form the erasing area; and when the preset graph of the erasing area is a square, acquiring two erasing area characteristic points, and determining the boundary of the square erasing area by taking the two characteristic points as two points on the opposite angle of the square.
In step S603, the content inside or outside the erase region defined by the boundary is cleared.
This step is the same as the method provided in the above embodiment, and is not described herein again.
As can be seen from the above description, in the method provided in the embodiment of the present invention, a plurality of feature points of the erasing area are obtained, and the boundary of the erasing area is determined according to the closed area formed by sequentially connecting the plurality of feature points, or the feature points of the preset graph of the erasing area are taken as the plurality of feature points, so as to determine the boundary of the erasing area. Therefore, when the method provided by the embodiment of the invention is used for calculating the boundary of the erasing area, the closed area formed after one-time connection is calculated according to the position coordinates of the characteristic points of the plurality of erasing areas, the calculation data volume is small, and the calculation process is simple.
In a third aspect, an embodiment of the present invention provides an intelligent touch television, including a memory, a processor, and an infrared touch component.
The infrared touch control assembly comprises an infrared touch control frame, a touch control MCU and a touch control driving circuit, wherein the infrared touch control frame is arranged on a frame around the display screen, two adjacent sides of the infrared touch control frame are provided with an infrared transmitting tube and an infrared receiving tube, and positioning is realized by sensing the condition that an infrared signal is shielded; the touch control driving circuit is used for driving the infrared transmitting tube and the infrared receiving tube on the infrared touch control frame to work, judging the shielded infrared transmitting tube and the shielded infrared receiving tube according to the condition that the infrared signal is shielded, converting the shielded infrared transmitting tube and the shielded infrared receiving tube into electronic signals and sending the electronic signals to the touch control MCU, and sending the electronic signals to the processor for processing by the touch control MCU; the touch control MCU controls the work of the touch control driving circuit.
The processor receives an electronic signal sent by the touch MCU, determines the position coordinate of the touched or pressed position on the display screen according to the electronic signal, and executes the method provided by the embodiment according to the acquired positioning position coordinate, so that the local erasing of the content on the display screen is realized.
Or, when the erasing method provided by the above embodiment is executed, the touch MCU acquires the coordinates of the feature point position of the erasing area and the execution time, and calculates the boundary of the erasing area according to the acquired coordinates of the feature point position of the erasing area and the execution time. The MCU sends the calculated erasing area boundary to the processor, and the processor controls the content in the area defined by the boundary or outside the area to be cleared.
Or, in the erasing method provided in the foregoing embodiment, the touch MCU acquires the coordinates of the feature point position of the erasing area and the execution time, and then sends the coordinates of the feature point position and the execution time to the processor, and the processor calculates the boundary of the erasing area according to the acquired coordinates of the feature point position of the erasing area and the execution time, and clears the content in the area defined by the boundary or outside the area.
According to the embodiment, the method calculates the boundary of the erasing area according to the position coordinates of the characteristic point of the erasing area and the execution time of the erasing operation, erases the content outside the fire area in the area defined by the boundary, has the advantages of small data volume, simple calculation process, less occupied calculation resources of a processor and increased calculation speed of the processor, can quickly erase the content on the display screen, and cannot erase slowly or slowly. For the user, the user does not need to move greatly, and the moving track slides out of the display screen, so that the movement of the user is reduced, and the experience of the user is improved.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (8)

1. An electronic writing erasing method, comprising:
acquiring the position coordinates of the feature points of the erasing area and the execution time of the erasing operation;
determining the boundary of an erasing area according to the position coordinates of the characteristic point of the erasing area and the execution time;
clearing the content in the erasing area or outside the erasing area defined by the boundary;
determining the boundary of the erasing area according to the position coordinates of the characteristic points of the erasing area and the execution time, wherein the step of determining the boundary of the erasing area according to the position coordinates of the characteristic points of the erasing area and the execution time comprises the following steps:
determining the size of a characteristic value of a preset graph corresponding to the erasing area according to the execution time;
and determining the boundary of the erasing area according to the size of the characteristic value by taking the position coordinates of the characteristic points of the erasing area as the coordinates of the central point or the coordinates of the boundary point of the erasing area.
2. The method of claim 1, wherein determining the size of the feature value of the erased area corresponding to the preset pattern comprises:
and determining the size of the characteristic value according to the execution time and the length corresponding to the preset unit time.
3. The method of claim 1, wherein determining the size of the feature value of the erased area corresponding to the preset pattern comprises:
determining the step number of the characteristic value according to the execution time and a preset time step length;
and determining the size of the characteristic value according to the step number and the length corresponding to the preset time step.
4. The method of claim 1, wherein the characteristic value is a side length, a perimeter or an area of the erasing area corresponding to a preset pattern.
5. The method of claim 3, wherein determining the number of steps of the feature value according to the execution time and a preset time step comprises:
calculating the ratio of the execution time to a preset time step, and rounding the ratio upwards or downwards to obtain an integer ratio;
and determining the integer ratio as the step number of the characteristic value.
6. The method of claim 1, wherein the content other than the content within or outside of the erasure area defined by the boundary comprises:
when the range defined by the erasing area boundary is increased along with the increase of the execution time, clearing the content in the erasing area; or the like, or, alternatively,
when the range defined by the erasing area boundary is reduced along with the increase of the execution time, clearing the content outside the erasing area.
7. The method of claim 1, wherein determining the boundary of an erasure area based on the execution time comprises:
judging whether the execution time is greater than or equal to a preset longest execution time;
if so, determining the boundary of the display screen as the boundary of the erasing area;
and if not, determining the boundary of the erasing area according to the execution time.
8. A smart touch television, comprising: memory, treater, display screen and infrared touch-control subassembly, wherein:
the memory for storing program code;
the infrared touch control assembly comprises an infrared touch control frame, a touch control MCU and a touch control driving circuit, wherein the infrared touch control frame is arranged on a frame around the display screen, the touch control MCU is used for controlling the touch control driving circuit, and the touch control driving circuit is used for driving an infrared transmitting tube and an infrared receiving tube on the infrared touch control frame;
the processor, configured to perform the method of any of claims 1-7, to control the erasing of content on the display screen.
CN201710028853.XA 2017-01-16 2017-01-16 Electronic writing and erasing method and intelligent touch television Active CN106909246B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710028853.XA CN106909246B (en) 2017-01-16 2017-01-16 Electronic writing and erasing method and intelligent touch television

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710028853.XA CN106909246B (en) 2017-01-16 2017-01-16 Electronic writing and erasing method and intelligent touch television

Publications (2)

Publication Number Publication Date
CN106909246A CN106909246A (en) 2017-06-30
CN106909246B true CN106909246B (en) 2020-03-13

Family

ID=59207242

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710028853.XA Active CN106909246B (en) 2017-01-16 2017-01-16 Electronic writing and erasing method and intelligent touch television

Country Status (1)

Country Link
CN (1) CN106909246B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107807781A (en) * 2017-09-28 2018-03-16 广州视源电子科技股份有限公司 Gesture erasing identification method and device and electronic equipment
CN108093285A (en) * 2017-12-20 2018-05-29 四川长虹教育科技有限公司 A kind of multifunctional electronic writing system based on touch TV
TWI653566B (en) 2018-03-27 2019-03-11 虹彩光電股份有限公司 Cholesterol liquid crystal writing board
CN109947271A (en) * 2019-03-08 2019-06-28 广州朗国电子科技有限公司 Handwriting erasing method and system applied to intelligent whiteboard
CN113345384B (en) * 2021-05-28 2022-06-10 深圳市爱码讯实业发展有限公司 Handwriting erasing method and system for handwriting board

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103353828A (en) * 2013-06-24 2013-10-16 深圳市创凯电子有限公司 Method and device for switching writing and erasing functions on touch screen
CN103605477A (en) * 2013-11-25 2014-02-26 向火平 Gesture positioning method based on capacitive screen handwriting and capacitive screen
CN104391681A (en) * 2014-03-21 2015-03-04 贵阳朗玛信息技术股份有限公司 Picture-erasing realizing method and device on basis of mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103353828A (en) * 2013-06-24 2013-10-16 深圳市创凯电子有限公司 Method and device for switching writing and erasing functions on touch screen
CN103605477A (en) * 2013-11-25 2014-02-26 向火平 Gesture positioning method based on capacitive screen handwriting and capacitive screen
CN104391681A (en) * 2014-03-21 2015-03-04 贵阳朗玛信息技术股份有限公司 Picture-erasing realizing method and device on basis of mobile terminal

Also Published As

Publication number Publication date
CN106909246A (en) 2017-06-30

Similar Documents

Publication Publication Date Title
CN106909246B (en) Electronic writing and erasing method and intelligent touch television
US11175798B2 (en) Moving method of floating toolbar in touch display apparatus and touch display apparatus
CN110045909B (en) Ellipse processing method, device and equipment based on writing track and storage medium
CN111475097B (en) Handwriting selection method and device, computer equipment and storage medium
CN108874275B (en) Handwriting erasing method, handwriting erasing device, terminal and computer-readable storage medium
CN108334486B (en) Table control method, device, equipment and storage medium
US20150326909A1 (en) Method for remotely controlling smart television
US20180121076A1 (en) Drawing processing method, drawing program, and drawing device
CN103914260A (en) Method and device based on touch screen and used for controlling operation objects
CN110928614B (en) Interface display method, device, equipment and storage medium
CN108733296B (en) Method, device and equipment for erasing handwriting
WO2021068366A1 (en) Writing operation method and device for intelligent interactive whiteboard, apparatus, and storage medium
CN109753215B (en) Window split-screen display method, device and equipment
JP2014220720A (en) Electronic apparatus, information processing method, and program
WO2017032193A1 (en) User interface layout adjustment method and apparatus
US11693556B2 (en) Creating tables using gestures
JP6613338B2 (en) Information processing apparatus, information processing program, and information processing method
CN103729131A (en) Human-computer interaction method and associated equipment and system
WO2019218622A1 (en) Element control method, apparatus, and device, and storage medium
CN104317485A (en) Electronic blackboard display control method and device
JP6352801B2 (en) Information processing apparatus, information processing program, and information processing method
CN109858000A (en) Form processing method, device and system, storage medium and interactive intelligent panel
CN108932089B (en) Target object adjusting method and device, electronic equipment and storage medium
JP2009116727A (en) Image input display
CN109117072B (en) Writing area control method and system, writing method and system and interactive intelligent tablet

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
CP01 Change in the name or title of a patent holder

Address after: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218

Patentee after: Hisense Visual Technology Co., Ltd.

Address before: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218

Patentee before: QINGDAO HISENSE ELECTRONICS Co.,Ltd.

CP01 Change in the name or title of a patent holder