CN117591484A - Real-time storage method, equipment and medium for whiteboard content data - Google Patents

Real-time storage method, equipment and medium for whiteboard content data Download PDF

Info

Publication number
CN117591484A
CN117591484A CN202311623489.3A CN202311623489A CN117591484A CN 117591484 A CN117591484 A CN 117591484A CN 202311623489 A CN202311623489 A CN 202311623489A CN 117591484 A CN117591484 A CN 117591484A
Authority
CN
China
Prior art keywords
file
content
type
input content
storing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202311623489.3A
Other languages
Chinese (zh)
Other versions
CN117591484B (en
Inventor
陈寒源
阮胜林
明德
蔡文生
周新亭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Baolun Electronics Co ltd
Original Assignee
Guangdong Baolun Electronics Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Baolun Electronics Co ltd filed Critical Guangdong Baolun Electronics Co ltd
Priority to CN202311623489.3A priority Critical patent/CN117591484B/en
Priority claimed from CN202311623489.3A external-priority patent/CN117591484B/en
Publication of CN117591484A publication Critical patent/CN117591484A/en
Application granted granted Critical
Publication of CN117591484B publication Critical patent/CN117591484B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/172Caching, prefetching or hoarding of files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/176Support for shared access to files; File sharing support
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/41Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Drawing Aids And Blackboards (AREA)

Abstract

The invention relates to the field of operating systems, and particularly discloses a real-time storage method, equipment and medium for whiteboard content data, which comprises the steps of judging whether a newly-built storage file is needed; if so, creating a storage file, and writing background data into the storage file; otherwise, opening the appointed storage file, and reading and displaying the content in the storage file; when the whiteboard is detected to have input operation, judging the type of the input content, and storing the data of the input content at the tail of the storage file according to the type. The invention encodes the whiteboard input content and stores the whiteboard input content in the hard disk in real time, prevents the loss of the whiteboard temporary input content caused by power failure, system blocking or program crash, ensures the data security of the ink content, provides a basis for importing and exporting the ink and multimedia content input by the whiteboard in real time, and is convenient for sharing the whiteboard input content among different clients in real time.

Description

Real-time storage method, equipment and medium for whiteboard content data
Technical Field
The present invention relates to the field of operating systems, and in particular, to a method, an apparatus, and a medium for storing whiteboard content data in real time.
Background
With the development of multimedia technology, electronic whiteboards are becoming popular as input and display devices in offices, conferences or classrooms, and the most prominent functions of electronic whiteboards are ink content which can be input and displayed at any time through a touch screen, and content such as graphics, pictures, characters and the like which are conveniently input on a display screen.
However, at present, the whiteboard function operation performed by the peripheral, especially the touch screen, usually stores operation data temporarily in a memory, and when the input ink content, graphic content, picture and video content, text content, mind map, etc. are in a program crash, system restart, power failure, etc., the related data are usually lost, and it is difficult to share the input whiteboard content data among multiple clients. With the development of multimedia conference rooms or classrooms, the requirements of disaster recovery and multi-terminal sharing functions in whiteboard modules are increasingly highlighted, and how to save and share whiteboard input content in real time under the conditions of low system occupation and low network bandwidth occupation becomes a design problem.
Disclosure of Invention
In order to overcome the problems, the invention provides a real-time storage method, device and medium for whiteboard content data.
The invention provides a real-time storage method of whiteboard content data, which comprises the following steps:
judging whether a newly built storage file is needed;
if so, creating a storage file, writing background data into the storage file, and storing; the background data is used for storing background images and texts of the current page and page scaling information;
otherwise, opening a designated storage file, and reading and displaying the content in the storage file;
when detecting that the whiteboard has input operation, judging the type of the input content; the input content type comprises an ink mark type, an image-text type, a file type and an operation type;
when the input content is of ink type, adding and storing a unique code and a coordinate point array of the input content at the end of the storage file; wherein the unique code comprises at least the type of the input content and the number of the input content;
when the input content is of an image-text type, adding and storing a unique code, a type, a byte stream, coordinates and width and height of the input content at the end of a storage file;
when the input content is of a file type, adding and storing a unique code, a file name, a file extension, a byte stream, a file link, a starting point coordinate and a width and height of the input content at the end of a stored file;
when the input content is of an operation type, adding and storing a unique code of the editing operation and a unique code of an operation target at the end of the storage file, and operating the content; wherein the operation content comprises stretching, zooming, dragging and rotating of an operation target.
Preferably, when detecting that there is an input operation on the whiteboard, the type of the input content is judged, and the specific distribution steps are as follows:
when the whiteboard is triggered by the input operation, detecting whether the current input operation is finished or not in real time;
if yes, judging that the input operation is completed, confirming the type of the input content according to the execution condition of the input operation and the input content, and storing the input content into a storage file;
otherwise, the input operation is waited for to be completed.
Preferably, the real-time storage method further comprises the steps of:
according to the type of the input content, respectively storing the storage files as a main file, an ink file, an image file and a media file;
the main file is used for storing the serial number, file name, background picture, integral zoom, ink file link, image file link and media file link of the file;
the ink file is used for storing input content corresponding to the ink type;
the image file is used for storing input content corresponding to the image type;
the media file is used for storing input content, a source file and a temporary file corresponding to the file type;
when the input content is of an operation type, the input content is stored in a storage file corresponding to an operation target.
Preferably, when the input content is of the graphic type, the method further comprises the following steps:
when the input content is of the image-text type and the resolution and the file size of the image-text content are larger than the preset threshold, the image-text content is subjected to media file compression, and the compressed image-text content is output and stored into the byte stream of the image-text content.
Preferably, the storage file further includes a page number and a current page number, which are used for distinguishing a plurality of pages corresponding to the storage file, and the input content corresponding to each page is distinguished by the current page number and the background data interval.
Preferably, the unique code of the input content further includes a page number.
Preferably, the reading and displaying the content in the storage file specifically includes the following steps:
sequentially reading the data of the stored file, and taking each unique code and the following data as a display object;
judging whether the data of the display object accords with a data structure corresponding to the type of the input content;
if yes, adding the display object on the top layer of the display picture;
otherwise, the display object is skipped.
Preferably, when the input content is a file type, the unique code, the file name, the file extension, the byte stream, the file link, the starting point coordinate and the width and height of the input content are added and stored at the end of the stored file, and the method further comprises the following steps:
and copying and storing the files related to the input content into a catalog where the stored files are located, and connecting the files to the files stored in the catalog.
The invention also provides a real-time storage device of whiteboard content data, comprising: a newly built reading module, a type judging module, an ink mark saving module, an image-text saving module, a file saving module and an operation saving module;
the newly built reading module is used for judging whether a newly built storage file is needed or not; if so, creating a storage file, writing background data into the storage file, and storing; the background data is used for storing background images and texts of the current page and page scaling information; otherwise, opening a designated storage file, and reading and displaying the content in the storage file;
the type judging module is used for judging the type of the input content when detecting that the whiteboard has input operation; the input content type comprises an ink mark type, an image-text type, a file type and an operation type;
the ink storing module is used for adding and storing a unique code and a coordinate point array of the input content at the end of the storage file when the input content is of an ink type; wherein the unique code comprises at least the type of the input content and the number of the input content;
the image-text storage module is used for adding and storing a unique code, a type, a byte stream, coordinates and width and height of the input content at the end of the storage file when the input content is of an image-text type;
the file storage module is used for adding and storing a unique code, a file name, a file extension name, a byte stream, a file link, a starting point coordinate and a width and height of the input content at the tail of the stored file when the input content is of a file type;
the operation storage module is used for adding and storing the unique code of the editing operation, the unique code of the operation target and the operation content at the tail of the storage file when the input content is of the operation type; wherein the operation content comprises stretching, zooming, dragging and rotating of an operation target.
The invention provides a terminal device, which comprises a processor and a storage device, wherein the storage device is used for storing one or more programs; the processor implements the above-described real-time storage method of whiteboard content data when the one or more programs are executed by the processor.
The invention provides a computer readable storage medium, which comprises a stored computer program, wherein when the computer program runs, equipment where the computer readable storage medium is located is controlled to execute the real-time storage method of whiteboard content data.
The beneficial effects of the invention are as follows:
(1) By encoding the whiteboard input content and storing the whiteboard input content in the hard disk in real time, the real-time storage of various multimedia contents including ink marks input on the whiteboard is realized, the loss of the whiteboard temporary input content caused by power failure, system blocking or program crash is prevented, and the data safety of the ink mark content is ensured.
(2) The whiteboard input content is encoded and stored in real time to the file, so that a real-time import and export basis is provided for ink marks and multimedia content input by the whiteboard, and the whiteboard input content can be shared among different clients in real time.
Preferably, by limiting the media format, and automatically compressing the overrun multimedia content, fluency in display and transmission is ensured,
drawings
The invention will be further described with reference to the accompanying drawings, in which:
fig. 1 is a flowchart of a method according to a first embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, as an implementation of the present invention, in order to avoid data loss of ink, etc. input on a whiteboard due to uncontrollable factors such as power-off, program crash, etc. of the whiteboard, it is necessary to store input content in real time; in the application scenario of this embodiment, the content input by the ink operation is a coordinate point array, most of other input content is composed of coordinates and width and height, and then different content is filled according to different types, and the key point of this embodiment is how the input content such as ink is stored in the file of the hard disk in real time. The embodiment discloses a real-time storage method of whiteboard content data, comprising the following steps:
s1, judging whether a newly created storage file is needed;
s2, if so, creating a storage file, writing the number, the file name and the background data of the file into the storage file, and storing the file; the background data is used for storing background images and texts of the current page and page scaling information, and the background data can be a blank display interface, a transparent display frame body or a screenshot of the current display interface;
s3, if not, opening the designated storage file, and reading and displaying the content in the storage file;
s4, judging the type of the input content when detecting that the whiteboard has input operation; the input content type comprises an ink type, an image-text type, a file type and an operation type;
s5, when the input content is of an ink type, adding and storing a unique code and a coordinate point array of the input content at the end of the storage file; the unique code at least comprises the type of the input content and the number of the input content, and the number can be a serial number or a random code which is not repeated and is used for distinguishing and conveniently searching different input contents, and the unique code is not repeated;
s6, when the input content is of an image-text type, adding and storing a unique code, a type (such as a graph, a word, a table, a mind map and the like) of the input content, a byte stream (if any) of the image-text content, coordinates (if any) and width and height (if any) of the input content at the end of the storage file; the byte stream is used for storing the data of the image-text content;
s7, when the input content is of a file type, adding and storing a unique code, a file name, a file extension, a byte stream, a file link, a starting point coordinate and a width and height of the input content at the end of a stored file;
s8, when the input content is of an operation type, adding and storing the unique code of the editing operation, the unique code of the operation target and the operation content at the end of the storage file; wherein the operation content includes stretching, zooming, dragging and rotating of the operation target.
By encoding the whiteboard input content and storing the whiteboard input content in the file of the hard disk in real time, the real-time storage of various multimedia contents including ink marks input on the whiteboard is realized, the temporary input content of the whiteboard, which is caused by power failure, system blocking or program crash, is prevented from being lost, and the data safety of the ink mark content is ensured.
In a scene that a plurality of clients need to synchronously display contents on a whiteboard, the embodiment provides a basis for inputting and outputting ink marks and multimedia contents input by the whiteboard through real-time encoding and storing the whiteboard input contents into files, so that the whiteboard input contents can be shared among different clients in real time.
At the moment, the input content of the whiteboard can be synchronously displayed only by carrying out local area network/internet sharing on the stored file or directly storing the stored file in the cloud for the client to be called for real-time reading. Compared with video stream pushing, the method has the advantages that the occupied bandwidth of the transmission display interface is small, the corresponding speed is high, and the delay is low compared with a mode of needing video compression transmission and decoding.
The embodiment also discloses a real-time storage device for whiteboard content data, comprising: a newly built reading module, a type judging module, an ink mark saving module, an image-text saving module, a file saving module and an operation saving module;
the newly built reading module is used for judging whether a newly built storage file is needed; if so, creating a storage file, writing background data into the storage file, and storing; the background data is used for storing background images and texts of the current page and page scaling information; otherwise, opening the appointed storage file, and reading and displaying the content in the storage file;
the type judging module is used for judging the type of the input content when detecting that the whiteboard has input operation; the input content type comprises an ink type, an image-text type, a file type and an operation type;
the ink storing module is used for adding and storing a unique code and a coordinate point array of the input content at the tail of the stored file when the input content is of an ink type; wherein the unique code comprises at least the type of the input content and the number of the input content;
the image-text storage module is used for adding and storing a unique code, a type, a byte stream, coordinates and width and height of the input content at the end of the storage file when the input content is of an image-text type;
the file saving module is used for adding and saving a unique code, a file name, a file extension name, a byte stream, a file link, a starting point coordinate and a width and height of the input content at the tail of the stored file when the input content is of a file type;
the operation storage module is used for adding and storing the unique code of the editing operation, the unique code of the operation target and the operation content at the end of the storage file when the input content is of the operation type; wherein the operation content includes stretching, zooming, dragging and rotating of the operation target.
In the second implementation of the present invention, in the scenario that multiple clients synchronously display whiteboard content such as ink, the stored file is shared and read by multiple clients in real time, and only one whiteboard currently being operated is written. Based on the requirements of file preservation, multi-terminal viewing and the like of the scene, the input data of the whiteboard is necessary to be stored as file sharing or uploaded to a network position for real-time reading.
The difference between the present embodiment and the first embodiment is that the storage file of the present embodiment further includes a page number and a current page number, which are used for distinguishing a plurality of pages corresponding to the storage file, and input contents corresponding to each page are distinguished by the current page number and a background data interval.
That is, when the operation such as turning pages or switching pictures is automatically detected when PPT or electronic impurities are displayed on the whiteboard, or when the page of the content such as ink is currently input to a new page or a page stored in the past is directly jumped through functions such as newly built pages of whiteboard software, the embodiment stores the operation contents of a plurality of pages in the same storage file through page numbers and page numbers, and the embodiment can realize the same effect by a mode that one storage file corresponds to one page and a plurality of pages correspond to a plurality of storage files.
In step S4 of this embodiment, the specific distribution steps implemented are as follows:
s41, detecting whether the current input operation is finished in real time when the input operation is triggered on the whiteboard, namely, for example, a user moves away from a touch screen in the touch screen input or finishes the single click/double click operation;
s42, if yes, judging that the input operation is completed, confirming the type of the input content according to the execution condition of the input operation and the input content, and storing the input content into a storage file;
s43, if not, waiting for the input operation to be completed.
When the input content is of the graphic type, the embodiment further comprises the following sub-steps:
and S61, when the input content is of an image-text type, and the resolution and the file size of the image-text content are larger than a preset threshold, compressing the media file of the image-text content, and outputting and storing the media file into a byte stream of the image-text content.
According to the performance of the system and the compatibility of the system, the input file content and the format and size of the image content can be limited to a certain extent, and a preset threshold value of the size of an image content file is set, for example, the memory occupied by a single image or a file is not more than 20m, and when the size of the memory is more than 20m, the image or the file can be converted into a pure image form by using a transcoding tool and then is compressed in resolution according to the size of a display interface, so that the smoothness of writing, reading and sharing is ensured.
Preferably, the unique number of the input content in this embodiment may further include a page number for distinguishing which page the input content belongs to, and is displayed only after being read when the page is the currently displayed page.
Step S3 of this embodiment specifically includes the following steps:
s31, sequentially reading data of the stored file, and taking each unique code and the following data as a display object;
s32, judging whether the data of the display object accords with a data structure corresponding to the type of the input content;
s33, if so, adding the display object on the top layer of the display picture, namely, covering the display contents in sequence from back to front according to the sequence of the storage positions in the storage file until all the contents of the page are completely displayed;
and S34, if not, popping up an error prompt of the real object, and automatically deleting or skipping over the display object.
Due to situations such as insufficient data storage, data reading errors, transmission errors and the like caused by sudden power failure, the data insufficiency or errors of a certain real object can be caused, and particularly, how to deal with a display object with errors can be selectively modified through configuration items of software.
Step S7, further comprising the following sub-steps:
s71, copying and storing the files related to the input content into a catalog where the stored files are located, and connecting the files to the files stored in the catalog so as to facilitate import, export and sharing of the related files.
In addition, in order to reduce the occupation of storage capacity and optimize the smoothness of visual presentation, the embodiment adopts compression or optimization treatment under the condition that the media file is too large or overrun. The compression and optimization will be performed by using existing technical means (ffmpeg, etc.), and will not be described in detail later.
Preferably, when a stored file is newly built, a new file directory is newly built, and the stored file is stored in the newly built file directory, so that when a plurality of ink files are in the same folder, related file attachments are mixed together and are difficult to distinguish, and the storage and reading of the same-name files are in conflict.
When the stored file has the same name, the file stored later is automatically renamed, and the file name in the stored file is modified.
The following is an implementation III of the present invention, and the difference between this embodiment and the second embodiment is that this embodiment further includes the following steps:
and S9, respectively storing the storage files as a main file, an ink file, an image file and a media file according to the type of the input content.
The main file is used for storing the number, the file name, the background picture, the whole zoom, the ink file link, the image file link and the media file link of the file;
the ink file is used for storing input content corresponding to the ink type;
the image file is used for storing input content corresponding to the image type;
the media file is used for storing input content, source files and temporary files corresponding to the file types;
when the input content is of an operation type, the input content is stored in a storage file corresponding to an operation target.
According to the embodiment, the storage files are divided into a plurality of storage files according to the operation types, so that the storage files are more visual and are easy to check errors. And the stored content is convenient to manually check and modify.
The invention also discloses a terminal device, which comprises a processor and a storage device, wherein the storage device is used for storing one or more programs; the processor implements the real-time storage method of whiteboard content data described above when one or more programs are executed by the processor. The processor may be a central processing unit (Central Processing Unit, CPU), other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, referred to as a control center for the test equipment, that interfaces and lines to various parts of the overall test equipment.
The storage means may be used for storing computer programs and/or modules, and the processor may implement various functions of the terminal device by running or executing the computer programs and/or modules stored in the storage means, and invoking data stored in the storage means. The storage device may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to the use of the terminal device, etc. In addition, the storage device may include high-speed random access memory, and may also include non-volatile memory, such as a hard disk, memory, plug-in hard disk, smart Media Card (SMC), secure Digital (SD) Card, flash Card (Flash Card), at least one disk storage device, flash memory device, or other volatile solid state storage device.
Wherein the real-time storage device integrated modules/units of whiteboard content data, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, the present invention may implement all or part of the flow of the method of the above-described embodiments, or may be implemented by a computer program to instruct related hardware, and the computer program may be stored in at least one computer readable storage medium, where the computer program, when executed by a processor, may implement the steps of each of the method embodiments described above. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, executable files or in some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random AccessMemory), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth.
It should be noted that the embodiments of the apparatus and device described above are only schematic, where the units described as separate units may or may not be physically separated, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

Claims (10)

1. A real-time storage method of whiteboard content data, comprising:
judging whether a newly built storage file is needed;
if so, creating a storage file, writing background data into the storage file, and storing; the background data is used for storing background images and texts of the current page and page scaling information;
otherwise, opening a designated storage file, and reading and displaying the content in the storage file;
when detecting that the whiteboard has input operation, judging the type of the input content; the input content type comprises an ink mark type, an image-text type, a file type and an operation type;
when the input content is of ink type, adding and storing a unique code and a coordinate point array of the input content at the end of the storage file; wherein the unique code comprises at least the type of the input content and the number of the input content;
when the input content is of an image-text type, adding and storing a unique code, a type, a byte stream, coordinates and width and height of the input content at the end of a storage file;
when the input content is of a file type, adding and storing a unique code, a file name, a file extension, a byte stream, a file link, a starting point coordinate and a width and height of the input content at the end of a stored file;
when the input content is of an operation type, adding and storing a unique code of the editing operation and a unique code of an operation target at the end of the storage file, and operating the content; wherein the operation content comprises stretching, zooming, dragging and rotating of an operation target.
2. The method for storing whiteboard content data in real time according to claim 1, wherein when detecting that there is an input operation on the whiteboard, determining the type of the input content, the specific distribution steps are as follows:
when the whiteboard is triggered by the input operation, detecting whether the current input operation is finished or not in real time;
if yes, judging that the input operation is completed, confirming the type of the input content according to the execution condition of the input operation and the input content, and storing the input content into a storage file;
otherwise, the input operation is waited for to be completed.
3. The method for real-time storage of whiteboard content data according to claim 1, further comprising the steps of:
according to the type of the input content, respectively storing the storage files as a main file, an ink file, an image file and a media file;
the main file is used for storing the serial number, file name, background picture, integral zoom, ink file link, image file link and media file link of the file;
the ink file is used for storing input content corresponding to the ink type;
the image file is used for storing input content corresponding to the image type;
the media file is used for storing input content, a source file and a temporary file corresponding to the file type;
when the input content is of an operation type, the input content is stored in a storage file corresponding to an operation target.
4. The method for storing whiteboard content data in real time according to claim 1, wherein when the input content is of a graphic type, the method further comprises the steps of:
when the input content is of the image-text type and the resolution and the file size of the image-text content are larger than the preset threshold, the image-text content is subjected to media file compression, and the compressed image-text content is output and stored into the byte stream of the image-text content.
5. The method according to claim 1, wherein the storage file further comprises a page number and a current page number, and the method is used for distinguishing a plurality of pages corresponding to the storage file, and each input content corresponding to each page is distinguished by a current page number and a background data interval.
6. The method of claim 5, wherein the unique number of the input content further comprises a page number.
7. The method for storing whiteboard content data in real time according to claim 1, wherein the steps of reading and displaying the content in the storage file include the steps of:
sequentially reading the data of the stored file, and taking each unique code and the following data as a display object;
judging whether the data of the display object accords with a data structure corresponding to the type of the input content;
if yes, adding the display object on the top layer of the display picture;
otherwise, the display object is skipped.
8. The method for storing whiteboard content data in real time according to claim 1, wherein when the input content is of a file type, a unique code, a file name, a file extension, a byte stream, a file link, a start point coordinate and a width and height of the input content are added and stored at the end of the stored file, further comprising the steps of:
and copying and storing the files related to the input content into a catalog where the stored files are located, and connecting the files to the files stored in the catalog.
9. A real-time storage device for whiteboard content data, comprising: a newly built reading module, a type judging module, an ink mark saving module, an image-text saving module, a file saving module and an operation saving module;
the newly built reading module is used for judging whether a newly built storage file is needed or not; if so, creating a storage file, writing background data into the storage file, and storing; the background data is used for storing background images and texts of the current page and page scaling information; otherwise, opening a designated storage file, and reading and displaying the content in the storage file;
the type judging module is used for judging the type of the input content when detecting that the whiteboard has input operation; the input content type comprises an ink mark type, an image-text type, a file type and an operation type;
the ink storing module is used for adding and storing a unique code and a coordinate point array of the input content at the end of the storage file when the input content is of an ink type; wherein the unique code comprises at least the type of the input content and the number of the input content;
the image-text storage module is used for adding and storing a unique code, a type, a byte stream, coordinates and width and height of the input content at the end of the storage file when the input content is of an image-text type;
the file storage module is used for adding and storing a unique code, a file name, a file extension name, a byte stream, a file link, a starting point coordinate and a width and height of the input content at the tail of the stored file when the input content is of a file type;
the operation storage module is used for adding and storing the unique code of the editing operation, the unique code of the operation target and the operation content at the tail of the storage file when the input content is of the operation type; wherein the operation content comprises stretching, zooming, dragging and rotating of an operation target.
10. A computer readable storage medium, characterized in that the computer readable storage medium comprises a stored computer program, wherein the computer program, when run, controls a device in which the computer readable storage medium is located to perform a method for storing whiteboard content data according to any one of claims 1 to 8 in real time.
CN202311623489.3A 2023-11-29 Real-time storage method, equipment and medium for whiteboard content data Active CN117591484B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311623489.3A CN117591484B (en) 2023-11-29 Real-time storage method, equipment and medium for whiteboard content data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311623489.3A CN117591484B (en) 2023-11-29 Real-time storage method, equipment and medium for whiteboard content data

Publications (2)

Publication Number Publication Date
CN117591484A true CN117591484A (en) 2024-02-23
CN117591484B CN117591484B (en) 2024-07-09

Family

ID=

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130047093A1 (en) * 2011-05-23 2013-02-21 Jeffrey Jon Reuschel Digital whiteboard collaboration apparatuses, methods and systems
US20140365918A1 (en) * 2013-06-10 2014-12-11 Microsoft Corporation Incorporating external dynamic content into a whiteboard
CN108459928A (en) * 2018-03-13 2018-08-28 厦门市美亚柏科信息股份有限公司 A kind of related data association method for visualizing, terminal device and storage medium
US20180293906A1 (en) * 2015-10-15 2018-10-11 Shenzhen Eaglesoul Technology Co., Ltd. Method and system for recording and playback of web-based instructions
US20180314882A1 (en) * 2017-04-27 2018-11-01 Lenovo (Singapore) Pte. Ltd. Sorting and displaying digital notes on a digital whiteboard
CN110457264A (en) * 2019-08-15 2019-11-15 深圳市威屏科技有限公司 Committee paper processing method, device, equipment and computer readable storage medium
CN110636046A (en) * 2019-08-20 2019-12-31 视联动力信息技术股份有限公司 Method, server, electronic device and storage medium for cooperatively processing files
CN111352909A (en) * 2019-05-07 2020-06-30 鸿合科技股份有限公司 File saving and loading method and device, electronic device and storage medium
CN113779321A (en) * 2021-09-06 2021-12-10 深圳创维数字技术有限公司 Electronic whiteboard file saving method and device, electronic whiteboard and storage medium
US20220083215A1 (en) * 2019-10-09 2022-03-17 Guangzhou Shiyuan Electronic Technology Company Limited Method, apparatus, terminal device, and storage medium for operating interactive white board
CN115102949A (en) * 2022-06-27 2022-09-23 长沙朗源电子科技有限公司 File sharing method, electronic device and storage medium
CN116506451A (en) * 2023-05-26 2023-07-28 广州朗国电子科技股份有限公司 Cloud storage method, system and storage medium for electronic whiteboard files

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130047093A1 (en) * 2011-05-23 2013-02-21 Jeffrey Jon Reuschel Digital whiteboard collaboration apparatuses, methods and systems
US20140365918A1 (en) * 2013-06-10 2014-12-11 Microsoft Corporation Incorporating external dynamic content into a whiteboard
US20180293906A1 (en) * 2015-10-15 2018-10-11 Shenzhen Eaglesoul Technology Co., Ltd. Method and system for recording and playback of web-based instructions
US20180314882A1 (en) * 2017-04-27 2018-11-01 Lenovo (Singapore) Pte. Ltd. Sorting and displaying digital notes on a digital whiteboard
CN108459928A (en) * 2018-03-13 2018-08-28 厦门市美亚柏科信息股份有限公司 A kind of related data association method for visualizing, terminal device and storage medium
CN111352909A (en) * 2019-05-07 2020-06-30 鸿合科技股份有限公司 File saving and loading method and device, electronic device and storage medium
CN110457264A (en) * 2019-08-15 2019-11-15 深圳市威屏科技有限公司 Committee paper processing method, device, equipment and computer readable storage medium
CN110636046A (en) * 2019-08-20 2019-12-31 视联动力信息技术股份有限公司 Method, server, electronic device and storage medium for cooperatively processing files
US20220083215A1 (en) * 2019-10-09 2022-03-17 Guangzhou Shiyuan Electronic Technology Company Limited Method, apparatus, terminal device, and storage medium for operating interactive white board
CN113779321A (en) * 2021-09-06 2021-12-10 深圳创维数字技术有限公司 Electronic whiteboard file saving method and device, electronic whiteboard and storage medium
CN115102949A (en) * 2022-06-27 2022-09-23 长沙朗源电子科技有限公司 File sharing method, electronic device and storage medium
CN116506451A (en) * 2023-05-26 2023-07-28 广州朗国电子科技股份有限公司 Cloud storage method, system and storage medium for electronic whiteboard files

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
PARKES ADAM;CARROLL NATALIE ET AL.: "EMERGENCY WHITEBOARD DESIGN FOR NETWORK RAIL", RAIL HUMAN FACTORS AROUND THE WORLD: IMPACTS ON AND OF PEOPLE FOR SUCCESSFUL RAIL OPERATIONS, 1 January 2012 (2012-01-01), pages 283 - 294 *
韩小月;骆丽;: "基于VC的电子白板软件Word保存格式实现", 计算机应用与软件, no. 04, 15 April 2013 (2013-04-15), pages 26 - 28 *

Similar Documents

Publication Publication Date Title
US11514234B2 (en) Method and system for annotation and connection of electronic documents
JP4700423B2 (en) Common charting using shapes
US9026900B1 (en) Invisible overlay for dynamic annotation
US8949729B2 (en) Enhanced copy and paste between applications
CN111539188B (en) Note generation method, computing device, and computer storage medium
US20090193327A1 (en) High-fidelity scalable annotations
CN111459501A (en) SVG-based Web configuration picture storage and display system, method and medium
US11410701B2 (en) Systems and methods for direct video retouching for text, strokes and images
CN114691063A (en) Screen acquisition method, terminal and storage medium
EP4080507A1 (en) Method and apparatus for editing object, electronic device and storage medium
CN108228843B (en) Internet-based lecture note compression transmission and restoration method
CN117591484B (en) Real-time storage method, equipment and medium for whiteboard content data
CN110176049B (en) Method for generating picture and PPT (point-to-point) by electronic blackboard writing
US8818092B1 (en) Multi-threaded text rendering
CN111399788B (en) Media file playing method and media file playing device
CN117591484A (en) Real-time storage method, equipment and medium for whiteboard content data
CN107885807B (en) File saving method and device, intelligent tablet and storage medium
CN112492399A (en) Information display method and device and electronic equipment
CN113988023A (en) Recording method and device for multimedia file, storage medium and terminal equipment
WO2018063837A1 (en) Video generation of project revision history
CN113194279A (en) Recording method of network conference, computer readable storage medium and electronic device
CN113010129A (en) Virtual studio full-flow multi-terminal blackboard writing extraction method and device
CN112995711B (en) Frame segmentation and picture processing synthesis method and system for web front-end video
TWI828490B (en) Online text translation system for page-turning comics
CN107609018B (en) Search result presenting method and device and terminal equipment

Legal Events

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