CN110502156B - Management method, device, equipment and medium for multiple canvas of electronic whiteboard - Google Patents

Management method, device, equipment and medium for multiple canvas of electronic whiteboard Download PDF

Info

Publication number
CN110502156B
CN110502156B CN201910647182.4A CN201910647182A CN110502156B CN 110502156 B CN110502156 B CN 110502156B CN 201910647182 A CN201910647182 A CN 201910647182A CN 110502156 B CN110502156 B CN 110502156B
Authority
CN
China
Prior art keywords
canvas
subscript
module
electronic whiteboard
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910647182.4A
Other languages
Chinese (zh)
Other versions
CN110502156A (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.)
Visionvera Information Technology Co Ltd
Original Assignee
Visionvera Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Visionvera Information Technology Co Ltd filed Critical Visionvera Information Technology Co Ltd
Priority to CN201910647182.4A priority Critical patent/CN110502156B/en
Publication of CN110502156A publication Critical patent/CN110502156A/en
Application granted granted Critical
Publication of CN110502156B publication Critical patent/CN110502156B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/042Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by opto-electronic means
    • G06F3/0421Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by opto-electronic means by interrupting or reflecting a light beam, e.g. optical touch-screen
    • 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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
    • G06F3/1446Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display display composed of modules, e.g. video walls
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention provides a method, a device, equipment and a medium for managing multiple canvas of an electronic whiteboard. The invention is applied to the electronic whiteboard in the video networking. Based on the characteristics of the visual networking, the invention realizes the synchronous management of multiple canvases of the electronic whiteboard by adding new adding, switching and deleting functions to the canvas of the electronic whiteboard, storing canvas content data in the local memory of the electronic whiteboard and storing canvas content layout data in the visual networking server, and solves the defects of single canvas operation and no support of synchronous management of multiple canvases of the existing electronic whiteboard.

Description

Management method, device, equipment and medium for multiple canvas of electronic whiteboard
Technical Field
The invention relates to the technical field of video networking, in particular to a method, a device, equipment and a medium for managing multiple canvases of an electronic whiteboard.
Background
The electronic whiteboard is a digital teaching demonstration device for replacing the traditional blackboard and chalk. The electronic whiteboard can be completely separated from the mouse and the keyboard, and the operations of editing, annotating, saving and the like of the computer files are realized on the electronic whiteboard by using fingers or a specific pen, so that great convenience is brought to users.
The existing electronic whiteboard can only manage one canvas, and if a user needs to operate a plurality of canvases at the same time, a plurality of electronic whiteboards are needed. Therefore, the existing electronic whiteboard has the defect that canvas operation is single and multi-canvas synchronous management is not supported.
Disclosure of Invention
In view of the foregoing, embodiments of the present invention are directed to providing a method, apparatus, device, and medium for managing multiple canvas of an electronic whiteboard that overcomes or at least partially solves the foregoing problems.
In a first aspect, the invention discloses a method for managing multiple canvases of an electronic whiteboard, which is applied to the electronic whiteboard in the video networking and comprises the following steps:
sending canvas switching instructions to the video networking server;
receiving canvas content layout data queried by the visual network server; wherein the content layout data comprises at least a subscript of the canvas;
searching canvas content data corresponding to the subscript in a local memory according to the subscript;
and restoring the canvas according to the canvas content data, the canvas content layout data and the mapping relation between the canvas content data and the canvas content layout data.
Preferably, matching the corresponding canvas content layout data according to the canvas content data;
Integrating the canvas content data and the canvas content layout data corresponding to the canvas content data by utilizing an integration function to restore canvas.
Preferably, entering a canvas management interface;
searching the thumbnails of all canvas and the subscripts corresponding to the canvas thumbnails in a local memory;
and displaying the canvas thumbnail in a form of arranging the subscripts into a table.
Preferably, a canvas and the subscript of the canvas are newly built in the local memory;
preprocessing the screenshot of the canvas and generating a thumbnail;
storing the thumbnail and the subscript in a local memory;
storing canvas content data in a local memory;
and sending the canvas layout data and the subscript to a visual networking server for storage, so that the visual networking server updates the view according to the subscript.
Preferably, the generated deleting instruction is sent to the visual networking server, so that the visual networking server deletes canvas content layout data and updated views and sends feedback information to the electronic whiteboard; wherein the deleting instruction comprises a subscript of the canvas;
and receiving the feedback message, and deleting the corresponding canvas content data and thumbnail according to the subscript.
In a second aspect, the invention discloses a management device for multiple canvases of an electronic whiteboard, the device is applied to the electronic whiteboard in the video networking, and the device comprises:
the sending module is used for sending canvas switching instructions to the video networking server;
the receiving module is used for receiving canvas content layout data queried by the visual networking server; wherein the content layout data comprises at least a subscript of the canvas;
the first searching module is used for searching canvas content data corresponding to the subscript in the local memory according to the subscript;
and the restoring module is used for restoring the canvas according to the canvas content data, the canvas content layout data and the mapping relation between the canvas content data and the canvas content layout data.
Preferably, the matching sub-module is used for matching the corresponding canvas content layout data according to the canvas content data;
and the atomic module is used for integrating the canvas content data and the canvas content layout data corresponding to the canvas content data by utilizing an integration function to restore the canvas.
Preferably, the entering module is used for entering the canvas management interface;
the second searching module is used for searching the thumbnails of all the canvases and the subscripts corresponding to the canvases thumbnails in the local memory;
And the display module is used for displaying the canvas thumbnail in a form of arranging the index into a table.
Preferably, the new module is used for newly building a canvas and the subscript of the canvas in the local memory;
the thumbnail generation module is used for capturing the canvas and preprocessing the capturing to generate a thumbnail;
the first storage module is used for storing the thumbnail and the subscript in a local memory;
the second storage module is used for storing canvas content data in a local memory;
and the third storage module is used for sending the canvas layout data and the subscript to the visual networking server for storage, so that the visual networking server updates the view according to the subscript.
Preferably, the feedback module is used for sending the generated deleting instruction to the video networking server, so that the video networking server deletes the canvas content layout data and the updated view and sends a feedback message to the electronic whiteboard; wherein the deleting instruction comprises a subscript of the canvas;
and the deleting module is used for receiving the feedback message and deleting the corresponding canvas content data and thumbnail according to the subscript.
In a third aspect, the present invention discloses an electronic device, comprising a memory, a processor and a computer program stored on the memory and executable on the processor, preferably, the processor implements the steps of a method for managing multiple canvases of an electronic whiteboard according to the first aspect when executing the program.
In a fourth aspect, the present invention discloses a computer readable storage medium, preferably, the computer readable storage medium has a computer program stored thereon, the computer program when executed by a processor implements the steps of a method for managing multiple canvases of an electronic whiteboard according to the first aspect.
The embodiment of the invention has the following advantages:
the embodiment of the invention applies the characteristic of the visual network, and adds the functions of adding, switching and deleting to the canvas of the electronic whiteboard, so that a user can operate a plurality of canvases in the electronic whiteboard, and the synchronous management of a plurality of canvases is realized; by storing canvas content data in the local memory of the electronic whiteboard and canvas content layout data in the visual networking server, compared with the prior art, the method has the advantages that the data are stored in the server, the storage pressure of the visual networking server is reduced, and the canvas restoration speed is increased; the canvas catalogue displays canvas thumbnails in a form of a table to form the canvas catalogue, so that a user can more intuitively and vividly view the catalogue, the canvas catalogue is generated more quickly, and the experience effect of the user is improved; the difficulty of writing database data query sentences in the visual networking server by a developer is reduced by searching each item of data in the visual networking server through the view, the development speed is accelerated, and the safety of the data in the visual networking server is increased; the canvas is restored through the canvas content data, the canvas content layout data and the mapping relation between the canvas content data and the canvas content layout data, so that the restoring speed of the canvas is improved.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to designate like parts throughout the figures. In the drawings:
FIG. 1 is a schematic diagram of a networking of the present invention for a video networking;
FIG. 2 is a schematic diagram of the hardware architecture of a node server according to the present invention;
FIG. 3 is a schematic diagram of the hardware architecture of an access switch of the present invention;
fig. 4 is a schematic hardware structure of an ethernet corotation gateway according to the present invention;
FIG. 5 is a flow chart of the steps of a method of managing multiple canvas of an electronic whiteboard of the present invention;
FIG. 6 is a flowchart of the steps of a canvas thumbnail presentation of the present invention;
FIG. 7 is a flow chart of steps of a method for adding multiple canvas to an electronic whiteboard of the present invention;
FIG. 8 is a flow chart of the steps of a method for deleting multiple canvas of an electronic whiteboard of the present invention;
fig. 9 is a block diagram of an electronic whiteboard multi-canvas management apparatus of the present invention.
Detailed Description
In order that the above-recited objects, features and advantages of the present invention will become more readily apparent, a more particular description of the invention will be rendered by reference to the appended drawings and appended detailed description.
The video networking is an important milestone for network development, is a real-time network, can realize real-time transmission of high-definition videos, and pushes numerous internet applications to high-definition videos, and the high definition faces.
The video networking adopts a real-time high-definition video exchange technology, and can integrate all required services such as high-definition video conference, video monitoring, intelligent monitoring analysis, emergency command, digital broadcast television, delay television, network teaching, live broadcast, VOD on demand, television mail, personal record (PVR), intranet (self-processing) channel, intelligent video playing control, information release and other tens of services into one system platform, and realize high-definition quality video playing through television or computer.
For a better understanding of embodiments of the present invention, the following description of the video networking is presented to one skilled in the art:
the partial techniques applied by the video networking are as follows:
network technology (Network Technology)
The network technology innovation of the internet of vision improves on the traditional Ethernet (Ethernet) to face the potentially huge video traffic on the network. Unlike pure network Packet Switching (Packet Switching) or network circuit Switching (Circuit Switching), the technology of video networking employs Packet Switching to meet Streaming requirements. The video networking technology has the flexibility, simplicity and low price of packet switching, and simultaneously has the quality and the safety guarantee of circuit switching, thereby realizing the seamless connection of the whole network switching type virtual circuit and the data format.
Exchange technology (Switching Technology)
The video network adopts the two advantages of the asynchronization and the packet switching of the Ethernet, eliminates the Ethernet defect on the premise of full compatibility, has full-network end-to-end seamless connection, and is directly connected with the user terminal to directly bear the IP data packet. The user data does not need any format conversion in the whole network. The video networking is a higher-level form of Ethernet, is a real-time exchange platform, can realize real-time transmission of full-network large-scale high-definition video which cannot be realized by the current Internet, and pushes numerous network video applications to high definition and unification.
Server technology (Server Technology)
The server technology on the video networking and unified video platform is different from the server in the traditional sense, the streaming media transmission is based on connection-oriented basis, the data processing capability is irrelevant to the flow and the communication time, and a single network layer can contain signaling and data transmission. For voice and video services, the complexity of video networking and unified video platform streaming media processing is much simpler than that of data processing, and the efficiency is greatly improved by more than hundred times than that of a traditional server.
Accumulator technology (Storage Technology)
The ultra-high-speed storage technology of the unified video platform adopts the most advanced real-time operating system for adapting to the ultra-large capacity and ultra-large flow media content, the program information in the server instruction is mapped to a specific hard disk space, the media content does not pass through the server any more, the media content is instantly and directly delivered to a user terminal, and the waiting time of the user is generally less than 0.2 seconds. The optimized sector distribution greatly reduces the mechanical motion of magnetic head seek of the hard disk, the resource consumption only accounts for 20% of the IP Internet of the same grade, but the concurrent flow which is 3 times greater than that of the traditional hard disk array is generated, and the comprehensive efficiency is improved by more than 10 times.
Network security technology (Network Security Technology)
The structural design of the video networking thoroughly structurally solves the network security problem puzzling the Internet by means of independent permission of each service, complete isolation of equipment and user data and the like, generally does not need antivirus programs or firewalls, eliminates attacks of hackers and viruses, and provides a structural carefree security network for users.
Service innovation technology (Service Innovation Technology)
The unified video platform fuses services with transmissions, whether a single user, private network users or a network aggregate, but automatically connects at a time. The user terminal, the set top box or the PC is directly connected to the unified video platform, so that various multimedia video services are obtained. The unified video platform adopts a menu type table allocation mode to replace the traditional complex application programming, and can realize complex application by using very few codes, thereby realizing 'infinite' new business innovation.
Networking of the video networking is as follows:
the video networking is a centrally controlled network structure, which may be of the tree network, star network, ring network, etc., but on the basis of this there is a need for a centralized control node in the network to control the whole network.
As shown in fig. 1, the view network is divided into an access network and a metropolitan area network.
The devices of the access network part can be mainly divided into 3 classes: node server, access switch, terminal (including various set-top boxes, code boards, memories, etc.). The node server is connected with an access switch, which can be connected with a plurality of terminals and can be connected with an Ethernet.
The node server is a node with a centralized control function in the access network, and can control the access switch and the terminal. The node server may be directly connected to the access switch or may be directly connected to the terminal.
Similarly, devices of the metropolitan area network portion can also be classified into 3 categories: metropolitan area server, node switch, node server. The metro server is connected to a node switch, which may be connected to a plurality of node servers.
The node server is the node server of the access network part, namely the node server belongs to the access network part and also belongs to the metropolitan area network part.
The metropolitan area server is a node with centralized control function in the metropolitan area network, and can control a node switch and a node server. The metropolitan area server may be directly connected to the node switch or directly connected to the node server.
Thus, the whole video network is a hierarchical centralized control network structure, and the network controlled by the node server and the metropolitan area server can be in various structures such as tree, star, ring and the like.
The access network part can be vividly called as a unified video platform (part in a dotted circle), and a plurality of unified video platforms can form a video network; each unified video platform can be interconnected and intercommunicated through metropolitan area and wide area video networking.
View networking device classification
1.1 devices in the visual network according to the embodiment of the present invention may be mainly classified into 3 types: a server, a switch (including an ethernet gateway), a terminal (including various set-top boxes, a code board, a memory, etc.). The view networking can be divided into metropolitan area networks (or national networks, global networks, etc.) and access networks as a whole.
1.2 devices in the access network part can be mainly classified into 3 classes: node server, access switch (including Ethernet gateway), terminal (including various set-top boxes, code board, memory, etc.).
The specific hardware structure of each access network device is as follows:
the node server:
as shown in fig. 2, the device mainly comprises a network interface module 201, a switching engine module 202, a CPU module 203 and a disk array module 204;
Wherein, the network interface module 201, the cpu module 203 and the disk array module 204 all enter the switching engine module 202; the switching engine module 202 performs an operation of looking up the address table 205 on the incoming packet, thereby obtaining packet guiding information; and stores the packet into a corresponding queue of the packet buffer 206 according to the packet's guiding information; discarding if the queue of the packet buffer 206 is nearly full; the switch engine module 202 polls all packet buffer queues for forwarding if the following conditions are met: 1) The port sending buffer is not full; 2) The queue packet counter is greater than zero. The disk array module 204 mainly controls the hard disk, including initializing, reading and writing operations on the hard disk; the CPU module 203 is mainly responsible for protocol processing with access switches and terminals (not shown), configuration of the address table 205 (including a downstream protocol packet address table, an upstream protocol packet address table, and a data packet address table), and configuration of the disk array module 204.
Access switch:
as shown in fig. 3, mainly includes a network interface module (a downstream network interface module 301, an upstream network interface module 302), a switching engine module 303, and a CPU module 304;
wherein, the packet (uplink data) coming in from the downlink network interface module 301 enters the packet detection module 305; the packet detection module 305 detects whether the Destination Address (DA), source Address (SA), packet type, and packet length of the packet meet the requirements, if so, allocates a corresponding stream identifier (stream-id), and enters the switching engine module 303, otherwise, discards the packet; the packets (downstream data) coming in from the upstream network interface module 302 enter the switching engine module 303; the data packet coming in from the CPU module 304 enters the switching engine module 303; the switching engine module 303 performs an operation of looking up an address table 306 on an incoming packet, thereby obtaining packet guiding information; if a packet entering the switching engine module 303 is sent from the downstream network interface to the upstream network interface, the packet is stored in the queue of the corresponding packet buffer 307 in association with a stream identifier (stream-id); discarding if the queue of the packet buffer 307 is nearly full; if the packet entering the switching engine module 303 is not sent from the downlink network interface to the uplink network interface, storing the data packet into the queue of the corresponding packet buffer 307 according to the packet guiding information; if the queue of the packet buffer 307 is nearly full, it is discarded.
The switch engine module 303 polls all packet buffer queues, in two cases in the embodiment of the present invention:
if the queue is sent from the downlink network interface to the uplink network interface, the following conditions are satisfied for forwarding: 1) The port sending buffer is not full; 2) The queue packet counter is greater than zero; 3) Obtaining a token generated by a code rate control module;
if the queue is not addressed by the downstream network interface to the upstream network interface, the following condition is satisfied for forwarding: 1) The port sending buffer is not full; 2) The queue packet counter is greater than zero.
The rate control module 208 is configured by the CPU module 304 to generate tokens for all packet buffer queues from the downstream network interface to the upstream network interface at programmable intervals to control the rate of upstream forwarding.
The CPU module 304 is mainly responsible for protocol processing with the node server, configuration of the address table 306, and configuration of the rate control module 308.
Ethernet corotation gateway:
as shown in fig. 4, the device mainly includes a network interface module (a downstream network interface module 401 and an upstream network interface module 402), a switching engine module 403, a CPU module 404, a packet detection module 405, a rate control module 408, an address table 406, a packet buffer 407, a MAC adding module 409, and a MAC deleting module 410.
Wherein, the data packet coming in from the downlink network interface module 401 enters the packet detection module 405; the packet detection module 405 detects whether the ethernet MAC DA, ethernet MAC SA, ethernet length or frame type, video network destination address DA, video network source address SA, video network packet type and packet length of the data packet meet the requirements, and if so, allocates a corresponding stream identifier (stream-id); then, the MAC DA, MAC SA, length or frame type (2 byte) are subtracted by the MAC delete module 410 and enter the corresponding receive buffer, otherwise discarded;
the downlink network interface module 401 detects the sending buffer of the port, if there is a packet, acquires the ethernet MAC DA of the corresponding terminal according to the destination address DA of the packet's internet of view, adds the ethernet MAC DA of the terminal, the MAC SA of the ethernet cooperative gateway, and the ethernet length or frame type, and sends.
The function of the other modules in the ethernet corotation gateway is similar to that of the access switch.
And (3) a terminal:
the system mainly comprises a network interface module, a service processing module and a CPU module; for example, the set top box mainly comprises a network interface module, a video/audio encoding/decoding engine module and a CPU module; the coding board mainly comprises a network interface module, a video and audio coding engine module and a CPU module; the memory mainly comprises a network interface module, a CPU module and a disk array module.
1.3 devices of the metropolitan area network part can be mainly classified into 2 classes: node server, node switch, metropolitan area server. The node switch mainly comprises a network interface module, a switching engine module and a CPU module; the metropolitan area server mainly comprises a network interface module, a switching engine module and a CPU module.
2. View networking data packet definition
2.1 Access network packet definition
The data packet of the access network mainly comprises the following parts: destination Address (DA), source Address (SA), reserved bytes, payload (PDU), CRC.
As shown in the following table, the data packet of the access network mainly includes the following parts:
DA SA Reserved Payload CRC
wherein:
the Destination Address (DA) is composed of 8 bytes (byte), the first byte represents the type of data packet (such as various protocol packets, multicast data packets, unicast data packets, etc.), 256 possibilities are at most provided, the second byte to the sixth byte are metropolitan area network addresses, and the seventh and eighth bytes are access network addresses;
the Source Address (SA) is also composed of 8 bytes (bytes), defined identically to the Destination Address (DA);
the reserved bytes consist of 2 bytes;
the payload portion has different lengths according to the types of the different datagrams, and is 64 bytes if it is various protocol packets, and 32+1024=1056 bytes if it is a unicast packet, and is of course not limited to the above 2 types;
The CRC consists of 4 bytes and its calculation method follows the standard ethernet CRC algorithm.
2.2 metropolitan area network packet definition
The topology of the metropolitan area network is a pattern, there may be 2 or even more than 2 connections between two devices, i.e. there may be more than 2 connections between node switches and node servers, node switches and node switches, node switches and node servers. However, the metropolitan area network address of the metropolitan area network device is unique, and in order to accurately describe the connection relationship between metropolitan area network devices, parameters are introduced in the embodiment of the present invention: a tag to uniquely describe a metropolitan area network device.
The definition of label in this specification is similar to that of MPLS (Multi-Protocol Label Switch, multiprotocol label switching), and assuming that there are two connections between device a and device B, there are 2 labels for packets from device a to device B and 2 labels for packets from device B to device a. The label is split into label and label out, and assuming that the label (in label) of the packet entering the device a is 0x0000, the label (out label) of the packet when leaving the device a may become 0x0001. The network access process of the metropolitan area network is a network access process under centralized control, that is, the address allocation and label allocation of the metropolitan area network are all led by the metropolitan area server, the node switch and the node server are all passively executed, which is different from the label allocation of the MPLS, which is the result of mutual negotiation between the switch and the server.
As shown in the following table, the data packet of the metropolitan area network mainly includes the following parts:
DA SA Reserved label (Label) Payload CRC
I.e. Destination Address (DA), source Address (SA), reserved bytes (Reserved), labels, payload (PDU), CRC. Wherein the format of the tag may be defined with reference to the following: the tag is 32 bits, with the high 16bit reservation, with only the low 16bit, and its position is between the reserved bytes and payload of the packet.
Based on the above characteristics of the video networking, one of the core concepts of the embodiment of the invention is provided, and the electronic whiteboard is connected with the video networking server according to the protocol of the video networking, so that canvas content layout data is transferred between the electronic whiteboard and the video networking server through the video networking.
Referring to fig. 5, a flowchart showing steps of a method for managing multiple canvases of an electronic whiteboard according to the present invention may specifically include the following steps:
in step S11, a canvas switching instruction is sent to the internet of view server;
in the embodiment of the invention, after the user finishes operating one canvas, the user continues to switch the canvas to operate the next canvas. The user clicks a canvas management button, enters a canvas management interface, and the electronic whiteboard searches the thumbnails of all the canvases in the local memory and displays the thumbnail in a list form, wherein each row list displays a plurality of thumbnails. Each thumbnail has a unique subscript associated therewith. Wherein, the subscript contains the serial number information of the thumbnail; when a user clicks a certain thumbnail, the electronic whiteboard generates a database query sentence according to the subscript corresponding to the thumbnail, and sends the sentence to the video networking server. The query statement is used for querying a view of the database in the visual networking server and searching canvas layout data through the view.
Specifically, after the user enters the canvas management interface, a catalog list of five canvas thumbnails arranged in each row is displayed in the field of view of the user, and the canvas main body name corresponding to each thumbnail is arranged below each thumbnail, so that the user can intuitively and vividly know all canvas brief information. The user clicks one of the thumbnails, which triggers the electronic whiteboard to query the canvas layout data instruction corresponding to the thumbnail, such as getWh iteBoardLi st instruction, so that the electronic whiteboard generates a database query statement according to the thumbnail subscript, and the statement is transmitted to the corresponding database in the video networking server through video networking communication.
In step S12, canvas content layout data queried by the view networking server is received; wherein the content layout data comprises at least a subscript of the canvas;
in the embodiment of the invention, the visual network server receives a database query statement, and searches the canvas layout data corresponding to the subscript in the query statement in the database through the view, for example, subscript information of the canvas, color attribute of the canvas, arrangement attribute of canvas content and the like. The canvas layout data are packaged and sent to the electronic whiteboard through the internet of view. The electronic whiteboard receives the data packet.
In step S13, searching canvas content data corresponding to the subscript in a local memory according to the subscript;
in the embodiment of the invention, the electronic whiteboard is divided into a storage area which only stores canvas content data in the local memory. After clicking the thumbnail, the electronic whiteboard simultaneously starts a thread program, and the program searches canvas content data corresponding to the subscript in the storage area through the subscript of the thumbnail. In the embodiment, the searching of the canvas content data and the canvas layout data is performed simultaneously, so that the speed of restoring the canvas is increased.
In step S14, a canvas is restored according to the canvas content data, the canvas content layout data, and a mapping relationship between the canvas content data and the canvas content layout data.
In the embodiment of the invention, the electronic whiteboard integrates the canvas layout data corresponding to the canvas content data by utilizing the draw method in the API function, so that each item of content data in the canvas content data is matched and corresponds to the corresponding layout data in the canvas content layout data, thereby restoring the canvas and displaying the canvas in a display screen.
For example: the user draws a line segment or writes a certain text on the canvas, and the content formed by the operation of the user is the content data of the canvas, and the line segment or the text is positioned at the upper right corner of the screen, which is the layout data of the canvas. The electronic whiteboard integrates canvas layout data corresponding to the canvas content data by utilizing a draw method in an API function, namely, the line segments or the characters are placed at the upper right corner of the screen, so that the canvas is restored and displayed in the display screen.
In another example of an embodiment of the present invention, step S14 may include the following sub-steps:
sub-step S141, matching the corresponding canvas content layout data according to the canvas content data;
in this example, the electronic whiteboard matches layout attributes in the canvas content layout data according to each item of sub-content in the canvas content data, such that the matched canvas content data is reassembled according to the attributes in the canvas content data.
In step S142, the canvas content data and the canvas content layout data corresponding to the canvas content data are integrated by using an integration function to restore the canvas.
In this example, the various content in the canvas content data corresponds one-to-one to the canvas layout data, causing the canvas to revert to the separate pre-storage look. When integrating canvas content data and canvas layout data by using the integration function, the integration function is a draw method in the API function.
In another embodiment, referring to FIG. 6, a flowchart of the steps of a canvas thumbnail presentation of the present invention is shown and may specifically comprise the steps of:
in step S21, entering a canvas management interface;
in the embodiment of the invention, after the user clicks the canvas management button, the electronic whiteboard display screen displays the canvas management interface, and the thumbnail display area is updated and displayed.
In step S22, searching the thumbnails of all the canvases and the subscripts corresponding to the canvases thumbnails in the local memory;
in the embodiment of the invention, the thumbnail and the corresponding subscript are stored in a special divided storage area in the local memory of the electronic whiteboard. The electronic whiteboard traverses all the thumbnails and the subscripts of the area according to the opening or storage time of the canvas in the electronic whiteboard, and transmits the thumbnails and the subscripts to the display page in real time for displaying.
In step S23, the canvas thumbnails are displayed in the form of a table in which the subscripts are arranged.
In an embodiment of the present invention, the electronic whiteboard invokes the list model method or other method to arrange all the thumbnails in a list, for example, 5 thumbnails per row. The subscript is serial number information sequentially generated according to the storage time sequence of the canvas, and the thumbnail images can be arranged in sequence according to the sequence of generating the serial numbers. Meanwhile, the user can set arrangement rules of the thumbnails in the electronic whiteboard, for example, according to the sequence from far to near of the time of generating the serial number information, according to the sequence from near to far of the time, according to the sequence of browsing the canvas, fixing the arrangement positions of specific canvases, the size relation sequence of serial numbers and other canvas arrangement modes.
In another embodiment, referring to fig. 7, a step flow chart of a method for adding multiple canvas of an electronic whiteboard according to the present invention is shown, which specifically includes the following steps:
in step S31, a canvas and a subscript of the canvas are newly built in a local memory;
in the embodiment of the invention, after the user clicks a new canvas button in the canvas management function interface, the electronic whiteboard pops up a dialog box to enable the user to name the new canvas. After naming is completed, the electronic whiteboard generates a corresponding index in a local temporary memory of the electronic whiteboard according to the naming information of the user and the current time, and a canvas is newly built in the local temporary memory.
In step S32, a thumbnail is generated by pre-processing the canvas screenshot;
in the embodiment of the invention, when the user completes the content operation in the newly added canvas and stores the operation time for the canvas, the electronic whiteboard can automatically screen-capture the canvas. And the electronic whiteboard can reduce the size of the screenshot to a preset value, and meanwhile, after the operation of reducing the size of the screenshot, the resolution reduction processing is executed, so that the resolution of the changed image reaches the preset value. The screenshot is processed in the two steps to generate corresponding thumbnail.
In step S33, the thumbnail and the subscript are stored in a local memory;
in the embodiment of the invention, the electronic whiteboard stores the thumbnail and the subscript in the opposite local memory, and the memory only stores the thumbnail and the subscript corresponding to the thumbnail.
In step S34, storing canvas content data in a local memory;
in the embodiment of the invention, after a user executes canvas preservation operation, the electronic whiteboard separates the content data and layout data of the canvas. The electronic whiteboard stores the content data in the local memory.
In step S35, the canvas layout data and the index are sent to the internet of view server for storage, so that the internet of view server updates the view according to the index.
In the embodiment of the invention, after the user performs canvas preservation operation, the electronic whiteboard sends layout data of the canvas and the canvas index information to the visual networking server through the visual networking. After receiving the index information and the canvas layout data, the video networking server stores the index information in index data tables of the database, and stores the canvas layout data in each layout data table of the database, wherein the index data tables and the layout data tables form an association relationship such as key value pairs. And the view networking server updates the views in the database according to the subscripts.
In another embodiment, referring to fig. 8, a flowchart illustrating steps of a method for deleting multiple canvases of an electronic whiteboard according to the present invention may specifically include the following steps:
in step S41, the generated deletion instruction is sent to the internet of view server, so that the internet of view server deletes the canvas content layout data and the updated view and sends a feedback message to the electronic whiteboard; wherein the deleting instruction comprises a subscript of the canvas;
in the embodiment of the invention, after the user clicks the canvas management function button of the electronic whiteboard to enter the canvas management interface and clicks the delete button at the upper right corner of the thumbnail, the electronic whiteboard executes delete operation on the canvas corresponding to the thumbnail.
Specifically, after the user clicks the delete button, the electronic whiteboard will issue a DeleteWhiteBoard instruction to the internet of view server, where the DeleteWhiteBoard instruction contains the information of the canvas index. After receiving the instruction, the video networking server firstly deletes the corresponding canvas layout data in each layout data table corresponding to the subscript in the database according to the subscript contained in the instruction; then deleting corresponding subscript information in a subscript data table in the database according to the subscript; then updating the view in the database according to the subscript information, and deleting the information corresponding to the subscript in the view; and finally, returning a deletion feedback message to the electronic whiteboard through the video network by the database in the video network server.
In step S42, the feedback message is received, and the corresponding canvas content data and thumbnail are deleted according to the subscript.
In the embodiment of the invention, after the electronic whiteboard receives the deletion feedback information in S41, the electronic whiteboard deletes the canvas content data, the thumbnail and the subscript information corresponding to the subscript in the corresponding area in the local memory according to the subscript of the thumbnail corresponding to the delete button clicked by the user. And the electronic whiteboard updates the thumbnail catalog display area in the electronic whiteboard canvas management function interface according to the rest thumbnail and the information of the subscript.
Based on the embodiment of the invention, the following beneficial effects can be achieved:
1. the embodiment of the invention applies the characteristic of the video networking, and adds the functions of adding, switching and deleting to the canvas of the electronic whiteboard, so that a user can operate a plurality of canvases in the electronic whiteboard, and the synchronous management of a plurality of canvases is realized.
2. By applying the characteristics of the video networking, the embodiment of the invention reduces the storage pressure of the video networking server and accelerates the speed of restoring the canvas by storing the canvas content data in the local memory of the electronic whiteboard and storing the canvas content layout data in the video networking server compared with the prior art that the data is stored in the server.
3. According to the embodiment of the invention, the characteristics of the visual networking are applied, the canvas catalogue displays the canvas thumbnails in the form of the table to form the canvas catalogue, so that a user can more intuitively and vividly generate the canvas catalogue and can more quickly generate the canvas catalogue when viewing the catalogue, and the experience effect of the user is improved.
4. The embodiment of the invention applies the characteristics of the visual network, searches each item of data in the visual network server through the view, reduces the difficulty of writing the database data query statement in the visual network server by a developer, accelerates the development speed, and increases the safety of the data in the visual network server.
5. The embodiment of the invention applies the characteristic of the visual network, restores the canvas through the canvas content data, the canvas content layout data and the mapping relation between the canvas content data and the canvas content layout data, and improves the restoring speed of the canvas.
FIG. 9 is a block diagram showing a multi-canvas management device for an electronic whiteboard according to the present invention, which may include the following modules:
and the sending module 11 is used for sending canvas switching instructions to the video networking server.
A receiving module 12, configured to receive canvas content layout data queried by the view networking server; wherein the content layout data comprises at least a subscript of the canvas.
And the first searching module 13 is used for searching canvas content data corresponding to the subscript in the local memory according to the subscript.
And a restoring module 14, configured to restore the canvas according to the canvas content data, the canvas content layout data, and the mapping relationship between the canvas content data and the canvas content layout data.
In an alternative implementation, the reduction module 14 includes:
and the matching sub-module is used for matching the corresponding canvas content layout data according to the canvas content data.
And the atomic module is used for integrating the canvas content data and the canvas content layout data corresponding to the canvas content data by utilizing an integration function to restore the canvas.
Preferably, the apparatus further comprises:
and the entering module is used for entering the canvas management interface.
And the second searching module is used for searching the thumbnails of all the canvases and the subscripts corresponding to the canvases thumbnails in the local memory.
And the display module is used for displaying the canvas thumbnail in a form of arranging the index into a table.
And the new module is used for newly building a canvas and the subscript of the canvas in the local memory.
And the thumbnail generation module is used for capturing the canvas and preprocessing the capturing to generate a thumbnail.
And the first storage module is used for storing the thumbnail and the subscript in a local memory.
And the second storage module is used for storing the canvas content data in the local memory.
And the third storage module is used for sending the canvas layout data and the subscript to the visual networking server for storage, so that the visual networking server updates the view according to the subscript.
The feedback module is used for sending the generated deleting instruction to the visual networking server, so that the visual networking server deletes the canvas content layout data and the updated view and sends a feedback message to the electronic whiteboard; wherein the delete instruction comprises a subscript of the canvas.
And the deleting module is used for receiving the feedback message and deleting the corresponding canvas content data and thumbnail according to the subscript.
Based on the same inventive concept, another embodiment of the present invention provides an electronic device, including a memory, a processor, and a computer program stored on the memory and running on the processor again, where the processor executes to implement the steps in the method described in any of the foregoing embodiments of the present application.
Based on the same inventive concept, another embodiment of the present invention provides a computer readable storage medium, on which a computer program is stored, which program, when being executed by a processor, realizes the steps in the method according to any of the embodiments described in the present application.
For the device embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description of the method embodiments for relevant points.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described by differences from other embodiments, and identical and similar parts between the embodiments are all enough to be referred to each other.
It will be apparent to those skilled in the art that embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the invention may take the form of a computer program product on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or terminal device comprising the element.

Claims (8)

1. The method is applied to the electronic whiteboard in the video networking, and comprises the following steps:
entering a canvas management interface;
searching the thumbnails of all the canvases and the subscripts corresponding to the thumbnails of the canvases in a local memory; the subscript is generated when the canvas is newly built and is stored corresponding to the thumbnail of the canvas;
Displaying the thumbnail images of the canvas in a form of arranging the subscripts into tables;
sending canvas switching instructions to the video networking server;
receiving canvas content layout data queried by the visual network server; wherein the content layout data comprises at least a subscript of the canvas;
searching canvas content data corresponding to the subscript in a local memory according to the subscript;
matching the corresponding canvas content layout data according to the canvas content data;
integrating the canvas content data and the canvas content layout data corresponding to the canvas content data by utilizing an integration function to restore canvas; wherein the integration function is a draw method in the API function.
2. The method according to claim 1, wherein the method further comprises:
newly establishing a canvas and a subscript of the canvas in a local memory;
preprocessing the screenshot of the canvas and generating a thumbnail;
storing the thumbnail and the subscript in a local memory;
storing canvas content data in a local memory;
and sending the canvas layout data and the subscript to a visual networking server for storage, so that the visual networking server updates the view according to the subscript.
3. The method according to claim 1, wherein the method further comprises:
transmitting the generated deleting instruction to a visual network server, so that the visual network server deletes canvas content layout data and updated views and transmits feedback information to the electronic whiteboard; wherein the deleting instruction comprises a subscript of the canvas;
and receiving the feedback message, and deleting the corresponding canvas content data and thumbnail according to the subscript.
4. A management device for multiple canvases of an electronic whiteboard, wherein the device is applied to the electronic whiteboard in the visual network and comprises:
the entering module is used for entering a canvas management interface;
the second searching module is used for searching the thumbnails of all the canvases and the subscripts corresponding to the thumbnails of the canvases in the local memory; the subscript is generated when the canvas is newly built and is stored corresponding to the thumbnail of the canvas;
the display module is used for displaying the thumbnails of the canvas in a form of arranging the thumbnails into tables according to the subscripts;
the sending module is used for sending canvas switching instructions to the video networking server;
the receiving module is used for receiving canvas content layout data queried by the visual networking server; wherein the content layout data comprises at least a subscript of the canvas;
The first searching module is used for searching canvas content data corresponding to the subscript in the local memory according to the subscript;
the restoring module is used for restoring the canvas according to the canvas content data, the canvas content layout data and the mapping relation between the canvas content data and the canvas content layout data;
the reduction module includes:
a matching sub-module, configured to match the corresponding canvas content layout data according to the canvas content data;
the atomic module is used for integrating the canvas content data and the canvas content layout data corresponding to the canvas content data by utilizing an integration function to restore canvas; wherein the integration function is a draw method in the API function.
5. The apparatus of claim 4, wherein the apparatus further comprises:
the new module is used for newly building a canvas and a subscript of the canvas in the local memory;
the thumbnail generation module is used for capturing the canvas and preprocessing the capturing to generate a thumbnail;
the first storage module is used for storing the thumbnail and the subscript in a local memory;
the second storage module is used for storing canvas content data in a local memory;
And the third storage module is used for sending the canvas layout data and the subscript to the visual networking server for storage, so that the visual networking server updates the view according to the subscript.
6. The apparatus of claim 4, wherein the apparatus further comprises:
the feedback module is used for sending the generated deleting instruction to the visual networking server, so that the visual networking server deletes the canvas content layout data and the updated view and sends a feedback message to the electronic whiteboard; wherein the deleting instruction comprises a subscript of the canvas;
and the deleting module is used for receiving the feedback message and deleting the corresponding canvas content data and thumbnail according to the subscript.
7. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor performs the steps of a method of electronic whiteboard multi-canvas management according to any one of claims 1 to 3.
8. A computer readable storage medium, characterized in that it has stored thereon a computer program which, when executed by a processor, implements the steps of a method for managing electronic whiteboard multi-canvas according to any one of claims 1 to 3.
CN201910647182.4A 2019-07-17 2019-07-17 Management method, device, equipment and medium for multiple canvas of electronic whiteboard Active CN110502156B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910647182.4A CN110502156B (en) 2019-07-17 2019-07-17 Management method, device, equipment and medium for multiple canvas of electronic whiteboard

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910647182.4A CN110502156B (en) 2019-07-17 2019-07-17 Management method, device, equipment and medium for multiple canvas of electronic whiteboard

Publications (2)

Publication Number Publication Date
CN110502156A CN110502156A (en) 2019-11-26
CN110502156B true CN110502156B (en) 2023-07-14

Family

ID=68585555

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910647182.4A Active CN110502156B (en) 2019-07-17 2019-07-17 Management method, device, equipment and medium for multiple canvas of electronic whiteboard

Country Status (1)

Country Link
CN (1) CN110502156B (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109861948B (en) * 2017-11-30 2022-04-08 腾讯科技(成都)有限公司 Virtual reality data processing method and device, storage medium and computer equipment
CN108282677A (en) * 2018-01-24 2018-07-13 上海哇嗨网络科技有限公司 Realize that content throws method, throwing screen device and the system of screen by client

Also Published As

Publication number Publication date
CN110502156A (en) 2019-11-26

Similar Documents

Publication Publication Date Title
CN110647698B (en) Page loading method and device, electronic equipment and readable storage medium
CN109168064B (en) Synchronous display method and system of electronic data
CN109309806B (en) Video conference management method and system
CN110489042B (en) Method and system for simulating dragging based on video network
CN109842519B (en) Method and device for previewing video stream
CN109547731B (en) Video conference display method and system
CN109194915B (en) Video data processing method and system
CN109802952B (en) Monitoring data synchronization method and device
CN109151061B (en) Data storage method and device
CN110737519A (en) theme switching method and device
CN110677617A (en) Data processing method and device
CN110502155B (en) Display method and device for shared data
CN110557370B (en) Method, system, electronic equipment and storage medium for pamir synchronization of terminal information
CN109963107B (en) Audio and video data display method and system
CN110109808B (en) Log processing method and device
CN110519554B (en) Monitoring detection method and device
CN110502156B (en) Management method, device, equipment and medium for multiple canvas of electronic whiteboard
CN110858887A (en) Method and device for playing monitoring data
CN110730086B (en) Method and device for outputting log information
CN110795008B (en) Picture transmission method and device and computer readable storage medium
CN110290106B (en) Display system
CN110351582B (en) Method, system and device for processing video stream data and storage medium
CN109756476B (en) User-defined nickname setting method and system based on video network
CN109743585B (en) Method and device for collecting monitoring videos and cloning favorites
CN109379553B (en) Audio and video data display method and system

Legal Events

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