CN108932346B - Electronic whiteboard content sharing method and device and electronic whiteboard - Google Patents

Electronic whiteboard content sharing method and device and electronic whiteboard Download PDF

Info

Publication number
CN108932346B
CN108932346B CN201810854304.2A CN201810854304A CN108932346B CN 108932346 B CN108932346 B CN 108932346B CN 201810854304 A CN201810854304 A CN 201810854304A CN 108932346 B CN108932346 B CN 108932346B
Authority
CN
China
Prior art keywords
electronic whiteboard
sharing
access request
identifier
sharing terminal
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
CN201810854304.2A
Other languages
Chinese (zh)
Other versions
CN108932346A (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.)
Jiangsu TSD Electronics Technology Co Ltd
Original Assignee
Jiangsu TSD Electronics 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 Jiangsu TSD Electronics Technology Co Ltd filed Critical Jiangsu TSD Electronics Technology Co Ltd
Priority to CN201810854304.2A priority Critical patent/CN108932346B/en
Publication of CN108932346A publication Critical patent/CN108932346A/en
Application granted granted Critical
Publication of CN108932346B publication Critical patent/CN108932346B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisions for transferring data to distant stations, e.g. from a sensing device
    • G06K17/0029Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisions for transferring data to distant stations, e.g. from a sensing device the arrangement being specially adapted for wireless interrogation of grouped or bundled articles tagged with wireless record carriers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a method and a device for sharing contents of an electronic whiteboard and the electronic whiteboard, wherein the method comprises the following steps: receiving an access request sent by a sharing terminal; and sending a display page to the sharing terminal based on the access request. According to the method, the electronic whiteboard is used for directly realizing the sharing of the display content of the electronic whiteboard, namely, after the electronic whiteboard obtains the access request of the sharing terminal, the display page is directly sent to the sharing terminal without passing through a server, the transmission path of the display page is reduced, and the real-time performance of the content sharing of the electronic whiteboard can be improved.

Description

Electronic whiteboard content sharing method and device and electronic whiteboard
Technical Field
The invention relates to the technical field of information transmission, in particular to an electronic whiteboard content sharing method and device and an electronic whiteboard.
Background
With the development of mobile internet and the popularization of intelligent terminals, people increasingly store documents, pictures and other data on the terminals so as to realize mobile office work. Among them, the electronic whiteboard has the most widespread application. The electronic whiteboard is a high and new technology product which integrates the research and development of various high-tech means such as electronic technology, software technology and the like, and the electronic whiteboard can record and store the writing traces of a user on the electronic whiteboard in real time by applying the electromagnetic induction principle and combining a computer and a projector, and can realize paperless office work and teaching.
In a meeting or teaching, the contents of an electronic whiteboard generally need to be shared with terminals connected to the electronic whiteboard. The sharing method commonly adopted in the prior art is as follows: uploading the display content to a specific directory of a server by adopting electronic whiteboard software, generating a website character string by the electronic whiteboard software according to the IP address and the directory of the server, displaying the website character string in a two-dimensional code mode, scanning the two-dimensional code by a terminal, opening the webpage through a browser, and requesting the webpage content from the server; the server transmits the webpage to the browser of the terminal, and the browser analyzes and displays the webpage, so that the aim of displaying the whiteboard content is fulfilled.
However, in the above technical solution, the content of the electronic whiteboard needs to be uploaded to the server in real time, and the sharing of the content of the electronic whiteboard is realized through the server, and the sharing method may cause a certain delay between the content received by the terminal and the content displayed by the electronic whiteboard.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for sharing content of an electronic whiteboard, and an electronic whiteboard, so as to solve the problem of content sharing delay of the electronic whiteboard.
Therefore, the embodiment of the invention provides the following technical scheme:
the first aspect of the present invention provides a method for sharing contents of an electronic whiteboard, including:
receiving an access request sent by a sharing terminal;
and sending a display page to the sharing terminal based on the access request.
According to the method for sharing the contents of the electronic whiteboard, the contents displayed by the electronic whiteboard are directly shared through the electronic whiteboard, that is, after the electronic whiteboard obtains the access request of the sharing terminal, the displayed page is directly sent to the sharing terminal without passing through a server, so that the transmission path of the displayed page is reduced, and the real-time performance of the contents sharing of the electronic whiteboard can be improved.
With reference to the first aspect, in a first implementation manner of the first aspect, the sending a presentation page to the shared terminal based on the access request includes:
creating a webpage main body based on the access request; the webpage body comprises a plurality of first identifications used for uniquely marking the display page;
sending the webpage main body to the sharing terminal;
receiving a second access request sent by the sharing terminal; wherein, the second access request carries the first identifier;
generating the shared picture based on the display page and the first identifier carried in the second access request;
and sending the generated sharing picture to the sharing terminal.
According to the method for sharing the contents of the electronic whiteboard, provided by the embodiment of the invention, the webpage main body comprises the first identifier which uniquely marks the page displayed by the electronic whiteboard, so that a user can select the corresponding first identifier to share the page according to the requirement, namely, the first identifiers corresponding to all the displayed pages in the electronic whiteboard are marked in the webpage main body, and the user can share one or some of the displayed pages according to the requirement, so that the method has higher operation flexibility.
With reference to the first implementation manner of the first aspect, in a second implementation manner of the first aspect, the webpage main body further includes a second identifier that uniquely identifies a conference session of the electronic whiteboard.
According to the method for sharing the content of the electronic whiteboard, provided by the embodiment of the invention, the webpage main body further comprises a second identifier for distinguishing different conference sessions, and the second identifier is used for preventing the sharing terminal of the previous session from acquiring the display page of the electronic whiteboard of the current session, so that the security of sharing the content of the electronic whiteboard is improved.
With reference to the first implementation manner of the first aspect, in a third implementation manner of the first aspect, the creating a webpage body includes:
acquiring the number of all the display pages;
marking the display page by using the first identifier;
and creating a webpage body based on the number of the display pages and the first identification.
According to the sharing method of the electronic whiteboard, provided by the embodiment of the invention, the webpage main body is created by using the number of the currently displayed pages of the electronic whiteboard, so that the webpage main body can contain all the currently displayed pages of the electronic whiteboard.
With reference to the third implementation manner of the first aspect, in a fourth implementation manner of the first aspect, creating a webpage body based on the number of the display pages and the first identifier includes:
dividing the webpage main body into a plurality of sub-regions according to a preset arrangement rule; the number of the sub-areas is the same as that of the display pages;
and marking the sub-regions by using the first marks, wherein each sub-region corresponds to one first mark.
According to the sharing method of the electronic whiteboard, provided by the embodiment of the invention, the arrangement of the sub-areas in the webpage main body is carried out according to the preset arrangement rule so as to meet the requirements of different sharing terminals.
With reference to the first implementation manner of the first aspect, in a fifth implementation manner of the first aspect, the generating the shared picture based on the page displayed by the electronic whiteboard and the first identifier carried in the second access request includes:
extracting a first identifier carried in the second access request;
and converting the display page corresponding to the extracted first identifier into a picture, wherein the picture is the shared picture.
According to the sharing method of the electronic whiteboard provided by the embodiment of the invention, the electronic whiteboard converts the corresponding display page into the picture according to the first identifier sent by the sharing terminal and sends the picture to the sharing terminal, namely, the electronic whiteboard sends the display page according to the request of the sharing terminal instead of actively sending, and page display can be realized at the sharing terminal according to the customer requirements.
With reference to the fifth implementation manner of the first aspect, in a sixth implementation manner of the first aspect, the converting the presentation page corresponding to the extracted first identifier into a picture includes:
judging whether the display page corresponding to the extracted first identifier exists or not;
and when the display page corresponding to the extracted first identifier does not exist, generating an error code and sending the error code to the sharing terminal.
According to the display method of the electronic whiteboard provided by the embodiment of the invention, the electronic whiteboard judges the first identifier before generating the picture, and when the first identifier does not exist, the page corresponding to the first identifier sent by the sharing terminal is closed at the electronic whiteboard side, and sharing cannot be performed, so that the sharing terminal is reminded of needing to be refreshed.
With reference to the first aspect or any one implementation manner of the first aspect, in a seventh implementation manner of the first aspect, the method further includes:
receiving a refreshing request sent by a sharing terminal;
and creating the webpage main body again to realize the sharing of the display page.
The second aspect of the present invention also provides a device for sharing an electronic whiteboard, including:
the receiving module is used for receiving an access request sent by the sharing terminal;
and the sending module is used for sending a display page to the sharing terminal based on the access request.
According to the sharing device of the electronic whiteboard contents, the sharing of the electronic whiteboard display contents is directly realized through the electronic whiteboard, namely, after the electronic whiteboard obtains the access request of the sharing terminal, the display page is directly sent to the sharing terminal without passing through a server, the transmission path of the display page is reduced, and the real-time performance of the electronic whiteboard content sharing is improved.
The third aspect of the present invention also provides an electronic whiteboard, including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to cause the at least one processor to execute the method for sharing contents of an electronic whiteboard according to the first aspect or any embodiment of the first aspect.
The fourth aspect of the present invention also provides a computer-readable storage medium, on which computer instructions are stored, where the instructions are executed by a processor to implement the method for sharing electronic whiteboard content described in the first aspect or any implementation manner of the first aspect.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart of a method of sharing electronic whiteboard content according to an embodiment of the present invention;
fig. 2 is a flowchart of a method of sharing electronic whiteboard content according to an embodiment of the present invention;
FIG. 3 is a flow diagram of a method of creating a web page body according to an embodiment of the invention;
fig. 4 is a flowchart of a method of sharing electronic whiteboard content according to an embodiment of the present invention;
FIG. 5 is a flow chart of a multi-screen interaction method according to an embodiment of the invention;
FIG. 6 is a flow chart of a method for displaying interactive data according to an embodiment of the present invention;
fig. 7 is a block diagram of a configuration of an apparatus for sharing contents of an electronic whiteboard according to an embodiment of the present invention;
fig. 8 is a block diagram of a configuration of an apparatus for sharing contents of an electronic whiteboard according to an embodiment of the present invention;
fig. 9 is a schematic diagram of a hardware structure of the electronic whiteboard according to the embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
According to an embodiment of the present invention, there is provided an embodiment of a method for sharing contents of an electronic whiteboard, it should be noted that the steps illustrated in the flowchart of the drawings may be executed in a computer system such as a set of computer-executable instructions, and although a logical order is illustrated in the flowchart, in some cases, the steps illustrated or described may be executed in an order different from that herein.
In this embodiment, a method for sharing content of an electronic whiteboard is provided, which can be used in an electronic whiteboard, and as shown in fig. 1, the method includes the following steps:
s11, receives the access request sent by the shared terminal.
Before the electronic whiteboard is used for sharing a conference, the electronic whiteboard directly generates a website character string according to the IP address of the electronic whiteboard, and the generated website character string can also be displayed by using the two-dimensional code. The shared terminal can input the website character string in a browser; the two-dimensional code can also be scanned through third-party software (such as WeChat, Paibao and the like) to analyze the two-dimensional code, so as to convert the content in the two-dimensional code picture into a character string; after conversion to a character string (web address), the browser is opened and an access request is sent to the electronic whiteboard.
It should be noted that the two-dimensional code generated by the electronic whiteboard may also be analyzed in other manners, and it is only necessary to ensure that the two-dimensional code can convert the content in the two-dimensional code picture into a character string.
And S12, sending the display page to the sharing terminal based on the access request.
After receiving the access request sent by the sharing terminal, the electronic whiteboard sends the displayed page to the sharing terminal sending the access request.
According to the method for sharing the contents of the electronic whiteboard, the contents displayed by the electronic whiteboard are directly shared through the electronic whiteboard, that is, after the electronic whiteboard obtains the access request of the sharing terminal, the displayed page is directly sent to the sharing terminal without passing through a server, so that the transmission path of the displayed page is reduced, and the real-time performance of the contents sharing of the electronic whiteboard can be improved.
An embodiment of the present invention further provides a method for sharing display contents of an electronic whiteboard, as shown in fig. 2, the method includes:
s21, receives the access request sent by the shared terminal. Please refer to the related description of the embodiment shown in fig. 1 for details, which are not repeated herein.
And S22, sending the display page to the sharing terminal based on the access request.
The electronic whiteboard sends the display page to the sharing terminal, a webpage main body needs to be created first, and the display page sharing is performed on the basis of the webpage main body, and the method specifically comprises the following steps:
s221, creating a web page body based on the access request.
The webpage body comprises a plurality of first identifications used for uniquely marking the display page. The first mark can be understood as the name of the electronic whiteboard display page, and the names corresponding to different display pages are different.
After the electronic whiteboard receives an access request sent by a sharing terminal, a webpage body (html body) is created, the webpage body is created in real time according to a currently displayed page of the electronic whiteboard, the webpage body comprises first identifications of all displayed pages, and the first identifications are used for distinguishing different displayed pages.
S222, the webpage body is sent to the sharing terminal.
After the electronic whiteboard creates the webpage main body in real time according to the access request of the sharing terminal, the webpage main body is sent to the sharing terminal sending the access request. The webpage body comprises first marks of all display pages of the electronic whiteboard when the webpage body is created.
That is, the electronic whiteboard transmits the web page body to the shared terminal having the access request instead of all the shared terminals, and if a plurality of shared terminals transmit the access request to the electronic whiteboard, the electronic whiteboard transmits the web page body to the corresponding shared terminal.
S223, receiving the second access request sent by the sharing terminal.
The second access request carries the first identifier. After receiving the webpage main body sent by the electronic whiteboard, the sharing terminal sends a second access request to the electronic whiteboard based on the first identification displayed in the webpage main body, wherein the second access request carries the first identification corresponding to the displayed page of the electronic whiteboard needing to be shared currently.
And S224, generating a shared picture based on the display page and the first identifier carried in the second access request.
The electronic whiteboard inquires a display page corresponding to the first identifier in the display page based on the first identifier carried in the second access request sent by the sharing terminal, and generates a sharing picture on the display page.
The method can be realized by the following steps:
(1) and extracting the first identifier carried in the second access request.
(2) And converting the display page corresponding to the extracted first identifier into a picture, wherein the picture is a shared picture.
For example, the following code is used to generate a shared picture:
< img src ═ page0.jpg "/>, where" page0 "is the first identifier sent by the sharing terminal, i.e. the name of the presentation page,". jpg "is the format of the generated shared picture.
It should be noted that, when a plurality of sharing terminals need to share a display page, the electronic whiteboard may generate a corresponding sharing picture based on the first identifier in the second access request sent by different sharing terminals.
And S225, sending the generated sharing picture to a sharing terminal.
And the electronic whiteboard sends the generated shared picture to the corresponding shared terminal so as to realize the display of the shared picture on the webpage main body displayed by the shared terminal.
Compared with the embodiment shown in fig. 1, in the method for sharing contents of an electronic whiteboard provided in this embodiment, the webpage main body includes the first identifier uniquely marking the page displayed on the electronic whiteboard, so that the user can select the corresponding first identifier to share the page according to the requirement, that is, the first identifiers corresponding to all displayed pages in the electronic whiteboard are marked in the webpage main body, and the user can share one or some of the displayed pages according to the requirement, which has higher operation flexibility.
In addition, the electronic whiteboard converts the corresponding display page into a picture according to the first identifier sent by the sharing terminal and sends the picture to the sharing terminal, namely, the electronic whiteboard sends the display page according to the request of the sharing terminal instead of actively sending, and page display can be carried out on the sharing terminal according to the customer requirements.
In some optional implementations of this embodiment, the electronic whiteboard further creates a webpage body in real time according to the number of currently displayed pages. Specifically, as shown in fig. 3, S221 includes:
and S2211, acquiring the number of all the display pages.
The electronic whiteboard acquires the number of all current display pages in real time, for example, the opened pages can be counted, and each time a new page is opened, the counting value is increased by 1; and closing a new page, and subtracting 1 from the counting value, thereby realizing the statistics of the number of the currently displayed pages. Optionally, the number of the currently displayed pages of the electronic whiteboard can also be obtained in other manners, and only the number of the displayed pages is required to be obtained.
And S2212, marking the display page by using the first identifier.
The electronic whiteboard forms a unique first identifier corresponding to each display page to mark the display page, for example, names of pictures can be generated according to the opening sequence of the display pages, namely, page0, page1, page2, … and the like; in addition, the different display pages can be distinguished in other modes.
And S2213, creating a webpage main body based on the number of the display pages and the first identification.
The number of the current displayed pages of the electronic whiteboard is used for enabling the sharing terminal to know the condition of the displayed pages of the electronic whiteboard; the first identification is used for distinguishing different display pages. Therefore, the electronic whiteboard combines the number of the display pages and the first identifier when creating the webpage main body.
Specifically, the following steps can be adopted to create the webpage main body:
(1) dividing a webpage main body into a plurality of sub-regions according to a preset arrangement rule; the number of the sub-areas is the same as that of the display pages;
(2) the sub-regions are marked with first markers, each sub-region corresponding to one first marker.
The electronic whiteboard can divide the webpage main body into a plurality of sub-regions according to a preset arrangement rule when the webpage main body is created, and the number of the sub-regions is the same as the number of the pages currently displayed on the electronic whiteboard.
Specifically, the arrangement of the web page content displayed at the sharing terminal can be controlled by the html web page, that is, the html content (i.e., the web page main body) first sent by the whiteboard software can be changed, so as to achieve the purpose of changing the web page display effect; the arrangement of each sub-region can be from top to bottom, or from left to right, or in a grid shape; the electronic whiteboard software can make the webpage main body into several mode selections and also can make the webpage main body into a configuration file; the shared terminal can only analyze and display the html webpage, but cannot modify the webpage main body.
In addition, the electronic whiteboard pair adopts the first identifier to identify each sub-area, namely each sub-area corresponds to a unique first identifier, and the sub-area is used for displaying a corresponding display page. And the subsequent sharing terminal sends a second access request to the electronic whiteboard by using the received first identification in each sub-area of the webpage main body, and the second access request is used for displaying a corresponding display page in the electronic whiteboard.
In other optional implementations of this embodiment, after the step of extracting the first identifier carried in the second access request, step S224 further includes:
(1) and judging whether a display page corresponding to the extracted first identifier exists or not.
(2) And when the display page corresponding to the extracted first identifier does not exist, generating an error code and sending the error code to the sharing terminal.
And the electronic whiteboard judges whether the electronic whiteboard currently has a display page corresponding to the extracted first identifier by comparing the first identifier extracted from the second access request with the first identifier corresponding to the display page. If the display page corresponding to the extracted first identifier does not exist, generating an error code and sending the error code to the sharing terminal, which indicates that the electronic whiteboard has closed the display page corresponding to the extracted first identifier, and the current sharing terminal cannot share the display page. And after the error codes are received by the browser of the sharing terminal, the browser can be processed into crossed pictures to be displayed to the user.
The electronic whiteboard judges the first identification before generating the picture, and when the first identification does not exist, the electronic whiteboard indicates that the page corresponding to the first identification sent by the sharing terminal is closed at the electronic whiteboard side and cannot be shared, so that the sharing terminal is reminded of needing to refresh.
An embodiment of the present invention further provides a method for sharing content of an electronic whiteboard, as shown in fig. 4, the method includes:
s31, receives the access request sent by the shared terminal.
The difference between this step and the embodiment shown in fig. 2 is that when the electronic whiteboard generates a website character string according to the IP address of the local computer, it needs to combine the second identifiers corresponding to different fields; that is, the website character string is generated by combining the IP address of the electronic whiteboard and the website character string, so as to ensure different conference sessions, and prevent the sharing terminal of the previous session from sharing the conference content of the session corresponding to the different website character strings. The second identifier may be the starting time of the whiteboard software, or may be another identifier, as long as it is ensured that the second identifier can distinguish different conference sessions.
Please refer to the description of the embodiment S11 shown in fig. 1, which is not repeated herein.
And S32, sending the display page to the sharing terminal based on the access request.
The difference between this step and the embodiment shown in fig. 2 is that the main body of the web page further includes a second identifier uniquely identifying the conference session of the electronic whiteboard.
For example, the second identifier may be the start time of the electronic whiteboard software, the start time of the electronic whiteboard is different for different sessions, and therefore the start time of the electronic whiteboard may be used as the second identifier to distinguish the sessions of different sessions.
The webpage main body received by the sharing terminal of the previous session comprises a first identifier and a second identifier corresponding to the previous session, and the second identifier corresponding to the previous session is different from the second identifier corresponding to the current session, so that the sharing terminal of the previous session cannot share the display page of the electronic whiteboard of the current session.
Please refer to the description of the embodiment S22 shown in fig. 2, which is not repeated herein.
S33, receives the refresh request sent by the shared terminal.
The sharing terminal sends a refreshing request to the electronic whiteboard according to the requirement, namely the electronic whiteboard does not actively refresh the content sent to the sharing terminal, but needs to refresh according to the request.
And S34, sending the display page to the sharing terminal based on the refreshing request. Please refer to the description of the embodiment S22 shown in fig. 2, which is not repeated herein.
Compared with the embodiment shown in fig. 2, in the method for sharing electronic whiteboard content provided in this embodiment, the web page main body further includes a second identifier for distinguishing different conference sessions, and the second identifier is used to prevent the sharing terminal of the previous session from acquiring the display page of the electronic whiteboard of the current session, so that the security of electronic whiteboard content sharing is improved.
The embodiment of the invention also provides a sharing method of the content of the electronic whiteboard, wherein the step of sending the display page to the sharing terminal based on the access request further comprises the step of multi-screen interaction between the electronic whiteboard and the sharing terminal. As shown in fig. 5, the multi-screen interaction method includes:
s41, a bidirectional communication connection is established with each shared terminal.
And bidirectional communication connection is established between the electronic whiteboard and each sharing terminal, and interactive data sharing can be realized through the bidirectional communication connection. The method specifically comprises the following steps:
s411, the access request is analyzed, and the web page is sent to the sharing terminal.
The webpage comprises a first connection address, so that bidirectional communication connection with the sharing terminal is established through the first connection address.
After receiving an access request sent by a sharing terminal, the electronic whiteboard feeds back a message to the sharing terminal, that is, sends a webpage to the sharing terminal, wherein the webpage includes a first connection address to inform the sharing terminal of establishing a bidirectional communication connection through the first connection address.
S412, receives the second access request sent by the sharing terminal.
And the second access request carries a second connection address and a protocol upgrading message. The second connection address is a connection address for a bidirectional communication connection received by the shared terminal. That is, the second connection address is a connection address in the web page received by the sharing terminal. The connection addresses may differ due to network traffic, or other reasons.
In addition, the second access request carries a protocol upgrade message. Specifically, the browser of the sharing terminal initiates an http request to the electronic whiteboard, where the http request is different from a normal http request, and carries a protocol upgrade message, such as: websocket' indicates that this is an HTTP request for a protocol Upgrade.
S413, matching the first connection address and the second connection address to establish a bidirectional communication connection.
The electronic whiteboard can firstly match whether the first connection address is the same as the second connection address, and only under the condition that the two connection addresses are the same, the two-way communication connection can be successfully established, so that the safety of data transmission is ensured.
And S42, acquiring the interactive data.
The interactive data may be audio and video data, and if the sharing terminal supports a touch function, the interactive data may also be touch data, for example, an image formed by touch on the sharing terminal; the interactive data can be sent to the electronic whiteboard through two-way communication connection, namely the electronic whiteboard can acquire the interactive data sent by the sharing terminal.
In addition, the interactive data may be generated by the electronic whiteboard, or may be sent to the electronic whiteboard by each sharing terminal.
And S43, displaying the interactive data.
After receiving the interactive data, the electronic whiteboard displays the interactive data on the current page.
And S44, sending the interactive data to the sharing terminal.
After the electronic whiteboard acquires the interactive data sent by the sharing terminal, the electronic whiteboard sends the acquired interactive data to other sharing terminals. For example, the sharing terminals connected to the electronic whiteboard are A, B and C, respectively, wherein the sharing terminal a sends the interactive data to the electronic whiteboard, and then the electronic whiteboard processes the interactive data and sends the processed interactive data to the sharing terminals A, B and C.
In addition, the electronic whiteboard can also display or play the interactive data on the current page. For example, the electronic whiteboard may also display or play the interactive data sent by the sharing terminal a on the current page.
In some optional implementations of this embodiment, after the electronic whiteboard acquires the interactive data, the acquired interactive data is displayed on a page. When the interactive data is touch data, as shown in fig. 6, S43 includes:
s431, analyzes the touch data.
Because the interactive data sent by the shared terminal is sent after the collected touch data is coded, the sent data amount is reduced, and the data sending efficiency is improved, therefore, after the electronic whiteboard receives the coded touch data, the electronic whiteboard needs to perform decoding operation, and the touch data can be obtained.
And S432, calculating parameters of the touch action according to the analyzed touch data.
After the electronic whiteboard obtains the touch data, the parameters of the touch action may be calculated by using the adjacent touch data, or may be calculated by using a plurality of touch data. Wherein, the touch action can be moving, rotating or deleting. The parameter of the corresponding touch action may be a distance rotation angle or the like.
For example, the parameters of the touch action may be calculated as follows:
(1) coordinates of touch points in two consecutive touch data are extracted.
(2) And calculating the distance and the rotation angle of the two touch points by using the coordinates of the touch points.
The electronic whiteboard calculates the distance and the rotation angle of two adjacent touch points by using the coordinates of the touch points in the two continuous touch data, so as to determine the relationship between any two adjacent touch points on the shared terminal in the electronic whiteboard.
And S433, processing the touch data based on the parameters of the touch action to form an interactive image.
The electronic whiteboard calculates parameters of touch actions corresponding to any two adjacent touch points on the shared terminal, and the interactive images can be obtained after the touch data are processed. For example, the following can be adopted:
(1) and fitting the track of the touch action by using the calculated distance and the rotation angle of the touch point.
(2) And generating an interactive image based on the fitted track of the touch action.
The electronic whiteboard fits the track of the touch action through the distance between the two touch points and the rotation angle, and the fitted track can form an interactive image.
And S434, displaying the interactive image.
The electronic whiteboard displays the formed interactive image, new interactive data can be formed on the interactive image through touch action, the electronic whiteboard sends the new interactive data to the sharing terminal through bidirectional communication connection, multi-user interaction of the touch data can be achieved, and the method is similar to the method that a plurality of users draw pictures on a canvas.
In the embodiment, the electronic whiteboard calculates the parameters of the touch action to form the interactive image, namely, the interactive data is shared through the sharing of the interactive image, so that the real-time performance of the interaction is improved; in addition, the track of the touch action is fitted through the distance between the adjacent touch points and the rotating angle, and the method has high fitting precision and ensures the authenticity of the interactive data.
In this embodiment, a device for sharing contents of an electronic whiteboard is further provided, and the device is used to implement the foregoing embodiments and preferred embodiments, and details of which have been already described are omitted. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
The present embodiment provides an apparatus for sharing contents of an electronic whiteboard, as shown in fig. 7, including:
a receiving module 51, configured to receive an access request sent by a sharing terminal.
And a sending module 52, configured to send the display page to the sharing terminal based on the access request.
According to the sharing device of the electronic whiteboard contents, the sharing of the electronic whiteboard display contents is directly realized through the electronic whiteboard, namely, after the electronic whiteboard obtains the access request of the sharing terminal, the display page is directly sent to the sharing terminal without passing through a server, the transmission path of the display page is reduced, and the real-time performance of the electronic whiteboard content sharing is improved.
The sharing means of the contents of the electronic whiteboard in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC circuit, a processor and a memory executing one or more software or fixed programs, and/or other devices that can provide the above-mentioned functions.
Further functional descriptions of the modules are the same as those of the corresponding embodiments, and are not repeated herein.
An embodiment of the present invention further provides a device for sharing content of an electronic whiteboard, as shown in fig. 8, where the sending module 52 includes:
a creating unit 521 configured to create a webpage body based on the access request; the webpage body comprises a plurality of first identifications used for uniquely marking the display page.
A first sending unit 522, configured to send the webpage body to the sharing terminal.
A receiving unit 523, configured to receive a second access request sent by the shared terminal; the second access request carries the first identifier.
The generating unit 524 is configured to generate a shared picture based on the display page and the first identifier carried in the second access request.
And a second transmitting unit 525 configured to transmit the generated sharing picture to the sharing terminal.
An embodiment of the present invention further provides an electronic whiteboard, which has the device for sharing content of the electronic whiteboard shown in fig. 7 or fig. 8.
Referring to fig. 9, fig. 9 is a schematic structural diagram of an electronic whiteboard according to an alternative embodiment of the present invention, as shown in fig. 9, the electronic whiteboard may include: at least one processor 71, such as a CPU (Central Processing Unit), at least one communication interface 73, memory 74, at least one communication bus 72. Wherein a communication bus 72 is used to enable the connection communication between these components. The communication interface 73 may include a Display (Display) and a Keyboard (Keyboard), and the optional communication interface 73 may also include a standard wired interface and a standard wireless interface. The Memory 74 may be a high-speed RAM Memory (volatile Random Access Memory) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The memory 74 may alternatively be at least one memory device located remotely from the processor 71. Wherein the processor 71 may be in connection with the apparatus described in fig. 7 or fig. 8, an application program is stored in the memory 74, and the processor 71 calls the program code stored in the memory 74 for performing any of the above-mentioned method steps.
The communication bus 72 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The communication bus 72 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 9, but this does not indicate only one bus or one type of bus.
The memory 74 may include a volatile memory (RAM), such as a random-access memory (RAM); the memory may also include a non-volatile memory (english: non-volatile memory), such as a flash memory (english: flash memory), a hard disk (english: hard disk drive, abbreviated: HDD) or a solid-state drive (english: SSD); the memory 74 may also comprise a combination of memories of the kind described above.
The processor 71 may be a Central Processing Unit (CPU), a Network Processor (NP), or a combination of CPU and NP.
The processor 71 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a Programmable Logic Device (PLD), or a combination thereof. The PLD may be a Complex Programmable Logic Device (CPLD), a field-programmable gate array (FPGA), a General Array Logic (GAL), or any combination thereof.
Optionally, the memory 74 is also used for storing program instructions. The processor 71 may call program instructions to implement a method for sharing the contents of the electronic whiteboard as shown in the embodiments of fig. 1 to 6 of the present application.
The embodiment of the present invention further provides a non-transitory computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions may execute the method for sharing electronic whiteboard content in any of the above method embodiments. The storage medium may be a magnetic Disk, an optical Disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a Flash Memory (Flash Memory), a Hard Disk (Hard Disk Drive, abbreviated as HDD), a Solid State Drive (SSD), or the like; the storage medium may also comprise a combination of memories of the kind described above.
Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations fall within the scope defined by the appended claims.

Claims (10)

1. A method for sharing contents of an electronic whiteboard is characterized by comprising the following steps:
receiving an access request sent by a sharing terminal;
sending a display page to the sharing terminal based on the access request;
wherein the sending a presentation page to the shared terminal based on the access request includes:
creating a webpage main body based on the access request; the webpage body comprises a plurality of first identifications used for uniquely marking the display page;
sending the webpage main body to the sharing terminal;
receiving a second access request sent by the sharing terminal; wherein, the second access request carries the first identifier;
generating a shared picture based on the display page and the first identifier carried in the second access request;
and sending the generated sharing picture to the sharing terminal.
2. The method of claim 1, wherein the web page body further comprises a second identifier that uniquely identifies the session of the electronic whiteboard.
3. The method of claim 1, wherein the creating a web page body comprises:
acquiring the number of all the display pages;
marking the display page by using the first identifier;
and creating a webpage body based on the number of the display pages and the first identification.
4. The method of claim 3, wherein creating the web page body based on the number of the display pages and the first identifier comprises:
dividing the webpage main body into a plurality of sub-regions according to a preset arrangement rule; the number of the sub-areas is the same as that of the display pages;
and marking the sub-regions by using the first marks, wherein each sub-region corresponds to one first mark.
5. The method according to claim 1, wherein the generating the shared picture based on the page displayed by the electronic whiteboard and the first identifier carried in the second access request comprises:
extracting a first identifier carried in the second access request;
and converting the display page corresponding to the extracted first identifier into a picture, wherein the picture is the shared picture.
6. The method according to claim 5, wherein the converting the presentation page corresponding to the extracted first identifier into a picture comprises:
judging whether the display page corresponding to the extracted first identifier exists or not;
and when the display page corresponding to the extracted first identifier does not exist, generating an error code and sending the error code to the sharing terminal.
7. The method of any of claims 1-6, further comprising:
receiving a refreshing request sent by a sharing terminal;
and creating the webpage main body again to realize the sharing of the display page.
8. An apparatus for sharing an electronic whiteboard, comprising:
the receiving module is used for receiving an access request sent by the sharing terminal;
a sending module, configured to send a display page to the sharing terminal based on the access request;
wherein the sending a presentation page to the shared terminal based on the access request includes:
creating a webpage main body based on the access request; the webpage body comprises a plurality of first identifications used for uniquely marking the display page;
sending the webpage main body to the sharing terminal;
receiving a second access request sent by the sharing terminal; wherein, the second access request carries the first identifier;
generating a shared picture based on the display page and the first identifier carried in the second access request;
and sending the generated sharing picture to the sharing terminal.
9. An electronic whiteboard, comprising: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to cause the at least one processor to perform the method of sharing electronic whiteboard content according to any of claims 1 to 7.
10. A computer-readable storage medium having stored thereon computer instructions, which when executed by a processor, implement the method of sharing the contents of an electronic whiteboard according to any one of claims 1 to 7.
CN201810854304.2A 2018-07-30 2018-07-30 Electronic whiteboard content sharing method and device and electronic whiteboard Active CN108932346B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810854304.2A CN108932346B (en) 2018-07-30 2018-07-30 Electronic whiteboard content sharing method and device and electronic whiteboard

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810854304.2A CN108932346B (en) 2018-07-30 2018-07-30 Electronic whiteboard content sharing method and device and electronic whiteboard

Publications (2)

Publication Number Publication Date
CN108932346A CN108932346A (en) 2018-12-04
CN108932346B true CN108932346B (en) 2022-02-11

Family

ID=64444534

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810854304.2A Active CN108932346B (en) 2018-07-30 2018-07-30 Electronic whiteboard content sharing method and device and electronic whiteboard

Country Status (1)

Country Link
CN (1) CN108932346B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109803162A (en) * 2019-01-22 2019-05-24 青岛海信电器股份有限公司 Information sharing method, device and smart television
CN110290106B (en) * 2019-05-13 2022-03-04 视联动力信息技术股份有限公司 Display system
CN110569011A (en) * 2019-09-11 2019-12-13 京东方科技集团股份有限公司 information sharing system and control method thereof
CN111143056B (en) * 2019-12-12 2023-04-28 厦门厦华科技有限公司 Electronic whiteboard display resource sharing method and system
CN111581319B (en) * 2020-05-09 2023-06-09 四川易利数字城市科技有限公司 GIS application multi-screen interaction method based on WebSocket technology
CN111614699A (en) * 2020-06-03 2020-09-01 天津卓朗科技发展有限公司 White board sharing method and device and electronic equipment
CN111949187B (en) * 2020-08-03 2022-03-08 深圳创维数字技术有限公司 Electronic whiteboard content editing and sharing method, system, equipment and server
CN114089865A (en) * 2021-11-25 2022-02-25 广州朗国电子科技股份有限公司 Bluetooth-based electronic whiteboard cooperation method, electronic whiteboard, slave device and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101958914A (en) * 2009-07-20 2011-01-26 中兴通讯股份有限公司 File sharing method, shared server and mobile communication terminal
CN102413128A (en) * 2011-11-10 2012-04-11 青岛海信移动通信技术股份有限公司 Method for sharing electronic whiteboard and network conference system
CN106528617A (en) * 2016-09-30 2017-03-22 北京小米移动软件有限公司 Webpage picture display method and apparatus

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9444872B2 (en) * 2012-12-14 2016-09-13 Tencent Technology (Shenzhen) Company Limited Method, server and system for data sharing
US9462016B2 (en) * 2013-08-20 2016-10-04 Cisco Technology, Inc. Viewing shared documents in a sharing session
JP6515603B2 (en) * 2015-03-13 2019-05-22 日本電気株式会社 Electronic whiteboard system, electronic whiteboard access right granting method and program thereof
CN106209818A (en) * 2016-07-06 2016-12-07 上海电机学院 A kind of wireless interactive electronic whiteboard conference system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101958914A (en) * 2009-07-20 2011-01-26 中兴通讯股份有限公司 File sharing method, shared server and mobile communication terminal
CN102413128A (en) * 2011-11-10 2012-04-11 青岛海信移动通信技术股份有限公司 Method for sharing electronic whiteboard and network conference system
CN106528617A (en) * 2016-09-30 2017-03-22 北京小米移动软件有限公司 Webpage picture display method and apparatus

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
计算机支持协同设计系统的研究与实现;王魁生;《中国优秀博硕士学位论文全文数据库 (博士)信息科技辑》;20051015;全文 *

Also Published As

Publication number Publication date
CN108932346A (en) 2018-12-04

Similar Documents

Publication Publication Date Title
CN108932346B (en) Electronic whiteboard content sharing method and device and electronic whiteboard
CN109085950B (en) Multi-screen interaction method and device based on electronic whiteboard and electronic whiteboard
WO2017211020A1 (en) Television control method and apparatus
US20170329565A1 (en) Information processing method, client, server, and computer-readable storage medium
US11528535B2 (en) Video file playing method and apparatus, and storage medium
CN107465954A (en) The generation method and Related product of dynamic thumbnail
CN103606310A (en) Teaching method and system
CN110337014B (en) Real-time screen projection method
CN107229409A (en) The operating method and device of remote virtual desktop system
CN112215924A (en) Picture comment processing method and device, electronic equipment and storage medium
JP2019505911A (en) Method, system, user terminal and computer-readable storage medium for conducting PR activities for public opinion
CN109635216B (en) Method for annotating pictures of mobile terminal and browser on same screen
CN105554430A (en) Video call method, system and device
CN111352599A (en) Data processing method and device for remote whiteboard and electronic equipment
WO2021023085A1 (en) Watermark adding method and apparatus, watermark recognition method and apparatus, and electronic device
CN112911320A (en) Live broadcast method and device, computer equipment and storage medium
CN102760157B (en) A kind of for generating the method that release news, device and the equipment corresponding with mobile terminal
CN104268611B (en) Synchronizing web pages method and device
CN116776911A (en) Service page access method, device, equipment and storage medium based on two-dimension code
CN111290722A (en) Screen sharing method, device and system, electronic equipment and storage medium
CN117076811A (en) Webpage export method, device, equipment and storage medium
US11265594B2 (en) Data processing method and device, storage medium, electronic device
CN111756787A (en) Online signature method and device, electronic equipment and computer readable storage medium
WO2020124454A1 (en) Font switching method and related product
CN112988310A (en) Online experiment method based on multi-split-screen browser

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