A method, device and method for storing blackboard writing for electronic whiteboard

By monitoring and processing new content on the electronic whiteboard, a multi-dimensional vector is generated to represent straight line strokes, which solves the problems of large storage space and poor display effect in the existing technology, and achieves efficient blackboard writing storage and reduced storage occupancy.

CN118656031BActive Publication Date: 2024-10-22TACTEASY TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411132054.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-19
Publication Date
2024-10-22
Estimated Expiration
2044-08-19

AI Technical Summary

Technical Problem

The existing method of storing electronic whiteboard writing takes up a large amount of storage space, and the display effect is poor due to compression, making it impossible to restore the original content.

Method used

By monitoring the new content on the electronic whiteboard, the displayed content is obtained and divided into rectangular areas, merged into partitions, and multi-dimensional vectors are generated to represent straight line strokes. Display point information that does not belong to multi-dimensional vectors is screened out, and storage is integrated to reduce the amount of stored data.

Benefits of technology

It realizes that only new content is stored without storing the entire screen information, which reduces the storage space occupied, improves storage efficiency, and further reduces the amount of storage through multi-dimensional vectors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118656031B_ABST
    Figure CN118656031B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of computers, and in particular to a method, device and method for storing blackboard writings for an electronic whiteboard, wherein the method comprises locking the position of newly added content, merging partitions including display points of the newly added content, integrating the display points in each merged area, and then storing them; in the present application, only the newly added display content is stored without storing the information of the entire display screen, which can ensure that the newly added blackboard writing information is completely stored and the unnecessary stored information can be excluded, greatly reducing the amount of stored data, thereby reducing the storage space occupied by the storage end; in addition, by integrating the display points of standard straight line strokes to form a multi-dimensional vector, the storage amount can be further reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computers, and in particular to a method, device and method for storing blackboard writings on an electronic whiteboard. Background Art

[0002] Electronic whiteboards allow users to write, draw or mark directly on the screen by touching the screen or using an electronic pen. These input contents can be stored on a computer or in the cloud for subsequent viewing, sharing or editing;

[0003] The existing blackboard storage method mainly uses the screenshot method to save the entire blackboard content as an image, which is then stored in the storage end and retrieved from the storage end when needed. However, the image occupies a large storage space, and the more detailed the displayed content is, the larger the image size is, and the more storage space is consumed; in order to reduce the storage occupation, the image is usually compressed and some details are discarded. As a result, when the image is called for display, the burrs are obvious and the display effect is very poor. Moreover, this loss is irreversible and the original blackboard content cannot be restored;

[0004] Therefore, the existing blackboard storage method has the problem of occupying a large storage space when storing complete blackboard information. Summary of the invention

[0005] Based on this, it is necessary to provide a blackboard storage method, device and method for electronic whiteboard to address the above problems.

[0006] The embodiment of the present invention is implemented as follows: a method for storing blackboard writings for an electronic whiteboard, the method comprising:

[0007] S1: monitor whether the new content on the electronic whiteboard meets the set trigger conditions;

[0008] S2: When the newly added content on the electronic whiteboard reaches the set trigger condition, the display content of the electronic whiteboard is obtained;

[0009] S3: determining a rectangular area that just includes the display point of the newly added content, wherein the rectangular area includes a plurality of partitions;

[0010] S4: determining a partition including a display point of the newly added content, and merging the determined partitions according to a limited amount of single data transmission to obtain at least one merged area;

[0011] S5: for each merged area, determining the number of display points of the straight line stroke where each newly added content display point is located in the merged area;

[0012] S6: Screen out the display points that exceed the preset value, and sort the screened display points from large to small to obtain a quantity sequence;

[0013] S7: taking the first display point number in the number sequence, generating a multidimensional vector representing the straight line stroke corresponding to the display point number, and removing the display points belonging to the straight line stroke from the merged area;

[0014] S8: re-determine the number of display points of the straight line stroke where each newly added content display point is located in the merged area, and execute steps S6 to S8 until the number of each display point determined is less than a preset value;

[0015] S9: Screen out each newly added content display point that does not belong to a straight line stroke corresponding to any multidimensional vector, obtain display point information of each screened new content display point, integrate the obtained display point information with each multidimensional vector into storage information, and then upload the storage information to the storage end for storage.

[0016] In one embodiment, the present invention provides a blackboard storage device for an electronic whiteboard, wherein a module of the blackboard storage device for an electronic whiteboard is used to execute the steps of the blackboard storage method for an electronic whiteboard, specifically including:

[0017] A monitoring module is used to monitor whether the newly added content on the electronic whiteboard meets the set trigger conditions;

[0018] The acquisition module is used to acquire the display content of the electronic whiteboard when the newly added content on the electronic whiteboard reaches the set trigger condition;

[0019] A first processing module is used to determine a rectangular area that just includes the display point of the newly added content, wherein the rectangular area includes a plurality of partitions;

[0020] A second processing module is used to determine a partition including a display point of the newly added content, and merge the determined partitions according to a limited amount of single data transmission to obtain at least one merged area;

[0021] A third processing module is used to determine, for each merged area, the number of display points of the straight line stroke where each newly added content display point is located in the merged area;

[0022] A fourth processing module is used to filter out the display point quantity exceeding a preset value, and sort the filtered display point quantity from large to small to obtain a quantity sequence;

[0023] A fifth processing module, for taking the first display point quantity in the quantity sequence, generating a multi-dimensional vector representing the straight line stroke corresponding to the display point quantity, and removing the display points belonging to the straight line stroke from the merged area;

[0024] A sixth processing module, for re-determining the number of display points of the straight line stroke where each newly added content display point is located in the merged area, and executing steps S6 to S8 until the number of each display point determined is less than a preset value;

[0025] The upload module is used to filter out each new content display point that does not belong to a straight line stroke corresponding to any multidimensional vector, obtain the display point information of each filtered new content display point, integrate the obtained display point information with each multidimensional vector into storage information, and then upload the storage information to the storage end for storage.

[0026] In one embodiment, the present invention provides a blackboard storage system for an electronic whiteboard, the system comprising:

[0027] Electronic whiteboard;

[0028] Storage end, used to store the information of the electronic whiteboard;

[0029] The computer device is connected with the electronic whiteboard and the storage end, and is used to execute the blackboard storage method for the electronic whiteboard.

[0030] The present invention provides a method, device and method for storing blackboard writings on an electronic whiteboard, wherein the method comprises: monitoring whether the newly added content on the electronic whiteboard reaches a set trigger condition; when the newly added content on the electronic whiteboard reaches the set trigger condition, obtaining the display content of the electronic whiteboard; determining a rectangular area that just includes display points of the newly added content; determining a partition including the display points of the newly added content, and merging the determined partitions according to a limited amount of single data transmission to obtain at least one merged area; for each merged area, determining the number of display points of the straight line strokes where each new content display point in the merged area is located; filtering out the number of display points exceeding a preset value, and sorting the filtered number of display points from large to small according to the number of display points to obtain a number sequence; taking the first number of display points in the number sequence, generating a multidimensional vector representing the straight line strokes corresponding to the number of display points, and removing the number of display points belonging to the straight line stroke from the merged area. The display points of the drawing; re-determine the number of display points of the straight line strokes where each newly added content display point in the merged area is located, and repeat the above steps until the number of each display point determined is less than the preset value; screen out each newly added content display point that does not belong to any straight line stroke corresponding to the multidimensional vector, obtain the display point information of each screened new content display point, integrate the obtained display point information with each multidimensional vector into storage information, and then upload the storage information to the storage end for storage; in the present application, it is possible to store only the newly added display content without storing the information of the entire display screen, which can ensure that the newly added blackboard information is completely stored and exclude unnecessary stored information, greatly reducing the amount of stored data and thereby reducing the storage space occupied by the storage end; in addition, by integrating the display points of the straight line strokes that meet the standards to form a multidimensional vector, the storage amount can be further reduced. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 A first flow chart of a method for storing blackboard notes for an electronic whiteboard provided in one embodiment;

[0032] Figure 2 A second flow chart of a method for storing blackboard writings on an electronic whiteboard provided in one embodiment;

[0033] Figure 3 A module flow chart of a blackboard storage device for an electronic whiteboard provided in one embodiment;

[0034] Figure 4 A schematic diagram of the composition of a blackboard storage system for an electronic whiteboard provided in one embodiment;

[0035] Figure 5 FIG. 4 is a block diagram of the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0036] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0037] It is understood that the terms "first", "second", etc. used in the present invention may be used herein to describe various elements, but unless otherwise specified, these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, a first xx script may be referred to as a second xx script, and similarly, a second xx script may be referred to as a first xx script without departing from the scope of the present invention.

[0038] like Figure 1-Figure 2 As shown, in one embodiment, a method for storing blackboard writing for an electronic whiteboard is proposed, the method comprising:

[0039] S1: monitor whether the new content on the electronic whiteboard meets the set trigger conditions;

[0040] S2: When the newly added content on the electronic whiteboard reaches the set trigger condition, the display content of the electronic whiteboard is obtained;

[0041] S3: determining a rectangular area that just includes the display point of the newly added content, wherein the rectangular area includes a plurality of partitions;

[0042] S4: determining a partition including a display point of the newly added content, and merging the determined partitions according to a limited amount of single data transmission to obtain at least one merged area;

[0043] S5: for each merged area, determining the number of display points of the straight line stroke where each newly added content display point is located in the merged area;

[0044] S6: Screen out the display points that exceed the preset value, and sort the screened display points from large to small to obtain a quantity sequence;

[0045] S7: taking the first display point number in the number sequence, generating a multidimensional vector representing the straight line stroke corresponding to the display point number, and removing the display points belonging to the straight line stroke from the merged area;

[0046] S8: re-determine the number of display points of the straight line stroke where each newly added content display point is located in the merged area, and execute steps S6 to S8 until the number of each display point determined is less than a preset value;

[0047] S9: Screen out each newly added content display point that does not belong to a straight line stroke corresponding to any multidimensional vector, obtain display point information of each screened new content display point, integrate the obtained display point information with each multidimensional vector into storage information, and then upload the storage information to the storage end for storage.

[0048] In this embodiment, this method is executed in a computer device, which can be an independent physical server or terminal, or a server cluster composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud servers, cloud databases, cloud storage and CDN; the electronic whiteboard is connected to the computer device, and the computer device can monitor changes in content on the electronic whiteboard; the storage end can be a storage server, which is connected to the computer device, and the computer device can store the content on the electronic whiteboard in the storage server.

[0049] In this embodiment, the display point is a data point representing a pixel of the displayed image, and the information of the display point represents the characteristics of the corresponding pixel, such as the coordinates of the pixel and the display color; the newly added content is the content generated on the electronic whiteboard under the user's operation, such as the strokes made by the user; the display point of the newly added content is the display point corresponding to the pixel of the newly added content; the generated rectangular area is used to frame the display point of the newly added content, so that the calculation of the computer device is concentrated on the content in the rectangular area, thereby reducing the calculation load of the computer device and improving its calculation efficiency. The rectangular area is adapted to the screen of the electronic whiteboard, that is, each side of the rectangular area is parallel to the corresponding side of the electronic whiteboard; the rectangular area is composed of a number of partitions of preset sizes, and a partition includes a number of display points. Through the setting of the partitions, the information of the display points with newly added content in each partition can be integrated together for data transmission to reduce the number of transmissions;

[0050] In this embodiment, the size of the partition can be defined so that the total amount of data of all display points in the partition does not exceed the limited amount of a single data transmission, even if each transmission can at least completely transmit the data in one partition; in addition, when the data of a partition just reaches the limited amount of a single data transmission, there is no need to merge the partition, and the subsequent steps (i.e., the steps performed on the merged partition) are directly performed on it; the prior art usually directly transmits the data of each display point, and the amount of data transmitted each time is limited, which is far from reaching the data amount limit of a single transmission, resulting in a waste of transmission space, and will increase the number of transmissions and reduce the efficiency of data transmission; merging the partitions can obtain a merged area whose data amount just does not exceed the limited amount of a single data transmission, and each time data is transmitted, the display point information belonging to the same merged partition is merged and sent to the storage end, which can make full use of the available transmission space for each transmission, and significantly reduce the number of data transmissions, thereby improving the efficiency of data transmission;

[0051] In this embodiment, the strokes made by the user on the electronic whiteboard are straight strokes, or strokes composed of multiple straight strokes, such as arc strokes are strokes connected by multiple short straight strokes, so each display point is in a straight stroke; a multidimensional vector represents the information of all display points included in an entire straight stroke (which can be regarded as a series of continuously arranged display points), and the multidimensional vector includes the information of the starting display point of the straight stroke it represents (including display point coordinates and display color) and the extension direction of the straight stroke, as well as the number of display points of the straight stroke. For example, the multidimensional vector can be expressed as (first dimension coordinates, second dimension coordinates, display color, preset direction, number of display points); through the generation of multidimensional vectors, it is possible to replace multiple display points with one information. Point information is stored, which can significantly reduce the amount of stored data and greatly reduce the occupied storage space. In addition, since the multidimensional vector includes information such as the extension direction of the straight line stroke and the number of display points that are not contained in the display point information, the data volume of the multidimensional vector is greater than the data volume of the general display point information. For example, a multidimensional vector includes five data such as two coordinates, color, direction, and number, while a display point information consists of only three data such as two coordinates and color. If there are only two display points in a stroke and the two display points have the same color, it is equivalent to using four coordinate data and one color data, a total of five data, to represent the two display points. At this time, the data transmission volume of transmitting the multidimensional vector is the same as that of transmitting the display point information, so there is no need to generate a multidimensional vector to represent the stroke.

[0052] In the present application, it is possible to store only the newly added display content without storing the information of the entire display screen, which can ensure that the newly added blackboard information is completely stored and exclude unnecessary stored information, greatly reducing the amount of stored data, thereby reducing the storage space occupied by the storage end; in addition, by integrating the display points of straight line strokes that meet the standards, a multi-dimensional vector is formed, and the multi-dimensional vector and the information of each display point in other straight line strokes that do not meet the standards are integrated into storage information, and then the storage information is uploaded to the storage end for storage. Compared with directly storing the information of each display point of each straight line stroke separately, the total amount of stored data can be significantly reduced, thereby significantly reducing the storage space occupied.

[0053] As a preferred embodiment, monitoring whether the newly added content on the electronic whiteboard meets the set triggering condition includes:

[0054] Identify in real time the number of pixels occupied by newly added content of the same color on the electronic whiteboard, and determine whether the number reaches the preset number of pixels;

[0055] If the number reaches the preset number of pixels, the newly added content meets the set trigger condition, otherwise, the newly added content does not meet the set trigger condition.

[0056] In this embodiment, the number of pixels occupied by the newly added content on the electronic whiteboard is the number of pixels of the same color (i.e., the pixel color value is the same). When the user changes the pen color, the counting starts again; the preset number of pixels can be 10. 4 pixels, or other quantities, which are not limited here; by setting a trigger condition, the new content will be stored only when it reaches a certain amount, thus avoiding overly frequent storage actions, saving computing resources, and in the case of sufficient data volume, the share of each information transmission can be fully utilized.

[0057] As a preferred embodiment, merging the determined partitions according to the limited amount of single data transmission includes:

[0058] S41: determining the limit number of display points according to the limit amount of single data transmission and the data amount of a single display point;

[0059] S42: sorting the partitions according to the order in which the newly added content in the partitions is generated to obtain a partition sequence;

[0060] S43: taking a number of partitions from the partition sequence in the order of the partition sequence and merging them so that the number of newly added content display points in the merged area does not exceed the limited number, thereby obtaining a merged area;

[0061] S44: remove the merged partition from the partition sequence, and execute step S43 to step S44 until all the partitions in the partition sequence are merged to obtain a plurality of merged regions.

[0062] In this embodiment, in order to prevent data packet loss and loss caused by frequent data transmission, the number of transmissions is reduced as much as possible during data transmission. However, each data transmission is often limited in quantity. For example, when using UDP (User Datagram Protocol) for transmission, the maximum number of bytes received each time is 1472 bytes, and then the data will be packetized and resent. In addition, the number of display points with new content in each partition is often limited, and the limited number of display points for a single transmission cannot be filled, that is, the limited amount of a single data transmission cannot be fully utilized. At this time, the partitions are merged so that the sum of the display points with new content in the merged area does not exceed the limited number, which can achieve a single transmission. Transmitting all the information in the merged area reduces the waste of transmission capacity, that is, it realizes the full utilization of the transmission capacity of each transmission, and further reduces the number of transmissions; in addition, the time point corresponding to the display point of the first generated new content is taken as the time point of the new content in the partition, and the partitions are sorted according to the order of generation of the new content in the partition, that is, the partitions are sorted according to the order of the time points of the corresponding new content, which ensures the time continuity of the new content in the merged partition, and forms slices with time sequence (not only sequence, but also the duration of the interval), and these slices can be used to reproduce the generation process of the blackboard writing (and the residence time of the strokes is proportional to the actual writing process).

[0063] The number of display points of the straight line stroke used to determine where each newly added content display point in the merged area is located includes:

[0064] S51: taking the newly added content display point closest to the preset corner point in the merged area as the basic display point in the merged area;

[0065] S52: Determine the number of consecutive new content display points of the basic display point in each preset direction, wherein the consecutive number is the number of consecutive new content display points starting from the basic display point in the corresponding preset direction;

[0066] S53: determining the maximum continuous number from the continuous numbers, that is, the number of display points of the straight line stroke where the basic display point is located;

[0067] S54: removing the basic display point, and executing step S51 to step S54 until the number of display points of the straight line stroke where each newly added content display point is located in the merged area is obtained.

[0068] The display point information is the first-dimensional coordinate, the second-dimensional coordinate and the display color, and the multi-dimensional vector representing the straight line stroke corresponding to the number of display points is generated including:

[0069] Obtain the display point information of the basic display points corresponding to the display point quantity;

[0070] The preset direction of the straight stroke corresponding to the basic display point and the number of display points of the straight stroke are embedded in the display point information of the basic display point to obtain a multi-dimensional vector (first dimension coordinate, second dimension coordinate, display color, preset direction, number of display points).

[0071] In this embodiment, the preset corner point in the merged area can be the upper left corner, upper right corner or other corner point in the merged area, and the preset direction is determined according to the preset corner point. For example, when the preset corner point is the upper left corner, the extension direction of the stroke can only be the right, lower right and bottom, then the preset direction is the right, lower right and bottom; the first dimension coordinate and the second dimension coordinate respectively represent the specific position of the pixel point corresponding to the display point in the horizontal position and vertical position of the electronic whiteboard, and the display color is the RGB color value of the pixel point; the number of display points in the multidimensional vector is the continuous number of new content display points of the basic display point in the corresponding preset direction.

[0072] As a preferred embodiment, after step S9, the following steps are further included:

[0073] S10: taking the newly added content display points screened out in step S9 as isolated display points of the current storage round;

[0074] S11: Determine whether the isolated display points of the current storage round and the isolated display points of the previous storage round form a straight line stroke;

[0075] S12: If yes, a multi-dimensional vector representing the straight line stroke is generated and uploaded to the storage end for storage.

[0076] Determining whether the isolated display points of the current storage round and the isolated display points of the previous storage round form a straight line stroke includes:

[0077] Place the isolated display points of the previous set number of storage rounds and the current storage round on the same layer;

[0078] Take an isolated display point in the layer, and determine whether the isolated display point is connected to other isolated display points in any preset direction;

[0079] If the isolated display point is connected to other isolated display points in any preset direction, it is determined whether the number of connected isolated display points exceeds a preset value. If so, the connected isolated display points constitute a straight line stroke, otherwise, the connected isolated display points do not constitute a straight line stroke.

[0080] In this embodiment, during each round of storage, some display points must be stored in the form of single points (not stored in multi-dimensional vectors). These display points are isolated display points. The reason why these display points become isolated display points is often because the length of the straight line stroke in which they are located is insufficient (the number of display points is insufficient). At this time, the layer of the current storage round can be overlapped with the layer of the storage round of the previous set number of times (for example, 5 times). At this time, the display points between the various layers may be connected into lines, so that the straight line stroke in which they are located is extended, thereby meeting the storage standard. At this time, the display point information of this straight line stroke can be represented by a multi-dimensional vector for storage. After storage, the display point information previously stored separately is deleted, which can further reduce the space occupied by the storage information.

[0081] like Figure 3 As shown, in one embodiment, a blackboard storage device for an electronic whiteboard is provided, and the module of the blackboard storage device for an electronic whiteboard is used to execute the steps of the blackboard storage method for an electronic whiteboard, specifically including:

[0082] A monitoring module is used to monitor whether the newly added content on the electronic whiteboard meets the set trigger conditions;

[0083] The acquisition module is used to acquire the display content of the electronic whiteboard when the newly added content on the electronic whiteboard reaches the set trigger condition;

[0084] A first processing module is used to determine a rectangular area that just includes the display point of the newly added content, wherein the rectangular area includes a plurality of partitions;

[0085] A second processing module is used to determine a partition including a display point of the newly added content, and merge the determined partitions according to a limited amount of single data transmission to obtain at least one merged area;

[0086] A third processing module is used to determine, for each merged area, the number of display points of the straight line stroke where each newly added content display point is located in the merged area;

[0087] A fourth processing module is used to filter out the display point quantity exceeding a preset value, and sort the filtered display point quantity from large to small to obtain a quantity sequence;

[0088] A fifth processing module, for taking the first display point quantity in the quantity sequence, generating a multi-dimensional vector representing the straight line stroke corresponding to the display point quantity, and removing the display points belonging to the straight line stroke from the merged area;

[0089] A sixth processing module, for re-determining the number of display points of the straight line stroke where each newly added content display point is located in the merged area, and executing steps S6 to S8 until the number of each display point determined is less than a preset value;

[0090] The upload module is used to filter out each new content display point that does not belong to a straight line stroke corresponding to any multidimensional vector, obtain the display point information of each filtered new content display point, integrate the obtained display point information with each multidimensional vector into storage information, and then upload the storage information to the storage end for storage.

[0091] The process of each module in the electronic whiteboard writing storage device provided in the embodiment of the present application realizing its own function can be specifically referred to the aforementioned Figure 1 The description of the illustrated embodiment will not be repeated here.

[0092] like Figure 4 As shown, in one embodiment, a blackboard storage system for an electronic whiteboard is provided, the system comprising:

[0093] Electronic whiteboard;

[0094] Storage end, used to store the information of the electronic whiteboard;

[0095] The computer device is connected with the electronic whiteboard and the storage end, and is used to execute the blackboard storage method for the electronic whiteboard.

[0096] In this embodiment, the computer device cooperates with the electronic whiteboard and the storage end to realize the storage of only the newly added display content without storing the information of the entire display screen. This can not only ensure that the newly added blackboard information is completely stored, but also exclude unnecessary stored information, thereby greatly reducing the amount of stored data and thus reducing the storage space occupied by the storage end. In addition, by integrating the display points of standard straight line strokes to form a multi-dimensional vector, the storage amount can be further reduced.

[0097] Figure 5 FIG. 2 shows an internal structure diagram of a computer device in one embodiment. Figure 5 As shown, the computer device includes a processor, a memory, a network interface, an input device and a display screen connected through a system bus. Among them, the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program. When the computer program is executed by the processor, the processor can implement the blackboard storage method for the electronic whiteboard provided in an embodiment of the present invention. The internal memory may also store a computer program. When the computer program is executed by the processor, the processor can execute the blackboard storage method for the electronic whiteboard provided in an embodiment of the present invention. The display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device may be a touch layer covered on the display screen, or a button, trackball or touchpad provided on the housing of the computer device, or an external keyboard, touchpad or mouse, etc.

[0098] Those skilled in the art will understand that Figure 5 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present invention, and does not constitute a limitation on the computer device to which the solution of the present invention is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0099] In one embodiment, the electronic whiteboard writing storage device provided by the embodiment of the present invention can be implemented in the form of a computer program. The computer program can be used in Figure 5 The computer device shown in the figure is run. The memory of the computer device can store various program modules constituting the blackboard storage device for the electronic whiteboard, for example, Figure 3 The monitoring module, acquisition module, first processing module, second processing module, third processing module, fourth processing module, fifth processing module, sixth processing module and upload module shown in the figure. The computer program composed of each program module enables the processor to execute the steps of the electronic whiteboard blackboard storage method of each embodiment of the present invention described in this specification.

[0100] For example, Figure 5 The computer device shown can be Figure 3 The monitoring module in the blackboard storage device for the electronic whiteboard shown executes step S1; the computer device can execute step S2 through the acquisition module; the computer device can execute step S3 through the first processing module; the computer device can execute step S4 through the second processing module; the computer device can execute step S5 through the third processing module; the computer device can execute step S6 through the fourth processing module; the computer device can execute step S7 through the fifth processing module; the computer device can execute step S8 through the sixth processing module; the computer device can execute step S9 through the upload module.

[0101] In one embodiment, a computer device is provided, the computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the following steps are implemented:

[0102] S1: monitor whether the new content on the electronic whiteboard meets the set trigger conditions;

[0103] S2: When the newly added content on the electronic whiteboard reaches the set trigger condition, the display content of the electronic whiteboard is obtained;

[0104] S3: determining a rectangular area that just includes the display point of the newly added content, wherein the rectangular area includes a plurality of partitions;

[0105] S4: determining a partition including a display point of the newly added content, and merging the determined partitions according to a limited amount of single data transmission to obtain at least one merged area;

[0106] S5: for each merged area, determining the number of display points of the straight line stroke where each newly added content display point is located in the merged area;

[0107] S6: Screen out the display points that exceed the preset value, and sort the screened display points from large to small to obtain a quantity sequence;

[0108] S7: taking the first display point number in the number sequence, generating a multidimensional vector representing the straight line stroke corresponding to the display point number, and removing the display points belonging to the straight line stroke from the merged area;

[0109] S8: re-determine the number of display points of the straight line stroke where each newly added content display point is located in the merged area, and execute steps S6 to S8 until the number of each display point determined is less than a preset value;

[0110] S9: Screen out each newly added content display point that does not belong to a straight line stroke corresponding to any multidimensional vector, obtain display point information of each screened new content display point, integrate the obtained display point information with each multidimensional vector into storage information, and then upload the storage information to the server for storage.

[0111] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the processor performs the following steps:

[0112] S1: monitor whether the new content on the electronic whiteboard meets the set trigger conditions;

[0113] S2: When the newly added content on the electronic whiteboard reaches the set trigger condition, the display content of the electronic whiteboard is obtained;

[0114] S3: determining a rectangular area that just includes the display point of the newly added content, wherein the rectangular area includes a plurality of partitions;

[0115] S4: determining a partition including a display point of the newly added content, and merging the determined partitions according to a limited amount of single data transmission to obtain at least one merged area;

[0116] S5: for each merged area, determining the number of display points of the straight line stroke where each newly added content display point is located in the merged area;

[0117] S6: Screen out the display points that exceed the preset value, and sort the screened display points from large to small to obtain a quantity sequence;

[0118] S7: taking the first display point number in the number sequence, generating a multidimensional vector representing the straight line stroke corresponding to the display point number, and removing the display points belonging to the straight line stroke from the merged area;

[0119] S8: re-determine the number of display points of the straight line stroke where each newly added content display point is located in the merged area, and execute steps S6 to S8 until the number of each display point determined is less than a preset value;

[0120] S9: Screen out each newly added content display point that does not belong to a straight line stroke corresponding to any multidimensional vector, obtain display point information of each screened new content display point, integrate the obtained display point information with each multidimensional vector into storage information, and then upload the storage information to the server for storage.

[0121] It should be understood that, although each step in the flow chart of each embodiment of the present invention is shown in sequence according to the indication of the arrow, these steps are not necessarily performed in sequence according to the order indicated by the arrow. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be performed in other orders. Moreover, at least a portion of the steps in each embodiment may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and the execution order of these sub-steps or stages is not necessarily performed in sequence, but can be performed in turn or alternately with at least a portion of other steps or sub-steps or stages of other steps.

[0122] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the 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 used in the embodiments provided by the present invention can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), 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).

[0123] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0124] The above-mentioned embodiments only express several implementation methods of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the present invention. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention.

Claims

1. A method for storing blackboard writings on an electronic whiteboard. It is characterized in that The method comprises: S1: monitor whether the new content on the electronic whiteboard meets the set trigger conditions; S2: When the newly added content on the electronic whiteboard reaches the set trigger condition, the display content of the electronic whiteboard is obtained; S3: determining a rectangular area that just includes the display point of the newly added content, wherein the rectangular area includes a plurality of partitions; S4: determining a partition including a display point of the newly added content, and merging the determined partitions according to a limited amount of single data transmission to obtain a merged area; S5: for each merged area, determining the number of display points of the straight line stroke where each newly added content display point is located in the merged area; S6: Screen out the display points that exceed the preset value, and sort the screened display points from large to small to obtain a quantity sequence; S7: taking the first display point number in the number sequence, generating a multidimensional vector representing the straight line stroke corresponding to the display point number, and removing the display points belonging to the straight line stroke from the merged area; S8: re-determine the number of display points of the straight line stroke where each newly added content display point is located in the merged area, and execute steps S6 to S8 until the number of each display point determined is less than a preset value; S9: Screening out each newly added content display point that does not belong to a straight line stroke corresponding to any multidimensional vector, obtaining display point information of each screened newly added content display point, integrating the obtained display point information with each multidimensional vector into storage information, and then uploading the storage information to a storage end for storage; Determining the number of display points of the straight line stroke where each newly added content display point in the merged area is located includes: S51: taking the newly added content display point closest to the preset corner point in the merged area as the basic display point in the merged area; S52: Determine the number of consecutive new content display points of the basic display point in each preset direction, wherein the consecutive number is the number of new content display points that are connected one by one in the corresponding preset direction starting from the basic display point; S53: determining the maximum continuous number from the continuous numbers, that is, the number of display points of the straight line stroke where the basic display point is located; S54: removing the basic display point, and executing step S51 to step S54 until the number of display points of the straight line stroke where each newly added content display point is located in the merged area is obtained; The display point information is the first-dimensional coordinate, the second-dimensional coordinate and the display color, and the multi-dimensional vector representing the straight line stroke corresponding to the number of display points is generated including: Obtain the display point information of the basic display points corresponding to the display point quantity; The preset direction of the straight stroke corresponding to the basic display point and the number of display points of the straight stroke are embedded in the display point information of the basic display point to obtain a multi-dimensional vector (first dimension coordinate, second dimension coordinate, display color, preset direction, number of display points).

2. The method according to claim 1, It is characterized in that Monitoring whether the new content on the electronic whiteboard meets the set trigger conditions includes: Identify in real time the number of pixels occupied by newly added content of the same color on the electronic whiteboard, and determine whether the number reaches the preset number of pixels; If the number reaches the preset number of pixels, the newly added content meets the set trigger condition, otherwise, the newly added content does not meet the set trigger condition.

3. The method according to claim 2, It is characterized in that Merging the determined partitions according to the limited amount of single data transmission includes: S41: determining the limit number of display points according to the limit amount of single data transmission and the data amount of a single display point; S42: sorting the partitions according to the order in which the newly added content in the partitions is generated to obtain a partition sequence; S43: taking a number of partitions from the partition sequence in the order of the partition sequence and merging them so that the number of newly added content display points in the merged area does not exceed the limited number, thereby obtaining a merged area; S44: remove the merged partition from the partition sequence, and execute step S43 to step S44 until all the partitions in the partition sequence are merged to obtain a plurality of merged regions.

4. The method according to claim 1, It is characterized in that After step S9, the following steps are also included: S10: taking the newly added content display points screened out in step S9 as isolated display points of the current storage round; S11: Determine whether the isolated display points of the current storage round and the isolated display points of the previous storage round form a straight line stroke; S12: If yes, a multi-dimensional vector representing the straight line stroke is generated and uploaded to the storage end for storage.

5. The method according to claim 4, It is characterized in that Determining whether the isolated display points of the current storage round and the isolated display points of the previous storage round form a straight line stroke includes: Place the isolated display points of the previous set number of storage rounds and the current storage round on the same layer; Take an isolated display point in the layer, and determine whether the isolated display point is connected to other isolated display points in any preset direction; If the isolated display point is connected to other isolated display points in any preset direction, it is determined whether the number of connected isolated display points exceeds a preset value. If so, the connected isolated display points constitute a straight line stroke, otherwise, the connected isolated display points do not constitute a straight line stroke.

6. A blackboard storage device for an electronic whiteboard, It is characterized in that The module of the electronic whiteboard writing storage device is used to execute the steps of the electronic whiteboard writing storage method according to claim 1, specifically including: A monitoring module is used to monitor whether the newly added content on the electronic whiteboard meets the set trigger conditions; The acquisition module is used to acquire the display content of the electronic whiteboard when the newly added content on the electronic whiteboard reaches the set trigger condition; A first processing module is used to determine a rectangular area that just includes the display point of the newly added content, wherein the rectangular area includes a plurality of partitions; A second processing module is used to determine a partition including a display point of the newly added content, and merge the determined partitions according to a limited amount of single data transmission to obtain at least one merged area; A third processing module is used to determine, for each merged area, the number of display points of the straight line stroke where each newly added content display point is located in the merged area; A fourth processing module is used to filter out the display point quantity exceeding a preset value, and sort the filtered display point quantity from large to small to obtain a quantity sequence; A fifth processing module, for taking the first display point quantity in the quantity sequence, generating a multi-dimensional vector representing the straight line stroke corresponding to the display point quantity, and removing the display points belonging to the straight line stroke from the merged area; A sixth processing module, for re-determining the number of display points of the straight line stroke where each newly added content display point is located in the merged area, and executing steps S6 to S8 until the number of each display point determined is less than a preset value; The upload module is used to filter out each new content display point that does not belong to a straight line stroke corresponding to any multidimensional vector, obtain the display point information of each filtered new content display point, integrate the obtained display point information with each multidimensional vector into storage information, and then upload the storage information to the storage end for storage.

7. A blackboard storage system for an electronic whiteboard, It is characterized in that The system comprises: Electronic whiteboard; Storage end, used to store the information of the electronic whiteboard; A computer device is connected to the electronic whiteboard and the storage end, and is used to execute the blackboard storage method for the electronic whiteboard as described in any one of claims 1-5.