CN115794448A - Collaborative multi-end plotting method and device and electronic equipment - Google Patents

Collaborative multi-end plotting method and device and electronic equipment Download PDF

Info

Publication number
CN115794448A
CN115794448A CN202310093830.2A CN202310093830A CN115794448A CN 115794448 A CN115794448 A CN 115794448A CN 202310093830 A CN202310093830 A CN 202310093830A CN 115794448 A CN115794448 A CN 115794448A
Authority
CN
China
Prior art keywords
terminal
plotting
interface
plot
track data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202310093830.2A
Other languages
Chinese (zh)
Other versions
CN115794448B (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.)
Beijing Zen Ai Technology Co ltd
Peking University
Original Assignee
Beijing Zen Ai Technology Co ltd
Peking University
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 Beijing Zen Ai Technology Co ltd, Peking University filed Critical Beijing Zen Ai Technology Co ltd
Priority to CN202310093830.2A priority Critical patent/CN115794448B/en
Publication of CN115794448A publication Critical patent/CN115794448A/en
Application granted granted Critical
Publication of CN115794448B publication Critical patent/CN115794448B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention relates to the technical field of electronics, and provides a collaborative multi-terminal plotting method, a collaborative multi-terminal plotting device and electronic equipment, wherein the method comprises the following steps: receiving first plot trajectory data to display the first plot trajectory data at a first interface; responding to the sharing instruction, and sending the first plotting track data to each second terminal so that a second interface of each second terminal can display the first plotting track data; or sending the screen capture image of the first interface to each second terminal so that the second interface of each second terminal can display the screen capture image of the first interface; and/or, in response to a plot synchronization instruction, turning on a plot synchronization function; receiving a plot point; to display plot points on a first interface; and sending the plotting points to each second terminal. The method is used for solving the problem that two parties of a user in different places cannot share plotting contents personally on the scene; and/or the defects that both users at different places can display the same drawing track in real time when the drawing can not be realized.

Description

Collaborative multi-end plotting method and device and electronic equipment
Technical Field
The invention relates to the technical field of electronics, in particular to a collaborative multi-terminal plotting method and device and electronic equipment.
Background
At present, a terminal can provide a drawing board function for a user, and the user can draw on the drawing board. However, in the prior art, when a user draws on a drawing board, the user can only draw on the drawing board of the user.
At present, two users in different places cannot share plotting contents personally, and at the present stage, terminals of the two users in different places need to display a scene of a drawing track of a sharer at the same time, that is, the two users in different places cannot display the same drawing track in real time when drawing is performed by the existing method.
Disclosure of Invention
The invention provides a collaborative multi-terminal plotting method, a collaborative multi-terminal plotting device and electronic equipment, which are used for solving the problem that in the prior art, two parties of a user at different places cannot share plotted contents personally and personally; and/or the defects that both users in different places can display the same drawing track in real time when drawing is not realized.
The invention provides a collaborative multi-end plotting method which is applied to a first terminal and comprises the following steps:
creating a temporary room in response to the room creating instruction; the temporary room is used for collecting a plurality of terminals to be subjected to collaborative plotting and is used for constructing collaborative environments of the terminals;
responding to a terminal adding instruction, and adding the first terminal and the second terminal to the temporary room;
receiving first plotting trajectory data to display the first plotting trajectory data on a first interface; responding to a sharing instruction, sending the first plotting track data to each second terminal, so that a second interface of each second terminal displays the first plotting track data; or sending the screen capture image of the first interface to each second terminal, so that the second interface of each second terminal displays the screen capture image of the first interface; a screenshot image of the first interface includes the first plot trajectory data;
and/or, in response to a plot synchronization instruction, turning on a plot synchronization function; receiving a plotting point; to display the plot points on a first interface; sending the plotting point to each second terminal so that a second interface of each second terminal displays the plotting point at a target position; the target position is a position in a second interface corresponding to the coordinate information of the plotting point on the first interface.
The invention also provides a collaborative multi-terminal plotting method, which is applied to a second terminal and comprises the following steps:
receiving first plotting track data or a screen shot image of a first interface sent by a first terminal; displaying the first plot trajectory data or a screen shot image of the first interface on a second interface; the first plotting track data is displayed through a first interface of a first terminal; the screen shot image of the first interface is the screen shot image of the first interface of the first terminal; a screenshot image of the first interface includes the first plot trajectory data;
and/or the presence of a gas in the atmosphere,
receiving a plotting point sent by a first terminal, and displaying the plotting point at a target position of a second interface; the plotting point is displayed on a first interface of a first terminal; the target position is a position in a second interface corresponding to the coordinate information of the plotting point on the first interface.
The present invention also provides a collaborative multiterminal plotting device, comprising:
a room creating module for creating a temporary room in response to a room creating instruction; the temporary room is used for collecting a plurality of terminals to be subjected to collaborative plotting and is used for constructing collaborative environments of the terminals;
the terminal adding module is used for responding to a terminal adding instruction and adding a first terminal and a second terminal to the temporary room;
the sharing module is used for receiving first plotting track data so as to display the first plotting track data on a first interface of a first terminal; responding to a sharing instruction, sending the first plotting track data to each second terminal, so that a second interface of each second terminal displays the first plotting track data; or sending the screen capture image of the first interface to each second terminal, so that the second interface of each second terminal displays the screen capture image of the first interface; a screenshot image of the first interface includes the first plot trajectory data;
and/or the presence of a gas in the gas,
a synchronization module for turning on a plot synchronization function in response to a plot synchronization instruction; receiving a plot point; displaying the plot points with a first interface at a first terminal; sending the plotting point to each second terminal so that a second interface of each second terminal displays the plotting point at a target position; the target position is a position in a second interface corresponding to the coordinate information of the plotting point on the first interface.
The present invention also provides a collaborative multiterminal plotting device, comprising:
the first display module is used for receiving first plotting track data or a screen capture image of a first interface sent by a first terminal, and displaying the first plotting track data or the screen capture image of the first interface on a second interface of a second terminal; the first plotting track data is displayed through a first interface of a first terminal; the screen shot image of the first interface is the screen shot image of the first interface of the first terminal; a screenshot image of the first interface includes the first plot trajectory data;
and/or the presence of a gas in the gas,
the second display module is used for receiving the plotting points sent by the first terminal and displaying the plotting points at the target position of a second interface of the second terminal; the plotting point is displayed on a first interface of a first terminal; the target position is a position in a second interface corresponding to the coordinate information of the plotting point on the first interface.
The invention also provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the coordinated multi-terminal plotting method as described in any one of the above when executing the program.
The present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a collaborative multiterminal plotting method as described in any one of the above.
The invention also provides a computer program product comprising a computer program which, when executed by a processor, implements a collaborative multiterminal plotting method as in any one of the above.
According to the collaborative multi-terminal plotting method, the collaborative multi-terminal plotting device and the electronic equipment, the collaborative plotting environment is created for the terminals by creating the temporary room for collecting the terminals to be subjected to collaborative plotting and the collaborative environment for constructing each terminal. By responding to a sharing instruction, sending the first plotting track data or the screen capture image of the first interface to each second terminal, enabling the first terminal to share the drawn first plotting track data or the screen capture image of the first interface to each second terminal, and enabling the first terminal and each second terminal in the temporary room to share the plotting content personally; and/or by responding to the plotting synchronization instruction, the plotting points displayed by the first interface are sent to each second terminal, so that each second terminal in the temporary room can display the plotting points of the user of the first terminal in real time, and the first terminal and the second terminal can display the same plotting points in real time when the first terminal draws the plotting points.
Drawings
In order to more clearly illustrate the technical solutions of the present invention or the prior art, the drawings needed for 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 those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
FIG. 1 is a schematic flow diagram of a coordinated multi-terminal plotting method provided by the present invention;
FIG. 2 is a second schematic flow chart of the collaborative multi-end plotting method according to the present invention;
FIG. 3 is a third schematic flow chart of a collaborative multiterminal plotting method provided by the present invention;
FIG. 4 is a fourth schematic flow chart of the collaborative multiterminal plotting method provided by the present invention;
FIG. 5 is a fifth flowchart of the collaborative multiterminal plotting method provided by the present invention;
FIG. 6 is a sixth schematic flow chart of the collaborative multiterminal plotting method provided by the present invention;
FIG. 7 is a seventh schematic flow chart of a collaborative multiterminal plotting method provided by the present invention;
FIG. 8 is an eighth schematic flow chart of a collaborative multiterminal plotting method provided by the present invention;
FIG. 9 is a ninth schematic flow chart of a collaborative multiterminal plotting method provided by the present invention;
FIG. 10 is a schematic structural diagram of a coordinated multi-terminal plotting apparatus provided by the present invention;
FIG. 11 is a second schematic structural diagram of a collaborative multi-end plotting apparatus provided by the present invention;
fig. 12 is a schematic structural diagram of an electronic device provided in the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without inventive step based on the embodiments of the present invention, are within the scope of protection of the present invention.
Referring to fig. 1, a collaborative multiterminal plotting method according to an embodiment of the present invention is applied to a first terminal, and includes:
step 100a, in response to a room creation instruction, creating a temporary room.
The first terminal creates a temporary room in response to the room creation instruction. The room creation instruction may be an icon (e.g., control identification) on a first interface of the first terminal. And the user triggers a room creating instruction by clicking the icon, and the first terminal responds to the room creating instruction to create the temporary room. The temporary room is used for collecting a plurality of terminals to be subjected to collaborative plotting and is used for constructing a collaborative environment of each terminal. Specifically, since a plurality of terminals located in the same temporary room are connected in communication with each other, the plurality of terminals in the same temporary room can temporarily share the plotted contents. In other words, each terminal may broadcast its own plot content to other terminals in a temporary room, for example, the temporary room has a terminal a, a terminal B, and a terminal C, and the terminal a may broadcast its own plot content to the terminal B and the terminal C; terminal B can broadcast its own plotting content to terminal a and terminal C; the terminal C can broadcast its own plot content to the terminal a and the terminal B, thereby realizing that a plurality of terminals in the same temporary room can temporarily share the plot content.
It should be noted that the plurality of terminals in the temporary room may be terminals of a plurality of company associates in the same company; or a plurality of students in the same class, or terminals of a teacher and a plurality of students; or terminals of a plurality of company associates belonging to the same company but located in a plurality of regions (e.g., shanghai, guangzhou); or a plurality of students belonging to the same class but located in a plurality of areas, or terminals of a teacher and a plurality of students, etc.
And step 200a, responding to a terminal adding instruction, and adding the first terminal and the second terminal to the temporary room.
The first terminal adds the first terminal and the second terminal to the temporary room in response to the terminal addition instruction. The terminal add instruction may be an icon (e.g., control identification) on the first interface of the first terminal. And the user triggers a terminal adding instruction by clicking the icon, the first terminal responds to the terminal adding instruction, receives the operation of the user and selects to add the first terminal and the second terminal to the temporary room. Wherein the first terminal and the second terminal are terminals of a user who is physically displaced. For example, when a student logs on, the first terminal is the terminal of the teacher and the second terminal is the terminal of the student.
Step 300a, receiving first plotting track data to display the first plotting track data on a first interface; responding to the sharing instruction, and sending the first plotting track data to each second terminal so that a second interface of each second terminal can display the first plotting track data; or sending the screen capture image of the first interface to each second terminal so that the second interface of each second terminal can display the screen capture image of the first interface; the screenshot image of the first interface includes first plot trajectory data.
And/or, step 400a, in response to the plot synchronization instruction, turning on a plot synchronization function; receiving a plot point; to display plot points on a first interface; sending the plotting point to each second terminal so that a second interface of each second terminal can display the plotting point at the target position; the target position is a position in the second interface corresponding to the coordinate information of the plotting point on the first interface.
It should be noted that only the logical relationship of yes between step 300a and step 400a is shown in fig. 1 of the drawings of the specification, and the logical relationship of yes between step 300a and step 400a is not shown.
The first terminal receives first plotting track data drawn by a user on a first interface so as to display the first plotting track data on the first interface. When the user stops (for example, the drawing operation is not performed on the first interface for more than 2 seconds), drawing; or after the user clicks the drawing icon, the user triggers the sharing icon of the first interface, and the first terminal responds to the sharing instruction and sends the first plotting track data to each second terminal so that the second interface of each second terminal can display the first plotting track data.
Specifically, the teacher clicks the share button after the first terminal plots the english letter "a". The first plotting trajectory data of the english letter "a" is sent to the server through the websocket request, and then forwarded to the second terminal of the student 1 and the second terminal of the student 2 in the temporary room through the server. The english letter "a" is displayed on the second terminals of student 1 and student 2. Thereby, each second terminal in the temporary room can personally share the plotting content. As if drawing face-to-face on paper. In addition, the server may also store the english letter "a" of the teacher in real time. When sharing is needed, a sharing instruction of the plotting content of the teacher needing to be stored in the server side is received, so that the plotting content of the English letter 'A' of the teacher is sent to the second terminal of the student 1 and the second terminal of the student 2 in the temporary room.
In another embodiment, the first terminal sends the screenshot image of the first interface to each second terminal, so that the second interface of each second terminal displays the screenshot image of the first interface; the screen shot image of the first interface includes first plot trajectory data. Namely, after the teacher plots the English letter "A" at the first terminal, the first terminal can capture the screen of the first interface at the moment to obtain a screen capture image. The screen shot image includes the English letter "A". The first terminal sends the screen capture image of the first interface including the English letter "A" to the second terminal of the student 1 and the second terminal of the student 2 in the temporary room, and the screen capture image of the first interface including the English letter "A" is displayed on the second terminal of the student 1 and the second terminal of the student 2. Therefore, the first terminal and each second terminal in the temporary room can personally share the plotting content. As if drawing face-to-face on paper.
According to the embodiment of the invention, the first plotting track data is sent to each second terminal in response to the sharing instruction, so that the first terminal shares the plotted first plotting track data to each second terminal, and each second terminal in the temporary room can share the plotted content personally. As if drawing face-to-face on paper.
In other aspects of embodiments of the present invention, the first terminal turns on a plot synchronization function in response to a plot synchronization instruction; receiving a plot point; to display plot points on a first interface; sending the plotting point to each second terminal so that a second interface of each second terminal can display the plotting point at the target position; the target position is a position in the second interface corresponding to the coordinate information of the plotting point on the first interface. Specifically, the plotting point may be each pixel point plotted by the teacher on the first terminal, and the first terminal sends each pixel point plotted by the teacher to each second terminal in real time, so that the second interface of the second terminal of each student displays the pixel point at the target position. Because each pixel point displayed by the first terminal has coordinate information, the second interface of the second terminal displays the pixel point at a position corresponding to the coordinate information of the pixel point of the first terminal, and the first terminal and the second terminal can display the same plotting point in real time when the first terminal draws the plotting point.
It can be understood that, when the sizes of the display interfaces of the first terminal and the second terminal are consistent, the target position of the second interface of the second terminal is the same position as the coordinate information of the pixel point of the first terminal. When the sizes of the display interfaces of the first terminal and the second terminal are not consistent, the target position of the second interface of the second terminal is the position obtained by multiplying the coordinate information of the pixel point of the first terminal by the area ratio of the first interface of the first terminal to the second interface of the second terminal.
In addition, the plotting point can be obtained by plotting pixel points of the teacher on the first terminal based on the preset duration as the point taking. For example, the first terminal receives pixel points plotted by a teacher on the first terminal through the frequency of 1ms, displays the pixel points acquired by 1ms on the first interface, and simultaneously sends the pixel points acquired by 1ms to the second terminal of each student, so that the second interface of the second terminal of each student displays the pixel points acquired by 1ms at a target position.
Referring to fig. 2, specifically, when a teacher performs rendering, the teacher controls the first terminal to create a temporary room through the room creation instruction, and the first terminal creates the temporary room in response to the room creation instruction. The teacher selects the second terminals of the other students to join the temporary room. The first terminal adds the first terminal of the teacher and the second terminals of the other students to the temporary room in response to the terminal addition instruction. The teacher triggers a plotting synchronization instruction, and the first terminal responds to the plotting synchronization instruction and starts a plotting synchronization function. When the teacher draws the plot point at the first terminal, the server forwards the plot point to the second terminals of all students in the temporary room through the websocket. When the first terminal draws the plotting points, both teachers and students can display the same plotting points in real time. The server may store the plot points.
According to the embodiment of the invention, the plotting points displayed on the first interface are sent to each second terminal in response to the plotting synchronization instruction, so that each second terminal in the temporary room can display the plotting points of the user of the first terminal in real time, and the first terminal and the second terminal can display the same plotting points in real time when the first terminal draws the plotting points. The server may further store the plot points of the first terminal, thereby storing plot data of the first terminal of the teacher.
In summary, the embodiment of the present invention creates an environment for collaborative plotting for a plurality of terminals by creating a temporary room for aggregating a plurality of terminals to be subjected to collaborative plotting and for constructing a collaborative environment for each terminal. By responding to a sharing instruction, sending the first plotting track data or the screenshot image of the first interface to each second terminal, enabling the first terminal to share the drawn first plotting track data or the screenshot image of the first interface to each second terminal, and enabling each second terminal in the temporary room to personally share plotting contents with the first terminal; and/or by responding to the plotting synchronization instruction, the plotting point displayed by the first interface is sent to each second terminal, so that each second terminal in the temporary room can display the plotting point of the user of the first terminal in real time, and the first terminal and the second terminal can display the same plotting point in real time when the first terminal draws the plotting point. As if drawing face-to-face on paper.
In other aspects of the embodiments of the present invention, referring to fig. 3, the collaborative multiterminal plotting method further includes:
step 500a, receiving a first plotting editing instruction and/or a second plotting editing instruction sent by a second terminal.
The first terminal receives the first plotting editing instruction and/or the second plotting editing instruction sent by the second terminal. For example, the first plot editing instruction is a plot editing instruction of a teacher on the plot content of the first interface of the first terminal, and includes an eraser, changing a plot line thickness, and the like. The second plotting editing instruction sent by the second terminal is a plotting editing instruction of the second terminal of the student on the plotting content of the first terminal of the teacher, and the plotting editing instruction comprises an eraser, a line thickness changing function and the like. That is, the teacher's first terminal may receive plot editing instructions from the teacher and/or plot editing instructions from other students in the temporary room.
Step 600a, modifying the plot content of the first interface in response to the first plot editing instruction and/or the second plot editing instruction.
The first terminal modifies the plot content of the first interface in response to the first plot editing instruction and/or the second plot editing instruction. For example, when a teacher and students are required to collaboratively edit the plot content of the first interface of the first terminal, the first terminal edits the plot content of the first terminal in response to a first plot editing instruction of the teacher, and meanwhile, the first terminal edits the plot content of the first terminal in response to a second plot editing instruction of at least one student. And editing the plotting content of the first interface of the first terminal by multi-terminal cooperation.
It should be noted that only the logical relationship of yes between step 300a and step 400a is shown in fig. 3 of the drawings of the specification, and the logical relationship of yes between step 300a and step 400a is not shown.
Specifically, step 600a, modifying the plot content of the first interface in response to the first plot editing instruction and/or the second plot editing instruction, includes:
and step 610a, arranging the first layer on top.
And the first terminal places the first layer on top. It should be noted that the first layer is a layer corresponding to the first terminal in the first interface. Each terminal has a layer corresponding to it one by one. The teacher plots on the first layer of the first terminal. The student plots on a second layer of the second terminal. When the plot content editing of the teacher's first terminal needs to be performed in a multi-terminal cooperation manner, the first layer of the first terminal needs to be arranged on top, so that the second plot editing instruction of the student's second terminal can be responded.
Step 620a, modifying the plot content of the first graph layer in response to the first plot editing instruction and/or the second plot editing instruction.
The first terminal modifies the plot content of the first graph layer in response to the first plot editing instruction and/or the second plot editing instruction. For example, after the plot synchronization function is turned on, in a teaching scene of a teacher to a student, when the teacher plots (by a mouse, a stylus pen or touch with hands) on a first terminal, the student finds that there is an irrational place for the contents (mathematical formulas and the like) plotted by the teacher, the student marks the contents plotted by the teacher by means of a circle or an arrow on a second terminal, and a second plot editing instruction of the circle or the arrow is sent to the first terminal. And the first terminal marks the plotting contents of the first layer in response to the second plotting editing instruction. The method includes the steps that a circle or arrow mark of a student is displayed on a first interface of a first terminal, so that after a teacher sees an unknown place of the mark of the student, the place which is not understood by the student is plotted and explained again on the first interface of the first terminal, and therefore the plotting content of the first interface of the first terminal is edited in a multi-terminal cooperation mode. Realize that multiple ends in different places can carry out collaborative editing or modification in real time.
In other aspects of the embodiments of the present invention, referring to fig. 4 and 5, the collaborative multiterminal plotting method further includes:
step 700a, receiving second plotting track data sent by a second terminal, so as to display the second plotting track data in a second layer of the first interface.
Specifically, the first terminal of the teacher receives second plotting track data sent by the second terminal through the server, and displays the second plotting track data on the second layer. Wherein the second terminal is a terminal operated by the student and located in a different location from the first terminal. The second layer is a layer corresponding to a second terminal of the student and is used for displaying plotting track data of the student in real time. The first terminal also comprises a second layer, and the teacher plots on the first layer of the first terminal.
It should be noted that in the application scenario of the embodiment of the present invention, when the teacher and the students 1 and 2 start the real-time mode, the first plotted trajectory data of the teacher is displayed in the first layer of the first terminal and the first layer of the second terminal of the students 1 and 2 at the same time. Except that the teacher can transmit the plotted trajectory data to students 1 and 2 through the first map layer. The student 1 and the student 2 can edit the plot trajectory data of the user 1 on the first layer on the second layer, so that the cooperative plotting can be carried out in real time by multiple parties in different places.
Step 800a, overlapping is carried out based on first plotting track data of a first layer and second plotting track data of a second layer in a first interface, and overlapping track data are obtained.
The first terminal superposes the first plotting track data of the first layer and the second plotting track data of the second layer in the first interface to obtain superposed track data. In the embodiment of the invention, different user sets different layers in the terminal. The teacher corresponds to the first image layer; student 1 corresponds to the second image layer. Each user can only plot on the corresponding layer. Therefore, the first plotting track data of the teacher in the first layer and the second plotting track data of the student 1 in the second layer are superposed to obtain superposed track data.
It should be noted that in the embodiment of the present invention, two-dimensional coordinates of the first layer and the second layer are overlapped with each other. Therefore, by superposing the first plotted track data of the first layer and the second plotted track data of the second layer, superposed track data with the same display position on both terminals can be obtained.
And 900a, displaying on a first interface based on the superposed track data.
The first terminal performs display based on the superimposed trajectory data. For example, the teacher writes a "mark" word on the left side of the first layer of the first terminal. And transmitting the first plotting track data of the marked characters to the second terminal in real time through the server. And displaying the writing track of the 'logo' character in real time on the first layer of the second terminal. And the student can also write down the "draw" word on the right side of the second layer of the second terminal. Meanwhile, the second plotting track data of the drawing characters are transmitted to the first terminal in real time through the server. And displaying the writing track of the drawing character in real time on the second layer of the first terminal. And displaying the plotting characters on the first interface by overlapping the marking characters of the first layer and the plotting characters of the second layer. Similarly, a second terminal of the student can display the 'plotting' second character through the superposition of the first image layer and the second image layer. Thus, the "plotting" of the two words can be displayed on both the first terminal and the second terminal. The invention realizes that teachers and students simultaneously carry out multiparty real-time plotting on the first terminal and the second terminal. The sharer (such as the first terminal) and the sharee (such as the second terminal) can display the superimposed trajectory data of the multiple parties in real time. Therefore, multi-party real-time collaborative plotting is realized, and the communication efficiency of multi-party collaborative work is improved.
It should be noted that, in each terminal, the layer matched with the user is placed on the top layer. For example, a first teacher's terminal, the first teacher's layer is placed on top of the second layer. In the second student terminal, the second image layer of the student is arranged on the first image layer.
It should be noted that, displaying on the first interface based on the superimposed trajectory data further includes: and sending the plotting content of the first layer to a server for storage.
After the plotting is completed, the teacher can operate the first terminal to send the plotting content of the first image layer to the server for storage. In the embodiment of the invention, the plotting contents of the layers corresponding to the users are stored. When multiple parties plot in real time, a user only stores the plotting content of the corresponding map layer, and the contents modified by other users are not stored. Therefore, when multiple parties plot in real time, the trajectory data of the multiple parties are displayed in real time. And only the plotting contents of the respective layers are saved during saving, so that the plotting track data of each user can be accurately saved.
For example, when multiple parties are plotted collaboratively, a teacher writes a 'mark' word on a first terminal, and a student writes a 'draw' word on a second terminal. Then a plot trajectory of "plotting" two words is displayed in real time at the first terminal and the second terminal simultaneously based on the multiparty real-time plot. And during storage, the first terminal of the teacher only sends the 'mark' word of the first layer to the server for storage.
It should be noted that only the logical relationship of yes between step 300a and step 400a is shown in fig. 4 of the drawings of the specification, and the logical relationship of yes between step 300a and step 400a is not shown.
In other aspects of the embodiments of the present invention, referring to fig. 6, the collaborative multiterminal plotting method further includes:
and step 1000a, sending the partial plot content of the first interface to each second terminal so as to display the partial plot content on the second interface of each second terminal.
The first terminal may further transmit the partial plot content of the current first interface to each of the second terminals to display the partial plot content at the second interface of each of the second terminals. The complete plotting content of the first interface is obtained by overlapping and displaying the first layer of the teacher and the layer of the student. Part of the plot content may be the plot content of the first interface obtained after hiding the first layer of the teacher. Therefore, only the rest part of the plot content after the first layer of the teacher hidden by the first interface of the first terminal is displayed on the second interface of each second terminal. Therefore, the flexibility of sharing the plotting contents is improved, and the user can share the plotting contents according to the requirement of the user.
It should be noted that only the logical relationship of yes between step 300a and step 400a is shown in fig. 6 of the drawings of the specification, and the logical relationship of yes between step 300a and step 400a is not shown.
Specifically, step 1000a, sending the partial plot content of the first interface to each second terminal, includes:
step 1001a, responding to the layer hiding instruction, and determining that the plotted content after hiding the plotted content of the first layer or the plotted content of the partial area of the first layer in the complete plotted content of the first interface is partial plotted content.
Step 1002a, transmitting the partial plot content to each second terminal.
Specifically, a layer hiding button is arranged in the first terminal, and a teacher clicks the layer hiding button, so that the first terminal determines that the plotting content of the first layer or the plotting content of the partial area of the first layer after the plotting content of the first layer is hidden in the complete plotting content of the first interface is the partial plotting content in response to the layer hiding instruction. The transmitting section transmits the plot content to each second terminal.
For example, the complete plot content of the first interface is a "plot" word, the "mark" word is drawn by the teacher on the first layer, and the "draw" word is drawn by the student on the second layer. The teacher can choose to send only the "drawing" word after hiding the "mark" written by himself during sharing. In this case, the "drawing" word is part of the drawing content. The first terminal sends a "painting" to the second terminal of each student, where the "painting", i.e., a portion of the plotted content, is displayed. And setting the plotting content of the first graphic layer hidden in the complete plotting content of the first interface as partial plotting content. And part of the plotted contents are sent to each second terminal, so that the flexibility and freedom in sharing the plotted contents are improved.
In addition, besides setting the whole layer to be in a hidden state, a partial area of the layer can also be set to be hidden, for example, a teacher annotates the plotting content of the teacher in the first layer, but the annotation is not necessarily displayed to students, so that the annotation part of the first layer can be set to be hidden, and when the annotation is sent, the annotation made by the teacher in the first layer is hidden in the first interface, so that the partial plotting content is obtained. And hiding part of the plotting content after the annotation made by the teacher on the first layer in a first interface displayed by a second terminal of the student. And setting the plotting content after hiding the partial graphic layer area of the first graphic layer in the complete plotting content of the first interface as partial plotting content. And part of the plotting contents are sent to each second terminal, so that the flexibility and freedom in sharing the plotting contents are improved.
In other aspects of the embodiments of the present invention, referring to fig. 7, the collaborative multiterminal plotting method further includes:
1100a, acquiring first voice information after a plotting synchronization function is started; sending the first voice information and the plotting point to each second terminal so as to play the first voice information when each second terminal plots the plotting point; and/or the presence of a gas in the atmosphere,
step 1200a, collecting second voice information while receiving the first plotting track data; and after the sharing instruction responds, sending second voice information and the first plotting track data to each second terminal so as to play the second voice information when each second terminal plots the first plotting track data.
In the plotting synchronization mode, after the plotting synchronization function is started, a teacher can perform voice communication with students when drawing plotting points at a first terminal in order to further improve the effect of multi-terminal collaborative plotting. After the plotting synchronization function is started, the first terminal collects first voice information; and sending the first voice information and the plotting point to the second terminal of each student so as to play the first voice information when the second terminal of each student plots the plotting point. For example, in a scene of drawing teaching, a teacher draws plot points on a first interface at a first terminal while teaching drawing skills by voice. The first terminal transmits the plot point of the teacher and the drawing skill spoken by the teacher to the second terminal of each student in real time to draw the plot point at the second terminal of each student while playing the drawing skill spoken by the teacher in voice. Through sending first speech information and plotting point to every second terminal simultaneously, the student sees the mr at the second terminal and draws the plotting point and hear mr speech information, combines to impart knowledge to students through vision and the sense of hearing two aspects, further improves the teaching effect.
And/or in the sharing mode, when the teacher draws at the first terminal, the teacher explains the drawing skill through voice, and at the moment, the first plotting track data of the teacher and second voice information of the teacher when drawing the first plotting track data are stored through the server. After the teacher clicks the sharing button, the first terminal responds to the sharing instruction and responds, second voice information and first plotting track data are sent to the second terminal of each student through the websocket, and the second voice information is played when the second terminal of each student draws the first plotting track data (namely, the teacher explains the drawing skill through voice). Therefore, the student sees the first plotting track data of the teacher and hears the voice information of the teacher at the second terminal, and the student is taught through the combination of vision and hearing, so that the teaching effect is further improved.
In other aspects of embodiments of the present invention, the first interface comprises a plot editing interface or a third terminal interface. Wherein the plotting editing interface can be understood as an interface of a drawing board application as an interface for drawing. The background of the drawing board interface is a white drawing board, and the drawing board interface is provided with an eraser, a functional module for adjusting the color of a drawing pen, the thickness of a pen point and the like. The teacher can carry out drawing teaching through the first interface. In other embodiments, the first interface may also be a third terminal interface. The third terminal interface is the interface of any one of a plurality of third terminals in the resource library; the third terminal is different from the first terminal and the second terminal, respectively. The resource library comprises a plurality of interfaces of third terminals, and the third terminals are equivalent to signal sources. The first terminal may retrieve, from the repository, an interface corresponding to any one or more third terminals, where the third terminal interface is an interface of a terminal different from the first terminal and the second terminal, for example, the third terminal interface in the repository may be a shooting interface shot by a monitoring camera of the user 1; the third terminal interface may also be a shot of the camera of the user 2; the third terminal interface may also be a cell phone interface of the user 3. Or simultaneously displaying a shooting interface shot by a monitoring camera of the user 1, a shooting picture of a camera of the user 2 and a mobile phone interface of the user 3 on the first interface. In the embodiment of the present invention, the first interface may be a plotting editing interface (drawing board interface) of the first terminal, or may be a third terminal interface of various signal sources called in the resource library. The first interface is set to comprise a plotting editing interface or a third terminal interface. The application range of the collaborative multi-terminal plotting method can be widened, and the application scene is enlarged.
It should be noted that fig. 7 of the drawings in the specification only shows the logical relationship of yes between step 300a and step 400a, and the logical relationship of yes between step 300a and step 400a is not shown. Step 1100a follows step 400a, and step 1200a follows step 300 a.
In other aspects of the embodiments of the present invention, the step 1300a of sending the first plotted trajectory data to each second terminal includes:
step 1310a, determining that the data volume of the first plotting track data is larger than a set threshold value, and converting the first plotting track data into a character string;
step 1320a, dividing the character string into a plurality of segments of sub character strings;
step 1330a, transmitting the plurality of segments of substrings to each second terminal in segments.
In the sharing mode, after the teacher finishes drawing, the teacher sends the first plotting trajectory data to each second terminal. At this time, the data amount of the first plot trajectory data may be large, and the server connection may be disconnected when the first plot trajectory data is transmitted. Therefore, the embodiment of the present invention determines that the data amount of the first plot trajectory data is larger than the set threshold value, and converts the first plot trajectory data into a character string. The character string is divided into a plurality of segments of substrings, and the plurality of segments of substrings are sent to each second terminal in segments. The character string is divided into a plurality of sub-character strings and transmitted to each second terminal in segments by converting the first plot trajectory data into the character string. By reducing the data amount of the first plot data sent at a single time, the risk of disconnection of the server caused when the first plot data is sent is reduced.
In other aspects of embodiments of the invention, the collaborative multi-end plotting method further comprises:
and step 10a, determining that the number of the first terminals and the number of the second terminals are both 1, and setting the room creating instruction to be in an unavailable state.
The first terminal determines that the number of the first terminal and the number of the second terminal are both 1, and sets the room creating instruction to be in an unavailable state. When more than two terminals needing collaborative plotting exist, a room needs to be created, a plurality of terminals to be subjected to collaborative plotting are collected, and a collaborative environment for constructing each terminal is achieved. However, when there are only two terminals that need to coordinate plotting, the first terminal and the second terminal can directly share the plotting data through the server at this time, and a room does not need to be created, thereby reducing the data processing amount.
Referring to fig. 8, an embodiment of the present invention further provides a collaborative multiterminal plotting method applied to a second terminal, where the method includes:
step 100b, receiving first plotting track data or a screen shot image of a first interface sent by a first terminal; and displaying the first plotting track data or displaying a screen shot image of the first interface on the second interface. The first plotting track data is displayed through a first interface of the first terminal; the screen shot image of the first interface is a screen shot image of the first interface of the first terminal; the screenshot image of the first interface includes first plot trajectory data.
And/or the presence of a gas in the gas,
200b, receiving the plotting point sent by the first terminal, and displaying the plotting point at the target position of the second interface; the plotting point is displayed on a first interface of the first terminal; the target position is a position in the second interface corresponding to the coordinate information of the plotting point on the first interface.
Wherein the second terminal is a terminal that is in a different location relative to the first terminal. The application scene of the embodiment of the invention can be that when teachers and students cannot plot on paper face to face for plotting, the plotting method of the embodiment of the invention can realize the cooperation plotting at different places. A second terminal of the student receives first plotting track data of the first terminal or a screen shot image of a first interface through the server; and displaying the first plotting track data or displaying a screen shot image of the first interface on the second interface. For example, when a teacher writes "a" on a first terminal, the plot trajectory data of "a" or a screenshot image of a first interface including the plot trajectory data of "a" is transmitted to a second terminal of the student through the server in real time. The second terminal displays the plot trajectory data of "a" or displays a screen-shot image of the first interface including the plot trajectory data of "a" on the second interface.
The embodiment of the invention receives first plotting track data or a screen capture image of a first interface sent by a first terminal; and displaying the first plotting track data or displaying a screen shot image of the first interface on the second interface. And receiving the first plotting track data drawn by the first terminal and displaying the data on the second terminal. Each second terminal in the temporary room is enabled to personally receive the plot content of the first terminal. As if drawing face-to-face on paper.
And the second terminal of the student receives the plotting point sent by the first terminal and displays the plotting point at the target position of the second interface. The plotting point is displayed on a first interface of the first terminal; the target position is a position in the second interface corresponding to the coordinate information of the plotting point on the first interface.
The plotting point can be each pixel point plotted by the teacher on the first terminal, the second terminal receives each pixel point plotted by the teacher in real time, and the pixel point is displayed at the target position on the second interface of the second terminal. Because every pixel point that first terminal shows has coordinate information, second terminal second interface shows this pixel point in the position that corresponds with the coordinate information of the pixel point of first terminal, realizes that a plurality of students' second terminal homoenergetic all can show the same plot point in real time when first terminal draws the plot point.
It can be understood that, when the sizes of the display interfaces of the first terminal and the second terminal are consistent, the target position of the second interface of the second terminal is the same position as the coordinate information of the pixel point of the first terminal. When the sizes of the display interfaces of the first terminal and the second terminal are not consistent, the target position of the second interface of the second terminal is the position obtained by multiplying the coordinate information of the pixel point of the first terminal by the area ratio of the first interface of the first terminal to the second interface of the second terminal.
In addition, the plotting point can be obtained by plotting pixel points of the teacher on the first terminal based on the preset duration as the point taking. For example, the first terminal receives pixel points plotted by a teacher on the first terminal through the frequency of 1ms, displays the pixel points acquired by 1ms on the first interface, and simultaneously sends the pixel points acquired by 1ms to the second terminal of each student, so that the second interface of the second terminal of each student displays the pixel points acquired by 1ms at a target position.
By receiving the plotting points sent by the first terminal and displaying the plotting points at the target position of the second interface, the second terminal in the temporary room can display the same plotting points in real time when the first terminal draws the plotting points.
It should be noted that fig. 8 of the drawings in the specification only shows the logical relationship of yes between step 100b and step 200b, and the logical relationship of yes between step 100b and step 200b is not shown.
In other aspects of the embodiments of the present invention, referring to fig. 8, the collaborative multiterminal plotting method further includes:
and step 300b, displaying the first plotting track data in the first layer.
And the second terminal displays the first plotting track data in the first layer. It should be noted that each terminal has a corresponding drawing layer. The first terminal draws on the first map layer, and the second terminal draws on the second map layer. Since the first plotting trajectory data is plotted in the first layer, the second terminal displays the first plotting trajectory data in the first layer.
Step 400b, receiving second plotting track data, and displaying the second plotting track data on a second layer;
the second terminal receives second plotting track data of the student to display the second plotting track data on the second image layer. For example, when the first plotting trajectory data written by the teacher displays the "mark" word on the left side of the first interface and the "mark" word is displayed on the first image layer of the second terminal of the student in real time, the student may also write the "draw" word on the right side of the interface of the second terminal. And the student displays the plotting track of the drawing character on the second layer.
Step 500b, superposing the first plotting track data based on the first image layer and the second plotting track data based on the second image layer to obtain superposed track data;
and the second terminal of the student superposes the first plotting track data of the first layer and the second plotting track data of the second layer to obtain superposed track data.
In the embodiment of the invention, different users are provided with different layers. The teacher corresponds to the first image layer; the student corresponds to the second map layer. Each user can only plot on the corresponding layer. Therefore, the first plotting track data of the teacher in the first layer and the second plotting track data of the student in the second layer are superposed to obtain superposed track data.
It should be noted that in the embodiment of the present invention, two-dimensional coordinates of the first layer and the second layer are overlapped with each other. Therefore, by superimposing the first plotted trajectory data of the first layer and the second plotted trajectory data of the second layer, superimposed trajectory data having the same display position on both terminals can be obtained.
And step 600b, displaying on a second interface based on the superposed track data.
And the second terminal displays the data based on the superposed track. For example, the teacher writes a "mark" word on the left side of the first layer of the first terminal. And transmitting the first plotting track data of the marked characters to the second terminal in real time through the server. And displaying the writing track of the 'logo' character in real time on the first layer of the second terminal. And the student can also write down the "draw" word on the right side of the second layer of the second terminal. Meanwhile, the second plotting track data of the drawing characters is transmitted to the first terminal in real time through the server. And displaying the writing track of the drawing character in real time on the second layer of the first terminal. Thus, the writing trace of the "plotting" two characters can be displayed on both the first terminal and the second terminal. The invention realizes that the teacher and the student simultaneously carry out multi-terminal real-time plotting on the first terminal and the second terminal. The sharer and the sharee can display the superimposed track data of multiple parties in real time. Therefore, multi-end real-time collaborative plotting is achieved, and communication efficiency of multiparty collaborative work is improved.
It should be noted that, in each terminal, the layer matched with the user is placed on the top layer. For example, a first teacher's terminal, the first teacher's layer is placed on top of the second layer. In a second student terminal, a second image layer of the student is arranged on the first image layer.
It should be noted that fig. 8 of the drawings in the specification only shows the logical relationship of yes between step 100b and step 200b, and the logical relationship of yes between step 100b and step 200b is not shown.
It should be noted that, in step 600b, the displaying is performed on the second interface based on the superimposed trajectory data, and the method further includes:
and step 700b, sending the plotting contents of the second layer to a server for storage.
After the plotting is completed, the student can operate the second terminal to send the plotting content of the second layer to the server for storage. In the embodiment of the invention, the plotting contents of the layers corresponding to the users are stored. When multiple parties plot in real time, the user only stores the plotting content of the corresponding image layer, and the contents modified by other users are not stored. Therefore, when multiple parties are plotted in real time, the plotting data of the multiple parties are displayed in real time. And only the plotting contents of the respective layers are stored during storage, so that the plotting track data of each user can be accurately stored.
For example, when multiple parties are plotted collaboratively, a teacher writes a 'mark' word on a first terminal, and a student writes a 'draw' word on a second terminal. Then a plot trajectory of "plotting" two words is displayed in real time at the first terminal and the second terminal simultaneously based on the multiparty real-time plot. And when the drawing characters are stored, the second terminal of the student only sends the drawing characters of the second layer to the server for storage.
In another aspect of the embodiment of the present invention, referring to fig. 9, the collaborative multiterminal plotting method further includes:
and step 800b, receiving a third plot editing instruction and/or a fourth plot editing instruction sent by the first terminal.
And the second terminal receives the third plotting editing instruction and/or the fourth plotting editing instruction sent by the first terminal. For example, the third plot editing instruction is a plot editing instruction of the student on the plot content of the second interface of the second terminal, and includes an eraser, changing a plot line thickness, and the like. The fourth plotting editing instruction sent by the first terminal is a plotting editing instruction of the first terminal of the teacher to the plotting contents of the second terminal of the student, and comprises an eraser, a line thickness changing function and the like. That is, the student's second terminal may receive plot editing instructions from the teacher and/or the student's plot editing instructions.
And 900b, modifying the plot content of the second interface in response to the third plot editing instruction and/or the fourth plot editing instruction.
And the second terminal responds to the third plotting editing instruction and/or the fourth plotting editing instruction and modifies the plotting content of the second interface. For example, when a teacher and students are required to collaboratively edit the plot content of the second interface of the second terminal, the second terminal edits the plot content of the second terminal in response to a fourth plot editing instruction of the teacher, and meanwhile, the second terminal edits the plot content of the second terminal in response to a third plot editing instruction of at least one student. And editing the plotting content of the second interface of the second terminal by multi-terminal cooperation.
It should be noted that only the logical relationship of yes between step 100b and step 200b is shown in fig. 9 of the drawings in the specification, and the logical relationship of yes between step 100b and step 200b is not shown.
Specifically, step 900b, modifying the plot content of the second interface in response to the third plot editing instruction and/or the fourth plot editing instruction, includes:
step 910b, setting the second layer on top; the second layer is a layer corresponding to the second terminal in the second interface;
and the second terminal places the second layer on top. It should be noted that the second layer is a layer corresponding to the second terminal in the second interface. Each terminal has a layer corresponding to it one to one. The teacher plots on the first layer of the first terminal. The student plots on a second layer of the second terminal. When the plot content editing of the second terminal of the student needs to be performed through multi-terminal cooperation, the second layer of the second terminal needs to be arranged on top, and therefore the fourth plot editing instruction of the first terminal of the teacher can be responded.
And step 920b, modifying the plot content of the second plot layer in response to the third plot editing instruction and/or the fourth plot editing instruction.
And the second terminal modifies the plot content of the second graph layer in response to the third plot editing instruction and/or the fourth plot editing instruction. For example, after the plot synchronization function is turned on, the plot content of the second layer of the second terminal is also sent to the first terminal of the teacher. The teacher can also see the student's plotted contents at the first terminal. In the teaching scene of the teacher to the student, when the student plots (by a mouse, a touch pen or touching with hands) on the second layer of the second terminal, the teacher finds that the contents plotted by the student are wrong, the teacher marks the contents plotted by the student on the first terminal in a way of circling or drawing an arrow, a fourth plotting editing instruction of the circling or drawing the arrow is sent to the second terminal, and the second terminal marks the plotted contents of the second layer in response to the fourth plotting editing instruction. And displaying a circle or an arrow mark of the teacher on a second interface of the second terminal, so that after the student sees the mark of the teacher, a third plotting editing instruction is triggered on a second layer of the second terminal to be revised again, and the plotting content of the second interface of the second terminal is edited by multi-terminal cooperation. Realize that multiple ends in different places can carry out collaborative editing or modification in real time.
In the following, a description is given of a collaborative multi-end plotting apparatus according to the present invention, and a collaborative multi-end plotting apparatus described below and a collaborative multi-end plotting method described above may be referred to with each other.
Referring to fig. 10, a collaborative multiterminal plotting apparatus provided by the present invention includes:
a room creating module 201 for creating a temporary room in response to a room creating instruction; the temporary room is used for collecting a plurality of terminals to be subjected to collaborative plotting and is used for constructing collaborative environments of the terminals;
a terminal adding module 202, configured to add, in response to a terminal adding instruction, a first terminal and a second terminal to the temporary room;
the sharing module 203 is configured to receive the first plotting trajectory data, so as to display the first plotting trajectory data on a first interface of the first terminal; responding to the sharing instruction, and sending the first plotting track data to each second terminal so that a second interface of each second terminal can display the first plotting track data; or sending the screen capture image of the first interface to each second terminal so that the second interface of each second terminal can display the screen capture image of the first interface; the screenshot image of the first interface includes first plot trajectory data;
and/or the presence of a gas in the gas,
a synchronization module 204 for turning on a plot synchronization function in response to a plot synchronization instruction; receiving a plot point; displaying the plot point on a first interface of the first terminal; sending the plotting point to each second terminal so that a second interface of each second terminal can display the plotting point at the target position; the target position is a position in the second interface corresponding to the coordinate information of the plotting point on the first interface.
It should be noted that fig. 10 of the drawings in the specification only shows the logical relationship of yes between the sharing module 203 and the synchronizing module 204, and the logical relationship of yes between the sharing module 203 and the synchronizing module 204 is not shown.
In one embodiment, the collaborative multi-end plotting apparatus further comprises:
the first receiving module is used for receiving a first plotting editing instruction and/or a second plotting editing instruction sent by a second terminal;
a first modification module to modify plot content of the first interface in response to the first plot editing instruction and/or the second plot editing instruction.
In one embodiment, the first modification module includes:
the top setting module is used for setting the top of the first layer; the first layer is a layer corresponding to the first terminal in the first interface;
and the final modification module is used for modifying the plot content of the first plot layer in response to the first plot editing instruction and/or the second plot editing instruction.
In one embodiment, the collaborative multiterminal plotting apparatus further comprises:
and the first sending module is used for sending the part of the plot content of the first interface to each second terminal so as to display the part of the plot content on the second interface of each second terminal.
In one embodiment, a first transmitting module includes:
the first layer hiding module is used for responding to the layer hiding instruction, and determining that the plotting contents hiding the plotting contents of the first layer or the plotting contents of the partial area of the first layer in the complete plotting contents of the first interface are partial plotting contents;
and a final sending module for sending the partial plotting contents to each second terminal.
In one embodiment, the collaborative multi-end plotting apparatus further comprises:
the first voice information acquisition and sending module is used for acquiring first voice information after the plotting synchronization function is started; sending the first voice information and the plotting point to each second terminal so as to play the first voice information when each second terminal plots the plotting point; and/or the presence of a gas in the gas,
the second voice information acquisition and transmission module is used for acquiring second voice information while receiving the first plotting track data; after the sharing instruction responses, second voice information and the first plotting track data are sent to each second terminal, so that the second voice information is played when each second terminal draws the first plotting track data.
In one embodiment, the collaborative multi-end plotting apparatus further comprises:
the second receiving module is used for receiving second plotting track data sent by a second terminal so as to display the second plotting track data on a second layer of the first interface;
the superposition module is used for superposing based on first plotting track data of a first layer and second plotting track data of a second layer in a first interface to obtain superposed track data;
and the display module is used for displaying on the first interface based on the superposed track data.
In one embodiment, the first interface comprises a plot editing interface or a third terminal interface; the third terminal interface is the interface of any one of a plurality of third terminals in the resource library; the third terminal is different from the first terminal and the second terminal, respectively.
In one embodiment, the sharing module 203 comprises:
the conversion module is used for determining that the data volume of the first plotting track data is larger than a set threshold value and converting the first plotting track data into a character string;
the dividing module is used for dividing the character string into a plurality of sections of sub-character strings;
and the segmentation sending module is used for sending a plurality of segments of substrings to each second terminal in a segmentation manner.
In one embodiment, it is determined that the number of the first terminals and the second terminals is 1, and the room creation instruction is set to the unavailable state.
In the following, a description is further given of a collaborative multiterminal plotting apparatus according to the present invention, and a collaborative multiterminal plotting apparatus described below and a collaborative multiterminal plotting method described above may be referred to with each other.
Referring to fig. 11, a collaborative multiterminal plotting apparatus provided by the present invention includes:
a first display module 201, configured to receive first plotting trajectory data or a screen shot image of a first interface sent by a first terminal, and display the first plotting trajectory data or the screen shot image of the first interface on a second interface of a second terminal; the first plotting track data is displayed through a first interface of the first terminal; the screen capture image of the first interface is a screen capture image of the first interface of the first terminal; the screenshot image of the first interface includes first plot trajectory data;
and/or the presence of a gas in the gas,
a second display module 202, configured to receive the plot point sent by the first terminal, and display the plot point at a target position of a second interface of the second terminal; the plotting point is displayed on a first interface of the first terminal; the target position is a position in the second interface corresponding to the coordinate information of the plotting point on the first interface.
It should be noted that fig. 11 of the drawings in the specification only shows a logical relationship of an yes between the first display module 201 and the second display module 202, and the logical relationship of an yes between the first display module 201 and the second display module 202 is not shown.
In one embodiment, the collaborative multi-end plotting apparatus further comprises:
the third display module is used for displaying the first plotting track data on the first graphic layer;
the first receiving module is used for receiving the second plotting track data and displaying the second plotting track data on the second layer;
the superposition module is used for superposing first plotting track data based on a first layer and second plotting track data based on a second layer to obtain superposed track data;
and the fourth display module is used for displaying on the second interface based on the superposed track data.
In one embodiment, the collaborative multi-end plotting apparatus further comprises:
the second receiving module is used for receiving a third plotting editing instruction and/or a fourth plotting editing instruction sent by the first terminal;
a modification module for modifying the plot content of the second interface in response to the third plot editing instruction and/or the fourth plot editing instruction.
In one embodiment, the modification module includes:
the top setting module is used for setting the top of the second layer; the second layer is a layer corresponding to the second terminal in the second interface;
and a final modification module, which is used for responding to the third plot editing instruction and/or the fourth plot editing instruction to modify the plot content of the second plot layer.
Fig. 12 illustrates a physical structure diagram of an electronic device, which may include, as shown in fig. 12: a processor (processor) 1210, a communication Interface (Communications Interface) 1220, a memory (memory) 1230, and a communication bus 1240, wherein the processor 1210, the communication Interface 1220, and the memory 1230 communicate with each other via the communication bus 1240. Processor 1210 may invoke logic instructions in memory 1230 to perform a collaborative multi-terminal plotting method comprising: creating a temporary room in response to the room creating instruction; the temporary room is used for collecting a plurality of terminals to be subjected to collaborative plotting and is used for constructing collaborative environments of the terminals; adding the first terminal and the second terminal to the temporary room in response to the terminal adding instruction; receiving first plot trajectory data to display the first plot trajectory data at a first interface; responding to the sharing instruction, and sending the first plotting track data to each second terminal so that a second interface of each second terminal can display the first plotting track data; or sending the screen capture image of the first interface to each second terminal so that the second interface of each second terminal can display the screen capture image of the first interface; the screenshot image of the first interface includes first plot trajectory data; and/or, in response to a plot synchronization instruction, turning on a plot synchronization function; receiving a plot point; to display plot points on a first interface; sending the plotting points to each second terminal, so that a second interface of each second terminal displays the plotting points at the target position; the target position is a position in the second interface corresponding to the coordinate information of the plotting point on the first interface. Alternatively, the first and second electrodes may be,
receiving first plotting track data or a screen shot image of a first interface sent by a first terminal; displaying the first plotting track data or displaying a screen shot image of the first interface on the second interface; the first plotting track data is displayed through a first interface of the first terminal; the screen capture image of the first interface is a screen capture image of the first interface of the first terminal; the screenshot image of the first interface includes first plot trajectory data; and/or receiving the plotting point sent by the first terminal, and displaying the plotting point at the target position of the second interface; the plotting point is displayed on a first interface of the first terminal; the target position is a position in the second interface corresponding to the coordinate information of the plotting point on the first interface.
In addition, the logic instructions in the memory 1230 may be implemented in software functional units and stored in a computer readable storage medium when the logic instructions are sold or used as a stand-alone product. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk, and various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product, the computer program product comprising a computer program, the computer program being storable on a non-transitory computer-readable storage medium, the computer program, when executed by a processor, being capable of executing the collaborative multi-terminal plotting method provided by the above methods, the method comprising:
creating a temporary room in response to the room creating instruction; the temporary room is used for collecting a plurality of terminals to be subjected to collaborative plotting and is used for constructing collaborative environments of the terminals; adding the first terminal and the second terminal to the temporary room in response to the terminal adding instruction; receiving first plot trajectory data to display the first plot trajectory data at a first interface; responding to the sharing instruction, and sending the first plotting track data to each second terminal so that a second interface of each second terminal can display the first plotting track data; or sending the screen capture image of the first interface to each second terminal so that the second interface of each second terminal can display the screen capture image of the first interface; the screenshot image of the first interface includes first plot trajectory data; and/or, in response to a plot synchronization instruction, turning on a plot synchronization function; receiving a plot point; to display plot points on a first interface; sending the plotting point to each second terminal so that a second interface of each second terminal can display the plotting point at the target position; the target position is a position in the second interface corresponding to the coordinate information of the plotting point on the first interface. Alternatively, the first and second electrodes may be,
receiving first plotting track data or a screen shot image of a first interface sent by a first terminal; displaying the first plotting track data or displaying a screen shot image of the first interface on the second interface; the first plotting track data is displayed through a first interface of the first terminal; the screen capture image of the first interface is a screen capture image of the first interface of the first terminal; the screenshot image of the first interface includes first plot trajectory data; and/or receiving the plotting point sent by the first terminal, and displaying the plotting point at the target position of the second interface; the plotting point is displayed on a first interface of the first terminal; the target position is a position in the second interface corresponding to the coordinate information of the plotting point on the first interface.
In yet another aspect, the present invention also provides a non-transitory computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements a collaborative multi-terminal plotting method provided by the above-mentioned methods, the method comprising:
creating a temporary room in response to the room creating instruction; the temporary room is used for collecting a plurality of terminals to be subjected to collaborative plotting and is used for constructing collaborative environments of the terminals; adding the first terminal and the second terminal to the temporary room in response to the terminal adding instruction; receiving first plot trajectory data to display the first plot trajectory data at a first interface; responding to the sharing instruction, and sending the first plotting track data to each second terminal so that a second interface of each second terminal can display the first plotting track data; or sending the screen capture image of the first interface to each second terminal so that the second interface of each second terminal can display the screen capture image of the first interface; the screenshot image of the first interface includes first plot trajectory data; and/or, in response to a plot synchronization instruction, turning on a plot synchronization function; receiving a plot point; to display plot points on a first interface; sending the plotting point to each second terminal so that a second interface of each second terminal can display the plotting point at the target position; the target position is a position in the second interface corresponding to the coordinate information of the plotting point on the first interface. Alternatively, the first and second electrodes may be,
receiving first plotting track data or a screen shot image of a first interface sent by a first terminal; displaying the first plotting track data or displaying a screen shot image of the first interface on the second interface; displaying the first plotting track data through a first interface of a first terminal; the screen capture image of the first interface is a screen capture image of the first interface of the first terminal; the screenshot image of the first interface includes first plot trajectory data; and/or receiving the plotting point sent by the first terminal, and displaying the plotting point at the target position of the second interface; the plotting point is displayed on a first interface of the first terminal; the target position is a position in the second interface corresponding to the coordinate information of the plotting point on the first interface.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment may be implemented by software plus a necessary general hardware platform, and may also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods of the various embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (18)

1. A collaborative multi-terminal plotting method applied to a first terminal, the method comprising:
creating a temporary room in response to the room creating instruction; the temporary room is used for collecting a plurality of terminals to be subjected to collaborative plotting and is used for constructing collaborative environments of the terminals;
responding to a terminal adding instruction, and adding the first terminal and the second terminal to the temporary room;
receiving first plot trajectory data to display the first plot trajectory data at a first interface; responding to a sharing instruction, sending the first plotting track data to each second terminal, so that a second interface of each second terminal displays the first plotting track data; or sending the screen capture image of the first interface to each second terminal, so that the second interface of each second terminal displays the screen capture image of the first interface; a screenshot image of the first interface includes the first plot trajectory data;
and/or, in response to a plot synchronization instruction, turning on a plot synchronization function; receiving a plot point; to display the plot points on a first interface; sending the plotting point to each second terminal so that a second interface of each second terminal displays the plotting point at a target position; the target position is a position in a second interface corresponding to the coordinate information of the plotting point on the first interface.
2. The collaborative multi-end plotting method according to claim 1, further comprising:
receiving a first plot editing instruction and/or a second plot editing instruction sent by the second terminal;
modifying the plot content of the first interface in response to the first plot editing instruction and/or the second plot editing instruction.
3. The collaborative multi-end plotting method of claim 2 wherein said modifying the plot content of the first interface in response to the first plot editing instruction and/or the second plot editing instruction comprises:
placing the first layer on top; the first layer is a layer corresponding to the first terminal in the first interface;
modifying the plot content of the first layer in response to the first plot editing instruction and/or the second plot editing instruction.
4. The collaborative multi-end plotting method according to claim 3, further comprising:
and sending the part of the plot content of the first interface to each second terminal so as to display the part of the plot content on the second interface of each second terminal.
5. The collaborative multiterminal plotting method according to claim 4, wherein said sending the partially plotted contents of the first interface to each of the second terminals comprises:
in response to an image layer hiding instruction, determining that the plotted content of the first image layer or the plotted content of the partial area of the first image layer in the complete plotted content of the first interface is hidden as the partial plotted content;
transmitting the partially plotted content to each of the second terminals.
6. The collaborative multi-end plotting method of claim 1 further comprising:
after the plotting synchronization function is started, acquiring first voice information; sending the first voice information and the plotting points to each second terminal so as to play the first voice information when each second terminal plots the plotting points; and/or the presence of a gas in the gas,
collecting second voice information while receiving the first plotting trajectory data; after the sharing instruction responds, the second voice information and the first plotting track data are sent to each second terminal, so that the second voice information is played when each second terminal plots the first plotting track data.
7. The collaborative multi-end plotting method according to claim 1, further comprising:
receiving second plotting track data sent by a second terminal, and displaying the second plotting track data in a second layer of the first interface;
superposing the first plotting track data of a first layer in the first interface and the second plotting track data of a second layer to obtain superposed track data;
and displaying on the first interface based on the superposed track data.
8. The collaborative multi-end plotting method of any of claims 1 to 7, wherein the first interface comprises a plot editing interface or a third terminal interface; the third terminal interface is the interface of any one of a plurality of third terminals in the resource library; the third terminal is different from the first terminal and the second terminal, respectively.
9. The collaborative multi-terminal plotting method of claim 1 wherein said sending the first plotting trajectory data to each of the second terminals comprises:
determining that the data amount of the first plotting track data is larger than a set threshold value, and converting the first plotting track data into a character string;
dividing the character string into a plurality of sections of sub-character strings;
and sending the plurality of segments of substrings to each second terminal in a segmented manner.
10. The collaborative multi-end plotting method according to claim 1, further comprising:
and determining that the number of the first terminals and the number of the second terminals are both 1, and setting a room creating instruction to be in an unavailable state.
11. A collaborative multi-terminal plotting method applied to a second terminal, the method comprising:
receiving first plotting track data or a screen shot image of a first interface sent by a first terminal; displaying the first plot trajectory data or displaying a screenshot image of the first interface on a second interface; the first plotting track data is displayed through a first interface of a first terminal; the screen shot image of the first interface is a screen shot image of the first interface of the first terminal; a screenshot image of the first interface includes the first plot trajectory data;
and/or the presence of a gas in the gas,
receiving a plotting point sent by a first terminal, and displaying the plotting point at a target position of a second interface; the plotting point is displayed on a first interface of a first terminal; the target position is a position in a second interface corresponding to the coordinate information of the plotting point on the first interface.
12. The collaborative multi-end plotting method according to claim 11, further comprising:
displaying the first plotting track data on a first layer;
receiving second plotting track data, and displaying the second plotting track data on a second layer;
superposing the first plotting track data of the first layer and the second plotting track data of the second layer to obtain superposed track data;
and displaying on a second interface based on the superposed track data.
13. The collaborative multi-end plotting method according to claim 11, further comprising:
receiving a third plot editing instruction and/or a fourth plot editing instruction sent by the first terminal;
modifying the plot content of the second interface in response to the third plot editing instruction and/or the fourth plot editing instruction.
14. The collaborative multi-end plotting method of claim 13 wherein said modifying the plot content of the second interface in response to the third plot editing instruction and/or the fourth plot editing instruction comprises:
the second layer is arranged on top; the second layer is a layer corresponding to the second terminal in the second interface;
modifying the plot content of the second layer in response to the third plot editing instruction and/or the fourth plot editing instruction.
15. A collaborative multi-terminal plotting apparatus comprising:
a room creating module for creating a temporary room in response to a room creating instruction; the temporary room is used for collecting a plurality of terminals to be subjected to collaborative plotting and is used for constructing collaborative environments of the terminals;
the terminal adding module is used for responding to a terminal adding instruction and adding a first terminal and a second terminal to the temporary room;
the sharing module is used for receiving first plotting track data so as to display the first plotting track data on a first interface of a first terminal; responding to a sharing instruction, sending the first plotting track data to each second terminal, so that a second interface of each second terminal displays the first plotting track data; or sending the screen capture image of the first interface to each second terminal, so that the second interface of each second terminal displays the screen capture image of the first interface; a screenshot image of the first interface includes the first plot trajectory data;
and/or the presence of a gas in the gas,
a synchronization module for turning on a plot synchronization function in response to a plot synchronization instruction; receiving a plot point; displaying the plot point with a first interface at a first terminal; sending the plotting point to each second terminal so that a second interface of each second terminal displays the plotting point at a target position; the target position is a position in a second interface corresponding to the coordinate information of the plotting point on the first interface.
16. A collaborative multi-terminal plotting apparatus comprising:
the first display module is used for receiving first plotting track data or a screen capture image of a first interface sent by a first terminal, and displaying the first plotting track data or the screen capture image of the first interface on a second interface of a second terminal; the first plotting track data is displayed through a first interface of a first terminal; the screen shot image of the first interface is the screen shot image of the first interface of the first terminal; a screenshot image of the first interface includes the first plot trajectory data;
and/or the presence of a gas in the gas,
the second display module is used for receiving the plotting points sent by the first terminal and displaying the plotting points at the target position of a second interface of the second terminal; the plotting point is displayed on a first interface of a first terminal; the target position is a position in a second interface corresponding to the coordinate information of the plotting point on the first interface.
17. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the coordinated multi-end plotting method of any one of claims 1 to 10 or the coordinated multi-end plotting method of any one of claims 11 to 14 when executing the program.
18. A non-transitory computer-readable storage medium, characterized in that a computer program is stored thereon, which when executed by a processor implements the collaborative multi-end plotting method of any one of claims 1 to 10, or the collaborative multi-end plotting method of any one of claims 11 to 14.
CN202310093830.2A 2023-02-10 2023-02-10 Collaborative multi-terminal plotting method and device and electronic equipment Active CN115794448B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310093830.2A CN115794448B (en) 2023-02-10 2023-02-10 Collaborative multi-terminal plotting method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310093830.2A CN115794448B (en) 2023-02-10 2023-02-10 Collaborative multi-terminal plotting method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN115794448A true CN115794448A (en) 2023-03-14
CN115794448B CN115794448B (en) 2023-06-02

Family

ID=85430753

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310093830.2A Active CN115794448B (en) 2023-02-10 2023-02-10 Collaborative multi-terminal plotting method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN115794448B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10768885B1 (en) * 2019-04-23 2020-09-08 Study Social Inc. Video conference with shared whiteboard and recording
CN114297333A (en) * 2021-12-31 2022-04-08 深圳市星网信通科技有限公司 Multi-type terminal collaborative plotting sharing method and system
CN114359442A (en) * 2022-01-06 2022-04-15 湖南东科软件开发有限公司 Multiparty cooperation plotting and consultation system
CN114879875A (en) * 2022-03-31 2022-08-09 海信视像科技股份有限公司 Painting display method and display device
CN114930279A (en) * 2020-12-02 2022-08-19 广州视源电子科技股份有限公司 Cooperative operation method, device, terminal and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10768885B1 (en) * 2019-04-23 2020-09-08 Study Social Inc. Video conference with shared whiteboard and recording
CN114930279A (en) * 2020-12-02 2022-08-19 广州视源电子科技股份有限公司 Cooperative operation method, device, terminal and storage medium
CN114297333A (en) * 2021-12-31 2022-04-08 深圳市星网信通科技有限公司 Multi-type terminal collaborative plotting sharing method and system
CN114359442A (en) * 2022-01-06 2022-04-15 湖南东科软件开发有限公司 Multiparty cooperation plotting and consultation system
CN114879875A (en) * 2022-03-31 2022-08-09 海信视像科技股份有限公司 Painting display method and display device

Also Published As

Publication number Publication date
CN115794448B (en) 2023-06-02

Similar Documents

Publication Publication Date Title
CN109979272B (en) Interactive teaching method and system
US11080941B2 (en) Intelligent management of content related to objects displayed within communication sessions
AU2019201980B2 (en) A collaborative virtual environment
CN103514621B (en) The authentic dynamic 3D reproducting method of case, event scenarios and reconfiguration system
CN103279279A (en) Electronic drawing board system, data processing method and device based on multi-user collaborative operation
CN103781522A (en) Methods and systems for generating and joining shared experience
CN106599192B (en) Classroom note acquisition method and system
CN106775241A (en) Information demonstrating method, equipment and computer-readable recording medium
CN114092290A (en) Teaching system in educational meta universe and working method thereof
Cataldo et al. Camel: A tool for collaborative distributed software design
CN106843663A (en) For the localization method of pre- jump location, device and readable storage medium storing program for executing in the page
KR20160069663A (en) System And Method For Producing Education Cotent, And Service Server, Manager Apparatus And Client Apparatus using therefor
CN107665139B (en) Method and device for realizing real-time bidirectional drawing in online teaching
US11360639B2 (en) Media content planning system
JP5081088B2 (en) Mutual information sharing system
CN108268520B (en) Courseware control method and device and online course live broadcast system
CN115794448B (en) Collaborative multi-terminal plotting method and device and electronic equipment
CN116668605A (en) Meta-universe studio system, playing method, storage medium and electronic device
KR20180056728A (en) Method for controlling an image processing apparatus
JP5366035B2 (en) Computer apparatus and program
Haklay Usability dimensions in collaborative GIS
CN110288862A (en) Three-dimensional teaching mode control method, electronic equipment and readable storage medium storing program for executing
KR101533760B1 (en) System and method for generating quiz
KR102584076B1 (en) Apparatus and method for provide avatar on virtual stage for convergence education of art and technology
CN116501892B (en) Training knowledge graph construction method based on automatic following system of Internet of things

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