CN116382613A - Whiteboard synchronization method, device, equipment and medium in virtual reality environment - Google Patents
Whiteboard synchronization method, device, equipment and medium in virtual reality environment Download PDFInfo
- Publication number
- CN116382613A CN116382613A CN202310652587.3A CN202310652587A CN116382613A CN 116382613 A CN116382613 A CN 116382613A CN 202310652587 A CN202310652587 A CN 202310652587A CN 116382613 A CN116382613 A CN 116382613A
- Authority
- CN
- China
- Prior art keywords
- virtual reality
- whiteboard
- model
- terminal
- reality terminal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 44
- 230000008569 process Effects 0.000 claims abstract description 14
- 230000009471 action Effects 0.000 claims description 14
- 238000004590 computer program Methods 0.000 claims description 9
- 238000013507 mapping Methods 0.000 claims description 8
- 238000009877 rendering Methods 0.000 claims description 8
- 230000000694 effects Effects 0.000 abstract description 11
- 230000001360 synchronised effect Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 238000004140 cleaning Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000012549 training Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1454—Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention provides a whiteboard synchronization method, device, equipment and medium in a virtual reality environment, and relates to the technical field of virtual reality, wherein the method comprises the following steps: displaying a public virtual reality environment on each virtual reality terminal logging in the virtual reality platform, and displaying a 3d whiteboard model in the public virtual reality environment; allowing a virtual reality terminal to edit the 3d whiteboard model at the same time, regarding the virtual reality terminal as a first virtual reality terminal, regarding virtual reality terminals except the first virtual reality terminal as a second virtual reality terminal, and collecting editing related data in the process of the first virtual reality terminal editing the 3d whiteboard model; and synchronizing the editing related data to each second virtual reality terminal through the server to render the editing content of the 3d whiteboard model. According to the scheme, sharing of whiteboard data among multiple devices is achieved through the server, so that the experience effect of whiteboard drawing in a virtual reality environment is improved.
Description
Technical Field
The present invention relates to the field of virtual reality technologies, and in particular, to a whiteboard synchronization method, device, equipment, and medium in a virtual reality environment.
Background
At present, a whiteboard implementation mode under a virtual reality environment (VR) generally adopts a 3d model mode to realize whiteboard functions, and whiteboard writing and drawing are realized under single equipment. The whiteboard mode realized under single equipment cannot share whiteboard data, and the performance effect is not ideal.
Disclosure of Invention
In view of this, the embodiment of the invention provides a whiteboard synchronization method in a virtual reality environment, so as to solve the technical problem that whiteboard data cannot be shared in the prior art, and the performance effect is not ideal enough. The method comprises the following steps:
constructing a virtual reality platform and a public virtual reality environment, logging in the virtual reality platform by a plurality of virtual reality terminals, displaying the public virtual reality environment on each virtual reality terminal logging in the virtual reality platform, and displaying a 3d whiteboard model in the public virtual reality environment;
allowing one virtual reality terminal of the plurality of virtual reality terminals to edit the 3d whiteboard model at the same time, regarding the one virtual reality terminal as a first virtual reality terminal, regarding the virtual reality terminals except the first virtual reality terminal of the plurality of virtual reality terminals as a second virtual reality terminal, and rendering the edited content of the 3d whiteboard model on the first virtual reality terminal in real time;
collecting editing related data in the process of editing the 3d whiteboard model by the first virtual reality terminal;
and synchronizing the editing related data to each second virtual reality terminal through the server to render the editing content of the 3d whiteboard model.
The embodiment of the invention also provides a whiteboard synchronization device in a virtual reality environment, so as to solve the technical problems that whiteboard data cannot be shared and the performance effect is not ideal in the prior art. The device comprises:
the model creation module is used for building a virtual reality platform and a public virtual reality environment, a plurality of virtual reality terminals log in the virtual reality platform, the public virtual reality environment is displayed on each virtual reality terminal logging in the virtual reality platform, and a 3d whiteboard model is displayed in the public virtual reality environment;
the whiteboard editing module is used for allowing one virtual reality terminal in the plurality of virtual reality terminals to edit the content of the 3d whiteboard model at the same time, regarding the one virtual reality terminal as a first virtual reality terminal, regarding the virtual reality terminals except the first virtual reality terminal in the plurality of virtual reality terminals as a second virtual reality terminal, and rendering the edited content of the 3d whiteboard model on the first virtual reality terminal in real time;
the data acquisition module is used for acquiring editing related data in the process of editing the 3d whiteboard model by the first virtual reality terminal;
and the data synchronization module is used for synchronizing the editing related data to each second virtual reality terminal through the server to render the editing content of the 3d whiteboard model.
The embodiment of the invention also provides computer equipment, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the white board synchronization method under any virtual reality environment is realized when the processor executes the computer program, so that the technical problems that white board data cannot be shared and the performance effect is not ideal in the prior art are solved.
The embodiment of the invention also provides a computer readable storage medium which stores a computer program for executing the whiteboard synchronization method under any virtual reality environment, so as to solve the technical problems that whiteboard data cannot be shared and the performance effect is not ideal in the prior art.
Compared with the prior art, the beneficial effects that above-mentioned at least one technical scheme that this description embodiment adopted can reach include at least:
the whiteboard synchronization method in the virtual reality environment can realize sharing of editing related data of the 3d whiteboard model among the plurality of virtual reality terminals through the server, can display editing processes and editing details of the 3d whiteboard model among the plurality of virtual reality terminals in real time and dynamically, is beneficial to enriching and improving the experience effect of whiteboard editing in the virtual reality environment, and provides a richer and vivid realization mode for sharing more whiteboard editing details for application scenes such as remote teaching and teleconferencing in the virtual reality environment.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a whiteboard synchronization method in a virtual reality environment according to an embodiment of the present invention;
fig. 2 is a flowchart of a whiteboard synchronization method in the virtual reality environment according to an embodiment of the present invention;
FIG. 3 is a block diagram of a computer device according to an embodiment of the present invention;
fig. 4 is a block diagram of a whiteboard device in a virtual reality environment according to an embodiment of the present invention.
Detailed Description
Embodiments of the present application are described in detail below with reference to the accompanying drawings.
Other advantages and effects of the present application will become apparent to those skilled in the art from the present disclosure, when the following description of the embodiments is taken in conjunction with the accompanying drawings. It will be apparent that the described embodiments are only some, but not all, of the embodiments of the present application. The present application may be embodied or carried out in other specific embodiments, and the details of the present application may be modified or changed from various points of view and applications without departing from the spirit of the present application. It should be noted that the following embodiments and features in the embodiments may be combined with each other without conflict. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
In an embodiment of the present invention, a whiteboard synchronization method in a virtual reality environment is provided, as shown in fig. 1, where the method includes:
and S01, constructing a virtual reality platform and a public virtual reality environment, logging in the virtual reality platform by a plurality of virtual reality terminals, displaying the public virtual reality environment on each virtual reality terminal logging in the virtual reality platform, and displaying the 3d whiteboard model in the public virtual reality environment.
Specifically, a viewable, operable, and inputtable virtual reality platform is established, and a public virtual reality environment is established in which a 3d whiteboard model is provided for a user.
And S02, allowing one virtual reality terminal in the plurality of virtual reality terminals to edit the 3d whiteboard model at the same time, regarding the one virtual reality terminal as a first virtual reality terminal, regarding the virtual reality terminals except the first virtual reality terminal in the plurality of virtual reality terminals as a second virtual reality terminal, and rendering the edited content of the 3d whiteboard model on the first virtual reality terminal in real time.
Specifically, by means of the mode that the virtual reality terminal of the user sends out an operation authority application, which virtual reality terminal is granted with the operation authority of the 3d whiteboard model is determined, only one virtual reality terminal holds the operation authority at the same time, when the user holds the operation authority, the 3d whiteboard model in the virtual environment can be operated and edited, the user draws the 3d whiteboard through the virtual reality terminal, and meanwhile related operations such as clearing drawing results can be carried out.
S021, receiving a request for applying operation permission sent by a virtual reality terminal logging in a virtual reality platform, inquiring data of a permission set, and judging whether a virtual reality terminal with the operation permission exists currently.
Specifically, any user in a plurality of virtual reality terminals logged in the virtual reality platform can apply for operation rights. Only one user (a plurality of virtual reality terminals) with operation authority can edit the 3d whiteboard at the same time in the virtual reality platform. When the server receives a request for applying operation authority sent by the virtual reality terminal, the server firstly checks whether a user holds the operation authority in the authority set.
S0211, respectively setting unique identification codes for all virtual reality terminals logging in the virtual reality platform.
S0212, creating a permission set, and recording the identification code of the virtual reality terminal with the operation permission in the permission set.
S0213, when the identification code is included in the data of the permission set, judging that the virtual reality terminal with the operation permission exists currently.
S0214, when the data of the permission set is inquired that the identification code is not included, judging that the virtual reality terminal with the operation permission does not exist currently.
S0215, inserting the identification code of the user into the authority set.
S022, if so, returning a message of failure application to the virtual reality terminal sending the operation authority application, and if not, setting one virtual reality terminal sending the operation authority application to hold the operation authority, and allowing the one virtual reality terminal holding the operation authority to edit the content of the 3d whiteboard model.
Specifically, issuing the authority application result to the virtual reality terminal corresponding to the user. Specifically, the whiteboard pen, the whiteboard eraser and the one-key cleaning operation can be performed after the user operation permission application is successful.
S03, collecting editing related data in the process of editing the 3d whiteboard model by the first virtual reality terminal.
Specifically, when a first virtual reality terminal in a virtual reality environment detects that a user uses a whiteboard pen and a whiteboard eraser to write or erase, recording mapping information of the whiteboard pen and the whiteboard eraser position coordinates, a rotation value and a nib model of the whiteboard pen model is started.
S031, collecting edited operation types on the first virtual reality terminal, wherein the operation types comprise drawing, erasing and resetting.
S032, when drawing operation is detected, collecting position information, rotation information and mapping information of a nib model of the whiteboard pen model.
S033, when the erasing operation is detected, collecting the position information, the rotation information and the mapping information of the erasing surface of the whiteboard eraser model.
And S04, synchronizing the editing related data to each second virtual reality terminal through a server, and rendering the editing content on the 3d whiteboard model.
Specifically, the editing related data of the current operation user is synchronized to each second virtual reality terminal based on the synchronization server. And the second virtual reality terminal restores the operation data of the 3d whiteboard model through the received editing related data, and renders and displays the editing process of the 3d whiteboard model.
S041, when a drawing operation is detected, performing the following operations:
s0411, obtaining the aspect ratio of the 3d whiteboard model on the first virtual reality terminal.
S0412, creating a 2d canvas with the aspect ratio of white in accordance with the 3d whiteboard model, which is also the original canvas.
S0413, acquiring Color32 Color values of the 2d canvas in the step S0412 as original data.
S0414, calling a 3d engine API to acquire 2d canvas pixel values as reference data.
S0415, obtaining Color32 Color values of the nib model Color map of the whiteboard pen.
S0416, calling a 3d engine API to obtain a pixel value of the pen point map of the whiteboard pen as a subsequent calculated value.
S0417, acquiring the editing related data obtained in the step S03, and performing pixel filling on the position corresponding to the 2d canvas created in the step S0411 to realize drawing operation.
S042, when an erase operation is detected, performing the following operations:
s0421, color32 Color values of the 2d canvas are obtained as original data.
S0422, calling a 3d engine API to acquire 2d canvas pixel values as basic data.
S0423, calling a 3d engine API to obtain a mapping pixel value of the erasing surface of the whiteboard eraser as a subsequent calculated value.
S0424, acquiring the editing related data obtained in the step S03, and filling the original color value data of the 2d canvas in the step S0421 to the corresponding position of the 2d canvas to realize the erasing operation.
S043, when a reset operation is detected, performing the following operations:
s0431, the original canvas obtained in the step S0412 is replaced by the current canvas to achieve the aim of resetting.
S05, receiving a request for releasing the operation authority sent by the virtual reality terminal with the operation authority, removing the identification code of the virtual reality terminal from the data of the authority set, and releasing the operation authority held by the virtual reality terminal.
S051, acquiring the identification code of the authority application user.
S052, searching whether the user identification code exists in the authority set.
S053, when the identification code of the user exists in the authority set, the identification code of the user is removed from the authority set.
S054, issuing the permission release result to the virtual reality terminal corresponding to the user.
In one embodiment, in order to further enrich and improve the experience effect of whiteboard editing in the virtual reality environment, not only the editing process and editing details of the whiteboard can be shared, but also the operation details of the user in the whiteboard editing process can be shared dynamically in real time, for example, the method further includes a method for synchronizing the virtual character model of the user of the S06 and virtual reality terminal:
and S061, displaying the virtual character model of the user of the first virtual reality terminal in the public virtual reality environment.
And S062, displaying the action of the virtual character model for editing the 3d whiteboard model on the first virtual reality terminal in the process of editing the 3d whiteboard model by the first virtual reality terminal.
S063, collecting action related data of the virtual character model for editing the 3d whiteboard model.
S0631, collecting position information and rotation information of the virtual character model when detecting that a user (the virtual character model) is in a motion state when the virtual character model performs content editing on the 3d whiteboard model.
S064, synchronizing the motion related data to each second virtual reality terminal through the server so as to render the virtual character model on each second virtual reality terminal to carry out the content editing motion on the 3d whiteboard model.
Specifically, the 3d engine API is called according to the identification code of the virtual reality terminal, and a virtual role model corresponding to an operator is found in the virtual space. User motion information (position information and rotation information) is collected through the 3d engine API, and the collected motion information (i.e., the motion related data) is uploaded to the server. And synchronizing the action information issued by the server to the second virtual reality terminal, and rendering the action of the virtual character model of the user of the first virtual reality terminal in the current virtual space (namely the public virtual reality environment) on the second virtual reality terminal so as to keep the action consistent with the action of the character model of the virtual space of the operator to realize synchronization.
S0641, acquiring the identification code of the user with the operation authority.
S0642, synchronizing the action related data of displaying the virtual character model on the first virtual reality terminal to edit the 3d whiteboard model to the server when the identification code is included in the data of the permission set.
S0643, the motion related data are issued to each second virtual reality terminal through the server in real time.
S07, synchronizing the server clearing instruction to the virtual reality terminal.
S071, acquiring the identification code of the user with the operation authority.
S072, searching whether the identification code of the user exists in the authority set.
S073, synchronizing a clearing instruction result issued by the user into the second virtual reality terminal through the server when the identification code of the user exists in the authority set.
In this embodiment, when a user needs to operate the 3d whiteboard through the virtual reality terminal, the user applies for an operation authority to the synchronization server by sending a user identification code to the synchronization server, and after applying for the authority, the user can obtain the issuing authority of the synchronization server and the processing operation authority for drawing the 3d whiteboard. After the permission is obtained, the 3d whiteboard drawing data is synchronized to the synchronization server, and the 3d whiteboard drawing data of the user can be synchronized to the virtual reality terminals of other users through the synchronization server, so that the purposes of multi-person conference and remote teaching under the virtual environment are achieved. As shown in fig. 2, a synchronous flow chart for multi-person conference or remote training teaching in a virtual environment is realized.
In this embodiment, a computer device is provided, as shown in fig. 3, including a memory 301, a processor 302, and a computer program stored on the memory and capable of running on the processor, where the processor implements the whiteboard synchronization method under any of the above virtual reality environments when executing the computer program.
In particular, the computer device may be a computer terminal, a server or similar computing means.
In the present embodiment, a computer-readable storage medium storing a computer program for executing the whiteboard synchronization method in any of the above virtual reality environments is provided.
In particular, computer-readable storage media, including both permanent and non-permanent, removable and non-removable media, may be used to implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer-readable storage media include, but are not limited to, phase-change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable storage media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
Based on the same inventive concept, the embodiment of the invention also provides a whiteboard synchronization device in a virtual reality environment, as described in the following embodiment. Because the principle of solving the problem of the whiteboard synchronization device in the virtual reality environment is similar to that of the whiteboard synchronization method in the virtual reality environment, the implementation of the whiteboard synchronization device in the virtual reality environment can be referred to the implementation of the whiteboard synchronization method in the virtual reality environment, and the repetition is omitted. As used below, the term "unit" or "module" may be a combination of software and/or hardware that implements the intended function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
Fig. 4 is a block diagram of a whiteboard synchronization apparatus in a virtual reality environment according to an embodiment of the invention, and as shown in fig. 4, includes: the structure is described below, and the model creation module 401, the whiteboard editing module 402, the data acquisition module 403, and the data synchronization module 404 are described.
The model creation module 401 is configured to construct a virtual reality platform and a public virtual reality environment, log in the virtual reality platform by using a plurality of virtual reality terminals, display the public virtual reality environment on each virtual reality terminal logged in the virtual reality platform, and display a 3d whiteboard model in the public virtual reality environment;
a whiteboard editing module 402, configured to allow one virtual reality terminal of the plurality of virtual reality terminals to edit the content of the 3d whiteboard model at the same time, consider the one virtual reality terminal as a first virtual reality terminal, consider virtual reality terminals of the plurality of virtual reality terminals other than the first virtual reality terminal as a second virtual reality terminal, and render the edited content of the 3d whiteboard model on the first virtual reality terminal in real time;
the data acquisition module 403 is configured to acquire editing related data during the process of editing the content of the 3d whiteboard model by the first virtual reality terminal;
and the data synchronization module 404 is used for synchronizing the editing related data to each second virtual reality terminal through the server to render the editing content of the 3d whiteboard model.
In one embodiment, a whiteboard editing module, comprising:
the inquiring authority set unit is used for receiving a request for applying operation authority sent by a virtual reality terminal logging in the virtual reality platform, inquiring the data of the authority set and judging whether a virtual reality terminal with the operation authority exists currently or not;
and the permission judging unit is used for returning a message of application failure to the virtual reality terminal sending the operation permission application if the virtual reality terminal currently has the operation permission, and setting one virtual reality terminal sending the operation permission application to hold the operation permission if the virtual reality terminal not currently has the operation permission, so that the one virtual reality terminal which is allowed to hold the operation permission can edit the content of the 3d whiteboard model.
In one embodiment, the inquiring authority set unit is further configured to set unique identification codes for the virtual reality terminals logging in the virtual reality platform respectively, record the identification codes of the virtual reality terminals with the operation authorities in the authority set, and judge that the virtual reality terminals with the operation authorities currently exist when the identification codes are included in the data of the inquiring authority set; when the identification code is not included in the data of the permission set, judging that the virtual reality terminal with the operation permission does not exist currently.
In one embodiment, the permission judging unit is further configured to receive a request for releasing the operation permission sent by the virtual reality terminal that holds the operation permission, remove the identification code of the virtual reality terminal from the data of the permission set, and release the operation permission held by the virtual reality terminal.
In one embodiment, a data acquisition module includes:
an operation type judging unit, configured to collect an edited operation type on the first virtual reality terminal, where the operation type includes drawing, erasing, and resetting;
the drawing data acquisition unit is used for acquiring position information and rotation information of the whiteboard pen model and mapping information of a nib model of the whiteboard pen model when drawing operation is detected;
and the erasing data acquisition unit is used for acquiring the position information, the rotation information and the mapping information of the erasing surface of the whiteboard eraser model when the erasing operation is detected.
In one embodiment, the apparatus further comprises:
a virtual character model display module for displaying a virtual character model of a user of the first virtual reality terminal in a public virtual reality environment;
the virtual character model editing module is used for displaying the action of the virtual character model for editing the content of the 3d whiteboard model on the first virtual reality terminal in the process of editing the content of the 3d whiteboard model by the first virtual reality terminal;
the virtual character model acquisition module is used for acquiring action related data of the virtual character model for editing the 3d whiteboard model;
and the virtual character model synchronization module is used for synchronizing the motion related data to each second virtual reality terminal through the server so as to render the motion of the virtual character model for editing the 3d whiteboard model on each second virtual reality terminal.
In one embodiment, a virtual character model acquisition module is configured to acquire position information and rotation information of the virtual character model when the virtual character model performs content editing on the 3d whiteboard model.
The embodiment of the invention realizes the following technical effects: the whiteboard data among multiple devices and the operation details of the roles are shared through the sharing server, so that the whiteboard data and the operation details of the roles can be displayed when the whiteboard data and the operation details of the roles are used for remote teaching and remote meeting in the virtual reality environment, and the user experience effect in the virtual reality environment is enriched.
It will be apparent to those skilled in the art that the modules or steps of the embodiments of the invention described above may be implemented in a general purpose computing device, they may be concentrated on a single computing device, or distributed across a network of computing devices, they may alternatively be implemented in program code executable by computing devices, so that they may be stored in a storage device for execution by computing devices, and in some cases, the steps shown or described may be performed in a different order than what is shown or described, or they may be separately fabricated into individual integrated circuit modules, or a plurality of modules or steps in them may be fabricated into a single integrated circuit module. Thus, embodiments of the invention are not limited to any specific combination of hardware and software.
The above description is only of the preferred embodiments of the present invention and is not intended to limit the present invention, and various modifications and variations can be made to the embodiments of the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (10)
1. A whiteboard synchronization method in a virtual reality environment, comprising:
constructing a virtual reality platform and a public virtual reality environment, logging in the virtual reality platform by a plurality of virtual reality terminals, displaying the public virtual reality environment on each virtual reality terminal logging in the virtual reality platform, and displaying a 3d whiteboard model in the public virtual reality environment;
allowing one of the plurality of virtual reality terminals to edit the 3d whiteboard model at the same time, regarding the one virtual reality terminal as a first virtual reality terminal, regarding virtual reality terminals except the first virtual reality terminal of the plurality of virtual reality terminals as a second virtual reality terminal, and rendering the edited content of the 3d whiteboard model on the first virtual reality terminal in real time;
collecting editing related data in the process of editing the 3d whiteboard model by the first virtual reality terminal;
and synchronizing the editing related data to each second virtual reality terminal through a server, and rendering the editing content on the 3d whiteboard model.
2. The whiteboard synchronization method in a virtual reality environment according to claim 1, wherein allowing one of the plurality of virtual reality terminals to edit the 3d whiteboard model at the same time, comprises:
receiving a request for applying operation rights sent by a virtual reality terminal logging in the virtual reality platform, inquiring data of a rights set, and judging whether a virtual reality terminal with the operation rights exists currently;
if yes, returning a message of failure application to the virtual reality terminal which sends the operation authority application, if not, setting one virtual reality terminal which sends the operation authority application to hold the operation authority, and allowing the one virtual reality terminal which holds the operation authority to edit the content of the 3d whiteboard model.
3. The whiteboard synchronization method in a virtual reality environment according to claim 2, wherein querying the data of the permission set to determine whether there is a virtual reality terminal currently having an operation permission, comprises:
setting unique identification codes for each virtual reality terminal logging in the virtual reality platform, recording the identification codes of the virtual reality terminals with the operation rights in the rights set, and judging that the virtual reality terminal with the operation rights exists currently when the identification codes are included in the data of the rights set; and when the data of the permission set is inquired that the identification code is not included, judging that the virtual reality terminal with the operation permission does not exist currently.
4. The whiteboard synchronization method in a virtual reality environment according to claim 3, further comprising:
and receiving a request for releasing the operation authority sent by the virtual reality terminal with the operation authority, removing the identification code of the virtual reality terminal from the data of the authority set, and releasing the operation authority held by the virtual reality terminal.
5. The whiteboard synchronization method in a virtual reality environment according to claim 1, wherein collecting editing-related data comprises:
collecting an edited operation type on the first virtual reality terminal, wherein the operation type comprises drawing, erasing and resetting;
when drawing operation is detected, collecting position information and rotation information of a whiteboard pen model and mapping information of a nib model of the whiteboard pen model;
and when the erasing operation is detected, collecting the position information and the rotation information of the whiteboard eraser model and the mapping information of the erasing surface of the whiteboard eraser model.
6. The whiteboard synchronization method in a virtual reality environment according to any one of claims 1-5, further comprising:
displaying a virtual character model of a user of the first virtual reality terminal in the public virtual reality environment;
displaying an action of the virtual character model for editing the 3d whiteboard model on the first virtual reality terminal in the process of editing the 3d whiteboard model by the first virtual reality terminal;
collecting action related data of the virtual character model for editing the 3d whiteboard model;
and synchronizing the action related data to each second virtual reality terminal through the server so as to render actions of the virtual character model on each second virtual reality terminal for editing contents of the 3d whiteboard model.
7. The method of whiteboard synchronization in a virtual reality environment of claim 6, wherein collecting action related data of the virtual character model for content editing of the 3d whiteboard model comprises:
and collecting position information and rotation information of the virtual character model when the virtual character model performs content editing on the 3d whiteboard model.
8. A whiteboard synchronization apparatus in a virtual reality environment, comprising:
the model creation module is used for constructing a virtual reality platform and a public virtual reality environment, a plurality of virtual reality terminals log in the virtual reality platform, the public virtual reality environment is displayed on each virtual reality terminal logging in the virtual reality platform, and a 3d whiteboard model is displayed in the public virtual reality environment;
a whiteboard editing module, configured to allow one virtual reality terminal of the plurality of virtual reality terminals to edit the content of the 3d whiteboard model at the same time, consider the one virtual reality terminal as a first virtual reality terminal, consider virtual reality terminals of the plurality of virtual reality terminals other than the first virtual reality terminal as a second virtual reality terminal, and render the edited content of the 3d whiteboard model on the first virtual reality terminal in real time;
the data acquisition module is used for acquiring editing related data in the process of editing the content of the 3d whiteboard model by the first virtual reality terminal;
and the data synchronization module is used for synchronizing the editing related data to each second virtual reality terminal through a server and rendering the editing content on the 3d whiteboard model.
9. A computer 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 whiteboard synchronization method in a virtual reality environment according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for executing the whiteboard synchronization method in a virtual reality environment according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310652587.3A CN116382613A (en) | 2023-06-05 | 2023-06-05 | Whiteboard synchronization method, device, equipment and medium in virtual reality environment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310652587.3A CN116382613A (en) | 2023-06-05 | 2023-06-05 | Whiteboard synchronization method, device, equipment and medium in virtual reality environment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116382613A true CN116382613A (en) | 2023-07-04 |
Family
ID=86967867
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310652587.3A Pending CN116382613A (en) | 2023-06-05 | 2023-06-05 | Whiteboard synchronization method, device, equipment and medium in virtual reality environment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116382613A (en) |
Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6335739B1 (en) * | 1998-12-15 | 2002-01-01 | Fujitsu Limited | Terminal operation system |
CN101415009A (en) * | 2008-11-21 | 2009-04-22 | 中兴通讯股份有限公司 | Management method and system for multi-user authority of communication system |
CN108073684A (en) * | 2017-11-16 | 2018-05-25 | 深圳市买买提信息科技有限公司 | A kind of data processing method, server and computer readable storage medium |
US20180158250A1 (en) * | 2016-12-05 | 2018-06-07 | Google Inc. | Generating virtual notation surfaces with gestures in an augmented and/or virtual reality environment |
CN108509170A (en) * | 2018-03-22 | 2018-09-07 | 上海皮格猫信息科技有限公司 | A kind of virtual reality management system and method in the shared visual field |
CN109067748A (en) * | 2018-08-13 | 2018-12-21 | 北京奇虎科技有限公司 | Access right distribution method, device and the electronic equipment of shared device |
US20200209949A1 (en) * | 2018-12-27 | 2020-07-02 | Facebook Technologies, Llc | Virtual spaces, mixed reality spaces, and combined mixed reality spaces for improved interaction and collaboration |
CN112987915A (en) * | 2021-02-04 | 2021-06-18 | 复旦大学 | AST-based method applied to VR conference and whiteboard editing task |
CN113544633A (en) * | 2018-12-27 | 2021-10-22 | 脸谱科技有限责任公司 | Virtual space, mixed reality space, and combined mixed reality space for improved interaction and collaboration |
US11245871B1 (en) * | 2021-01-04 | 2022-02-08 | Servicenow, Inc. | Gesture-based whiteboard |
US20220043622A1 (en) * | 2020-08-07 | 2022-02-10 | Mursion, Inc. | Systems and methods for collaborating physical-virtual interfaces |
US20220139056A1 (en) * | 2020-12-04 | 2022-05-05 | VR-EDU, Inc. | Virtual information board for collaborative information sharing |
US20220276729A1 (en) * | 2021-02-26 | 2022-09-01 | Logitech Europe S.A. | Systems, devices, and methods for physical surface tracking with a stylus device in an ar/vr environment |
CN115552364A (en) * | 2021-04-12 | 2022-12-30 | 广州视源电子科技股份有限公司 | Multi-terminal collaborative display updating method and device |
US20230007085A1 (en) * | 2021-02-08 | 2023-01-05 | Multinarity Ltd | Virtual contact sharing across smart glasses |
-
2023
- 2023-06-05 CN CN202310652587.3A patent/CN116382613A/en active Pending
Patent Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6335739B1 (en) * | 1998-12-15 | 2002-01-01 | Fujitsu Limited | Terminal operation system |
CN101415009A (en) * | 2008-11-21 | 2009-04-22 | 中兴通讯股份有限公司 | Management method and system for multi-user authority of communication system |
US20180158250A1 (en) * | 2016-12-05 | 2018-06-07 | Google Inc. | Generating virtual notation surfaces with gestures in an augmented and/or virtual reality environment |
CN108073684A (en) * | 2017-11-16 | 2018-05-25 | 深圳市买买提信息科技有限公司 | A kind of data processing method, server and computer readable storage medium |
CN108509170A (en) * | 2018-03-22 | 2018-09-07 | 上海皮格猫信息科技有限公司 | A kind of virtual reality management system and method in the shared visual field |
CN109067748A (en) * | 2018-08-13 | 2018-12-21 | 北京奇虎科技有限公司 | Access right distribution method, device and the electronic equipment of shared device |
US20200209949A1 (en) * | 2018-12-27 | 2020-07-02 | Facebook Technologies, Llc | Virtual spaces, mixed reality spaces, and combined mixed reality spaces for improved interaction and collaboration |
CN113544633A (en) * | 2018-12-27 | 2021-10-22 | 脸谱科技有限责任公司 | Virtual space, mixed reality space, and combined mixed reality space for improved interaction and collaboration |
US20220043622A1 (en) * | 2020-08-07 | 2022-02-10 | Mursion, Inc. | Systems and methods for collaborating physical-virtual interfaces |
US20220139056A1 (en) * | 2020-12-04 | 2022-05-05 | VR-EDU, Inc. | Virtual information board for collaborative information sharing |
US11245871B1 (en) * | 2021-01-04 | 2022-02-08 | Servicenow, Inc. | Gesture-based whiteboard |
CN112987915A (en) * | 2021-02-04 | 2021-06-18 | 复旦大学 | AST-based method applied to VR conference and whiteboard editing task |
US20230007085A1 (en) * | 2021-02-08 | 2023-01-05 | Multinarity Ltd | Virtual contact sharing across smart glasses |
US20220276729A1 (en) * | 2021-02-26 | 2022-09-01 | Logitech Europe S.A. | Systems, devices, and methods for physical surface tracking with a stylus device in an ar/vr environment |
CN115552364A (en) * | 2021-04-12 | 2022-12-30 | 广州视源电子科技股份有限公司 | Multi-terminal collaborative display updating method and device |
Non-Patent Citations (1)
Title |
---|
杨院院 等: "3ds Max建模技术全实例解析", 中国铁道出版社, pages: 3 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112933597B (en) | Image processing method, image processing device, computer equipment and storage medium | |
CN101594510B (en) | Method and system for achieving camera resource sharing | |
CN107995482B (en) | Video file processing method and device | |
US20100283795A1 (en) | Non-real-time enhanced image snapshot in a virtual world system | |
CN103959220B (en) | Method for achieving augmented reality, and user equipment | |
CN109309844A (en) | Video platform word treatment method, videoconference client and server | |
CN108765270A (en) | A kind of virtual three-dimensional space label binding method and device | |
CN115120968A (en) | Video clipping method and device, computer equipment and storage medium | |
CN105991696A (en) | Communication method and system realizing sharing and interaction for non-touch-reading resources | |
CN116382613A (en) | Whiteboard synchronization method, device, equipment and medium in virtual reality environment | |
CN109598800A (en) | A kind of three-dimensional electronic sand table display methods, device, equipment and storage medium | |
CN108765535A (en) | The labeling method and device in a kind of three-dimensional point cloud missing data region | |
TWI465929B (en) | Distributing collaborative computer editing system | |
CN109656825B (en) | Method and device for processing art resources, electronic equipment and storage medium | |
CN113098966B (en) | Cross-label-page-based model copying method and device, terminal equipment and storage medium | |
CN103503358B (en) | The method of a kind of group resource interaction message and device thereof | |
CN117240831A (en) | Three-dimensional model transmission method and device, storage medium and program product thereof | |
CN114444451A (en) | Remote annotation method and device | |
CN108256611A (en) | Quick Response Code image generating method, device, computing device and storage medium | |
CN105718140B (en) | A kind of wallpaper social contact method and its system | |
CN113784169A (en) | Video recording method and device with bullet screen | |
CN107800792A (en) | The method that a kind of android pictures or video are uploaded onto the server | |
CN113923484A (en) | Video dynamic copyright information generation method and system | |
CN106512410A (en) | Data processing method and device for interacting with off-line players and server | |
CN112804551A (en) | Live broadcast method and device, computer equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20230704 |
|
RJ01 | Rejection of invention patent application after publication |