CN110392063B - Electronic whiteboard data synchronization method, device, equipment and medium - Google Patents

Electronic whiteboard data synchronization method, device, equipment and medium Download PDF

Info

Publication number
CN110392063B
CN110392063B CN201910806483.7A CN201910806483A CN110392063B CN 110392063 B CN110392063 B CN 110392063B CN 201910806483 A CN201910806483 A CN 201910806483A CN 110392063 B CN110392063 B CN 110392063B
Authority
CN
China
Prior art keywords
data
server
stroke data
electronic whiteboard
client
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
CN201910806483.7A
Other languages
Chinese (zh)
Other versions
CN110392063A (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.)
Huanuo Intelligent Shenzhen Co ltd
Original Assignee
Shenzhen Weiping Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Weiping Technology Co ltd filed Critical Shenzhen Weiping Technology Co ltd
Priority to CN201910806483.7A priority Critical patent/CN110392063B/en
Publication of CN110392063A publication Critical patent/CN110392063A/en
Application granted granted Critical
Publication of CN110392063B publication Critical patent/CN110392063B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • H04L65/401Support for services or applications wherein the services involve a main real-time session and one or more additional parallel real-time or time sensitive sessions, e.g. white board sharing or spawning of a subconference
    • H04L65/4015Support for services or applications wherein the services involve a main real-time session and one or more additional parallel real-time or time sensitive sessions, e.g. white board sharing or spawning of a subconference where at least one of the additional parallel sessions is real time or time sensitive, e.g. white board sharing, collaboration or spawning of a subconference
    • 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/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • 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/131Protocols for games, networked simulations or virtual reality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Information Transfer Between Computers (AREA)
  • Facsimiles In General (AREA)
  • Drawing Aids And Blackboards (AREA)

Abstract

The invention discloses a method, a device, equipment and a medium for synchronizing data of an electronic whiteboard, which relate to the technical field of communication computers, and the method comprises the following steps: when the electronic whiteboard detects a synchronization instruction, the first client extracts stroke data based on the synchronization instruction; and the first client selects a target protocol, and sends the stroke data to a server through the target protocol so as to enable other second clients to obtain the stroke data from the server. The invention aims to solve the technical problems that the data volume transmitted in the existing remote desktop sharing is large, and the jamming is easy to occur under the condition of poor network.

Description

Electronic whiteboard data synchronization method, device, equipment and medium
Technical Field
The invention relates to the technical field of communication computers, in particular to an electronic whiteboard data synchronization method, device, equipment and medium.
Background
The electronic whiteboard is a high and new technology product which integrates a plurality of high-tech means such as a sophisticated sub-technology, a software technology and the like. In the prior art, remote interactive electronic whiteboard software can be widely applied to places requiring remote and near distance communication, such as multimedia network conferences and telemedicine, and in the traditional video conferences, when a participant needs to write or share some documents for other participants, the participant can only see the written contents or documents through a desktop sharing technology. The realization principle of the remote desktop sharing technology is that one host (a main control end) transmits own pictures to other hosts through a network on the network, and meanwhile, a sender needs to continuously compress own pictures and then transmits the own pictures to other hosts through the network, so that the remote desktop sharing effect is realized.
Disclosure of Invention
The invention mainly aims to provide a method, a device, equipment and a medium for synchronizing data of an electronic whiteboard, and aims to solve the technical problems that the data volume transmitted in the existing remote desktop sharing is large, and the electronic whiteboard is easy to jam under the condition of poor network.
In order to achieve the above object, an embodiment of the present invention provides an electronic whiteboard data synchronization method, where the electronic whiteboard data synchronization method includes:
when the electronic whiteboard detects a synchronization instruction, the first client extracts stroke data based on the synchronization instruction;
and the first client selects a target protocol, and sends the stroke data to a server through the target protocol so as to enable other second clients to obtain the stroke data from the server.
Optionally, when the electronic whiteboard detects a synchronization instruction, the step of extracting stroke data based on the synchronization instruction by the first client includes:
the first client is in communication connection with the server and completes identity authentication verification to the server;
after authentication verification, the first client receives an initialization protocol sent by the server, analyzes all whiteboard page IDs in the initialization protocol, and sends a page request protocol to the server based on all whiteboard page IDs;
and receiving a page response protocol based on the page request protocol returned by the server, and analyzing the page response protocol and performing UI rendering by the first client to obtain a target whiteboard page.
Optionally, the step of the first client selecting a target protocol, and sending the stroke data to a server through the target protocol, so that other second clients obtain the stroke data from the server includes:
the first client side obtains an operation type corresponding to the stroke data;
the first client selects the target protocol according to the operation type;
and sending the stroke data to a server through the target protocol so that other second clients can obtain the stroke data from the server.
Optionally, the step of sending the stroke data to a server through the target protocol for other second clients to obtain the stroke data from the server includes:
judging whether the target protocol is a data type protocol or not, and if the target protocol is the data type protocol, performing resolution adaptation processing on the stroke data;
and sending the stroke data subjected to resolution adaptation processing to a server through the target protocol so as to enable other second clients to obtain the stroke data from the server.
Optionally, when the electronic whiteboard detects a synchronization instruction, the step of extracting stroke data based on the synchronization instruction by the first client includes:
and when the electronic whiteboard detects a synchronization instruction, the first client collects stroke data formed by combining point, color and thickness line data through a contact of the electronic whiteboard.
Optionally, the step of the first client selecting a target protocol, and sending the stroke data to a server through the target protocol, so that other second clients obtain the stroke data from the server includes:
and if the first client side is detected to edit the stroke data, carrying out synchronous processing on the edited stroke data.
Optionally, the step of the first client selecting a target protocol, and sending the stroke data to a server through the target protocol, so that other second clients obtain the stroke data from the server includes:
and if the synchronous instruction is detected to be closed, closing the communication connection between the first client and the server.
The invention also provides an electronic whiteboard data synchronization device, which comprises:
the detection module is used for extracting stroke data based on a synchronization instruction when the first client side detects the synchronization instruction on the electronic whiteboard;
and the sending module is used for selecting a target protocol by the first client and sending the stroke data to a server through the target protocol so as to enable other second clients to obtain the stroke data from the server.
Optionally, the electronic whiteboard data synchronization apparatus further includes:
the verification module is used for the first client to be in communication connection with the server and finish identity authentication verification to the server;
the first receiving module is used for receiving an initialization protocol sent by the server side by the first client side after authentication verification, analyzing all whiteboard page IDs in the initialization protocol, and sending a page request protocol to the server side based on all whiteboard page IDs;
and the second receiving module is used for receiving a page response protocol based on the page request protocol returned by the server, and the first client analyzes the page response protocol and performs UI rendering to obtain a target whiteboard page.
Optionally, the sending module includes:
a first obtaining unit, configured to obtain, by the first client, an operation type corresponding to the stroke data;
the selection unit is used for selecting the target protocol by the first client according to the operation type;
and the second acquisition unit is used for sending the stroke data to a server through the target protocol so as to enable other second clients to acquire the stroke data from the server.
Optionally, the second obtaining unit includes:
the judging subunit is used for judging whether the target protocol is a data type protocol or not, and if the target protocol is the data type protocol, performing resolution adaptation processing on the stroke data;
and the acquisition subunit is used for sending the stroke data subjected to resolution adaptation processing to a server through the target protocol so as to enable other second clients to acquire the stroke data from the server.
Optionally, the detection module includes:
and the detection unit is used for acquiring stroke data formed by combining point, color and thickness line data through a contact of the electronic whiteboard when the first client detects the synchronous instruction on the electronic whiteboard.
Optionally, the electronic whiteboard data synchronization apparatus further includes:
and the synchronization module is used for carrying out synchronization processing on the edited stroke data if the first client side is detected to edit the stroke data.
Optionally, the electronic whiteboard data synchronization apparatus further includes:
and the closing module is used for closing the communication connection between the first client and the server if the synchronous instruction is detected to be closed.
The invention also provides a medium, wherein the medium is stored with an electronic whiteboard data synchronization program, and the electronic whiteboard data synchronization program realizes the steps of the electronic whiteboard data synchronization method when being executed by a processor.
When an electronic whiteboard detects a synchronization instruction, a first client extracts stroke data based on the synchronization instruction; and the first client selects a target protocol, and sends the stroke data to a server through the target protocol so as to enable other second clients to obtain the stroke data from the server. In this application, no longer carry out long-range video image sharing, but when detecting synchronous instruction at whiteboard through first client, based on synchronous instruction draws stroke data to correspond the target protocol of choosing through first client, will stroke data passes through the target protocol accurately sends for the server end, also promptly, in this application, accomplishes the sharing of stroke data, because the data bulk of stroke data is far less than video data bulk, therefore, can reduce the variable quantity of long-range desktop sharing in-process conveying, avoid under the not good condition of network, the card pause appears. The technical problems that the data volume transmitted in the existing remote desktop sharing is large, and the blocking easily occurs under the condition that the network is not good are solved.
Drawings
Fig. 1 is a schematic flow chart of a first embodiment of an electronic whiteboard data synchronization method according to the present invention;
fig. 2 is a schematic diagram of a detailed flow before the step of extracting stroke data based on a synchronization instruction by the first client when the electronic whiteboard detects the synchronization instruction according to the second embodiment of the electronic whiteboard data synchronization method according to the present invention;
fig. 3 is a schematic device structure diagram of a hardware operating environment related to the method according to the embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The invention provides an electronic whiteboard data synchronization method, and in an embodiment of the electronic whiteboard data synchronization method, referring to fig. 1, the electronic whiteboard data synchronization method includes:
step S10, when the electronic whiteboard detects a synchronization instruction, the first client extracts stroke data based on the synchronization instruction;
step S20, the first client selects a target protocol, and sends the stroke data to a server via the target protocol, so that other second clients can obtain the stroke data from the server.
The method comprises the following specific steps:
step S10, when the electronic whiteboard detects a synchronization instruction, the first client extracts stroke data based on the synchronization instruction;
it should be noted that, in the present embodiment, the electronic whiteboard data synchronization method is applied to the electronic whiteboard data synchronization apparatus, the electronic whiteboard data synchronization equipment is provided with an electronic whiteboard data synchronization system, the electronic whiteboard data synchronization system comprises a first client, a server and other second clients, wherein, the first client and other second clients are connected through the server end in a communication way, after the communication connection, the first client and other second clients can share stroke data or video data, specifically, when the electronic whiteboard software is started on the first client, the first client can trigger a synchronization instruction through clicking or touching by a user, the synchronization instruction may be triggered by default when the first client starts the electronic whiteboard software, or the synchronization instruction may be triggered by default when the electronic whiteboard software detects a writing stroke of the user after the first client starts the electronic whiteboard software.
When the electronic whiteboard detects a synchronization instruction, the first client extracts stroke data based on the synchronization instruction.
When the first client detects a synchronization instruction on the electronic whiteboard, stroke data is synchronously extracted based on the synchronization instruction, that is, when a stroke start is detected, the stroke data is synchronously extracted until the stroke is completed, that is, the synchronous extraction of the stroke data is completed, where it is to be noted that, in this embodiment, the extraction of video data is not performed, but only the stroke data is extracted.
When the first client detects a synchronization instruction on the electronic whiteboard, the step of extracting stroke data based on the synchronization instruction comprises the following steps:
and step S11, when the electronic whiteboard detects a synchronization instruction, the first client collects stroke data formed by combining point, color and thickness line data through a contact of the electronic whiteboard.
When the electronic whiteboard detects a synchronization instruction, the first client obtains point, color and thick and thin line data through touch on the electronic whiteboard, and obtains stroke data based on the point, color and thick and thin line data, namely, the first client collects the stroke data formed by combining the point, color and thick and thin line data through the touch of the electronic whiteboard.
That is, the stroke data received by the first client and generated in the writing process actually consists of data such as points, colors, thicknesses and the like, the first client sends the generated stroke data to the server end in real time through tcp connection, the server end forwards the stroke data to other second clients, and the other second clients are connected by adopting the same point rendering algorithm (secondary Bezier curve) after data adaptation. Thereby realizing that the stroke positions and shapes seen by all the clients are kept consistent.
Step S20, the first client selects a target protocol, and sends the stroke data to a server via the target protocol, so that other second clients can obtain the stroke data from the server.
After obtaining the stroke data, the first client selects a target protocol, and sends the stroke data to a server through the target protocol so that other second clients can obtain the stroke data from the server. One of the target protocols is a Control (Control) type and one of the Data (Data) types. The control type protocol is mainly used for being related to an auxiliary control type protocol of the whiteboard data type, the data type protocol is mainly related to the whiteboard data protocol, the control type protocol is not required to be adapted to the resolution, and the data type protocol is required to be adapted to the resolution.
The first client selects a target protocol, sends the stroke data to a server through the target protocol, and other second clients acquire the stroke data from the server, wherein the step of the first client comprises the following steps:
step S21, the first client acquires the operation type corresponding to the stroke data;
the first client acquires the operation type corresponding to the stroke data, wherein the operation type corresponding to the stroke data can be determined by the attribute of the first client, in addition, the operation type corresponding to the stroke data can also be determined by the type of the electronic whiteboard, and the operation type corresponding to the stroke data acquired by the first client is determined by acquiring the attribute of the first client or acquiring the type of the electronic whiteboard through the first client (the operation type refers to whether the operation type is an adaptive type), wherein the operation type comprises a first operation type and a second operation type.
Step S22, the first client selects the target protocol according to the operation type;
and the first client selects the target protocol according to the operation type, determines that the target protocol is a Control (Control) type protocol when the operation type is a first operation type, and determines that the target protocol is a Data (Data) type protocol when the operation type is a second operation type.
And step S23, sending the stroke data to a server through the target protocol, so that other second clients can obtain the stroke data from the server.
And sending the stroke Data to a server end through the target protocol, such as a Data (Data) type protocol, so that other second clients can obtain the stroke Data from the server end, and determining whether resolution adaptation is needed or not according to the target protocol type by the other second clients so as to render and display the stroke Data finally.
The first client selects a target protocol, and sends the stroke data to a server through the target protocol, so that other second clients can obtain the stroke data from the server, and the steps comprise:
step S30, if it is detected that the synchronization instruction is closed, closing the communication connection between the first client and the server.
If it is detected that the synchronization instruction is closed, the communication connection between the first client and the server is closed, that is, the synchronization of the stroke data is closed, it should be noted that, in this embodiment, the method may be applied to a conference, and when the method is applied to a conference or other scenes, the electronic whiteboard may select data to be transmitted, that is, may select video data and stroke data, when the network is not good, a participant may select to participate in a conference by using a stroke data transmission method, and when the network is good, a conference may be participated in a video data transmission method, so as to provide more selectivity for the participants.
When an electronic whiteboard detects a synchronization instruction, a first client extracts stroke data based on the synchronization instruction; and the first client selects a target protocol, and sends the stroke data to a server through the target protocol so as to enable other second clients to obtain the stroke data from the server. In this application, no longer carry out long-range video image sharing, but when detecting synchronous instruction at whiteboard through first client, based on synchronous instruction draws stroke data to correspond the target protocol of choosing through first client, will stroke data passes through the target protocol accurately sends for the server end, also promptly, in this application, accomplishes the sharing of stroke data, because the data bulk of stroke data is far less than video data bulk, therefore, can reduce the variable quantity of long-range desktop sharing in-process conveying, avoid under the not good condition of network, the card pause appears. The technical problems that the data volume transmitted in the existing remote desktop sharing is large, and the blocking easily occurs under the condition that the network is not good are solved.
Further, referring to fig. 2, on the basis of the first embodiment, referring to fig. 2, the present invention provides another embodiment of an electronic whiteboard data synchronization method, in this embodiment, when the electronic whiteboard detects a synchronization instruction, before the step of extracting stroke data based on the synchronization instruction, the first client includes:
step S01, the first client end is connected with the server end in a communication way and completes identity authentication verification to the server end;
in this embodiment, before performing data synchronization, the first client is communicatively connected to the server and completes authentication verification to the server, and specifically, the first client is connected to the server and sends a "handshake" protocol to complete authentication verification.
Step S02, after authentication, the first client receives the initialization protocol sent by the server, analyzes all whiteboard page IDs in the initialization protocol, and sends a page request protocol to the server based on all whiteboard page IDs;
after authentication and verification of identity, the first client receives an initialization protocol sent by the server, where the initialization protocol mainly acts to package all whiteboard page IDs of the server at the time and send the packaged whiteboard page IDs to the first client after the identity is verified, and in addition, the initialization protocol may also carry a standard resolution of the server, that is, an electronic whiteboard, and the like, and the first client analyzes all whiteboard page IDs in the initialization protocol, such as a total of several whiteboard page IDs, to send a page request protocol to the server based on all whiteboard page IDs, such as requesting whiteboard content from a first page to a last page, it should be noted that, since only a writable area is impossible in a whiteboard, the concept of pages is supported in this embodiment, and a user may turn to the next page to continue writing after writing a page is completed when using a whiteboard, the content of the previous page is also saved in a memory or other storage space, and when the current page is returned, all data of the page is also loaded for presentation. In this embodiment, page numbers of all the first clients and other clients are synchronized to achieve synchronization.
Step S03, receiving a page response protocol based on the page request protocol returned by the server, and the first client analyzes the page response protocol and performs UI rendering to obtain a target whiteboard page.
In this embodiment, after obtaining the page request protocol, the server returns a page response protocol based on the page request protocol, where the page response protocol includes stroke data and element data, that is, initial whiteboard data, and the initial whiteboard data may include specific stroke data content and the like.
Step S04, receiving a page response protocol based on the page request protocol returned by the server, and the first client analyzes the page response protocol and performs UI rendering to obtain a target whiteboard page.
In this embodiment, the first server receives a page response protocol based on the page request protocol returned by the server, and the first client analyzes the page response protocol and performs UI rendering to obtain a target whiteboard page, where the target whiteboard page may be a blank page and a non-blank page.
In this embodiment, the first client is in communication connection with the server, and completes authentication verification to the server; after authentication verification, the first client receives an initialization protocol sent by the server, analyzes all whiteboard page IDs in the initialization protocol, and sends a page request protocol to the server based on all whiteboard page IDs; and receiving a page response protocol based on the page request protocol returned by the server, and analyzing the page response protocol and performing UI rendering by the first client to obtain a target whiteboard page. The embodiment accurately realizes the initialization of the target whiteboard page of the first client.
Further, on the basis of the first embodiment, the present invention provides another embodiment of an electronic whiteboard data synchronization method, in this embodiment, the step of sending the stroke data to a server through the target protocol, so that other second clients obtain the stroke data from the server includes:
step A1, judging whether the target protocol is a data type protocol, and if the target protocol is the data type protocol, performing resolution adaptation processing on the stroke data;
in this embodiment, it is determined whether the target protocol is a data type protocol, and if the target protocol is the data type protocol, resolution adaptation processing is performed on the stroke data, and if the target protocol is not the data type protocol, resolution adaptation processing is not required to be performed on the stroke data.
And step A2, sending the stroke data after resolution adaptation processing to a server through the target protocol, so that other second clients can obtain the stroke data from the server.
And sending the stroke data subjected to resolution adaptation processing to a server through the target protocol so as to enable other second clients to obtain the stroke data from the server. Or sending the stroke data to a server through the target protocol so that other second clients can obtain the stroke data from the server and perform resolution adaptation processing on the obtained stroke data.
In this embodiment, by determining whether the target protocol is a data type protocol, if the target protocol is the data type protocol, resolution adaptation processing is performed on the stroke data; and sending the stroke data subjected to resolution adaptation processing to a server through the target protocol so as to enable other second clients to obtain the stroke data from the server. The embodiment lays a foundation for accurately displaying the stroke data.
Further, the present invention provides another embodiment of the electronic whiteboard data synchronization method, in which,
the first client selects a target protocol, and sends the stroke data to a server through the target protocol, so that other second clients can obtain the stroke data from the server, and the steps comprise:
step S40, if it is detected that the first client edits the stroke data, perform synchronization processing on the edited stroke data.
In this embodiment, by setting a new page adding protocol, a page deleting protocol, a stroke adding or deleting protocol, an element adding or deleting protocol, a stroke deformation protocol, an element deformation protocol, a stroke clearing protocol, a all-page clearing protocol, and the like, the stroke data is specifically edited such as adding, deleting, deforming, and the like, and the edited stroke data is synchronously processed.
Referring to fig. 3, fig. 3 is a schematic device structure diagram of a hardware operating environment according to an embodiment of the present invention.
The electronic whiteboard data synchronization equipment in the embodiment of the invention can be a PC, and can also be terminal equipment such as a smart phone, a tablet personal computer and a portable computer.
As shown in fig. 3, the electronic whiteboard data synchronization apparatus may include: a processor 1001, such as a CPU, a memory 1005, and a communication bus 1002. The communication bus 1002 is used for realizing connection communication between the processor 1001 and the memory 1005. The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a memory device separate from the processor 1001 described above.
Optionally, the electronic whiteboard data synchronization apparatus may further include a target user interface, a network interface, a camera, an RF (Radio Frequency) circuit, a sensor, an audio circuit, a WiFi module, and the like. The target user interface may comprise a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional target user interface may also comprise a standard wired interface, a wireless interface. The network interface may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface).
Those skilled in the art will appreciate that the electronic whiteboard data synchronization apparatus configuration shown in fig. 3 does not constitute a limitation of the electronic whiteboard data synchronization apparatus and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 3, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, and an electronic whiteboard data synchronization program. The operating system is a program that manages and controls the hardware and software resources of the electronic whiteboard data synchronization apparatus, and supports the execution of the electronic whiteboard data synchronization program, as well as other software and/or programs. The network communication module is used for realizing communication among the components in the memory 1005 and with other hardware and software in the electronic whiteboard data synchronization device.
In the electronic whiteboard data synchronization apparatus shown in fig. 3, the processor 1001 is configured to execute an electronic whiteboard data synchronization program stored in the memory 1005, so as to implement the steps of the electronic whiteboard data synchronization method described in any one of the above.
The specific implementation manner of the electronic whiteboard data synchronization device of the present invention is substantially the same as that of each embodiment of the electronic whiteboard data synchronization method, and is not described herein again.
In addition, an embodiment of the present invention further provides an electronic whiteboard data synchronization apparatus, where the electronic whiteboard data synchronization apparatus includes:
the detection module is used for extracting stroke data based on a synchronization instruction when the first client side detects the synchronization instruction on the electronic whiteboard;
and the sending module is used for selecting a target protocol by the first client and sending the stroke data to a server through the target protocol so as to enable other second clients to obtain the stroke data from the server.
Optionally, the electronic whiteboard data synchronization apparatus further includes:
the verification module is used for the first client to be in communication connection with the server and finish identity authentication verification to the server;
the first receiving module is used for receiving an initialization protocol sent by the server side by the first client side after authentication verification, analyzing all whiteboard page IDs in the initialization protocol, and sending a page request protocol to the server side based on all whiteboard page IDs;
and the second receiving module is used for receiving a page response protocol based on the page request protocol returned by the server, and the first client analyzes the page response protocol and performs UI rendering to obtain a target whiteboard page.
Optionally, the sending module includes:
a first obtaining unit, configured to obtain, by the first client, an operation type corresponding to the stroke data;
the selection unit is used for selecting the target protocol by the first client according to the operation type;
and the second acquisition unit is used for sending the stroke data to a server through the target protocol so as to enable other second clients to acquire the stroke data from the server.
Optionally, the second obtaining unit includes:
the judging subunit is used for judging whether the target protocol is a data type protocol or not, and if the target protocol is the data type protocol, performing resolution adaptation processing on the stroke data;
and the acquisition subunit is used for sending the stroke data subjected to resolution adaptation processing to a server through the target protocol so as to enable other second clients to acquire the stroke data from the server.
Optionally, the detection module includes:
and the detection unit is used for acquiring stroke data formed by combining point, color and thickness line data through a contact of the electronic whiteboard when the first client detects the synchronous instruction on the electronic whiteboard.
Optionally, the electronic whiteboard data synchronization apparatus further includes:
and the synchronization module is used for carrying out synchronization processing on the edited stroke data if the first client side is detected to edit the stroke data.
Optionally, the electronic whiteboard data synchronization apparatus further includes:
and the closing module is used for closing the communication connection between the first client and the server if the synchronous instruction is detected to be closed.
The specific implementation manner of the electronic whiteboard data synchronization device is substantially the same as that of each embodiment of the electronic whiteboard data synchronization method, and is not described herein again.
In addition, an embodiment of the present invention further provides an electronic whiteboard data synchronization apparatus, where the apparatus includes: a memory 109, a processor 110, and an electronic whiteboard data synchronization program stored in the memory 109 and operable on the processor 110, wherein the electronic whiteboard data synchronization program, when executed by the processor 110, implements the steps of the embodiments of the electronic whiteboard data synchronization method described above.
In addition, the present invention also provides a computer medium, which stores one or more programs, where the one or more programs are also executable by one or more processors for implementing the steps of the above-mentioned embodiments of the electronic whiteboard data synchronization method.
The specific implementation of the device and medium (i.e., computer medium) of the present invention has substantially the same extension as that of the above-mentioned embodiments of the electronic whiteboard data synchronization method, and will not be described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus 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 apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (8)

1. An electronic whiteboard data synchronization method, characterized in that the electronic whiteboard data synchronization method comprises:
when the electronic whiteboard detects a synchronization instruction, the first client extracts stroke data based on the synchronization instruction;
the first client selects a target protocol, and sends the stroke data to a server through the target protocol so that other second clients can obtain the stroke data from the server;
the step of sending the stroke data to a server through the target protocol for other second clients to obtain the stroke data from the server comprises:
judging whether the target protocol is a data type protocol or not, and if the target protocol is the data type protocol, performing resolution adaptation processing on the stroke data;
sending the stroke data subjected to resolution adaptation processing to a server through the target protocol so that other second clients can obtain the stroke data from the server;
when the first client detects a synchronization instruction on the electronic whiteboard, the step of extracting stroke data based on the synchronization instruction comprises the following steps:
and when the electronic whiteboard detects a synchronization instruction, the first client collects stroke data formed by combining point, color and thickness line data through a contact of the electronic whiteboard.
2. The electronic whiteboard data synchronization method of claim 1, wherein the step of extracting stroke data based on the synchronization instruction when the electronic whiteboard detects the synchronization instruction by the first client comprises:
the first client is in communication connection with the server and completes identity authentication verification to the server;
after authentication verification, the first client receives an initialization protocol sent by the server, analyzes all whiteboard page IDs in the initialization protocol, and sends a page request protocol to the server based on all whiteboard page IDs;
and receiving a page response protocol based on the page request protocol returned by the server, and analyzing the page response protocol and performing UI rendering by the first client to obtain a target whiteboard page.
3. The method for synchronizing electronic whiteboard data according to claim 1, wherein the step of the first client selecting a target protocol, sending the stroke data to a server through the target protocol, so that other second clients can obtain the stroke data from the server includes:
the first client side obtains an operation type corresponding to the stroke data;
the first client selects the target protocol according to the operation type;
and sending the stroke data to a server through the target protocol so that other second clients can obtain the stroke data from the server.
4. The method for synchronizing electronic whiteboard data according to claim 1, wherein the step of the first client selecting a target protocol, sending the stroke data to a server via the target protocol, so that other second clients can obtain the stroke data from the server, comprises:
and if the first client side is detected to edit the stroke data, carrying out synchronous processing on the edited stroke data.
5. The method for synchronizing electronic whiteboard data according to claim 1, wherein the step of the first client selecting a target protocol, sending the stroke data to a server via the target protocol, so that other second clients can obtain the stroke data from the server, comprises:
and if the synchronous instruction is detected to be closed, closing the communication connection between the first client and the server.
6. An electronic whiteboard data synchronizing device, characterized in that the electronic whiteboard data synchronizing device comprises:
the detection module is used for extracting stroke data based on a synchronization instruction when the first client side detects the synchronization instruction on the electronic whiteboard;
and the sending module is used for selecting a target protocol by the first client and sending the stroke data to a server through the target protocol so as to enable other second clients to obtain the stroke data from the server.
7. An electronic whiteboard data synchronization apparatus, characterized in that the apparatus comprises: memory, a processor and an electronic whiteboard data synchronization program stored on the memory and executable on the processor, the electronic whiteboard data synchronization program when executed by the processor implementing the steps of the electronic whiteboard data synchronization method according to any of claims 1 to 5.
8. A medium having stored thereon an electronic whiteboard data synchronization program, which when executed by a processor implements the steps of the electronic whiteboard data synchronization method according to any one of claims 1 to 5.
CN201910806483.7A 2019-08-27 2019-08-27 Electronic whiteboard data synchronization method, device, equipment and medium Active CN110392063B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910806483.7A CN110392063B (en) 2019-08-27 2019-08-27 Electronic whiteboard data synchronization method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910806483.7A CN110392063B (en) 2019-08-27 2019-08-27 Electronic whiteboard data synchronization method, device, equipment and medium

Publications (2)

Publication Number Publication Date
CN110392063A CN110392063A (en) 2019-10-29
CN110392063B true CN110392063B (en) 2022-04-01

Family

ID=68289508

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910806483.7A Active CN110392063B (en) 2019-08-27 2019-08-27 Electronic whiteboard data synchronization method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN110392063B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111260308B (en) * 2019-12-23 2024-03-29 深圳市鸿合创新信息技术有限责任公司 Whiteboard multi-person collaboration note screening method and device
CN111752660B (en) * 2020-06-24 2023-11-28 北京小鸟科技股份有限公司 Canvas reverse control method, system and device of electronic whiteboard
CN112783905A (en) * 2020-12-25 2021-05-11 广州朗国电子科技有限公司 Data updating method, system and storage medium based on electronic whiteboard shared screen
CN113268190B (en) * 2021-05-25 2023-08-15 武汉悦学帮网络技术有限公司 Information interaction method, system, device, electronic equipment and storage medium
CN113489768A (en) * 2021-06-29 2021-10-08 青岛海信商用显示股份有限公司 Data synchronization method and device of electronic whiteboard
CN117176900A (en) * 2023-09-26 2023-12-05 苏州爱医斯坦智能科技有限公司 Whiteboard data synchronization method and system for remote consultation

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101286865A (en) * 2008-05-14 2008-10-15 华为技术有限公司 Electronic white board realizing method, device and system in audio and video meeting
CN101304349A (en) * 2007-05-08 2008-11-12 北京凯诚高清电子技术有限公司 Method and apparatus for implementing remote white plate
CN105426148A (en) * 2015-11-11 2016-03-23 江苏中威科技软件系统有限公司 Multi-terminal-screen synchronization method based on vectorgraph
CN107517239A (en) * 2016-06-17 2017-12-26 中兴通讯股份有限公司 Data transmission method and device
CN108055304A (en) * 2017-12-06 2018-05-18 广州视源电子科技股份有限公司 Remote data synchronization method, device, server, equipment and storage medium
CN109324776A (en) * 2018-09-27 2019-02-12 广州视源电子科技股份有限公司 Handwriting synchronization method, device and system
CN109617862A (en) * 2018-11-21 2019-04-12 北京北纬天辰科技有限公司 A kind of electronic whiteboard conference interactive approach and interaction systems

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101585871B1 (en) * 2009-04-08 2016-01-15 삼성전자주식회사 Apparatus and method for providing white board service in mobile communication system
US9143565B2 (en) * 2013-05-30 2015-09-22 Opentv, Inc. Synchronizing an application on a companion device
CN109165067B (en) * 2018-08-07 2021-11-09 武汉斗鱼网络科技有限公司 Android horizontal and vertical screen data synchronization method and device, terminal and readable medium
CN109688364A (en) * 2018-08-21 2019-04-26 平安科技(深圳)有限公司 Video-meeting method, device, server and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101304349A (en) * 2007-05-08 2008-11-12 北京凯诚高清电子技术有限公司 Method and apparatus for implementing remote white plate
CN101286865A (en) * 2008-05-14 2008-10-15 华为技术有限公司 Electronic white board realizing method, device and system in audio and video meeting
CN105426148A (en) * 2015-11-11 2016-03-23 江苏中威科技软件系统有限公司 Multi-terminal-screen synchronization method based on vectorgraph
CN107517239A (en) * 2016-06-17 2017-12-26 中兴通讯股份有限公司 Data transmission method and device
CN108055304A (en) * 2017-12-06 2018-05-18 广州视源电子科技股份有限公司 Remote data synchronization method, device, server, equipment and storage medium
CN109324776A (en) * 2018-09-27 2019-02-12 广州视源电子科技股份有限公司 Handwriting synchronization method, device and system
CN109617862A (en) * 2018-11-21 2019-04-12 北京北纬天辰科技有限公司 A kind of electronic whiteboard conference interactive approach and interaction systems

Also Published As

Publication number Publication date
CN110392063A (en) 2019-10-29

Similar Documents

Publication Publication Date Title
CN110392063B (en) Electronic whiteboard data synchronization method, device, equipment and medium
CN107659416B (en) Conference record sharing method and device, conference terminal and storage medium
CN111897507B (en) Screen projection method and device, second terminal and storage medium
CN111078343B (en) Screen capturing method and screen capturing device for mobile terminal and mobile terminal
US10496354B2 (en) Terminal device, screen sharing method, and screen sharing system
KR102049789B1 (en) Apparatus and method for trasnsmitting an information in portable device
WO2017211020A1 (en) Television control method and apparatus
CN107682714B (en) Method and device for acquiring online video screenshot
US20110109716A1 (en) Method and apparatus for sharing data in video conference system
US20130011009A1 (en) Recognition system based on augmented reality and remote computing and related method thereof
CN108052263B (en) Screen capturing method based on terminal equipment and terminal equipment
US20140204225A1 (en) Image processing apparatus, image processing method, program, and display device
CN111901695B (en) Video content interception method, device and equipment and computer storage medium
CN109309851B (en) Information processing method, server and terminal
CN112351093A (en) Screenshot image sharing method, device and equipment and computer readable storage medium
CN112382372B (en) System, method and equipment for viewing DICOM file based on network page
CN109511010B (en) Video processing method, video processing device, electronic device, and storage medium
WO2019119643A1 (en) Interaction terminal and method for mobile live broadcast, and computer-readable storage medium
CA3102425C (en) Video processing method, device, terminal and storage medium
CN110418429B (en) Data display method, computing equipment and data display system
CN112383812A (en) Television-side screen capture sharing method, television side, mobile terminal and system
US10929703B2 (en) Method apparatus and program product for enabling two or more electronic devices to perform operations based on a common subject
US20140085486A1 (en) Information processing terminal, information processing method, and apparatus control system
JP7245350B2 (en) Anchor sharing method and device, system, electronic device and storage medium
CN114338897A (en) Object sharing method and device, electronic equipment and storage medium

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
TR01 Transfer of patent right

Effective date of registration: 20220922

Address after: Room 1601, 16th Floor, Block A, Jindingsheng Science and Technology Park, Qinghu Community, Longhua Street, Longhua District, Shenzhen, Guangdong 518000

Patentee after: Huanuo intelligent (Shenzhen) Co.,Ltd.

Address before: 518000 Wenchuang 408, 1970, 39 Wuhe Avenue (South), Nankeng Community, Bantian Street, Longgang District, Shenzhen City, Guangdong Province

Patentee before: Shenzhen Weiping Technology Co.,Ltd.

TR01 Transfer of patent right