CN113934315B - Display method based on electronic board, electronic board and computer storage medium - Google Patents

Display method based on electronic board, electronic board and computer storage medium Download PDF

Info

Publication number
CN113934315B
CN113934315B CN202010667934.6A CN202010667934A CN113934315B CN 113934315 B CN113934315 B CN 113934315B CN 202010667934 A CN202010667934 A CN 202010667934A CN 113934315 B CN113934315 B CN 113934315B
Authority
CN
China
Prior art keywords
preset
area
electronic board
erasing
lower frame
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
CN202010667934.6A
Other languages
Chinese (zh)
Other versions
CN113934315A (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 Chuangyi Lianhe Technology Co ltd
Original Assignee
Shenzhen Chuangyi Lianhe 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 Chuangyi Lianhe Technology Co ltd filed Critical Shenzhen Chuangyi Lianhe Technology Co ltd
Priority to CN202010667934.6A priority Critical patent/CN113934315B/en
Publication of CN113934315A publication Critical patent/CN113934315A/en
Application granted granted Critical
Publication of CN113934315B publication Critical patent/CN113934315B/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/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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09BEDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
    • G09B5/00Electrically-operated educational appliances
    • G09B5/02Electrically-operated educational appliances with visual presentation of the material to be studied, e.g. using film strip
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04804Transparency, e.g. transparent or translucent windows

Abstract

The application is applicable to the technical field of electronics, and provides a display method based on an electronic board, the electronic board and a computer storage medium, wherein the display method based on the electronic board comprises the following steps: when the erasing operation is detected, determining an erasing area corresponding to the erasing operation; if target pixel points with color values different from the color values corresponding to the colors of the board surface of the electronic board exist in the erasing area, dynamically displaying a plurality of preset graphics in a target display area corresponding to the erasing area; the target display area is arranged between the erasing area and the lower frame of the panel surface; the color value of each pixel point forming the preset graph is the same as the color value of the target pixel point. The display method based on the electronic board provided by the application can simulate the chalk dust falling process corresponding to the erasing operation based on the blackboard, thereby improving the reality of the erasing operation based on the electronic board on the simulation of the erasing operation based on the traditional blackboard.

Description

Display method based on electronic board, electronic board and computer storage medium
Technical Field
The present application relates to electronic technology, and more particularly, to a display method based on an electronic board, and a computer readable storage medium.
Background
With the continuous development of intelligent education products, teaching aids gradually tend to be electronic, wherein the conventional blackboard is gradually replaced by an electronic board for teaching. In teaching using an electronic board, contents may be generally written on the electronic board using a finger or a stylus, and the written contents are erased through an erasing operation. Since the operations performed on the electronic board are all electronic operations, the writing operation and the erasing operation performed on the electronic board can be simulated as writing operation and erasing operation performed on the blackboard.
However, since the contents on the blackboard are generally written with chalk, there is generally a drop of chalk dust when the erasing operation is performed on the blackboard, but the existing erasing operation based on the electronic board does not generate dust, and it is seen that the reality of the simulation of the erasing operation based on the blackboard by the erasing operation based on the electronic board is low.
Disclosure of Invention
The embodiment of the application provides a display method based on an electronic board, the electronic board and a computer readable storage medium, which can solve the problem that the reality of the simulation of the erasing operation based on a blackboard is lower in the existing erasing operation based on the electronic board.
In a first aspect, an embodiment of the present application provides a display method based on an electronic board, including:
when an erasure operation is detected, determining an erasure area corresponding to the erasure operation;
if target pixel points with color values different from the color values corresponding to the colors of the panel surfaces of the electronic boards exist in the erasing areas, a plurality of preset graphics are dynamically displayed in the target display areas corresponding to the erasing areas; the target display area is arranged between the erasing area and the lower frame of the panel surface; the color value of each pixel point forming the preset graph is the same as the color value of the target pixel point.
Further, when the erase operation is detected, determining an erase area corresponding to the erase operation includes:
when detecting that a touch point with the area larger than or equal to a preset area threshold exists on the surface of the electronic board, determining that an erasing operation is detected, and determining a touch area occupied by the touch point as the erasing area.
Further, the erasing area is a rectangular area; the target display area is an area which is not overlapped with the erasing area in a projection area formed by a first diagonal line of the erasing area and the projection of the first diagonal line on the lower frame; the first diagonal line is a diagonal line with a longer projection length on the lower frame, of two diagonal lines of the erasing area.
Further, the dynamically displaying a plurality of preset graphics in the target display area corresponding to the erasing area includes:
displaying a group of preset patterns at different positions of the target display area at preset time intervals until the currently displayed group of preset patterns meet preset requirements; the display duration of each group of preset patterns is the preset time interval, and the first distance between each preset pattern in the group of preset patterns displayed later and the lower frame is respectively smaller than the second distance between the corresponding preset pattern in the group of preset patterns displayed earlier and the lower frame.
Further, the transparency of each preset graphic in the set of preset graphics displayed later is greater than the transparency of each preset graphic in the set of preset graphics displayed earlier.
Further, displaying a set of preset graphics at different positions of the target display area at preset time intervals until the set of preset graphics currently displayed meets preset requirements, including:
displaying a group of preset patterns at different positions of the target display area at preset time intervals until the transparency of each preset pattern in the group of preset patterns currently displayed is greater than a preset transparency threshold;
Or displaying a group of preset graphs at different positions of the target display area at preset time intervals until the minimum value of the third distance between each preset graph in the group of preset graphs currently displayed and the lower frame is smaller than a preset distance threshold value.
Further, displaying a set of preset graphics at different positions of the target display area at preset time intervals, including:
and determining a group of circular display areas at different positions of the target display area at preset time intervals, and adjusting the color values of part of pixel points in the pixel points corresponding to each circular display area to be the color values of the target pixel points.
In a second aspect, an embodiment of the present application provides an electronic board, including:
a determining unit, configured to determine an erase area corresponding to an erase operation when the erase operation is detected;
the display unit is used for dynamically displaying a plurality of preset graphics in a target display area corresponding to the erasing area if target pixel points with color values different from the color values corresponding to the colors of the panel surface of the electronic board exist in the erasing area; the target display area is arranged between the erasing area and the lower frame of the panel surface; the color value of each pixel point forming the preset graph is the same as the color value of the target pixel point.
In a third aspect, an embodiment of the present application provides an electronic board, including:
a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the touch object recognition method according to any one of the first aspects when the computer program is executed.
In a fourth aspect, embodiments of the present application provide a computer readable storage medium storing a computer program which, when executed by a processor, implements the steps of the display method according to any one of the first aspects above.
In a fifth aspect, an embodiment of the present application provides a computer program product, which, when run on a terminal device, causes the terminal device to perform the display method according to any one of the first aspects.
Compared with the prior art, the embodiment of the application has the beneficial effects that:
according to the display method based on the electronic board, when the erasing operation is detected, an erasing area corresponding to the erasing operation is determined; if the target pixel points with the color values different from the color values corresponding to the colors of the board surface of the electronic board exist in the erasing area, the fact that the erasing objects with the colors different from the colors of the board surface of the electronic board exist in the erasing area is indicated, and therefore the process of dropping chalk dust corresponding to the erasing operation based on the blackboard is simulated through dynamically displaying a plurality of preset patterns with the same colors as the colors of the erasing objects in the target display area between the erasing area and the lower frame of the board surface of the electronic board, and the reality of the simulation of the erasing operation based on the traditional blackboard by the erasing operation based on the electronic board is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of an implementation of a display method based on an electronic board according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a target display area according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a process for dynamically displaying a plurality of preset images according to an embodiment of the present application;
FIG. 4 is a flowchart of a display method based on an electronic board according to another embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic board according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic board according to another embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth such as the particular system architecture, techniques, etc., in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It should be understood that the terms "comprises" and/or "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 should also be 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.
As used in the present description and the appended claims, the term "if" may be interpreted as "when..once" or "in response to a determination" or "in response to detection" depending on the context. Similarly, the phrase "if a determination" or "if a [ described condition or event ] is detected" may be interpreted in the context of meaning "upon determination" or "in response to determination" or "upon detection of a [ described condition or event ]" or "in response to detection of a [ described condition or event ]".
Furthermore, the terms "first," "second," "third," and the like in the description of the present specification and in the appended claims, are used for distinguishing between descriptions and not necessarily for indicating or implying a relative importance.
Reference in the specification to "one embodiment" or "some embodiments" or the like means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," and the like in the specification are not necessarily all referring to the same embodiment, but mean "one or more but not all embodiments" unless expressly specified otherwise. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless expressly specified otherwise.
Referring to fig. 1, fig. 1 is a flowchart illustrating an implementation of a display method based on an electronic board according to an embodiment of the present application. The face of electronic board is the touch-control board, installs multiunit infrared sensor on the frame of face, and every infrared sensor of group all includes an infrared transmitter and an infrared receiver, and the many infrared rays that multiunit infrared sensor produced form infrared detection net on the face of electronic board, when the object touch electronic board, the partial infrared ray on the face of electronic board can be sheltered from by the touching object, consequently, the electronic board can confirm the position of touch point and confirm the area of touch point according to the shielding condition of the infrared ray on the face of electronic board.
It should be noted that the touching object may be a finger or a stylus, and the user may perform writing operation on the board surface of the electronic board through the finger or the stylus. When the finger or the stylus touches the panel surface of the electronic board, the areas of the touch points corresponding to the finger or the stylus are smaller than the preset area threshold, so that when the electronic board detects that the touch points with the areas smaller than the preset area threshold exist on the panel surface, the electronic board can determine that writing operation is detected, and accordingly color values of pixel points in a display area corresponding to the touch points on the panel surface can be adjusted to preset color values, and the function of displaying written contents in the display area corresponding to the touch points is achieved.
The preset area threshold may be set according to actual needs, which is not limited herein. The preset color value is different from the color value corresponding to the color of the board surface of the electronic board. The color of the board surface of the electronic board may be set according to actual needs, which is not limited herein, and exemplary, the color of the board surface of the electronic board may be white, and the preset color value may be a color value corresponding to black.
After the electronic board displays the written content on its board surface, the user can also erase the written content by triggering an erase operation. Because the area of the touch point corresponding to the erasing operation is generally greater than or equal to the preset area threshold, when the electronic board detects that the touch point with the area greater than or equal to the preset area threshold exists on the board surface, the electronic board can determine that the erasing operation is detected, so that the function of erasing the content written on the board surface is realized.
As shown in fig. 1, a display method based on an electronic board provided in an embodiment of the present application may include the following steps:
in S101, when an erase operation is detected, an erase region corresponding to the erase operation is determined.
In the embodiment of the application, when the electronic board detects the erasing operation on the board surface, the erasing area corresponding to the erasing operation can be determined.
Since the area of the touch point corresponding to the erasing operation is generally greater than or equal to the preset area threshold, in one embodiment of the present application, the electronic board may determine that the erasing operation is detected when the touch point whose area is greater than or equal to the preset area threshold is detected on the board surface, and determine the touch area occupied by the touch point as the erasing area.
In this embodiment, when detecting that a part of the infrared rays are blocked on the board surface of the electronic board, it may be determined that a touch object touching the board surface of the electronic board exists at the blocked part of the infrared rays, and a touch point corresponding to the touch object exists on the board surface of the electronic board. The touch point refers to a contact point between the touch object and the board surface of the electronic board.
When the electronic board detects a touch point, the area of the touch point can be determined according to the shielded part of the infrared ray, and whether the area of the touch point is larger than or equal to a preset area threshold value is detected. And if the electronic board detects that the area of the touch point is larger than or equal to the preset area threshold value, determining that the erasing operation is detected, and determining the area occupied by the touch point as an erasing area. The preset area threshold may be set according to actual needs, which is not limited herein.
In the embodiment of the application, after the electronic board determines the erasing area corresponding to the erasing operation, whether the target pixel point with the color value different from the color value corresponding to the color of the board surface of the electronic board exists in the erasing area is also detected. When the electronic board detects that the target pixel points with the color values different from the color corresponding to the color of the board surface of the electronic board exist in the erasing area, determining that the erasing objects with the colors different from the color of the board surface of the electronic board exist in the erasing area, and executing S102 by the electronic board; when the electronic board detects that the target pixel point with the color value different from the color corresponding to the color of the board surface of the electronic board does not exist in the erasing area, the electronic board determines that the erasing object with the color different from the color of the board surface of the electronic board does not exist in the erasing area, and at this time, the electronic board does not execute the subsequent S102.
In S102, if a target pixel point whose color value is different from the color value corresponding to the color of the board surface of the electronic board exists in the erasing area, dynamically displaying a plurality of preset graphics in a target display area corresponding to the erasing area; the target display area is arranged between the erasing area and the lower frame of the electronic board; the color value of each pixel point forming the preset graph is the same as the color value of the target pixel point.
In the embodiment of the application, the electronic board can dynamically display a plurality of preset graphics in the corresponding target display area in the erasing area so as to simulate the chalk dust falling process corresponding to the erasing operation based on the blackboard.
It should be noted that, since the dynamic display of the plurality of preset graphics in the target display area is to simulate the process of dropping chalk dust corresponding to the erasing operation based on the blackboard, and the chalk dust is usually present below the erasing area, in the embodiment of the present application, the target display area may be an area between the lower side of the erasing area and the lower frame of the board surface of the electronic board. The electronic board may determine the target display area from the erase area.
Specifically, in the embodiment of the present application, the erasing area may be a rectangular area, and the target display area may be an area that is not overlapped with the erasing area in a projection area formed by a first diagonal line of the erasing area and a projection of the first diagonal line on a lower frame of a board surface of the electronic board. The first diagonal line is a diagonal line with a longer projection length on the lower frame of the board surface of the electronic board, among the two diagonal lines of the erasing area.
It should be noted that, the projections of the two diagonal lines of the erasing area on the lower frame of the board surface of the electronic board are all line segments, and the lengths of the projections of the two diagonal lines of the erasing area on the lower frame of the board surface of the electronic board may be the same or different.
Based on this, the electronic board can compare the lengths of projections of two diagonal lines of the erasing area on the lower frame of the board surface of the electronic board when determining the target display area.
In one embodiment of the present application, when the lengths of projections of the two diagonal lines of the erasure area on the lower frame of the board surface of the electronic board are different, the electronic board may determine a diagonal line having a longer length of the projections on the lower frame of the board surface of the electronic board among the two diagonal lines of the erasure area as the first diagonal line.
For example, as shown in (a) of fig. 2, assuming that the projection of the diagonal line 21 of the erase region 20 on the lower frame 11 of the board surface of the electronic board 10 is L1, the length of L1 is a1, the projection of the diagonal line 22 of the erase region 20 on the lower frame 11 of the board surface of the electronic board 10 is L2, the length of L2 is a2, and a1 is greater than a2, the electronic board may determine the diagonal line 21 as the first diagonal line of the erase region 20.
In another embodiment of the present application, when the lengths of projections of two diagonal lines of the erase region on the lower frame of the board surface of the electronic board are the same, the electronic board may determine any one of the two diagonal lines of the erase region as the first diagonal line.
For example, as shown in (b) of fig. 2, assuming that projections of diagonal lines 21 and 22 of the erasing area 20 on the lower frame 11 of the board surface of the electronic board 10 are L5, the length of L5 is a3, the electronic board may determine the diagonal line 21 or the diagonal line 22 as a first diagonal line of the erasing area 20.
After determining the first diagonal line of the erasing area, the electronic board may determine, as the target display area, an area that does not coincide with the erasing area, among projection areas formed by projection of the first diagonal line of the erasing area and the first diagonal line on the lower frame of the board surface thereof.
In this embodiment, the electronic board may connect two end points of the first diagonal line of the erasing area with two end points of the projection of the first diagonal line on the lower frame of the board surface to form the projection area.
Illustratively, in connection with (a) in fig. 2, the diagonal line 21 of the erasing area 20, the projection L1 of the diagonal line 21 on the lower frame 11 of the board surface of the electronic board 10, the line segment L3, and the line segment L4 constitute the projection area 30. The area of the projection area 30 that does not overlap the erasing area 20 is a hatched area in the figure, and the hatched area in the figure is the target display area 40.
Illustratively, in connection with (b) in fig. 2, the diagonal line 21 of the erasing area 20, the projection L5 of the diagonal line 21 on the lower frame 11 of the board surface of the electronic board 10, the line segment L6, and the line segment L7 constitute the projection area 30. The area of the projection area 30 that does not overlap the erasing area 20 is a hatched area in the figure, and the hatched area in the figure is the target display area 40.
After the electronic board determines the target display area, a plurality of preset graphics can be dynamically displayed in the target display area. Each preset graph is composed of a plurality of pixel points, and the color value of each pixel point forming the preset graph is the same as the color value of the target pixel point.
In one embodiment of the present application, the electronic board dynamically displays a plurality of preset graphics in the target display area, and specifically may include the following steps:
the electronic board displays a group of preset patterns at different positions of the target display area at preset time intervals until the currently displayed group of preset patterns meets preset requirements. The current time refers to the time when a group of preset graphics is displayed at a time. The preset time interval may be set according to actual needs, and is not limited herein.
It should be noted that, in this embodiment, a set of preset graphics displayed on the electronic board at different positions of the target display area at preset time intervals may be the same set of preset graphics. The transparency of each group of preset graphics displayed by the electronic board at different positions of the target display area can be the same or different. The set of preset patterns includes a plurality of preset patterns.
In practical application, the display duration of each set of preset graphics is a preset time interval, that is, when the electronic board displays the next set of preset graphics in the target display area, the previous set of preset graphics is not displayed any more, that is, only one set of preset images is displayed in the target display area at the same time.
In this embodiment, the electronic board does not display a set of preset graphics any more may be: the electronic board adjusts the color value of each pixel point in the previous group of preset patterns to be the same as the color value of the board surface of the electronic board.
The size and shape of each preset pattern in each set of preset patterns and the shortest distance between each preset pattern and the lower frame of the board surface of the electronic board can be the same or different.
Since the set of preset graphics includes a plurality of preset graphics, the preset graphics corresponding to a certain preset image in the set of preset graphics displayed earlier, which are included in the set of preset graphics displayed later, refer to: the preset graphics which are contained in the set of preset graphics and are displayed later are the same as the preset graphics in the set of preset graphics which are displayed earlier in shape, size, positional relationship with other preset graphics in the same set and the like.
In this embodiment, a first distance between each preset graphic in the set of preset graphics displayed later and the lower frame of the board surface of the electronic board is smaller than a second distance between the corresponding preset graphic in the set of preset graphics displayed earlier and the lower frame of the board surface of the electronic board. The first distance refers to the shortest distance between each preset graphic displayed later and the lower frame of the board surface of the electronic board, and the second distance refers to the shortest distance between each preset graphic displayed earlier and the lower frame of the board surface of the electronic board.
As shown in fig. 3, assume that the electronic board 10 displays a set of preset patterns 41, 42, and 43 at a first position a on the board surface of the electronic board 10 at time T1; after a preset time interval Δt, the electronic board 10 displays a group of preset patterns 41', 42' and 43' at the second position B at the time t1+Δt, and at this time, the electronic board does not display the preset patterns 41, 42 and 43 any more; after a predetermined time interval Δt, the electronic board 10 displays a set of preset patterns 41", 42", and 43 "at the third position C at the time t1+2Δt, and at this time, the electronic board no longer displays the preset patterns 41, 42, 43, 41', 42', and 43'.
It should be noted that 41 "in the preset pattern displayed by the electronic board at time t1+2Δt corresponds to 41 'in the preset pattern displayed by the electronic board at time t1+Δt, and 41' in the preset pattern displayed by the electronic board at time t1+Δt corresponds to 41 in the preset pattern displayed by the electronic board at time T1; 42 "and 43" in the preset pattern corresponding to time t1+2Δt and so on. Taking preset graphics 41, 41 'and 41″ displayed by the electronic board at different times as an example, as shown in (b) of fig. 3, a distance b1 between the rear displayed 41' and the lower frame 11 is smaller than a distance b2 between the front displayed 41 and the lower frame 11; as shown in (c) of fig. 3, the distance b3 between the rear display 41″ and the lower frame 11 is smaller than the distance b1 between the front display 41' and the lower frame 11.
It should be noted that, the dashed line in fig. 3 is only for convenience of understanding, and in practical application, the electronic board does not show the dashed line.
In another embodiment of the present application, since chalk dust generated by erasing contents written on a blackboard is irregularly shaped, in order to improve the reality of the simulated chalk dust, the electronic board may specifically include the following steps when dynamically displaying a plurality of preset graphics in a target display area:
The electronic board determines a group of circular display areas at different positions of the target display area at preset time intervals, and adjusts the color values of part of the pixel points corresponding to each circular display area to the color values of the target pixel points.
The color values of partial pixels in the pixels corresponding to each circular display area are adjusted to be the color values of the target pixels, and the color values of the rest pixels in the pixels corresponding to the circular display area are adjusted to be the color values corresponding to the colors of the panel surface of the electronic board, so that a group of preset patterns displayed at different positions of the target display area are irregularly shaped. The number of the partial pixels in the pixels corresponding to each circular display area may be set according to actual needs, which is not limited herein.
It should be noted that, the transparency of a set of preset graphics displayed on the electronic board at different positions of the target display area may be the same or different.
In one embodiment of the present application, when the transparency of a set of preset graphics displayed by the electronic board at different positions of the target display area is the same, the electronic board displays a set of preset graphics at different positions of the target display area at preset time intervals until the currently displayed set of preset graphics meets preset requirements, and specifically may include:
And the electronic board displays a group of preset patterns at different positions of the target display area at preset time intervals until the minimum value of the third distance between each preset pattern in the currently displayed group of preset patterns and the lower frame of the board surface of the electronic board is smaller than a preset distance threshold value.
In this embodiment, the current time refers to a set of preset graphic display moments. The third distance refers to the shortest distance between each preset graphic in the currently displayed set of preset graphics and the lower frame of the board surface of the electronic board. The preset distance threshold may be set according to actual needs, and is not limited herein.
In another embodiment of the present application, when the transparency of a set of preset graphics displayed by the electronic board at different positions of the target display area is different, the electronic board displays a set of preset graphics at different positions of the target display area at preset time intervals until the currently displayed set of preset graphics meets the preset requirement, and specifically may include S201 to S202 shown in fig. 4, which are described in detail as follows:
in S201, a set of preset graphics is displayed at different positions of the target display area at preset time intervals until the transparency of each preset graphic in the set of preset graphics currently displayed is greater than a preset transparency threshold.
In this embodiment, in order to improve the reality of the simulation of the erasing operation based on the electronic board to the chalk dust dropping process corresponding to the erasing operation based on the conventional blackboard, the transparency of a set of preset graphics displayed by the electronic board at different positions of the target display area is gradually reduced over time.
It should be noted that the transparency difference between every two adjacent preset patterns may be equal or unequal. The preset transparency threshold may be set according to actual needs, and is not limited herein.
In S202, a set of preset graphics is displayed at different positions of the target display area at preset time intervals until a minimum value of a third distance between each preset graphic in the set of preset graphics currently displayed and the lower frame is smaller than a preset distance threshold.
The transparency of the embodiment is the same as that of the embodiment in which the transparency of a group of preset graphics displayed on the electronic board at different positions of the target display area is the same, and the description thereof is omitted here.
As can be seen from the above, according to the display method based on the electronic board provided by the embodiment of the application, when the erase operation is detected, the erase area corresponding to the erase operation is determined; if the target pixel points with the color values different from the color values corresponding to the colors of the board surface of the electronic board exist in the erasing area, the fact that the erasing objects with the colors different from the colors of the board surface of the electronic board exist in the erasing area is indicated, and therefore the process of dropping chalk dust corresponding to the erasing operation based on the blackboard is simulated through dynamically displaying a plurality of preset patterns with the same colors as the colors of the erasing objects in the target display area between the erasing area and the lower frame of the board surface of the electronic board, and the reality of the simulation of the erasing operation based on the traditional blackboard by the erasing operation based on the electronic board is improved.
It should be understood that the sequence number of each step in the foregoing embodiment does not mean that the execution sequence of each process should be determined by the function and the internal logic, and should not limit the implementation process of the embodiment of the present application.
Corresponding to the display method based on the electronic board described in the above embodiments, fig. 5 shows a block diagram of the electronic board provided in the embodiment of the present application, and for convenience of explanation, only the portion relevant to the embodiment of the present application is shown. Referring to fig. 5, the electronic board 500 includes: a determination unit 51 and a display unit 52. Wherein:
the determining unit 51 is configured to determine an erase area corresponding to an erase operation when the erase operation is detected.
The display unit 52 is configured to dynamically display a plurality of preset graphics in a target display area corresponding to the erasing area if there is a target pixel in the erasing area, where the color value of the target pixel is different from a color value corresponding to a color of a board surface of the electronic board; the target display area is arranged between the erasing area and the lower frame of the panel surface; the color value of each pixel point forming the preset graph is the same as the color value of the target pixel point.
In one embodiment of the application, the first determining unit 51 is specifically configured to: when detecting that a touch point with the area larger than or equal to a preset area threshold exists on the surface of the electronic board, determining that an erasing operation is detected, and determining a touch area occupied by the touch point as the erasing area.
In one embodiment of the present application, the erase region is a rectangular region; accordingly, the display unit 52 specifically includes:
the target display area is an area which is not overlapped with the erasing area in a projection area formed by a first diagonal line of the erasing area and the projection of the first diagonal line on the lower frame; the first diagonal line is a diagonal line with a longer projection length on the lower frame, of two diagonal lines of the erasing area.
In one embodiment of the present application, the display unit 52 specifically includes: and a dynamic display unit.
The dynamic display unit is used for displaying a group of preset graphics at different positions of the target display area at preset time intervals until the currently displayed group of preset graphics meets preset requirements; the display duration of each group of preset patterns is the preset time interval, and the first distance between each preset pattern in the group of preset patterns displayed later and the lower frame is respectively smaller than the second distance between the corresponding preset pattern in the group of preset patterns displayed earlier and the lower frame.
In one embodiment of the present application, the dynamic display unit further includes:
the transparency of each preset graphic in the set of preset graphics displayed later is greater than the transparency of each preset graphic in the set of preset graphics displayed earlier.
In one embodiment of the present application, the dynamic display unit specifically includes: and a graphic display unit.
The graphic display unit is used for displaying a group of preset graphics at different positions of the target display area at preset time intervals until the transparency of each preset graphic in the group of preset graphics currently displayed is greater than a preset transparency threshold value.
Or displaying a group of preset patterns at different positions of the target display area at preset time intervals until the minimum value of the third distance between each preset pattern in the group of preset patterns currently displayed and the lower frame is smaller than a preset distance threshold value.
In one embodiment of the application, the dynamic display unit is specifically configured to: and determining a group of circular display areas at different positions of the target display area at preset time intervals, and adjusting the color values of part of pixel points in the pixel points corresponding to each circular display area to be the color values of the target pixel points.
The above can be seen that, when the electronic board provided by the application detects the erasing operation, the erasing area corresponding to the erasing operation is determined; if the target pixel points with the color values different from the color values corresponding to the colors of the board surface of the electronic board exist in the erasing area, the fact that the erasing objects with the colors different from the colors of the board surface of the electronic board exist in the erasing area is indicated, and therefore the process of dropping chalk dust corresponding to the erasing operation based on the blackboard is simulated through dynamically displaying a plurality of preset patterns with the same colors as the colors of the erasing objects in the target display area between the erasing area and the lower frame of the board surface of the electronic board, and the reality of the simulation of the erasing operation based on the traditional blackboard by the erasing operation based on the electronic board is improved.
It should be noted that, because the content of information interaction and execution process between the above units is based on the same concept as the method embodiment of the present application, specific functions and technical effects thereof may be specifically referred to the method embodiment section, and will not be described herein again.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit. In addition, the specific names of the functional units and modules are only for distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working process of the units and modules in the above system may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
Fig. 6 is a schematic structural diagram of an electronic board according to an embodiment of the application. As shown in fig. 6, the electronic board 6 of this embodiment includes: at least one processor 60 (only one is shown in fig. 6), a memory 61, and a computer program 62 stored in the memory 61 and executable on the at least one processor 60, the processor 60 implementing the steps in any one of the electronic board based touch object recognition method embodiments described above when executing the computer program 62.
The electronic board 6 may be a computing device such as a desktop computer, a notebook computer, a palm computer, a cloud electronic board, etc. The electronic board may include, but is not limited to, a processor 60, a memory 61. It will be appreciated by those skilled in the art that fig. 6 is merely an example of the electronic board 6 and is not meant to be limiting of the electronic board 6, and may include more or fewer components than shown, or may combine certain components, or may include different components, such as input-output devices, network access devices, etc.
The processor 60 may be a central processing unit (Central Processing Unit, CPU), the processor 60 may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 61 may in some embodiments be an internal storage unit of the electronic board 6, such as a hard disk or a memory of the electronic board 6. The memory 61 may in other embodiments also be an external storage device of the electronic board 6, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash Card (Flash Card) or the like, which are provided on the electronic board 6. Further, the memory 61 may also include both an internal memory unit and an external memory device of the electronic board 6. The memory 61 is used for storing an operating system, application programs, boot loader (BootLoader), data, other programs, etc., such as program codes of the computer program. The memory 61 may also be used for temporarily storing data that has been output or is to be output.
The embodiment of the application also provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, and the computer program can realize the steps in any electronic board based display method embodiment when being executed by a processor.
The present application provides a computer program product which, when run on a mobile terminal, causes the mobile terminal to perform steps in any of the electronic board based display method embodiments described above.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the present application may implement all or part of the flow of the method of the above embodiments, and may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and when the computer program is executed by a processor, the computer program may implement the steps of each of the method embodiments described above. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include at least: any entity or device capable of carrying computer program code to a photographing device/terminal apparatus, recording medium, computer Memory, read-Only Memory (ROM), random access Memory (RAM, random Access Memory), electrical carrier signals, telecommunications signals, and software distribution media. Such as a U-disk, removable hard disk, magnetic or optical disk, etc. In some jurisdictions, computer readable media may not be electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments of the present application, it should be understood that the disclosed display method based on an electronic board, the electronic board and the computer storage medium may be implemented in other manners. For example, the above-described embodiments of the electronic board are merely illustrative, and for example, the division of the modules or units is merely a logical function division, and there may be additional divisions when actually implemented, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection via interfaces, devices or units, which may be in electrical, mechanical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
The above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application.

Claims (9)

1. An electronic board-based display method, comprising:
when an erasure operation is detected, determining an erasure area corresponding to the erasure operation; the erasing area is a rectangular area;
If target pixel points with color values different from the color values corresponding to the colors of the panel surfaces of the electronic boards exist in the erasing areas, a plurality of preset graphics are dynamically displayed in the target display areas corresponding to the erasing areas; the target display area is arranged between the erasing area and the lower frame of the panel surface; the color value of each pixel point forming the preset graph is the same as the color value of the target pixel point; the target display area is an area which is not overlapped with the erasing area in a projection area formed by a first diagonal line of the erasing area and the projection of the first diagonal line on the lower frame; the first diagonal line is a diagonal line with a longer projection length on the lower frame, of two diagonal lines of the erasing area.
2. The display method according to claim 1, wherein the determining an erase region corresponding to the erase operation when the erase operation is detected includes:
when detecting that a touch point with the area larger than or equal to a preset area threshold exists on the surface of the electronic board, determining that an erasing operation is detected, and determining a touch area occupied by the touch point as the erasing area.
3. The display method according to claim 1, wherein dynamically displaying a plurality of preset graphics in the target display area corresponding to the erasing area includes:
displaying a group of preset patterns at different positions of the target display area at preset time intervals until the currently displayed group of preset patterns meet preset requirements; the display duration of each group of preset patterns is the preset time interval, and the first distance between each preset pattern in the group of preset patterns displayed later and the lower frame is respectively smaller than the second distance between the corresponding preset pattern in the group of preset patterns displayed earlier and the lower frame.
4. A display method according to claim 3, wherein the transparency of each of the set of preset graphics to be displayed later is greater than the transparency of each of the set of preset graphics to be displayed earlier.
5. The display method according to claim 4, wherein displaying a set of preset graphics at different positions of the target display area at preset time intervals until the set of preset graphics currently displayed meets preset requirements, comprises:
Displaying a group of preset patterns at different positions of the target display area at preset time intervals until the transparency of each preset pattern in the group of preset patterns currently displayed is greater than a preset transparency threshold;
or displaying a group of preset graphs at different positions of the target display area at preset time intervals until the minimum value of the third distance between each preset graph in the group of preset graphs currently displayed and the lower frame is smaller than a preset distance threshold value.
6. A display method according to claim 3, wherein displaying a set of preset graphics at different positions of the target display area at preset time intervals comprises:
and determining a group of circular display areas at different positions of the target display area at preset time intervals, and adjusting the color values of part of pixel points in the pixel points corresponding to each circular display area to be the color values of the target pixel points.
7. An electronic board, comprising:
a determining unit, configured to determine an erase area corresponding to an erase operation when the erase operation is detected; the erasing area is a rectangular area;
The display unit is used for dynamically displaying a plurality of preset graphics in a target display area corresponding to the erasing area if target pixel points with color values different from the color values corresponding to the colors of the panel surface of the electronic board exist in the erasing area; the target display area is arranged between the erasing area and the lower frame of the panel surface; the color value of each pixel point forming the preset graph is the same as the color value of the target pixel point; the target display area is an area which is not overlapped with the erasing area in a projection area formed by a first diagonal line of the erasing area and the projection of the first diagonal line on the lower frame; the first diagonal line is a diagonal line with a longer projection length on the lower frame, of two diagonal lines of the erasing area.
8. An electronic board comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 1 to 6 when executing the computer program.
9. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the method according to any one of claims 1 to 6.
CN202010667934.6A 2020-07-13 2020-07-13 Display method based on electronic board, electronic board and computer storage medium Active CN113934315B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010667934.6A CN113934315B (en) 2020-07-13 2020-07-13 Display method based on electronic board, electronic board and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010667934.6A CN113934315B (en) 2020-07-13 2020-07-13 Display method based on electronic board, electronic board and computer storage medium

Publications (2)

Publication Number Publication Date
CN113934315A CN113934315A (en) 2022-01-14
CN113934315B true CN113934315B (en) 2023-10-20

Family

ID=79273617

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010667934.6A Active CN113934315B (en) 2020-07-13 2020-07-13 Display method based on electronic board, electronic board and computer storage medium

Country Status (1)

Country Link
CN (1) CN113934315B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202123865U (en) * 2011-08-04 2012-01-25 杨惠婷 Eraser capable of reducing chalk dust
CN105224222A (en) * 2015-09-09 2016-01-06 魅族科技(中国)有限公司 A kind of method for deleting, erasing apparatus and electronic equipment
CN105718185A (en) * 2014-08-02 2016-06-29 苹果公司 Context-specific user interfaces
CN106325737A (en) * 2016-08-03 2017-01-11 青岛海信电器股份有限公司 Method and equipment for erasing writing path
CN111338552A (en) * 2019-01-21 2020-06-26 鸿合科技股份有限公司 Chalk handwriting writing method and device and electronic equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000077085A1 (en) * 1999-06-11 2000-12-21 Sydney Hyman Image making medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202123865U (en) * 2011-08-04 2012-01-25 杨惠婷 Eraser capable of reducing chalk dust
CN105718185A (en) * 2014-08-02 2016-06-29 苹果公司 Context-specific user interfaces
CN105224222A (en) * 2015-09-09 2016-01-06 魅族科技(中国)有限公司 A kind of method for deleting, erasing apparatus and electronic equipment
CN106325737A (en) * 2016-08-03 2017-01-11 青岛海信电器股份有限公司 Method and equipment for erasing writing path
CN111338552A (en) * 2019-01-21 2020-06-26 鸿合科技股份有限公司 Chalk handwriting writing method and device and electronic equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
无线互动电子白板会议系统;刘瀚泽 等;《福建电脑》(第5期);140-141 *

Also Published As

Publication number Publication date
CN113934315A (en) 2022-01-14

Similar Documents

Publication Publication Date Title
CN109215037B (en) Target image segmentation method and device and terminal equipment
CN108596955B (en) Image detection method, image detection device and mobile terminal
US8823655B2 (en) Touch-point coordinate detecting method
CN109117241B (en) Display direction control method, system and mobile terminal
CN108965575B (en) Gesture action recognition method and device and terminal equipment
CN109873980B (en) Video monitoring method and device and terminal equipment
CN111597009B (en) Application program display method and device and terminal equipment
CN113934315B (en) Display method based on electronic board, electronic board and computer storage medium
CN113934312A (en) Touch object identification method based on infrared touch screen and terminal equipment
CN109637017B (en) Control method, device, equipment and medium for vending machine based on touch film
CN109298809A (en) A kind of touch action recognition methods, device and terminal device
CN110677586B (en) Image display method, image display device and mobile terminal
CN112783346A (en) Handwriting data processing method and system, computer equipment and storage medium
CN109727370B (en) Control method, device, equipment and storage medium of vending machine
CN111538194A (en) Touch display system and chip thereof
CN109444905B (en) Dynamic object detection method and device based on laser and terminal equipment
CN111861965A (en) Image backlight detection method, image backlight detection device and terminal equipment
CN113391779B (en) Parameter adjusting method, device and equipment for paper-like screen
US11397493B2 (en) Method for touch sensing enhancement implemented in single chip, single chip capable of achieving touch sensing enhancement, and computing apparatus
CN114629800A (en) Visual generation method, device, terminal and storage medium for industrial control network target range
CN115016671A (en) Touch display control device, touch display device, equipment and method
CN110928441B (en) Touch object identification method, system, terminal equipment and storage medium
CN107329654A (en) Draw method, device and the computer-readable recording medium of element floating layer
CN106648751B (en) Method for rapidly upgrading embedded software and embedded equipment
CN109089040B (en) Image processing method, image processing device and terminal equipment

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