Writing display method and device of smart blackboard, computer equipment and storage medium

Through the combination of vibration sensor and infrared touch frame, contact calibration processing is performed, which solves the problem of low accuracy of writing pen touch points and ghosting phenomenon in smart blackboards, and achieves a more accurate writing display effect.

CN118708075APending Publication Date: 2024-09-27GUANGZHOU SHIYUAN ELECTRONICS CO LTD +1
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202310312869.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-27
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

Existing smart blackboards have low accuracy when identifying writing pen touch points, and are prone to ghosting, which affects the display of written content.

Method used

The method of combining the vibration sensor and the infrared touch frame is used to obtain the touch material through the vibration sensor. The infrared touch frame detects the blocked area to obtain the contact points, and performs calibration processing on the contacts to filter out the target contacts corresponding to the writing pen, so as to achieve better interaction during the interaction. Display handwriting on the display tablet to prevent ghosting.

Benefits of technology

It improves the accuracy of the writing pen's contact points, prevents erasure caused by excessive contact area, ensures that the displayed writing handwriting is consistent with the real writing handwriting, and avoids the occurrence of ghosting.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118708075A
    Figure CN118708075A
Patent Text Reader

Abstract

The invention belongs to the technical field of writing display, and discloses a writing display method and device for an intelligent blackboard, computer equipment and a storage medium, and the method comprises the steps: when a touch operation of a user is received on the writing blackboard, obtaining a touch material corresponding to the touch operation through a vibration sensor; if the touch material comprises a writing pen, obtaining a contact corresponding to the touch operation according to a shielding area formed by the touch operation detected by the infrared touch frame; calibrating the contacts, and determining a target contact corresponding to the writing pen from the contacts; and screening out the handwriting corresponding to the target contact from the contact track, and displaying the handwriting in the interactive display panel. Compared with the prior art, the touch point is calibrated to obtain the target touch point corresponding to the writing pen, so that the situation that the touch point area is too large, so that the touch point area is recognized as an erasing action, and then the writing pen handwriting on the interactive display panel is erased is prevented, and ghosting can be prevented under the condition that the writing pen handwriting and a mistaken contact track exist.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of writing display technology, and specifically to a writing display method, device, computer equipment and storage medium for a smart blackboard. Background Art

[0002] With the rapid development of science and technology, smart blackboards are now widely used. When using the blackboard, when the user holds the writing pen in his hand and writes on the smart blackboard, a large contact point or multiple contacts will be identified. When a large contact point is identified, if the geometric center of the contact point is used as the writing pen contact point, the accuracy of the obtained writing pen contact point is low. When multiple contacts are identified, there may be ghosting, which affects the display effect of the written content.

[0003] In summary, the prior art has the problem of low accuracy in estimating the touch point of the writing pen and / or the existence of ghosting phenomenon. Summary of the invention

[0004] The main purpose of the present application is to provide a writing display method, device, computer equipment and storage medium for a smart blackboard, aiming to solve the problems of low accuracy in estimating writing pen touch points and / or the existence of ghosting in the prior art.

[0005] To achieve the above-mentioned purpose, the present application proposes a writing display method of a smart blackboard, the smart blackboard comprising a writing blackboard and an interactive display flat panel arranged adjacent to each other, the writing blackboard being connected to the interactive display flat panel, a vibration sensor being arranged on the writing blackboard, and an infrared touch frame being arranged on the edge of the writing blackboard, the method comprising:

[0006] When a user's touch operation is received on the writing blackboard, a touch material corresponding to the touch operation is acquired through the vibration sensor;

[0007] If the touch material includes a writing pen, acquiring a touch point corresponding to the touch operation according to an occlusion area formed by the touch operation detected by the infrared touch frame;

[0008] Performing calibration processing on the contact points, and determining a target contact point corresponding to the writing pen from the contact points;

[0009] The handwriting corresponding to the target touch point is selected from the touch point track, and the handwriting is displayed on the interactive display tablet.

[0010] The present application also provides a writing display device for a smart blackboard, the smart blackboard comprising a writing blackboard and an interactive display flat panel arranged adjacent to each other, the writing blackboard being connected to the interactive display flat panel, a vibration sensor being arranged on the writing blackboard, and an infrared touch frame being arranged on the edge of the writing blackboard, the device comprising:

[0011] A first acquisition module 10 is used to acquire a touch material corresponding to the touch operation through the vibration sensor when a user's touch operation is received on the writing blackboard;

[0012] A second acquisition module 20 is configured to acquire a touch point corresponding to the touch operation according to an occlusion area formed by the touch operation detected by the infrared touch frame if the touch material includes a writing pen;

[0013] A determination module 30, configured to perform calibration processing on the contact points, and determine a target contact point corresponding to the writing pen from the contact points;

[0014] The display module 40 is used to select the handwriting corresponding to the target touch point from the touch point trajectory, and display the handwriting on the interactive display tablet.

[0015] The present application also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above-mentioned smart blackboard writing display method when executing the computer program.

[0016] The present application also provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the writing display method of the above-mentioned smart blackboard are implemented.

[0017] The writing display method, device, computer equipment and storage medium of the smart blackboard provided in the present application, wherein the method includes when receiving a user's touch operation on the writing blackboard, obtaining the touch material corresponding to the touch operation through a vibration sensor, and judging whether it is a writing contact of a writing pen or a user's mistaken touch through the touch material. If the touch material includes a writing pen, the contact point corresponding to the touch operation is obtained according to the occlusion area formed by the touch operation detected by the infrared touch frame. The area of ​​the contact point is large, and the probability that the geometric center of the contact point is the real target contact point is small. Calibration processing of the contact point can obtain a target contact point with a high accuracy corresponding to the writing pen, and can also prevent the erasing action from being recognized as an erasing action due to the large area of ​​the contact point, thereby erasing the writing pen handwriting on the interactive display flat panel. In the case of multiple contacts, the writing handwriting corresponding to the target contact point is screened out from the multiple contact point trajectories, and ghosting can be prevented in the case of writing pen handwriting and mistaken contact trajectories, so that the writing handwriting corresponding to the target contact point displayed in the interactive display flat panel of the smart blackboard is consistent with the real writing handwriting. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 It is a flowchart of a method for displaying writing on a smart blackboard according to an embodiment of the present application;

[0019] Figure 2 is a schematic diagram of a process of determining a target touch point corresponding to a writing pen from touch points in one embodiment of the present application;

[0020] Figure 3 is a schematic diagram of determining a first designated point according to an embodiment of the present application;

[0021] Figure 4 It is a schematic block diagram of the structure of a writing display device of a smart blackboard according to an embodiment of the present application;

[0022] Figure 5 It is a schematic diagram of the structure of a computer device according to an embodiment of the present application.

[0023] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0024] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0025] It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as generally understood by those skilled in the art in the art to which the present invention belongs. It should also be understood that terms such as those defined in general dictionaries should be understood to have meanings consistent with the meanings in the context of the prior art, and will not be interpreted with idealized or overly formal meanings unless specifically defined as herein.

[0026] Existing smart blackboards usually include a writing blackboard and an interactive display tablet that are arranged adjacent to each other. An infrared touch frame is also arranged on the edge of the writing blackboard, which can emit infrared light. When one or more of a writing pen, a finger, and a palm touches the writing blackboard, the infrared light emitted by the infrared touch frame is blocked, and the contact position and contact area can be calculated through the blocked area formed by the infrared light. The contact trajectory can be obtained by recording the position change of the contact on the writing blackboard, and the contact trajectory is sent to the interactive display tablet, which can then display the contact trajectory.

[0027] However, in the process of using the above-mentioned existing smart blackboard, when the user holds the writing pen in his hand to write on the smart blackboard, the holding position is usually very close to the blackboard, so that the user's fingers and / or palms may touch the touch-sensitive surface, so that the infrared touch frame will recognize a touch point with a larger area, or recognize multiple touch points. When a touch point with a larger area is recognized, the existing method usually uses the traditional geometric center algorithm to estimate the writing pen touch point. This method does not calibrate the writing pen touch point, which easily results in low accuracy of the obtained writing pen touch point. When multiple touch points are recognized, since the writing pen touch points are not identified and merged from the multiple touch points, the trajectories of the multiple touch points are presented on the interactive display tablet, resulting in ghosting, which in turn affects the display effect of the written content.

[0028] In summary, the prior art has the problem of low accuracy in estimating the touch point of the writing pen and / or directly presenting multiple touch points resulting in ghosting.

[0029] In view of the above problems, this application proposes a new technical solution, including hardware architecture and software design, to achieve accurate estimation of writing pen touch points and elimination of non-writing pen touch point trajectories in two aspects, specifically:

[0030] In terms of hardware architecture, a vibration sensor is set on the back of the existing writing blackboard or other locations. When different touch objects touch the writing blackboard or slide on the writing blackboard, mechanical vibrations will be generated, and the mechanical vibrations will propagate along the structure of the writing blackboard. By setting a vibration sensor on the writing blackboard, the mechanical vibrations generated by different touch objects can be received.

[0031] After receiving the mechanical vibration, the vibration sensor transmits the mechanical vibration signal to the processor for signal processing and signal recognition, and outputs the ID of the touch material. The material of the touch object can be identified through the ID of the touch material.

[0032] During the writing process, the user's palm and / or knuckles may touch the writing blackboard, resulting in tracks that are not touch points of the writing pen. The infrared touch frame can detect the tracks of the writing pen, palm and / or finger, but cannot distinguish between different touch materials. The touch material can be identified by the vibration sensor, and the touch material includes the writing pen, and the infrared touch frame detects the touch points corresponding to the writing pen.

[0033] Secondly, in terms of software design, since the geometric center of the touch point is not necessarily the real writing pen touch point, in order to find the real writing pen touch point, the touch point needs to be calibrated. The number of identified touch points may be 1 or greater than 1, and different calibration processes are performed for different numbers of touch points.

[0034] When the number of contacts is 1, there may be only one contact, or the positions of multiple contacts may be very close, and the multiple contacts are identified as one contact during recognition. Therefore, the area of ​​the contact is obtained, and it is determined whether the area is greater than the preset area threshold. When the area is greater than the preset area threshold, it means that there may be multiple contacts that are very close to each other, and the multiple contacts are identified as a contact with a larger area. Since the user's palm is at the lower right when holding the pen with his right hand, and the target contact is at the upper left of the palm, the target contact with a smaller area can be determined from the upper left of the contact with a larger area, which can prevent the contact from being recognized as an erasing action due to the large area, thereby erasing the writing pen handwriting on the interactive display tablet.

[0035] When the number of contacts is greater than 1, the contacts are classified to obtain corresponding clusters and the number of clusters is obtained. When the number of clusters is 1, it means that the current user only uses a writing pen to write. Combined with the writing gesture information, when the user writes with his left hand, the palm is at the lower left, and the target contact is at the upper right of the palm. The contact with the smallest distance from the upper right corner of the cluster area is used as the target contact. When the number of clusters is greater than 1, that is, multiple clusters are obtained, it means that the current user has other operations in addition to the operation of writing with chalk. The initial writing pen touch area is determined based on the vibration sensor, and the distance between the center point of the initial writing pen touch area and the recognition center of each cluster is calculated. The smaller the distance, the closer the corresponding cluster area is to the initial writing pen touch area. The cluster corresponding to the minimum distance is used as the target cluster, and the target contact is determined according to the target cluster.

[0036] The target touch point is the touch point corresponding to the writing pen. After the target touch point is determined, the handwriting corresponding to the target touch point is selected from the touch point track. The handwriting is the real handwriting in the writing process. The handwriting is sent to the interactive display tablet. The interactive display tablet displays the handwriting and does not display other touch point tracks, which can prevent ghosting.

[0037] Based on the above hardware architecture and software design of the embodiment of the present application, the writing display method of the smart blackboard of the embodiment of the present application is further explained below in combination with specific application scenarios.

[0038] Reference Figure 1 , a writing display method of a smart blackboard in one embodiment of the present application, the smart blackboard includes a writing blackboard and an interactive display tablet arranged adjacent to each other, a vibration sensor is arranged on the writing blackboard, and an infrared touch frame is also arranged on the edge of the writing blackboard. A writing blackboard can be arranged on each side of the interactive display tablet, and both writing blackboards are electrically connected to the interactive display tablet, or only one writing blackboard can be arranged, and the writing blackboard is electrically connected to the interactive display tablet. The method includes:

[0039] S1: When a user's touch operation is received on the writing blackboard, a touch material corresponding to the touch operation is acquired through the vibration sensor.

[0040] The execution subject of the embodiment of the present application is a writing display device of a smart blackboard. In practical applications, the writing display device of the smart blackboard includes a physical interactive display panel, such as a liquid crystal display, on which relevant execution codes are written or integrated. The interactive display panel can interact with the user through a keyboard, mouse, remote control, touchpad and / or voice control device.

[0041] Specifically, the writing display device of the smart blackboard also includes the smart blackboard, and the smart blackboard includes a writing blackboard, a vibration sensor and a touch frame. When a user's touch behavior is detected on the writing blackboard, a touch material corresponding to the touch behavior is obtained through a preset vibration sensor, and the touch material may be a writing pen or a finger.

[0042] One or more vibration sensors are provided to obtain vibration signals and store the vibration signals in memory. Optionally, the vibration sensor is a combination of one or more capacitive sensors, resistive sensors, piezoelectric sensors, magnetostrictive sensors, optical sensors, etc. The vibration sensor provided can convert the vibration signal into an electrical signal that can be extracted by the back-end circuit, and the back-end circuit outputs the touch material according to the extracted electrical signal. The vibration sensor can be mounted on the back of the writing blackboard, or on the part after being punched and attached to the front plate, or on the gap under the infrared touch frame on the front of the writing blackboard. Optionally, when there is only one vibration sensor, the vibration sensor is attached to the middle of the back of the writing blackboard; when there are multiple vibration sensors, all vibration sensors are arranged in the form of an array, or arranged in other ways.

[0043] When the writing display device of the smart blackboard is in sleep state, the states of the infrared touch frame and the vibration sensor can be divided into the following situations: both the infrared touch frame and the vibration sensor are in low power scanning state; one of the infrared touch frame and the vibration sensor is in low power scanning state; one of the infrared touch frame and the vibration sensor is in a completely off state.

[0044] In the state of low-power scanning, the frequency and mode of scanning are both in a low-power state, and are only used to detect whether there is a contact point to wake up the writing display device of the smart blackboard. When there is a contact point, the writing display device of the smart blackboard will be awakened, and the infrared touch frame and vibration sensor will start to work at a high frequency. When the user's finger, writing pen or other touch object touches or slides on the writing blackboard, a mechanical vibration will be generated. The mechanical vibration will propagate along the structure of the blackboard. The propagation form of the mechanical vibration is horizontal propagation and / or vertical propagation. When the mechanical wave is transmitted to the back or edge of the blackboard, the vibration signal will be collected by the deployed vibration sensor. The vibration signal collected by the vibration sensor can be transformed in the frequency domain (such as Fourier transform), signal fusion, filtering and other operations, and then the ID of the touch material can be output through feature extraction and feature comparison methods, or through deep learning methods, such as finger belly is 0, chalk is 1, film-forming pen A is 2, film-forming pen B is 3, blackboard eraser is 4, etc.

[0045] S2: If the touch material includes a writing pen, a touch point corresponding to the touch operation is obtained according to an occlusion area formed by the touch operation detected by the infrared touch frame.

[0046] When the touch material includes a writing pen, that is, there is a touch material and the touch material is a writing pen, or there are multiple touch materials, and the multiple touch materials include a writing pen and other non-writing pen materials, the touch point corresponding to the touch operation is received through a preset infrared touch frame, wherein the writing pen is a chalk or other pen, and an infrared touch frame can be attached to the front frame of the blackboard for position identification. Optionally, the infrared touch frame is a single-sided infrared touch frame, a double-sided infrared touch frame, or a four-sided infrared touch frame, or other infrared touch sensors that can output the contact point position and area. The embodiment of the present application takes a four-sided infrared touch frame as an example.

[0047] The upper and left sides of the infrared touch frame are provided with emitting lamps for emitting infrared light, and the lower and right sides of the infrared touch frame are provided with receiving lamps for receiving infrared light. When a touch object touches the infrared touch frame, the infrared light is completely or partially blocked, and the position and blocking area of ​​the touch point corresponding to the touch behavior of the touch object can be calculated according to the blocking area formed by the infrared light on the infrared touch frame, thereby determining the touch point corresponding to the touch operation.

[0048] Specifically, the infrared touch frame will determine whether a certain frame signal exceeds the touch threshold or whether multiple consecutive frames of signals continue to exceed the touch threshold based on the signals of multiple frame scans. The touch threshold can be a combination of one or more of the following, including the number of infrared light blocked, the maximum blocking depth, and the average blocking depth. If the touch threshold is exceeded, it is determined that there is a touch point corresponding to the touch operation, and the position and blocking area of ​​the touch point can be obtained through relevant algorithm processing, as well as the position confidence and area confidence corresponding to the position and blocking area of ​​the touch point.

[0049] If a frame signal or multiple consecutive frame signals exceed the touch threshold, it is determined that the user's touch behavior is detected on the infrared touch frame; if a frame signal and multiple consecutive frame signals do not exceed the touch threshold, it is determined that the user's touch behavior is not detected on the infrared touch frame.

[0050] S3: Calibrate the contact points to determine a target contact point corresponding to the writing pen from the contact points.

[0051] Acquire a first number of the contact points, and acquire writing gesture information of the user;

[0052] If the first number is equal to 1, obtaining the area of ​​the contact point, and determining whether the area is greater than a preset area threshold;

[0053] If it is greater than the area threshold, determining the target touch point from the touch points according to a first preset rule based on the writing gesture information;

[0054] If the first number is greater than 1, the target touch point is determined from the touch points according to a second preset rule based on the writing gesture information.

[0055] When the first number is equal to 1, it means that when the user holds the writing pen, the user's hand is close to the writing blackboard, and the user's finger or palm may touch the touch frame, and a touch point with a larger area will be recognized.

[0056] When the first number is greater than 1, it means that the user's hand is close to the writing blackboard when the user holds the writing pen, and multiple parts of the user's fingers and / or palms are in contact with the touch frame. At this time, multiple contact points will be recognized, and the infrared touch frame will record multiple parallel writing lines during the user's writing.

[0057] S4: Filter out the handwriting corresponding to the target touch point from the touch point trajectory, and display the handwriting on the interactive display tablet.

[0058] In the case of multiple touch points, the touch points include target touch points and non-target touch points, and both target touch points and non-target touch points will form tracks during the writing process. The target touch point is the touch point corresponding to the writing pen, and the writing handwriting corresponding to the target touch point is the handwriting corresponding to the writing pen. The interactive display panel of the smart blackboard only displays the writing handwriting corresponding to the writing pen, and does not display the tracks formed by other touch points during the movement process, which can prevent the occurrence of ghosting.

[0059] The interactive display flat panel is electrically connected to the writing blackboard, and the writing blackboard sends the screened writing handwriting to the interactive display flat panel, and the interactive display flat panel displays the writing handwriting.

[0060] As described above, when a user's touch operation is received on the writing blackboard, the touch material corresponding to the touch operation is obtained through the vibration sensor, and the touch material can be used to determine whether it is a writing contact with a writing pen or an erroneous contact by the user. If the touch material includes a writing pen, the contact point corresponding to the touch operation is obtained according to the occlusion area formed by the touch operation detected by the infrared touch frame. The area of ​​the contact point is large, and the probability that the geometric center of the contact point is the real target contact point is small. Calibration of the contact point can obtain a target contact point with a high accuracy corresponding to the writing pen, and can also prevent the contact point from being identified as an erasing action due to the large area of ​​the contact point, thereby erasing the writing pen handwriting on the interactive display tablet. In the case of multiple contacts, the writing handwriting corresponding to the target contact point is screened out from the multiple contact point trajectories, which can prevent ghosting in the presence of writing pen handwriting and erroneous contact trajectories, so that the writing handwriting corresponding to the target contact point displayed on the interactive display tablet of the smart blackboard is consistent with the real writing handwriting.

[0061] Reference Figure 2 Further, in one embodiment of the present application, the step S3 of calibrating the contact points and determining the target contact points corresponding to the writing pen from the contact points includes:

[0062] S31: Acquire a first number of the contact points, and acquire writing gesture information of the user.

[0063] Specifically, the infrared touch frame identifies the first number of contact points in contact with the touch surface, and the first number of contact points can reflect whether it is a single-point contact or a multi-point contact.

[0064] The writing gesture information includes left-hand writing and right-hand writing, wherein the default writing gesture is right-hand writing. Optionally, the writing gesture information is obtained by querying preset setting menu information, or logging into a system database, querying the historical writing records of the current writing user in the system database, and comparing the handwriting of the contact point input by the user with the handwriting of the historical writing records to identify the corresponding writing gesture information.

[0065] S32: If the first number is equal to 1, obtain the area of ​​the contact point, and determine whether the area is greater than a preset area threshold.

[0066] There is no limitation on the specific value of the preset area threshold, which can be set according to actual needs.

[0067] When the infrared touch frame detects too many touch points or the touch point area is large, the infrared touch frame will detect a touch point with a larger area because the touch point blocks the light. When the area of ​​the touch point is too large, it may cause accidental erasure or ghosting, so it is necessary to determine whether the area of ​​the touch point is greater than the preset area threshold.

[0068] S33: If the area is greater than the area threshold, determine the target touch point from the touch points according to a first preset rule based on the writing gesture information.

[0069] The specific implementation process of determining the target touch point from the touch points according to the first preset rule will be further described in subsequent specific embodiments and will not be repeated here.

[0070] Determining a target touch point with a smaller area from touch points with a larger area based on writing gesture information can prevent the touch point from being recognized as an erasing action due to its excessively large area, thereby preventing the handwriting of the writing pen displayed on the interactive display tablet from being accidentally erased.

[0071] S34: If the first number is greater than 1, determine the target touch point from the touch points according to a second preset rule based on the writing gesture information.

[0072] The specific implementation process of determining the target touch point from the touch points based on the writing gesture information according to the second preset rule will be further described in subsequent specific embodiments of the present application and will not be elaborated here.

[0073] Furthermore, after the target touch point is determined from all the touch points, other touch points except the target touch point can be deleted from all the touch points to effectively avoid the occurrence of ghost display. The other touch points are touch points accidentally touched by the user, and the other touch points include touch points corresponding to knuckles and touch points corresponding to fingertips.

[0074] As described above, when the blackboard recognizes a contact with a larger area, the target contact is accurately calibrated based on the writing gesture information and the first preset rule. When the blackboard recognizes multiple contacts, the target contact can be accurately determined from all contacts based on the writing gesture information and the second preset rule. This effectively improves the accuracy of determining the target contact, which is beneficial to ensuring the accurate display of the user's writing content and improving the user experience.

[0075] Further, refer to Figure 3 In one embodiment of the present application, if the area is greater than the area threshold, the step S33 of determining the target touch point from the touch points according to a first preset rule based on the writing gesture information includes:

[0076] S331: Fitting the contact surface of the contact point using a preset graphic, and creating a first diameter in the horizontal direction on the preset graphic.

[0077] The preset shape may be a circle, an ellipse, or a rectangle. The embodiment of the present application takes the preset shape of a circle as an example.

[0078] The preset graphic uses the center point of the touch point as the center of the circle. In the prior art, the center of the circle is usually directly used as the target touch point, which makes the accuracy of the target touch point low.

[0079] S332: Determine whether the writing gesture information is right-hand writing.

[0080] The corresponding writing gesture information is identified by querying the preset setting menu information or the historical writing records in the system database. The embodiment of the present application takes the query of historical writing records as an example.

[0081] Since the same user has different postures when writing the same character with the left hand or the right hand, the characters written are also different, which may be reflected in different stroke orders or different stroke weights.

[0082] S333: If the writing gesture information is right-hand writing, create a second diameter at the upper left of the center point of the preset graphic, the second diameter having an angle of a first preset angle with the first diameter.

[0083] There is no specific limitation on the value of the first preset angle, which can be set according to actual needs or historical test results, for example, it can be set to 45°.

[0084] S334: Determine a first designated point in the upper line segment of the second diameter based on a first preset calculation formula, and use the first designated point as the target contact point.

[0085] The first preset calculation formula is specifically: 2 =d 1 / k 1 , d 1 is the radius of the circle, d 2 is the distance between the first specified point and the center of the circle, where d 2 Less than or equal to d 1 . k 1 is a preset value determined through training, k1 It can also be a function value related to the contact point position and / or contact area. 2 After that, find the value of d from the upper half of the second diameter 2 The corresponding point is used as the first designated point.

[0086] S335: If the writing gesture information is left-hand writing, create a third diameter at the upper right of the center point of the preset graphic, the third diameter having an angle with the first diameter being a second preset angle.

[0087] There is no specific limitation on the value of the second preset angle, which can be set according to actual needs or historical test results, for example, it can be set to 45°.

[0088] S336: Determine a second designated point in the upper line segment of the third diameter based on a second preset calculation formula, and use the second designated point as the target contact point.

[0089] The second preset calculation formula is specifically: 3 =d 1 / k 2 , d 1 is the radius of the circle, d 3 is the distance between the second specified point and the center of the circle, k 2 is a preset value determined through training. 3 Then, we can find the value of d from the upper half of the third diameter. 3 The corresponding point is used as the second designated point.

[0090] As described above, the contact surface of the contact point is fitted using a preset graphic, and a first diameter in the horizontal direction is created on the preset graphic. A second diameter or a third diameter is created at the upper left or upper right of the center point of the preset graphic according to the writing gesture information, and the target contact point is determined in the upper line segment of the second diameter or the third diameter. The target contact point is determined from the preset graphic according to the writing gesture information, rather than simply taking the geometric center of the preset graphic as the target contact point, which effectively improves the accuracy of determining the target contact point.

[0091] Further, in an embodiment of the present application, if the first number is greater than 1, the step S34 of determining the target touch point from the touch points according to a second preset rule based on the writing gesture information includes:

[0092] S341: Classify all the contacts based on a preset contact classification algorithm to obtain corresponding clusters.

[0093] By classifying the touch points, the corresponding clusters are obtained, and the number of clusters can reflect the number of real touch points. Real touch points include target touch points and other touch points caused by the hand accidentally touching the writing blackboard. In addition to real touch points, there are also false alarm touch points caused by the writing height of the infrared touch frame.

[0094] The specific implementation process of classifying all the contacts based on the preset contact classification algorithm to obtain corresponding clusters will be further described in subsequent specific embodiments of the present application and will not be elaborated here.

[0095] S342: Obtain a second number of the clusters, and determine whether the second number is equal to 1.

[0096] The second number of clusters may be greater than one or may be equal to one.

[0097] S343: If the second number is equal to 1, determine whether the writing gesture information is right-hand writing.

[0098] If the second number of clusters is 1, that is, only one cluster is obtained, it means that the current user only performs writing operations using the writing pen.

[0099] S344: If the writing gesture information is right-hand writing, obtain a first touch point with the smallest distance from the upper left corner of the clustered area from all the touch points, and use the first touch point as the target touch point.

[0100] Generally, when a user holds a writing pen for writing, the user holds the writing pen with the thumb and index finger. When the writing gesture information is right-hand writing, the target contact point corresponding to the writing pen is located at the upper left corner of the clustered area.

[0101] S345: If the writing gesture information is left-hand writing, obtain a second touch point with the smallest distance from the upper right corner of the clustered area from all the touch points, and use the second touch point as the target touch point.

[0102] Generally, when the writing gesture information is left-hand writing, the target contact point corresponding to the writing pen is located at the upper right corner of the clustered area.

[0103] As described above, when it is determined that the first number is greater than 1 and the second number of clusters corresponding to the touch points is equal to 1, it is determined whether the user is writing with his left hand or right hand based on the user's writing gesture information, and the corresponding target touch points are determined according to the left-hand writing or right-hand writing, so that the target touch points can be accurately screened out from multiple touch points, which is conducive to ensuring the accurate display of the user's writing content and improving the user's experience.

[0104] Further, in an embodiment of the present application, after the step S342 of obtaining the second number of clusters and determining whether the second number is equal to 1, the following step further includes:

[0105] S343': If the second number is greater than 1, determine an initial writing pen touch point area based on the vibration sensor.

[0106] If the second number of clusters is greater than 1, that is, multiple clusters are obtained, it means that the current user has other operations in addition to the operation of writing with chalk, for example, the user uses another hand to lean on the blackboard in addition to writing. In addition, the number of the vibration sensors is multiple. The process of determining the initial writing pen touch area based on the vibration sensor may include: using the time-of-flight ToF algorithm, that is, receiving the time difference of characteristic signals (such as the time when a signal of a special frequency appears, which can be obtained by the time-frequency transformation of the signal) through different vibration sensors, and calculating the distance between the initial target touch and each sensor according to the speed of vibration. Then, based on the distance between the initial target touch and each sensor, the writing pen touch area corresponding to the initial target touch is calculated.

[0107] S344': Calculate the identification center of each cluster respectively.

[0108] The k-means clustering method is used to calculate the identification center of each cluster, and other clustering methods can also be used to calculate the identification center of each cluster.

[0109] The identification center is a coordinate, and the identification center can be obtained by calculating the average value of the coordinates of multiple touch points, or by setting corresponding weights according to the areas of multiple touch points and calculating the weighted average value according to the weights. Optionally, the larger the area of ​​the touch point, the larger the corresponding weight, and the smaller the area of ​​the touch point, the smaller the corresponding weight.

[0110] S345': Calculate the first distance between the writing pen touch point area and each of the recognition centers respectively.

[0111] First, the center point of the writing pen touch point area is obtained, and then the distance between the center point of the writing pen touch point area and each recognition center is calculated as the first distance.

[0112] S346': Filter out a second distance with the smallest value from all the first distances, and obtain a target cluster corresponding to the second distance; wherein the target cluster is composed of a plurality of designated contacts.

[0113] Optionally, all first distances are arranged in ascending order to obtain a first distance sequence, and the first first distance in the first distance sequence is used as the second distance.

[0114] S347': Determine whether the writing gesture information is right-hand writing.

[0115] The writing gesture information includes left-hand writing and right-hand writing, and different target contact point calculation methods are used for left-hand writing and right-hand writing.

[0116] S348': If the writing gesture information is right-hand writing, a third touch point having the smallest distance from the upper left corner of the target cluster area is obtained from all the designated touch points, and the third touch point is used as the target touch point.

[0117] When the writing gesture information is right-hand writing, the method of calculating the target contact point is the same as step S344, which will not be repeated here.

[0118] S349': If the writing gesture information is left-hand writing, obtain a fourth touch point with the smallest distance from the upper right corner of the target cluster area from all the designated touch points, and use the fourth touch point as the target touch point.

[0119] When the writing gesture information is left-hand writing, the method of calculating the target contact point is the same as step S345, which will not be repeated here.

[0120] As described above, when it is determined that the first number of touch points is greater than 1, and the second number of clusters corresponding to the touch points is greater than 1, the recognition center of each cluster is calculated respectively, the first distance between the writing pen touch point area and each recognition center is calculated respectively, the second distance with the smallest value is selected from all the first distances, and the target cluster corresponding to the second distance is obtained. Accurately selecting the target touch point from multiple touch points based on the user's writing gesture information can ensure accurate display of the user's writing content and improve the user's experience.

[0121] Furthermore, in an embodiment of the present application, the step S341 of classifying all the touch points based on a preset touch point classification algorithm to obtain corresponding clusters includes:

[0122] S3411: Step A: Obtain the fifth contact, and calculate the third distance between the fifth contact and all sixth contacts among all the contacts except the fifth contact; wherein the fifth contact is the contact with contact number 0 among all the contacts.

[0123] The third distance may be Euclidean distance, cosine distance, or other distances.

[0124] S3412: Step B: Filter out a fourth distance that is less than a preset distance threshold from all the third distances, obtain a seventh contact corresponding to the fourth distance, and put the fifth contact and the seventh contact into cluster N; wherein the initial value of N is 0.

[0125] The preset distance threshold may be a fixed value, or an average value of the third distances may be calculated according to all the third distances, and the average value of the third distances may be used as the preset distance threshold.

[0126] S3413: Step C: Traverse the eighth contact in the cluster N except the fifth contact, obtain all ninth contacts whose distances to the eighth contact are less than the preset distance threshold, and place the ninth contact into the cluster N; wherein the eighth contact is any contact in the cluster N except the fifth contact.

[0127] The eighth contact point may be traversed in a sequential manner, in a random manner, or in other traversal manners.

[0128] S3414: Step D: Obtain all the contact points except the cluster N, and repeat steps A to C until the clustering process for all the contact points is completed to obtain corresponding clusters.

[0129] Based on the number of clusters obtained, a corresponding processing method is adopted to achieve accurate calibration of the target contact.

[0130] As described above, all contacts are classified based on a preset contact classification algorithm to obtain corresponding clusters, including: Step A: Obtain the fifth contact, and calculate the third distance between the fifth contact and all sixth contacts except the fifth contact among all contacts. The fifth contact is the contact with contact number 0 among all the contacts. Step B: Filter out the fourth distance less than the preset distance threshold from all the third distances, obtain the seventh contact corresponding to the fourth distance, and put the fifth contact and the seventh contact into cluster N. The initial value of N is 0. Step C: Traverse the eighth contact except the fifth contact in cluster N, obtain all ninth contacts whose distance with the eighth contact is less than the preset distance threshold, and put the ninth contact into cluster N. The eighth contact is any contact except the fifth contact in cluster N. Step D: Obtain other contacts except cluster N among all contacts, and repeat steps A to C until the clustering process for all contacts is completed to obtain the corresponding cluster. By classifying all the contacts based on a preset contact classification method, the corresponding clusters can be obtained quickly and accurately, and the target contacts can be accurately calibrated by taking a corresponding processing method based on the number of obtained clusters.

[0131] Furthermore, in an embodiment of the present application, before the step S31 of obtaining the first number of the contact points and obtaining the writing gesture information of the user, the following step is further included:

[0132] S300: Acquire pre-stored setting menu information.

[0133] The setting menu information at least includes menu information corresponding to the writing gesture.

[0134] S301: Determine whether there is setting information corresponding to the writing gesture in the setting menu information.

[0135] Setting information refers to the user setting his commonly used writing gestures to right-hand writing or left-hand writing. If the user does not set the setting information corresponding to the gesture, the device will usually assume that the user is using right-hand writing, that is, the setting information corresponding to the writing gesture in the setting menu information will be set to right-hand writing in advance.

[0136] The setting menu information may also contain a situation where the setting information corresponding to the writing gesture is empty, that is, the user has not supplemented the setting information and the device has not set it by default. At this time, the device can identify the process of the user using the writing pen to write for the first time to determine the user's writing gesture information. Specifically, usually when the user uses the writing pen to write on the smart blackboard, the writing pen's pen is in contact for a longer time, and the contact points are continuous. By tracking the user's handwriting within the preset time period T0, the contact point with the longest continuous writing can be found first and defined as the real target contact point. Then, by collecting the relative positions of other points except the target contact point in a certain frame, if the target contact point is detected to the upper left of the other point, the user's writing gesture information is determined to be right-handed writing, and if the target contact point is detected to the upper right of the other point, the user's writing gesture information is determined to be left-handed writing.

[0137] S302: If yes, obtain the setting information from the setting menu information.

[0138] Optionally, before obtaining the setting information from the setting menu information, permission verification is performed first, and the setting information is obtained after the permission verification is passed, which can increase the security of obtaining the setting information.

[0139] S303: Using the setting information as the writing gesture information.

[0140] Based on the writing gesture information, the target touch point can be accurately calibrated according to corresponding preset processing rules.

[0141] As described above, before obtaining the first number of the contacts and obtaining the writing gesture information of the user, it also includes obtaining pre-stored setting menu information, and determining whether there is setting information corresponding to the writing gesture in the setting menu information. If so, obtaining the setting information from the setting menu information. Using the setting information as the writing gesture information. Based on the writing gesture information, the target contact can be accurately calibrated according to the corresponding preset processing rules.

[0142] Further, in an embodiment of the present application, the step S2 of acquiring a touch point corresponding to the touch operation according to the shielding area formed by the touch operation detected by the infrared touch frame includes:

[0143] S21: Obtain an occlusion value corresponding to the occlusion area.

[0144] The occlusion value includes one or more of the number of blocked infrared rays, the maximum occlusion depth and the average occlusion depth. The infrared touch frame obtains the occlusion value corresponding to the occlusion area formed by the touch operation, and can detect the touch point corresponding to the touch operation through the occlusion value.

[0145] S22: Determine whether the shielding value is greater than a shielding threshold, and if so, determine the touch point corresponding to the touch operation according to the shielding value.

[0146] When the occlusion value includes only one of the number of blocked infrared rays, the maximum occlusion depth, and the average occlusion depth, it is determined whether the occlusion value is greater than the corresponding occlusion threshold. If so, the position and occlusion area of ​​the touch point are obtained through the relevant algorithm. For example, the occlusion value includes only the number of blocked infrared rays, and it is determined whether the number of blocked infrared rays is greater than the threshold of the number of blocked infrared rays. If so, the position and occlusion area of ​​the touch point are obtained through the relevant algorithm.

[0147] When the occlusion value includes multiple types of the number of blocked infrared rays, the maximum occlusion depth, and the average occlusion depth, for example, when the occlusion value includes the maximum occlusion depth and the average occlusion depth, it is determined whether the maximum occlusion depth is greater than the maximum occlusion depth threshold, and whether the average occlusion depth is greater than the average occlusion depth threshold. When the maximum occlusion depth is greater than the maximum occlusion depth threshold and the average occlusion depth is greater than the average occlusion depth threshold, the position of the touch point and the occlusion area are obtained through relevant algorithm processing.

[0148] By acquiring the occlusion value corresponding to the occlusion area and judging the occlusion value, the touch point corresponding to the touch operation can be determined.

[0149] As described above, obtaining the touch point corresponding to the touch operation according to the occlusion area formed by the touch operation detected by the infrared touch frame includes obtaining the occlusion value corresponding to the occlusion area, judging whether the occlusion value is greater than the occlusion threshold, and if so, determining the touch point corresponding to the touch operation according to the occlusion value. By obtaining the occlusion value corresponding to the occlusion area and judging the occlusion value, the touch point corresponding to the touch operation can be determined.

[0150] Reference Figure 4In one embodiment of the present application, a writing display device of a smart blackboard is provided. The smart blackboard includes a writing blackboard and an interactive display flat panel arranged adjacent to each other. The writing blackboard is connected to the interactive display flat panel. A vibration sensor is arranged on the writing blackboard. An infrared touch frame is also arranged on the edge of the writing blackboard. The device includes:

[0151] A first acquisition module 10 is used to acquire a touch material corresponding to the touch operation through the vibration sensor when a user's touch operation is received on the writing blackboard;

[0152] A second acquisition module 20 is configured to acquire a touch point corresponding to the touch operation according to an occlusion area formed by the touch operation detected by the infrared touch frame if the touch material includes a writing pen;

[0153] A determination module 30, configured to perform calibration processing on the contact points, and determine a target contact point corresponding to the writing pen from the contact points;

[0154] The display module 40 is used to select the handwriting corresponding to the target touch point from the touch point trajectory, and display the handwriting on the interactive display tablet.

[0155] In one embodiment, the determining module 30 further includes:

[0156] a writing gesture information acquiring unit, configured to acquire the first number of the contact points and acquire the writing gesture information of the user;

[0157] an area determination unit, configured to obtain the area of ​​the contact point if the first number is equal to 1, and determine whether the area is greater than a preset area threshold;

[0158] A first target contact point determination unit, configured to determine the target contact point from the contact points according to a first preset rule based on the writing gesture information if the area is greater than the area threshold;

[0159] A second target touch point determining unit is configured to determine the target touch point from the touch points according to a second preset rule based on the writing gesture information if the first number is greater than 1.

[0160] In one embodiment, the first target contact point determination unit further includes:

[0161] A first diameter creation subunit, used to fit the contact surface of the contact point using a preset graphic, and create a first diameter in a horizontal direction on the preset graphic;

[0162] A right-hand writing subunit, used to determine whether the writing gesture information is right-hand writing;

[0163] A second diameter creation subunit is used to create a second diameter at an angle of a first preset angle with the first diameter at the upper left of the center point of the preset graphic if the writing gesture information is right-hand writing;

[0164] a target contact point determination subunit, configured to determine a first designated point in the upper line segment of the second diameter based on a first preset calculation formula, and use the first designated point as the target contact point;

[0165] A third diameter creation subunit is configured to create, if the writing gesture information is left-hand writing, a third diameter at the upper right of the center point of the preset graphic, the third diameter having an angle with the first diameter being a second preset angle;

[0166] The target contact point determination subunit is used to determine a second designated point in the upper line segment of the third diameter based on a second preset calculation formula, and use the second designated point as the target contact point.

[0167] In one embodiment, the second target contact point determination unit further includes:

[0168] A classification processing subunit, used for classifying all the contacts based on a preset contact classification algorithm to obtain corresponding clusters;

[0169] A second quantity determination subunit, configured to obtain a second quantity of the clusters and determine whether the second quantity is equal to 1;

[0170] a writing gesture information judging subunit, configured to judge whether the writing gesture information is right-handed writing if the second number is equal to 1;

[0171] a third target touch point determination unit, configured to, if the writing gesture information is right-hand writing, obtain, from all the touch points, a first touch point with the smallest distance from the upper left corner of the clustered area, and use the first touch point as the target touch point;

[0172] The fourth target touch point determination unit, if the writing gesture information is left-hand writing, obtains a second touch point with the smallest distance from the upper right corner of the clustered area from all the touch points, and uses the second touch point as the target touch point.

[0173] In one embodiment, the writing display device of the smart blackboard further includes:

[0174] an initial writing pen touch point area determination module, configured to determine an initial writing pen touch point area based on a preset vibration sensor if the second number is greater than 1;

[0175] An identification center calculation module, used to calculate the identification center of each cluster respectively;

[0176] A first distance calculation module, used for respectively calculating a first distance between the writing pen touch point area and each of the recognition centers;

[0177] A target cluster acquisition module, used to select a second distance with the smallest value from all the first distances, and acquire a target cluster corresponding to the second distance; wherein the target cluster is composed of a plurality of designated contacts;

[0178] A writing gesture information judging module, used to judge whether the writing gesture information is written by the right hand;

[0179] a first target contact point determination module, configured to, if the writing gesture information is right-hand writing, obtain, from all the designated contacts, a third contact point with the smallest distance from the upper left corner of the target cluster area, and use the third contact point as the target contact point;

[0180] The second target touch point determination module is used to obtain, if the writing gesture information is left-hand writing, a fourth touch point with the smallest distance from the upper right corner of the target cluster area from all the designated touch points, and use the fourth touch point as the target touch point.

[0181] In one embodiment, the writing display device of the smart blackboard further includes:

[0182] A setting menu information acquisition module is used to acquire pre-stored setting menu information;

[0183] A setting menu information determination module, used to determine whether there is setting information corresponding to the writing gesture in the setting menu information;

[0184] A setting information acquisition module, used for acquiring the setting information from the setting menu information;

[0185] The writing gesture information determining module is used to use the setting information as the writing gesture information.

[0186] In one embodiment, the second acquisition module 20 further includes:

[0187] An occlusion value acquisition unit, used to acquire an occlusion value corresponding to the occlusion area;

[0188] A contact point determination unit is used to determine whether the occlusion value is greater than an occlusion threshold, and if so, determine the contact point corresponding to the touch operation according to the occlusion value.

[0189] Reference Figure 5 The present application also provides a computer device, the internal structure of which can be as follows: Figure 5As shown. The computer device includes a processor, a memory, a network interface and a database connected via a system bus. Among them, the processor designed for the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating device, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store target contacts, etc. The network interface of the computer device is used to communicate with an external terminal via a network connection. Furthermore, the above-mentioned computer device can also be provided with an input device and a display screen, etc. When the above-mentioned computer program is executed by the processor, a writing display method of a smart blackboard is implemented.

[0190] The processor executes the steps of the writing display method of the smart blackboard:

[0191] When a user's touch operation is received on the writing blackboard, a touch material corresponding to the touch operation is acquired through the vibration sensor;

[0192] If the touch material includes a writing pen, acquiring a touch point corresponding to the touch operation according to an occlusion area formed by the touch operation detected by the infrared touch frame;

[0193] Performing calibration processing on the contact points, and determining a target contact point corresponding to the writing pen from the contact points;

[0194] The handwriting corresponding to the target touch point is selected from the touch point track, and the handwriting is displayed on the interactive display tablet.

[0195] Those skilled in the art will understand that Figure 5 The structure shown in is merely a block diagram of a portion of the structure related to the present application scheme, and does not constitute a limitation on the devices and computer equipment to which the present application scheme is applied.

[0196] An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, a writing display method of a smart blackboard is implemented, specifically:

[0197] When a user's touch operation is received on the writing blackboard, a touch material corresponding to the touch operation is acquired through the vibration sensor;

[0198] If the touch material includes a writing pen, acquiring a touch point corresponding to the touch operation according to an occlusion area formed by the touch operation detected by the infrared touch frame;

[0199] Performing calibration processing on the contact points, and determining a target contact point corresponding to the writing pen from the contact points;

[0200] The handwriting corresponding to the target touch point is selected from the touch point track, and the handwriting is displayed on the interactive display tablet.

[0201] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media provided in the present application and used in the embodiments can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double-speed data rate SDRAM (SSRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0202] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, device, article or method including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, device, article or method. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the presence of other identical elements in the process, device, article or method including the element.

[0203] The above description is only a preferred embodiment of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A writing display method for a smart blackboard, the smart blackboard comprising a writing blackboard and an interactive display flat panel arranged adjacent to each other, the writing blackboard being connected to the interactive display flat panel, a vibration sensor being arranged on the writing blackboard, and an infrared touch frame being arranged on the edge of the writing blackboard, characterized in that: The method comprises: When a user's touch operation is received on the writing blackboard, a touch material corresponding to the touch operation is acquired through the vibration sensor; If the touch material includes a writing pen, acquiring a touch point corresponding to the touch operation according to an occlusion area formed by the touch operation detected by the infrared touch frame; Performing calibration processing on the contact points, and determining a target contact point corresponding to the writing pen from the contact points; The handwriting corresponding to the target touch point is selected from the touch point track, and the handwriting is displayed on the interactive display tablet.

2. The writing display method of the smart blackboard according to claim 1 is characterized in that: The step of calibrating the contact points and determining the target contact points corresponding to the writing pen from the contact points comprises: Acquire a first number of the contact points, and acquire writing gesture information of the user; If the first number is equal to 1, obtaining the area of ​​the contact point, and determining whether the area is greater than a preset area threshold; If it is greater than the area threshold, determining the target touch point from the touch points according to a first preset rule based on the writing gesture information; If the first number is greater than 1, the target touch point is determined from the touch points according to a second preset rule based on the writing gesture information.

3. The writing display method of the smart blackboard according to claim 2 is characterized in that: The step of determining the target touch point from the touch points based on the writing gesture information according to a first preset rule includes: Fitting the contact surface of the contact point using a preset graphic, and creating a first diameter in the horizontal direction on the preset graphic; Determining whether the writing gesture information is written by the right hand; If the writing gesture information is right-hand writing, a second diameter is created at the upper left of the center point of the preset graphic, with the first diameter having an angle of a first preset angle; Determine a first designated point in the upper line segment of the second diameter based on a first preset calculation formula, and use the first designated point as the target contact point; If the writing gesture information is left-handed writing, a third diameter whose included angle with the first diameter is a second preset angle is created at the upper right of the center point of the preset graphic; A second designated point is determined in the upper line segment of the third diameter based on a second preset calculation formula, and the second designated point is used as the target contact point.

4. The writing display method of the smart blackboard according to claim 2 is characterized in that: The step of determining the target touch point from the touch points based on the writing gesture information and according to a second preset rule comprises: Classifying all the contacts based on a preset contact classification algorithm to obtain corresponding clusters; Obtaining a second number of the clusters, and determining whether the second number is equal to 1; If the second number is equal to 1, determining whether the writing gesture information is right-handed writing; If the writing gesture information is right-hand writing, obtaining a first touch point having the smallest distance from the upper left corner of the clustered area from all the touch points, and using the first touch point as the target touch point; If the writing gesture information is left-hand writing, a second touch point having the smallest distance from the upper right corner of the clustered area is obtained from all the touch points, and the second touch point is used as the target touch point.

5. The writing display method of the smart blackboard according to claim 4 is characterized in that: After the step of determining whether the second number is equal to 1, the method further includes: If the second number is greater than 1, determining an initial writing pen touch point area based on a preset vibration sensor; Calculating the identification center of each cluster respectively; respectively calculating a first distance between the writing pen touch point area and each of the recognition centers; Filter out the second distance with the smallest value from all the first distances, and obtain a target cluster corresponding to the second distance; wherein the target cluster is composed of a plurality of designated contacts; Determining whether the writing gesture information is written by the right hand; If the writing gesture information is right-hand writing, obtaining a third touch point with the smallest distance from the upper left corner of the target cluster area from all the designated touch points, and using the third touch point as the target touch point; If the writing gesture information is left-hand writing, a fourth touch point having the smallest distance from the upper right corner of the target cluster area is obtained from all the designated touch points, and the fourth touch point is used as the target touch point.

6. The writing display method of the smart blackboard according to claim 4 is characterized in that: The step of classifying all the contacts based on a preset contact classification algorithm to obtain corresponding clusters includes: Step A: obtaining a fifth contact point, and calculating a third distance between the fifth contact point and all sixth contact points among all the contact points except the fifth contact point; wherein the fifth contact point is the contact point with contact number 0 among all the contact points; Step B: Filtering out a fourth distance less than a preset distance threshold from all the third distances, obtaining a seventh contact point corresponding to the fourth distance, and placing the fifth contact point and the seventh contact point into a cluster N; wherein the initial value of N is 0; Step C: traversing the eighth contact point in the cluster N except the fifth contact point, obtaining all ninth contacts whose distances from the eighth contact point are less than the preset distance threshold, and placing the ninth contact point in the cluster N; wherein the eighth contact point is any contact point in the cluster N except the fifth contact point; Step D: Obtain all the contact points except the cluster N, and repeat steps A to C until the clustering process for all the contact points is completed to obtain corresponding clusters.

7. The writing display method of the smart blackboard according to claim 2 is characterized in that: Before the step of obtaining the writing gesture information of the user, the method further includes: Get pre-stored setting menu information; Determining whether there is setting information corresponding to the writing gesture in the setting menu information; If so, obtaining the setting information from the setting menu information; The setting information is used as the writing gesture information.

8. The writing display method of the smart blackboard according to claim 1 is characterized in that: The acquiring a touch point corresponding to the touch operation according to a shielding area formed by the touch operation detected by the infrared touch frame includes: Obtaining an occlusion value corresponding to the occlusion area; It is determined whether the occlusion value is greater than an occlusion threshold, and if so, the contact point corresponding to the touch operation is determined according to the occlusion value.

9. A writing display device for a smart blackboard, the smart blackboard comprising a writing blackboard and an interactive display flat panel arranged adjacent to each other, the writing blackboard being connected to the interactive display flat panel, a vibration sensor being arranged on the writing blackboard, and an infrared touch frame being arranged on the edge of the writing blackboard, characterized in that: The device comprises: A first acquisition module, configured to acquire a touch material corresponding to the touch operation through the vibration sensor when a user's touch operation is received on the writing blackboard; A second acquisition module is used to acquire a touch point corresponding to the touch operation according to an occlusion area formed by the touch operation detected by the infrared touch frame if the touch material includes a writing pen; A determination module, configured to perform calibration processing on the contact points, and determine a target contact point corresponding to the writing pen from the contact points; The display module is used to select the handwriting corresponding to the target touch point from the touch point track and display the handwriting on the interactive display tablet.

10. A computer device comprising a memory and a processor, wherein a computer program is stored in the memory, wherein: When the processor executes the computer program, the steps of the writing display method of the smart blackboard as described in any one of claims 1 to 8 are implemented.

11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the writing display method of the smart blackboard as described in any one of claims 1 to 8 are implemented.

Citation Information

Cited By

  • Stroke arrangement and line drawing processing method and device, infrared touch screen, computer and medium

    CN121255047A

  • Pen stroke erasing processing method and device, infrared touch screen, computer and medium

    CN121255047B