CN112035036A - Electronic whiteboard sharing method, system, terminal equipment and storage medium - Google Patents

Electronic whiteboard sharing method, system, terminal equipment and storage medium Download PDF

Info

Publication number
CN112035036A
CN112035036A CN202010892547.2A CN202010892547A CN112035036A CN 112035036 A CN112035036 A CN 112035036A CN 202010892547 A CN202010892547 A CN 202010892547A CN 112035036 A CN112035036 A CN 112035036A
Authority
CN
China
Prior art keywords
electronic whiteboard
coordinate points
server
coordinate
coordinate point
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.)
Pending
Application number
CN202010892547.2A
Other languages
Chinese (zh)
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.)
Shenzhen Skyworth Digital Technology Co Ltd
Original Assignee
Shenzhen Skyworth Digital 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 Skyworth Digital Technology Co Ltd filed Critical Shenzhen Skyworth Digital Technology Co Ltd
Priority to CN202010892547.2A priority Critical patent/CN112035036A/en
Publication of CN112035036A publication Critical patent/CN112035036A/en
Pending legal-status Critical Current

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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning
    • 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/1454Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
    • 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

Abstract

The invention discloses an electronic whiteboard sharing method, which is applied to terminal equipment and comprises the following steps: the method comprises the steps of collecting coordinate points of sliding operation on a first electronic whiteboard, and judging whether the number of the currently collected coordinate points reaches N, wherein N is an integer larger than 1, if so, forwarding the N coordinate points to a second electronic whiteboard through a server, namely, sending the coordinate points collected once when the N coordinate points are collected, and considering the number of the coordinate points when the coordinate points are sent, so that the backlog of the coordinate points is less even if the sliding speed is high; in addition, the data processing amount of the terminal is reduced, the occupation of network resources is reduced, and the probability of the occurrence of the stuck phenomenon is reduced, so that the real-time performance of sharing is ensured. The invention also discloses an electronic whiteboard sharing system, terminal equipment and a storage medium, the amount of data processed by the server is small, and the sharing real-time performance is ensured.

Description

Electronic whiteboard sharing method, system, terminal equipment and storage medium
Technical Field
The present invention relates to the field of informatization, and in particular, to a method, a system, a terminal device, and a storage medium for sharing an electronic whiteboard.
Background
With the continuous development of informatization, education forms, learning modes, working modes and the like are greatly changed, and various software is brought along with the development. The electronic whiteboard can completely replace the function of the traditional blackboard and can remotely share the content, so that the electronic whiteboard plays a very important role in information education, remote video conferences and the like.
When the electronic whiteboard is shared, the sliding operation is performed, the collected coordinate points are sent once every other period of time, or the coordinate points are sent once when one coordinate point is collected. For the mode of sending the collected coordinate points once at intervals, under the condition of higher sliding speed, more coordinate points are collected in the time, and more overstocked coordinate points to be sent are collected, so that the sharing real-time performance is lower; for the mode of sending the coordinate point once every time one coordinate point is collected, the data processing capacity of a terminal CPU (central processing unit) and a server CPU is large, and the occupied network resources are large, so that the terminal, the server and the network are overloaded, the phenomenon of blocking is easy to occur, and the sharing real-time performance is reduced.
Disclosure of Invention
The invention mainly aims to provide an electronic whiteboard sharing method, device, system, equipment, server and storage medium, and aims to solve the technical problems that in the prior art, when the sliding operation on an electronic whiteboard is shared, the processing pressure of a terminal and the server is high, and the sharing real-time performance is low.
In order to achieve the above object, the present invention provides an electronic whiteboard sharing method, which is applied to a terminal device, and the method includes the following steps:
collecting coordinate points of sliding operation on the first electronic whiteboard;
judging whether the number of the currently collected coordinate points reaches N, wherein N is an integer greater than 1;
and if so, forwarding the N coordinate points to a second electronic whiteboard through a server.
Optionally, after the step of collecting the coordinate point of the sliding operation on the first electronic whiteboard, the method further includes:
storing the collected coordinate points in a container;
the step of judging whether the number of the currently collected coordinate points reaches N comprises the following steps:
judging whether the number of coordinate points in the container reaches N;
the step of forwarding the N coordinate points to a second electronic whiteboard through a server includes:
and forwarding the N coordinate points in the container to a second electronic whiteboard through a server.
Optionally, before the step of determining whether the number of currently acquired coordinate points reaches N, the method further includes:
and determining the value of N according to a preset condition.
Optionally, the preset conditions are:
the current occupied operation memory and total operation memory of the terminal equipment, the number of the second electronic whiteboards or the sliding operation speed.
Optionally, after the step of collecting the coordinate point of the sliding operation on the first electronic whiteboard, the method further includes:
and when the collected coordinate point is the initial coordinate point of the sliding operation, forwarding the initial coordinate point to the second electronic whiteboard through the server.
Optionally, after the step of collecting the coordinate point of the sliding operation on the first electronic whiteboard, the method further includes:
when the end coordinate point of the sliding operation is collected, judging whether a coordinate point to be forwarded to the second electronic whiteboard exists except the end coordinate point;
if so, forwarding the coordinate point to be forwarded to the second electronic whiteboard and the ending coordinate point to the second electronic whiteboard through the server;
and if not, forwarding the ending coordinate point to the second electronic whiteboard through the server.
Optionally, an electronic whiteboard sharing method is applied to a server, and the method includes the following steps:
receiving the N coordinate points sent by the terminal equipment when the number of the collected coordinate points reaches N; the coordinate point is a coordinate point corresponding to a sliding operation on the first electronic whiteboard, and N is an integer greater than 1;
and sending the N coordinate points to a second electronic whiteboard.
In addition, in order to achieve the above object, the present invention further provides an electronic whiteboard sharing system, including:
the terminal equipment is used for acquiring coordinate points of sliding operation on the first electronic whiteboard; judging whether the number of the currently collected coordinate points reaches N, wherein N is an integer greater than 1; if yes, forwarding the N coordinate points to a second electronic whiteboard through a server;
the server is used for receiving the N coordinate points sent by the terminal equipment when the number of the collected coordinate points reaches N; and sending the N coordinate points to a second electronic whiteboard.
In addition, to achieve the above object, the present invention further provides a terminal device, including: a memory, a processor and an electronic whiteboard sharing program stored on the memory and running on the processor, the electronic whiteboard sharing program when executed by the processor implementing the steps of the electronic whiteboard sharing method as claimed in any one of the above.
In addition, in order to achieve the above object, the present invention further provides a storage medium, wherein the storage medium stores an electronic whiteboard sharing program, and the electronic whiteboard sharing program, when executed by a processor, implements the steps of the electronic whiteboard sharing method according to any one of the above.
The technical scheme of the invention is that the electronic whiteboard sharing method is applied to terminal equipment, and the method comprises the following steps: the method comprises the steps of collecting coordinate points of sliding operation on a first electronic whiteboard, judging whether the number of the currently collected coordinate points reaches N, wherein N is an integer larger than 1, if yes, forwarding the N coordinate points to a second electronic whiteboard through a server, namely, sending the coordinate points collected once when the N coordinate points are collected, and considering the number of the coordinate points when the coordinate points are sent, so that the backlog of the coordinate points is less even if the sliding speed is high; and the frequency of sending the coordinate point to the server by the terminal is reduced, so that the data processing amount of the terminal is reduced, the occupation of network resources is reduced, the probability of the occurrence of the stuck phenomenon is reduced, and the sharing real-time performance is ensured.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the structures shown in the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of an electronic whiteboard sharing system according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a terminal device in a hardware operating environment according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a server architecture of a hardware operating environment according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating a first embodiment of an electronic whiteboard sharing method according to the present invention;
fig. 5 is a schematic flow chart of a process of ending the sending of the coordinate point in the first embodiment of the electronic whiteboard sharing method according to the present invention;
fig. 6 is a flowchart illustrating an electronic whiteboard sharing method according to a second embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic whiteboard sharing apparatus according to a first embodiment of the present invention;
fig. 8 is a schematic structural diagram of an electronic whiteboard sharing apparatus according to a second 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.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an electronic whiteboard sharing system according to an embodiment of the present invention.
As shown in fig. 1, the electronic whiteboard sharing system includes: terminal equipment 101, server 102.
The terminal device 101 is used for collecting coordinate points of sliding operation on the first electronic whiteboard; judging whether the number of the currently collected coordinate points reaches N, wherein N is an integer greater than 1; if yes, forwarding the N coordinate points to a second electronic whiteboard through a server;
the server 102 is configured to receive the N coordinate points sent by the terminal device when the number of the collected coordinate points reaches N; and sending the N coordinate points to a second electronic whiteboard.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a terminal device in a hardware operating environment according to an embodiment of the present invention.
The terminal device may be a User Equipment (UE) such as a Mobile phone, a smart phone, a laptop, a digital broadcast receiver, a Personal Digital Assistant (PDA), a tablet computer (PAD), a handheld device, a vehicle mounted device, a wearable device, a computing device or other processing device connected to a wireless modem, a Mobile Station (MS), etc. The device may be referred to as a user terminal, portable terminal, desktop terminal, etc.
In general, a terminal device includes: at least one processor 301, a memory 302, and an electronic whiteboard sharing program stored on the memory and executable on the processor, the electronic whiteboard sharing program being configured to implement the steps of the electronic whiteboard sharing method according to any of the following embodiments.
The processor 301 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on. The processor 301 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 301 may also include a main processor and a coprocessor, where the main processor is a processor for processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 301 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. The processor 301 may further include an AI (Artificial Intelligence) processor for processing operations related to the electronic whiteboard sharing method, so that the electronic whiteboard sharing method model may be trained and learned autonomously, thereby improving efficiency and accuracy.
Memory 302 may include one or more computer-readable storage media, which may be non-transitory. Memory 302 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer-readable storage medium in the memory 302 is used to store at least one instruction for execution by the processor 301 to implement the electronic whiteboard sharing method provided by the method embodiments herein.
In some embodiments, the terminal may further include: a communication interface 303 and at least one peripheral device. The processor 301, the memory 302 and the communication interface 303 may be connected by a bus or signal lines. Various peripheral devices may be connected to communication interface 303 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 304, a display screen 305, and a power source 306.
The communication interface 303 may be used to connect at least one peripheral device related to I/O (Input/Output) to the processor 301 and the memory 302. In some embodiments, processor 301, memory 302, and communication interface 303 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 301, the memory 302 and the communication interface 303 may be implemented on a single chip or circuit board, which is not limited in this embodiment.
The Radio Frequency circuit 304 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 304 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 304 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 304 comprises: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuitry 304 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the rf circuit 304 may further include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 305 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 305 is a touch display screen, the display screen 305 also has the ability to capture touch signals on or over the surface of the display screen 305. The touch signal may be input to the processor 301 as a control signal for processing. At this point, the display screen 305 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display screen 305 may be one, the front panel of the electronic device; in other embodiments, the display screens 305 may be at least two, respectively disposed on different surfaces of the electronic device or in a folded design; in still other embodiments, the display screen 305 may be a flexible display screen disposed on a curved surface or a folded surface of the electronic device. Even further, the display screen 305 may be arranged in a non-rectangular irregular figure, i.e. a shaped screen. The Display screen 305 may be made of LCD (liquid crystal Display), OLED (Organic Light-Emitting Diode), and the like.
The power supply 306 is used to power various components in the electronic device. The power source 306 may be alternating current, direct current, disposable or rechargeable. When the power source 306 includes a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology. Those skilled in the art will appreciate that the configuration shown in fig. 1 does not constitute a limitation of the electronic whiteboard sharing arrangement and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
In addition, an embodiment of the present invention further provides a storage medium, where the storage medium stores an electronic whiteboard sharing program, and the electronic whiteboard sharing program, when executed by a processor, implements the steps of the electronic whiteboard sharing method according to any of the following embodiments. Therefore, a detailed description thereof will be omitted. In addition, the beneficial effects of the same method are not described in detail. For technical details not disclosed in embodiments of the computer-readable storage medium referred to in the present application, reference is made to the description of embodiments of the method of the present application. It is determined that, by way of example, the program instructions may be deployed to be executed on one computing device or on multiple computing devices at one site or distributed across multiple sites and interconnected by a communication network.
It will be understood by those skilled in the art that all or part of the processes in the method according to any of the following embodiments may be implemented by instructing the associated hardware through a computer program, and the electronic whiteboard sharing program may be stored in a computer readable storage medium, and when executed, may include the processes according to the embodiments of the methods described below. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
Referring to fig. 3, fig. 3 is a schematic diagram of a server structure of a hardware operating environment according to an embodiment of the present invention. The server is used for implementing the electronic whiteboard sharing method provided in the following embodiments.
Specifically, the server includes a Central Processing Unit (CPU)401, a system memory 404 including a Random Access Memory (RAM)402 and a Read Only Memory (ROM)403, and a system bus 405 connecting the system memory 404 and the central processing unit 401. The server also includes a basic input/output system (I/O system) 406, which facilitates the transfer of information between devices within the computer, and a mass storage device 407 for storing an operating system 413, application programs 414, and other program modules 415.
The basic input/output system 406 includes a display 408 for displaying information and an input device 409 such as a mouse, keyboard, etc. for user input of information. Wherein the display 408 and the input device 409 are connected to the central processing unit 401 through an input output controller 410 connected to the system bus 405. The basic input/output system 406 may also include an input/output controller 410 for receiving and processing input from a number of other devices, such as a keyboard, mouse, or electronic stylus. Similarly, input/output controller 410 may also provide output to a display screen, a printer, or other type of output device.
The mass storage device 407 is connected to the central processing unit 401 through a mass storage controller connected to the system bus 405. The mass storage device 407 and its associated computer-readable media provide non-volatile storage for the server. That is, the mass storage device 407 may include a computer-readable medium such as a hard disk or CD-ROM drive.
Without loss of generality, the computer-readable media may comprise computer storage media and communication media. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes RAM, ROM, EPROM, EEPROM, flash memory or other solid state memory technology, CD-ROM, DVD, or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices. Of course, those skilled in the art will appreciate that the computer storage media is not limited to the foregoing.
The system memory 404 and mass storage device 407 described above may be collectively referred to as memory. According to various embodiments of the present application, the server may also operate with remote computers connected to a network through a network, such as the Internet. That is, the servers may be connected to the network 412 through the network interface unit 411 attached to the system bus 405, or the network interface unit 411 may be used to connect to other types of networks or remote computer systems.
Based on the hardware structure, the embodiment of the electronic whiteboard sharing method is provided.
Referring to fig. 4, fig. 4 is a schematic flowchart of a first embodiment of an electronic whiteboard sharing method according to the present invention, applied to a terminal device, where the method includes the following steps:
step S11: and collecting a coordinate point of the sliding operation on the first electronic whiteboard.
It should be noted that the first electronic whiteboard may be the electronic whiteboard software installed on the terminal device of the present invention, or may be other software integrated with the electronic whiteboard function installed on the terminal device, and of course, may also be an electronic whiteboard of other forms.
It should be appreciated that when the first electronic whiteboard is in the active state, the user can slide (e.g., draw lines, write words, etc.) on the first electronic whiteboard, and the terminal can detect the sliding operation. The sliding operation may be a sliding operation triggered by a user through at least one of a finger, a stylus, a mouse, a keyboard, and the like.
When the terminal monitors the sliding operation, in order to share the sliding operation with the second electronic whiteboard, a coordinate point of the sliding operation is collected. Note that the second electronic whiteboard is an electronic whiteboard that needs to share the sliding operation on the first electronic whiteboard.
Step S12: and judging whether the number of the currently collected coordinate points reaches N.
In the process of collecting the coordinate points of the sliding operation of the first electronic whiteboard, the terminal device may determine whether the number of currently collected coordinate points reaches N, where N is an integer greater than 1, for example, N may be 10, 20, 30, and the like, and if N is 10, determine whether the format of the currently collected coordinate points reaches 10.
It should be understood that, before step S12, the electronic whiteboard sharing method further includes: and determining the value of N. Wherein, the step of determining the value of N may include: the method includes the steps that a prestored value of N is directly obtained from terminal equipment, wherein N can be determined by terminal developers according to actual experience and is prestored in the terminal equipment, and therefore the prestored value of N can be directly obtained, and whether the number of currently collected coordinate points reaches N or not is judged. For example, suppose that a terminal developer determines N to be 20 according to practical experience, stores 20 in the terminal device in advance, acquires the pre-stored 20 from the terminal, and determines whether the number of currently acquired coordinate points reaches 20.
Or, the step of determining the value of N may further include: and determining the value of N according to a preset condition. The preset condition may be at least one of the currently occupied operating memory and the total operating memory of the terminal device, the number of the second electronic whiteboards, the speed of the sliding operation, and the like.
It should be understood that the number of the second electronic whiteboards affects the data processing amount of the server and the occupation amount of the network resources, and the larger the number of the second electronic whiteboards is, the larger the data processing amount of the server and the occupation amount of the network resources are, so in order to reduce the data processing amount of the server and the occupation amount of the network resources, the value of N may be determined according to the number of the second electronic whiteboards, wherein the larger the number of the second electronic whiteboards is, the larger the value of N is. Therefore, when the number of the second electronic whiteboards is large, the value of N is relatively large, and the times of forwarding the coordinate points by the server are relatively small under the condition that the total number of the coordinate points in the sliding operation is the same, so that the data processing amount and the network resource occupation amount of the server are reduced, and the probability of server and network breakdown is reduced; when the number of the second electronic whiteboards is small, the data processing amount of the server is small, so that the value of N can be relatively small, and the sharing real-time performance is guaranteed. The corresponding relationship between the number of the second electronic whiteboards and the value of N may be set by a terminal developer according to actual experience and stored in the terminal device in advance. For example, as shown in table 1 below, which is an example of a corresponding relationship between the number of the second electronic whiteboards and the value of N, assuming that the number of the second electronic whiteboards is 7 currently, it can be known from table 1 that the value of N is 15. Here, the correspondence relationship between the number of second electronic whiteboards and the value of N is described as an example in the form of a table, but the correspondence relationship between the number of second electronic whiteboards and the value of N is not limited to the form of a table, and may be presented in the form of a formula (for example, the value of N is a coefficient x the number of second electronic whiteboards) or the like.
TABLE 1
Number of second electronic whiteboards Value of N
0-5 10
6-10 15
…… ……
The operation memory of the terminal device affects the processing speed of the terminal device and the probability of occurrence of crash, so that, in order to ensure the processing speed of the terminal device and reduce the probability of occurrence of crash, the value of N can be determined according to the currently occupied operation memory and the total operation memory of the terminal device, wherein the larger the ratio of the occupied operation memory to the total operation memory is, the higher the value of N is, for example, the value can be set as: when the ratio of the occupied operation memory to the total operation memory is 0-20%, the value of N is 5; when the ratio of the occupied operation memory to the total operation memory is 20-50%, the value of N is 12; and when the ratio of the occupied operating memory to the total operating memory is 50-100%, the value of N is 20. Therefore, when the ratio of the occupied operation memory to the total operation memory is larger, the value of N is relatively higher, and the times of forwarding the coordinate points by the terminal equipment are relatively less under the condition that the number of the total coordinate points of the sliding operation is the same, so that the data processing amount and the network resource occupation amount of the terminal equipment are reduced, and the probability of collapse of the terminal equipment and a network is reduced; when the ratio of the occupied operation memory to the total operation memory is smaller, the processing speed of the terminal equipment is higher, and the probability of collapse is smaller, so that the value of N can be relatively smaller, and the sharing real-time performance is improved while the processing speed of the terminal equipment is ensured. The corresponding relationship between the occupied running memory and the total running memory, and the value of N can be set by a terminal developer according to actual experience and stored in the terminal device in advance. It should be noted that the corresponding relationship between the occupied operating memory and the total operating memory, and the value of N may be presented in the form of a table, a formula, and the like.
The speed of the sliding operation influences the time for collecting the N coordinate points, if the speed of the sliding operation is low, the longer the time for collecting the N coordinate points is, the sharing real-time performance is reduced, and the value size of the N influences the data processing amount of the terminal device, the server and the network, so that the value of the N can be determined according to the speed of the sliding operation, the corresponding relation between the speed of the sliding operation and the value of the N can be set by a terminal developer according to actual experience and stored in the terminal device in advance, and the faster the speed of the sliding operation is, the larger the value of the N is; or, the slower the speed of the sliding operation is, the larger the value of N is; of course, the corresponding relationship between the speed of the sliding operation and the value of N may be other relationships.
It should be noted that the three manners of determining the value of N according to the number of the second electronic whiteboards, or the currently occupied running memory and the total running memory of the terminal device, or the speed of the sliding operation may also be combined. For example, the value of N may be determined based on two references, i.e., the number of electronic whiteboards and the speed of the sliding operation.
Step S13: and if so, forwarding the N coordinate points to the second electronic whiteboard through the server.
When the number of the currently acquired coordinate points reaches N, the N coordinate points are forwarded to the second electronic whiteboard through the server, that is, when the N coordinate points are acquired, the N coordinate points are sent to the server together, and after the server receives the N coordinate points, the server forwards the N coordinate points to the second electronic whiteboard so as to synchronize the second electronic whiteboard after receiving the N coordinate points according to the N coordinate points. The method has the advantages that N (N is an integer larger than 1) coordinate points are collected and sent once, and compared with the mode that the coordinate points are sent once every time one coordinate point is collected, the frequency of sending the coordinate points to a server by the terminal device is reduced, so that the data processing amount of the terminal device is reduced, the network resource occupation amount is reduced, the collapse probability is reduced, and meanwhile, the frequency of sending the coordinate points to the server by the terminal device is reduced, so the processing pressure of the server is also reduced; compared with a mode of sending the collected coordinate points once at intervals, the method takes the number of the coordinate points into consideration during sending, so that the backlog of the coordinate points is less even if the sliding speed is high, and the sharing real-time performance is ensured.
Optionally, after step S11, the electronic whiteboard sharing method further includes: storing the collected coordinate points into a container; thus, step S12 includes: and judging whether the number of the coordinate points in the container reaches N. Step S13 includes: and if so, forwarding the N coordinate points in the container to the second electronic whiteboard through the server. That is, in this embodiment, a container may be provided in advance for storing the collected coordinate points of the sliding operation. It should be noted that after the coordinate points in the container are forwarded to the second electronic whiteboard through the server, the coordinate points in the container may be cleared to store the coordinate points which are not forwarded to the second electronic whiteboard, that is, when a coordinate point is collected, the coordinate point is stored in the container, when the number of the coordinate points in the container reaches N, the N coordinate points in the container are forwarded to the second electronic whiteboard through the server, and the container is cleared, after a coordinate point is collected again, the coordinate point is stored in the container, and when the number of the coordinate points in the container reaches N again, the N coordinate points in the container are forwarded to the second electronic whiteboard through the server, and the container is cleared, and then, the process is repeated, so that the coordinate points which are stored in the container are always forwarded to the second electronic whiteboard through the server.
In this embodiment, the starting coordinate point of the sliding operation may be one of the N coordinate points, and is forwarded to the second electronic whiteboard through the server together with the other N-1 coordinate points. Alternatively, it may be forwarded to the second electronic whiteboard separately through the server, in which case, after step S11, the method further includes: when the collected coordinate point is the initial coordinate point of the sliding operation, the initial coordinate point is forwarded to the second electronic whiteboard through the server, and in the mode, the initial coordinate point is not used as one of the N coordinate points, so that the initial coordinate point is not required to be stored in the container.
In this embodiment, after step S11, referring to fig. 5, the electronic whiteboard sharing method further includes:
and step S21, when the ending coordinate point of the sliding operation is collected, judging whether a coordinate point to be forwarded to the second electronic whiteboard exists or not except the ending coordinate point.
In this embodiment, when the sliding operation is finished, the end coordinate point is collected. And judging whether the sliding operation is finished or not according to different modes of triggering the sliding operation. For example, assuming that the terminal device is a computer, the first electronic whiteboard is electronic whiteboard software installed on the computer, and the user presses and drags the mouse to trigger a sliding operation for the first electronic whiteboard, when the user releases the mouse (and the mouse pops up), it is determined that the sliding operation is finished; or, assuming that the terminal device is a tablet computer, the first electronic whiteboard is electronic whiteboard software installed on the tablet computer, and the user slides and triggers a sliding operation for the first electronic whiteboard through a display screen of the tablet computer, when the user's finger leaves, it is determined that the sliding operation is finished.
In this embodiment, when acquiring N coordinate points, the N coordinate points are forwarded to the second electronic whiteboard through the server, and when acquiring an end coordinate point, a certain number of coordinate points may exist. Therefore, when the end coordinate point is collected, it is first determined whether there is a coordinate point to be forwarded to the second electronic whiteboard, if so, go to step S22, and if not, go to step S23. In one example, since the collected coordinate points that are not forwarded to the second electronic whiteboard through the server are stored in the container, determining whether there are coordinate points to be forwarded to the second electronic whiteboard other than the end coordinate point includes: it is determined whether or not the coordinate point is stored in the container, and if the coordinate point is stored in the container, the process proceeds to step S22, and if the coordinate point is not stored in the container, the process proceeds to step S23.
And S22, forwarding the coordinate point to be forwarded to the second electronic whiteboard and the ending coordinate point to the second electronic whiteboard through the server.
And the coordinate point to be forwarded to the second electronic whiteboard exists besides the ending coordinate point, so that the coordinate point to be forwarded to the second electronic whiteboard and the ending coordinate point are forwarded to the second electronic whiteboard through the server. In one example, since the coordinate points to be forwarded to the second electronic whiteboard are stored in the container, the coordinate points in the container and the end coordinate points are forwarded to the second electronic whiteboard through the server.
The coordinate point to be forwarded to the second electronic whiteboard and the ending coordinate point can be sent to the server together and forwarded to the second electronic whiteboard through the server, or the coordinate point to be forwarded to the second electronic whiteboard can be forwarded to the second electronic whiteboard through the server, and the ending coordinate point is forwarded to the second electronic whiteboard through the server.
And S23, forwarding the ending coordinate point to the second electronic whiteboard through the server.
And the coordinate point which is not forwarded to the second electronic whiteboard does not exist except the ending coordinate point, so that the ending coordinate point is directly forwarded to the second electronic whiteboard through the server. For better understanding, this is illustrated here with an example: assuming that N is 10, when the number of the coordinate points in the container is 5, the end coordinate point is detected, and the coordinate points are stored in the container, so that the 5 coordinate points in the container and the end coordinate point are together forwarded to the second electronic whiteboard through the server, or the 5 coordinate points in the container are first forwarded to the second electronic whiteboard through the server, and then the end coordinate point is forwarded to the second electronic whiteboard through the server.
Referring to fig. 6, fig. 6 is a schematic flowchart of a second embodiment of the electronic whiteboard sharing method according to the present invention, applied to a server, where the method includes the following steps:
step S31: and receiving the N coordinate points sent by the terminal equipment when the number of the collected coordinate points reaches N.
The coordinate points received by the server are coordinate points corresponding to sliding operation on the first electronic whiteboard of the terminal equipment, and N is an integer greater than 1. That is to say, the terminal device collects coordinate points of the sliding operation on the first electronic whiteboard, and when the number of the collected coordinate points reaches N, the N coordinate points are sent to the black server together, and the server receives the N coordinate points.
Step S32: and sending the N coordinate points to a second electronic whiteboard.
Optionally, before step S31, the method further includes: receiving an initial coordinate point of sliding operation sent by a terminal device; and sending the starting coordinate point to the second electronic whiteboard. That is to say, the terminal device sends the start coordinate point to the server independently as soon as the start coordinate point is collected, and the server sends the start coordinate point to the second electronic whiteboard after receiving the start coordinate point, so that the second electronic whiteboard synchronizes according to the received coordinate point.
Optionally, the method further includes: receiving an end coordinate point of the sliding operation, which is sent by the terminal equipment; and sending the ending coordinate point to the second electronic whiteboard.
The above embodiments have explained the method of the terminal device side, and the present embodiment is a method of the server side, which has similar examples and is not described herein again.
Referring to fig. 7, fig. 7 is a schematic structural diagram of an electronic whiteboard sharing apparatus according to a first embodiment of the present invention, which is applied to a terminal device, and the apparatus includes:
the acquisition module 10 is used for acquiring coordinate points of sliding operation on the first electronic whiteboard;
the judging module 20 is configured to judge whether the number of currently acquired coordinate points reaches N, where N is an integer greater than 1;
and the sending module 30 is configured to forward the N coordinate points to the second electronic whiteboard through the server if yes.
Referring to fig. 8, fig. 8 is a schematic structural diagram of an electronic whiteboard sharing apparatus according to a first embodiment of the present invention, applied to a server, where the apparatus includes:
the receiving module 40 is configured to receive N coordinate points sent by the terminal device when the number of the collected coordinate points reaches N; the coordinate point is a coordinate point corresponding to a sliding operation on the first electronic whiteboard, and N is an integer greater than 1;
and the sending module 50 is configured to send the N coordinate points to the second electronic whiteboard.
The above description is only an alternative embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications and equivalents of the present invention, which are made by the contents of the present specification and the accompanying drawings, or directly/indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. An electronic whiteboard sharing method is applied to terminal equipment, and the method comprises the following steps:
collecting coordinate points of sliding operation on the first electronic whiteboard;
judging whether the number of the currently collected coordinate points reaches N, wherein N is an integer greater than 1;
and if so, forwarding the N coordinate points to a second electronic whiteboard through a server.
2. The electronic whiteboard sharing method of claim 1, wherein the step of acquiring the coordinate point of the sliding operation on the first electronic whiteboard is followed by further comprising:
storing the collected coordinate points in a container;
the step of judging whether the number of the currently collected coordinate points reaches N comprises the following steps:
judging whether the number of coordinate points in the container reaches N;
the step of forwarding the N coordinate points to a second electronic whiteboard through a server includes:
and forwarding the N coordinate points in the container to a second electronic whiteboard through a server.
3. The electronic whiteboard sharing method according to claim 1, wherein before the step of determining whether the number of the currently collected coordinate points reaches N, the method further comprises:
and determining the value of N according to a preset condition.
4. The electronic whiteboard sharing method according to claim 3, wherein the preset condition is:
the current occupied operation memory and total operation memory of the terminal equipment, the number of the second electronic whiteboards or the sliding operation speed.
5. The electronic whiteboard sharing method of claim 1, wherein the step of acquiring the coordinate point of the sliding operation on the first electronic whiteboard is followed by further comprising:
and when the collected coordinate point is the initial coordinate point of the sliding operation, forwarding the initial coordinate point to the second electronic whiteboard through the server.
6. The electronic whiteboard sharing method according to any one of claims 1 to 5, wherein the step of acquiring the coordinate point of the sliding operation on the first electronic whiteboard is followed by further comprising:
when the end coordinate point of the sliding operation is collected, judging whether a coordinate point to be forwarded to the second electronic whiteboard exists except the end coordinate point;
if so, forwarding the coordinate point to be forwarded to the second electronic whiteboard and the ending coordinate point to the second electronic whiteboard through the server;
and if not, forwarding the ending coordinate point to the second electronic whiteboard through the server.
7. An electronic whiteboard sharing method is applied to a server, and comprises the following steps:
receiving the N coordinate points sent by the terminal equipment when the number of the collected coordinate points reaches N; the coordinate point is a coordinate point corresponding to a sliding operation on the first electronic whiteboard, and N is an integer greater than 1;
and sending the N coordinate points to a second electronic whiteboard.
8. An electronic whiteboard sharing system, comprising:
the terminal equipment is used for acquiring coordinate points of sliding operation on the first electronic whiteboard; judging whether the number of the currently collected coordinate points reaches N, wherein N is an integer greater than 1; if yes, forwarding the N coordinate points to a second electronic whiteboard through a server;
the server is used for receiving the N coordinate points sent by the terminal equipment when the number of the collected coordinate points reaches N; and sending the N coordinate points to a second electronic whiteboard.
9. A terminal device, characterized in that the terminal device comprises: memory, a processor and an electronic whiteboard sharing program stored on the memory and running on the processor, which when executed by the processor performs the steps of the electronic whiteboard sharing method according to any of claims 1 to 6.
10. A storage medium having stored thereon an electronic whiteboard sharing program, which when executed by a processor implements the steps of the electronic whiteboard sharing method according to any one of claims 1 to 7.
CN202010892547.2A 2020-08-28 2020-08-28 Electronic whiteboard sharing method, system, terminal equipment and storage medium Pending CN112035036A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010892547.2A CN112035036A (en) 2020-08-28 2020-08-28 Electronic whiteboard sharing method, system, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010892547.2A CN112035036A (en) 2020-08-28 2020-08-28 Electronic whiteboard sharing method, system, terminal equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112035036A true CN112035036A (en) 2020-12-04

Family

ID=73587534

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010892547.2A Pending CN112035036A (en) 2020-08-28 2020-08-28 Electronic whiteboard sharing method, system, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112035036A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112822157A (en) * 2020-12-25 2021-05-18 广州朗国电子科技有限公司 Data sharing method and device between electronic whiteboards and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102253785A (en) * 2011-07-06 2011-11-23 华为终端有限公司 Method and device for detecting resistive touch screen
CN103092790A (en) * 2011-10-28 2013-05-08 宏碁股份有限公司 Data synchronization method and data synchronization system
CN103823605A (en) * 2014-03-03 2014-05-28 华强云投资控股有限公司 Processing method of handwriting data between electromagnetic screens and electromagnetic screen system
CN104133630A (en) * 2014-07-23 2014-11-05 天脉聚源(北京)教育科技有限公司 Stroke synchronization method and device
US20190107892A1 (en) * 2008-12-19 2019-04-11 Immersion Corporation User interface device responsive to data tag associated with physical location
CN110502155A (en) * 2019-07-16 2019-11-26 视联动力信息技术股份有限公司 A kind of methods of exhibiting and device of shared data

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190107892A1 (en) * 2008-12-19 2019-04-11 Immersion Corporation User interface device responsive to data tag associated with physical location
CN102253785A (en) * 2011-07-06 2011-11-23 华为终端有限公司 Method and device for detecting resistive touch screen
CN103092790A (en) * 2011-10-28 2013-05-08 宏碁股份有限公司 Data synchronization method and data synchronization system
CN103823605A (en) * 2014-03-03 2014-05-28 华强云投资控股有限公司 Processing method of handwriting data between electromagnetic screens and electromagnetic screen system
CN104133630A (en) * 2014-07-23 2014-11-05 天脉聚源(北京)教育科技有限公司 Stroke synchronization method and device
CN110502155A (en) * 2019-07-16 2019-11-26 视联动力信息技术股份有限公司 A kind of methods of exhibiting and device of shared data

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112822157A (en) * 2020-12-25 2021-05-18 广州朗国电子科技有限公司 Data sharing method and device between electronic whiteboards and storage medium

Similar Documents

Publication Publication Date Title
US11442747B2 (en) Method for establishing applications-to-be preloaded prediction model based on preorder usage sequence of foreground application, storage medium, and terminal
CN107391259B (en) Resource processing method and device, computer readable storage medium and mobile terminal
EP3531290A1 (en) Data backup method, apparatus, electronic device, storage medium, and system
US11829581B2 (en) Display control method and terminal
EP2879061A2 (en) Method and device for enlarging displayed font
CN109213596B (en) Method and equipment for allocating terminal memory
US9921735B2 (en) Apparatuses and methods for inputting a uniform resource locator
CN114153570A (en) Application switching method and device
CN111949239B (en) Screen sharing method and device, storage medium and terminal
CN112883036A (en) Index creation method, device, storage server and storage medium
CN108536349B (en) Icon management method and mobile terminal
CN114048168A (en) Electronic archive filing method, device, equipment, system and storage medium
CN105095259B (en) Waterfall flow object display method and device
US10101894B2 (en) Information input user interface
CN111949187B (en) Electronic whiteboard content editing and sharing method, system, equipment and server
CN112035036A (en) Electronic whiteboard sharing method, system, terminal equipment and storage medium
CN108011860B (en) Method, device and terminal for processing broadcast message
US20230214028A1 (en) Image processing method and apparatus for smart pen, and electronic device
CN113127780A (en) Page loading method and device and electronic equipment
CN112612526A (en) Application program control method and device, terminal device and storage medium
CN114222370A (en) Networking communication time slot allocation method, device and system
US11853483B2 (en) Image processing method and apparatus for smart pen including pressure switches, and electronic device
CN110471622B (en) SD card data writing method and device, storage medium and terminal
CN112486354A (en) Touch method of electronic equipment, information transmission method and device of touch component
CN112199050A (en) Storage method, device, storage medium and terminal equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20201204