CN116030233A - Collaborative operation method, device, system, electronic equipment and storage medium - Google Patents

Collaborative operation method, device, system, electronic equipment and storage medium Download PDF

Info

Publication number
CN116030233A
CN116030233A CN202310123730.XA CN202310123730A CN116030233A CN 116030233 A CN116030233 A CN 116030233A CN 202310123730 A CN202310123730 A CN 202310123730A CN 116030233 A CN116030233 A CN 116030233A
Authority
CN
China
Prior art keywords
server
version
operation terminal
editing
virtual scene
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310123730.XA
Other languages
Chinese (zh)
Inventor
罗晓辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202310123730.XA priority Critical patent/CN116030233A/en
Publication of CN116030233A publication Critical patent/CN116030233A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The disclosure provides a collaborative operation method, a collaborative operation device, a collaborative operation system, electronic equipment and a storage medium. The method is characterized in that a plurality of operation terminals are connected through a server, the server and the operation terminals are respectively loaded with a three-dimensional virtual scene generated by 3D art software, the three-dimensional virtual scene comprises a plurality of elements to be edited in a preview mode, and the method comprises the following steps: responding to an editing request initiated by the first operation terminal to the first element, setting the first element to be an editing mode for the first operation terminal so as to edit the first element in a three-dimensional virtual scene of the first operation terminal; the first element is an element in the elements to be edited; receiving a first version element obtained by editing a first element by a first operation terminal; the first element in the three-dimensional virtual scene of the update server is a first version element. By adopting the method and the device, the collaborative operation performance and the collaborative operation effect can be improved.

Description

Collaborative operation method, device, system, electronic equipment and storage medium
Technical Field
The disclosure relates to the technical field of three-dimensional modeling, and in particular relates to a collaborative operation method, a collaborative operation device, a collaborative operation system, electronic equipment and a storage medium.
Background
In the game or movie production process, three-dimensional modeling software (e.g., blender,3Dmax, maya, etc.) is typically used to produce elements in a scene. With the increasing abundance of scenes, in order to improve the efficiency of scene production, elements in one scene usually have multiple references and production, so three-dimensional modeling software is required to support collaborative editing of multiple persons.
The real-time collaboration tool of the existing three-dimensional modeling software needs to be provided with a user device serving as a server, and other users enter the user device through TCP protocol links, so that multi-user collaborative editing is realized. In this collaborative editing manner, due to the limitation of the hardware performance of the user equipment, the collaborative operation is poor, for example: when the user equipment network serving as the server is unstable, the editing progress of all operators can be directly influenced; or, for a scene with a large number of cooperative work people, multiple people access the same user equipment at the same time, so that the data transmission bandwidth is insufficient, the data synchronism is affected, and the like.
Disclosure of Invention
The disclosure aims to provide a collaborative operation method, a collaborative operation device, a collaborative operation system, electronic equipment and a storage medium, so as to improve collaborative operation performance and effect.
In a first aspect, an embodiment of the present disclosure provides a collaborative operation method, where a plurality of operation terminals are connected through a server, where the server and the operation terminals are respectively loaded with a three-dimensional virtual scene generated by 3D art software, where the three-dimensional virtual scene includes a plurality of elements to be edited in a preview mode, and the method includes: responding to an editing request initiated by a first operation terminal to a first element, setting the first element to be an editing mode for the first operation terminal so as to edit the first element in a three-dimensional virtual scene of the first operation terminal; wherein the first element is an element in the element to be edited; receiving a first version element obtained by editing the first element by the first operation terminal; and updating the first element in the three-dimensional virtual scene of the server to be the first version element.
In a second aspect, an embodiment of the present disclosure further provides a collaborative operation method, where the collaborative operation method is connected to a server through an operation terminal, where the server and the operation terminal are respectively loaded with a three-dimensional virtual scene generated by 3D art software, where the three-dimensional virtual scene includes a plurality of elements to be edited in a preview mode, and the method includes: initiating an editing request for a first element to the server, so that the server sets the first element to be in an editing mode for the operation terminal; wherein the first element is an element in the element to be edited; responding to the editing operation of the first element in the three-dimensional virtual scene aiming at the operation terminal, and obtaining a first version element; and submitting the first version element to the server to update the first element in the three-dimensional virtual scene of the server to be the first version element.
In a third aspect, an embodiment of the present disclosure further provides a collaborative operation apparatus, where the apparatus is applied to a server, and a plurality of operation terminals are connected through the server, where the server and the operation terminals are respectively loaded with a three-dimensional virtual scene generated by 3D art software, where the three-dimensional virtual scene includes a plurality of elements to be edited in a preview mode, and the server includes: the mode setting module is used for responding to an editing request initiated by a first operation terminal to a first element, setting the first element to be an editing mode to the first operation terminal so as to edit the first element in a three-dimensional virtual scene of the first operation terminal; wherein the first element is an element in the element to be edited; the element receiving module is used for receiving a first version element obtained by editing the first element by the first operation terminal; and the element updating module is used for updating the first element in the three-dimensional virtual scene of the server to be the first version element.
In a fourth aspect, an embodiment of the present disclosure further provides a collaborative operation apparatus, where the apparatus is applied to an operation terminal, and is connected to a server through the operation terminal, where the server and the operation terminal are respectively loaded with a three-dimensional virtual scene generated by 3D art software, where the three-dimensional virtual scene includes a plurality of elements to be edited in a preview mode, and the operation terminal includes: a request sending module, configured to initiate an editing request for a first element to the server, so that the server sets the first element to be in an editing mode for the first job terminal; wherein the first element is an element in the element to be edited; the element editing module is used for responding to the editing operation of the first element in the three-dimensional virtual scene of the first operation terminal to obtain a first version element; and the element updating module is used for submitting the first version element to the server so as to update the first element in the three-dimensional virtual scene of the server to be the first version element.
In a fifth aspect, an embodiment of the present disclosure further provides a collaborative operation system, where a plurality of operation terminals are connected through a server, where the server and the operation terminals are respectively loaded with a three-dimensional virtual scene generated by 3D art software, where the three-dimensional virtual scene includes a plurality of elements to be edited in a preview mode; the operation terminal is used for initiating an editing request for a first element to the server, editing the first element in a three-dimensional virtual scene of the operation terminal when the first element is in an editing mode to obtain a first version element, and submitting the first version element to the server; wherein the first element is an element in the element to be edited; the server is used for responding to the editing request, setting the first element to be in an editing mode for the operation terminal, receiving the first version element submitted by the operation terminal, and updating the first element in the three-dimensional virtual scene of the server to be the first version element.
In a sixth aspect, embodiments of the present disclosure further provide an electronic device including a processor and a memory, the memory storing computer-executable instructions executable by the processor, the processor executing the computer-executable instructions to implement the collaborative job method described above.
In a seventh aspect, embodiments of the present disclosure also provide a computer-readable storage medium storing computer-executable instructions that, when invoked and executed by a processor, cause the processor to implement the collaborative job method described above.
The embodiment of the disclosure provides a collaborative operation method, a collaborative operation device, a collaborative operation system, an electronic device and a collaborative operation storage medium, wherein a preview mode or an editing mode of each element to be edited is controlled through a server, so that the same element can be edited only by one operation terminal, and the element is still in the preview mode for other operation terminals in the process of editing the operation terminal. When the editing of the element is completed, synchronous updating is performed on the server side so that the version in the server is the latest version of the element. The method can ensure the singleness of the element version, effectively relieve the problem that a plurality of different operation terminals edit the same element to cause that the element cannot be used corresponding to a plurality of versions, and promote the effectiveness of collaborative operation; meanwhile, in the cooperative operation process, a special server is used as a link bridge of each operation terminal, the software and hardware performances of the server are reliable, the smoothness of cooperative operation is ensured, and the performance of system operation is further improved.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure or the prior art, the drawings that are required in the detailed description or the prior art will be briefly described, it will be apparent that the drawings in the following description are some embodiments of the present disclosure, and other drawings may be obtained according to the drawings without inventive effort for a person of ordinary skill in the art.
Fig. 1 is a schematic diagram of a collaborative operation application environment provided in an embodiment of the present disclosure;
FIG. 2 is a flow chart of a collaborative operation method provided in an embodiment of the present disclosure;
fig. 3 is a schematic diagram of a server structure provided in an embodiment of the disclosure;
FIG. 4 is a schematic diagram of an element update provided by an embodiment of the present disclosure;
FIG. 5 is a graphical user interface diagram of a 3D art software provided by an embodiment of the present disclosure;
fig. 6 is a flowchart of a collaborative operation method executed by a terminal side according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of a collaborative work device according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of another collaborative work device according to an embodiment of the present disclosure;
Fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the disclosure.
Detailed Description
The technical solutions of the present disclosure will be clearly and completely described below in connection with embodiments, and it is apparent that the described embodiments are some embodiments of the present disclosure, but not all embodiments. Based on the embodiments in this disclosure, all other embodiments that a person of ordinary skill in the art would obtain without making any inventive effort are within the scope of protection of this disclosure.
Considering that the demand for collaborative work is increasing, in video animation, game, and other applications, it is generally required that an artist process related pictures in advance and then import the pictures into an animation or game engine for subsequent processing. In a common collaborative operation manner of 3D art software, generally, one user device is used as a server, and a plurality of terminals for collaborative operation are linked into the server based on a TCP protocol to perform collaborative operation, for example, operations such as editing and synchronizing a model, so that hardware and software performance of the terminal device as the server directly affect performance of collaborative operation, for example: when all model data are synchronized by using a network, if the virtual scene currently edited is too large and the number of participants is too large, the network data synchronization becomes slow. Based on the problem that the terminal equipment performance is limited by the mode of carrying out collaborative operation by taking the terminal equipment as a server, the embodiment of the disclosure provides a collaborative operation method, a device, a system, electronic equipment and a storage medium. The technology can be applied to virtual scene editing of 3D art software like Blender, 3Dmax, maya and the like.
The collaborative operation method in one embodiment of the present disclosure may be executed on a terminal device or a server. The terminal device may be a local terminal device. When the collaborative job method runs on a server, the method can be realized and executed based on a cloud interaction system, wherein the cloud interaction system comprises the server and the client device.
In an alternative embodiment, various cloud applications may be run under the cloud interaction system, for example: cloud 3D art software. Taking cloud 3D art software as an example, cloud 3D art software refers to an art element editing mode based on cloud computing. In the operation mode of the cloud 3D art software, the operation main body and the picture presentation main body of the 3D art software program are separated, the storage and operation of the collaborative operation method are completed on a cloud server, and the function of the client device is used for receiving and sending data and presenting game pictures, for example, the client device can be a display device with a data transmission function close to a user side, such as a mobile terminal, a television, a computer, a palm computer and the like; but the device for information processing is a cloud server in the cloud. When the artistic element is edited, a user operates the client device to send an operation instruction to the cloud server, the cloud server processes the picture according to the operation instruction, the processed picture and other data are encoded and compressed, the processed picture and other data are returned to the client device through a network, and finally, the picture is decoded through the client device and output.
In an alternative embodiment, the terminal device may be a local terminal device. Taking Blender software as an example, the local terminal device stores Blender programs and is used for presenting operation pictures of Blender. The local terminal device is used for interacting with a user through a graphical user interface, namely, the Blender program is downloaded and installed and operated through the electronic device conventionally. The manner in which the local terminal device provides the graphical user interface to the user may include a variety of ways, for example, may be rendered for display on a display screen of the terminal, or may be provided to the player by holographic projection. For example, the local terminal device may include a display screen for presenting a graphical user interface including a Blender operation screen, and a processor for running the Blender software, generating the graphical user interface, and controlling the display of the graphical user interface on the display screen.
In a possible implementation manner, the embodiment of the present invention provides a collaborative operation method, and a graphical user interface is provided through a terminal device, where the terminal device may be the aforementioned local terminal device or the aforementioned client device in the cloud interaction system.
Embodiments of the present disclosure provide a schematic diagram of the collaborative job application environment shown in fig. 1. The collaborative job application environment may include: the system comprises a first terminal device, a server and a second terminal device. The first terminal device and the second terminal device are respectively communicated with the server to realize data communication. In this embodiment, the first terminal device and the second terminal device are respectively installed with clients that execute the collaborative operation method provided by the present disclosure, and the first terminal device and the second terminal device can respectively communicate with the server through the clients.
It should be noted that, the terminal device in the current collaborative operation application environment may include two or more devices, and different devices may be responsible for editing different art elements, where the elements may be virtual models, virtual lights, or markers, or may also be pictures or text elements.
Fig. 2 is a flowchart of a collaborative operation method provided by an embodiment of the present disclosure, where the method connects a plurality of operation terminals through a server, where the server and the operation terminals are respectively loaded with a three-dimensional virtual scene generated by 3D art software, and the three-dimensional virtual scene includes a plurality of elements to be edited in a preview mode, where the elements to be edited may be elements such as a virtual model, virtual light, or virtual mark.
Referring to fig. 2, the method includes the steps of:
step S202, responding to an editing request initiated by a first operation terminal to a first element, setting the first element to be an editing mode for the first operation terminal so as to edit the first element in a three-dimensional virtual scene of the first operation terminal; the first element is an element in the elements to be edited.
The editing request generally carries identification information of the first element, for example, a name of the first element, or a name and a version number of the first element.
In order to avoid the confusion of the version of the element caused by the simultaneous editing of the same element by a plurality of operation terminals, the default element to be edited is in a preview mode in the embodiment of the disclosure, and the element in the preview mode can only be checked and cannot be edited, which is equivalent to the element being in a locking state; if the operation terminal needs to edit a certain element, an editing request for the element needs to be initiated to the server, the server sets the element to be in an editing mode for the operation terminal, which is equivalent to unlocking the element for the operation terminal, and the element is still in a preview mode on other operation terminals.
After the server sets the first element to be in an editing mode for the first operation terminal, a user of the first operation terminal can edit the first element in a three-dimensional virtual scene of the operation terminal, taking the first element as a virtual object or a virtual model as an example, and the user of the first operation terminal can edit parameters such as the shape, the size, the position, the color and the like of the first element so as to enable the edited first element to meet the art requirement.
Step S204, a first version element obtained by editing the first element by the first operation terminal is received.
In order to synchronize the first element at the server side, the first job terminal usually submits the first version element to the server after editing the first element to obtain the first version element. The submitted first version element includes all files corresponding to the first version element, and if a plurality of sub-elements are hung under the first version element, the submitted first version element also includes files corresponding to the hung sub-elements.
When the first job terminal submits the first version element to the server, all files corresponding to the first version element can be submitted after being compressed and packed, or the files can be directly submitted without being compressed.
In step S206, the first element in the three-dimensional virtual scene of the update server is the first version element.
The server receives the first version element, and can replace the file of the first element by using the file of the first version element, so that the first element in the three-dimensional virtual scene of the server is updated to be the first version element, and after the updating is completed, the server can set the first version element to be a default preview mode, and at the moment, the first operation terminal and other operation terminals cannot edit the first version element.
In the method, the preview mode or the editing mode of each element to be edited is controlled by the server, so that the same element can be edited only by one operation terminal, and the element is still in the preview mode for other operation terminals in the process of editing the operation terminal. When the editing of the element is completed, synchronous updating is performed on the server side so that the version in the server is the latest version of the element. The method can ensure the singleness of the element version, effectively relieve the problem that a plurality of different operation terminals edit the same element to cause that the element cannot be used corresponding to a plurality of versions, and promote the effectiveness of collaborative operation; meanwhile, in the cooperative operation process, a special server is used as a link bridge of each operation terminal, the software and hardware performances of the server are reliable, the smoothness of cooperative operation is ensured, and the performance of system operation is further improved.
After the step of setting the first element to be in the editing mode for the first job terminal, the method may further include: the server locks the first element to avoid editing the first element by users of other operation terminals; and after updating the first version element, unlocking the first element to enable users of other service terminals to initiate editing requests for the first element. Alternatively, the server may record that the first element is in the editing of the first job terminal, and clear the record after updating the first version element. The record may be synchronized with other operation terminals, so that the user of the other operation terminals knows that the first element is in the editing state, and no editing request for the first element is initiated any more, and if the first element needs to be edited in the state that the first element is not edited, the editing request for the first element may be initiated. By the method, unnecessary editing requests of other operation terminals can be avoided in the process of editing the first element by the first operation terminal, and the information interactivity of the collaborative operation is enhanced.
Taking 3D art software as Blender software as an example, the preview mode and the editing mode of an element to be edited can be set by the reference mode of the element, and in the Blender software, references are divided into two types, namely link and application, and the two types of references can carry information of own files. The essence of this referencing operation is to add elements in other blender files to the current virtual scene. But except that the elements referenced in link do not allow the user to make modifications, updates can be supported. The server can sample the link reference mode when the preview mode of the element is set, and can convert the link reference mode into the application reference mode when the element is set to be in the editing mode. Specifically, the server responds to the editing request and converts a first element loaded in a link mode in the first operation terminal into an application mode, so that the first element is in an editing mode for the first operation terminal, and the user can edit the first element in a three-dimensional virtual scene of the first operation terminal; meanwhile, the server can lock the first element, so that the first element is in a preview mode for the server to avoid other users from editing the first element.
In the Blender software, the nature of lock (preview mode) and release (edit mode) is the process of link and relink. Since the parent-child level relationship is not maintained when the link is opened (i.e. released), in a specific implementation, all the child data needs to be recorded first, and then the link is opened and then recombined. One implementation is as follows: and (3) circulating all the given object lists, then inquiring the topmost object of the object in the scene hierarchy structure by iteration aiming at each object, taking the topmost object as an element (other objects are child objects of the element) in the three-dimensional virtual scene, and recording the objects. And importing the whole hierarchy and the material of the object from the source file to replace the link information of the object, thereby completing the link releasing operation.
In contrast to the release above, link is to delete all the current data and directly re-link into the engine. Specifically, firstly, information (name, source file path, world coordinates and the like) of an element (top-level object) in the current virtual scene is recorded, then the object is deleted, all relevant data of the previous link are removed, and after the object is edited, the edited object link is restored to the virtual scene according to the previously recorded element information.
Considering that the consistency of the element versions can ensure the effectiveness of element editing, when a job terminal is allowed to edit a certain element, whether the element version of the job terminal is the same as the element version of the server side can be checked so as to avoid that the element edited by the job terminal is not the element of the latest version. Based on this, the step S202 (i.e., setting the first element to be in the editing mode for the first job terminal in response to the editing request initiated by the first job terminal for the first element) may include: (1) Responding to an editing request initiated by a first operation terminal to a first element, and judging whether the terminal version of the first element carried in the editing request is the same as the network version of the first element at the server side; (2) If yes (namely, the terminal version of the first element carried in the editing request is the same as the network version of the first element at the server side), setting the first element to be an editing mode for the first operation terminal; (3) If not (namely, the terminal version of the first element carried in the editing request is different from the network version of the first element at the server side), prompting the first operation terminal to update the first element, and setting the first element to be in an editing mode for the first operation terminal after the first element is updated.
When a user of a first operation terminal needs to edit a certain element, initiating an editing request for the element to a server through the first operation terminal, and carrying version information (namely, terminal version, version number and other information) of the element on the first operation terminal in the editing request, and after receiving the editing request, comparing the version information with the version information (namely, network version) of the element on the server to judge whether the version information and the version information are identical; if the two elements are the same, directly operating the operation terminal to edit the element, namely setting the first element to be an editing mode for the first operation terminal; if not (namely, the terminal version of the first element carried in the editing request is different from the network version of the first element at the server side), prompting the first operation terminal to update the first element, and setting the first element to be in an editing mode for the first operation terminal after the first element is updated. The terminal version may be version information of an element stored locally in the operation terminal, and the network version may be version information of the element stored in the server side.
In the process, before the element is set to enter the editing mode, whether the terminal version and the network version are the same or not is compared, so that the version edited by the operation terminal side can be ensured to be the latest version, the effectiveness of element editing is further improved, and the efficiency of collaborative operation is improved.
In order to improve the performance of the server, the server may include a data server and a file server, where the data server is used to provide a data query service, and the file server is used to provide an element synchronization service; the method may further include: (11) Extracting data information of the first version element from the file of the first version element; wherein the data information comprises network version of the first version element and setting parameter information; (12) The data information of the first version element is stored to a data server, and the file of the first version element is stored to a file server.
Specifically, the data information of the first version element on the data server may include a network version of the first version element, a number of times the first version element is modified, location information of the first version element, size information of the first version element, annotation information for annotating the first version element, and the embodiment of the disclosure is not limited thereto.
For example, referring to the schematic server structure shown in fig. 3, for three first version elements (i.e., model a, model B, and model C) in a three-dimensional virtual scene generated by 3D art software, corresponding network version information, location information, size information, and type information may be extracted from files (i.e., file a, file B, and file C) of model a, model B, and model C, respectively, as respective data information, thereby obtaining data information (i.e., information a, information B, and information C in fig. 3) of model a, model B, and model C, and then the information a, information B, and information C may be stored to a data server, and the files a, B, and C may be stored to a file server; when the user needs to search the related data information of the model A, the model B and the model C, the data information of the model A, the model B and the model C can be quickly queried through the data server. If the version of the model in the model A, the model B and the model C is required to be updated, the file of the model can be downloaded from a file server and loaded, so that the model updating is completed.
The data stored in the data server may also be referred to as scene data, and these scene data may be used by other devices through a network in addition to the query of the job terminal, so as to implement more functions. By adopting the mode that the data and the files are stored in two different servers (namely, the servers are divided into a data server and a file server), the data information can be stored independently, so that the inquiry operation is convenient; when the data information needs to be independently checked, compared with the inquiry at the file server, the inquiry speed from the data server is faster, and the efficiency is higher. In addition, the method also reduces the load of the file server and improves the efficiency of collaborative operation.
In order to alleviate the problem that the collaborative operation performance is affected by frequent updating of the element version by the operation terminal, in the embodiment of the present disclosure, the operation terminal may only know which elements need to be updated, without real-time updating, and update when the operation terminal uses the elements, or update of related elements when the operation terminal is idle. Based on this, the above collaborative operation method may further include: responding to a synchronous query request initiated by the second operation terminal, and returning the network version of each element to be edited to the second operation terminal so that the second operation terminal updates the element to be synchronized in the prompt list according to the network version of each element to be edited; the second operation terminal initiates a synchronous query request according to a preset period.
The operation terminal is preconfigured with a prompt list, and the prompt list is used for recording the elements which are needed to be synchronized currently (i.e. the elements to be synchronized), so that a user can determine which elements need to be synchronized through the prompt list. The operation terminal can initiate the synchronous query request according to the need at a certain period to acquire the network version of each element to be edited at the server side, and after receiving the network version of each element to be edited, the operation terminal can compare with the terminal version of each element to be edited at the operation terminal side to further determine the element to be synchronized, and further record the element to be synchronized in the promotion list. The method for determining the elements to be synchronized by comparing the version information only can enable the operation terminal to know which elements need to be synchronized quickly and simply without interrupting the operation process of the operation terminal, and further improves the collaborative operation efficiency. Meanwhile, for the scene that the server side comprises the data server and the file server, the processing of the synchronous query request can be responsible for the data server, and the data server can quickly query the network version of each element to be edited from the stored data, so that the query efficiency is further improved.
Taking 3D art software as Blender software as an example, referring to an element update schematic diagram shown in fig. 4, a timing initiator is provided in a Blender main thread, a plurality of processes can be started at regular time by the timing initiator, and a query process a and a query process B in fig. 4 are a plurality of processes started at regular time, and a network data query operation is initiated to a server by using the query process a and the query process B, for example, a synchronous query request is sent to the server, so as to obtain network data containing network version information. After the query process receives the network data, the query process performs data comparison and data inspection with the local data, and then updates the memory data (the prompt list is stored in the memory data) for the data query main thread. In addition, a refresh display trigger event is also arranged in the Blender main thread, and is used for automatically triggering preset events, such as some notification events.
In the Blender software, a hint list records which elements need to be updated, and the main thread only reads the hint list to hint the user which models need to be updated. The data query part may be encapsulated in one or more query processes, in which data on the network side, i.e. the server, may be requested, and the network side data is compared with the local data, and the obtained result and the requested data will be directly written into the scene data of the blender, such as the above-mentioned hint list, for the main thread to query. The method only needs to ensure timeliness of the query process, does not need to do data synchronization of elements, and even if the query process does not receive the returned data of the server, a new query process is started to perform data query, and the latter can directly cover the data of the former. Here, the main process can start new processes (process a, process B, process C, etc.) at regular time, and different processes are independent of each other, without considering the sequence of starting the processes. The following situations may therefore occur:
(1) After the query process A is finished, a query process B is started; in this case, the query process B occurs after the query process a finishes, so after the query process a updates the hint list, the query process B updates the hint list, and the updated information in the hint list is always up to date.
(2) The query process A is not completed yet, the query process B is started and completed, the query process B updates the prompt list firstly, and when the network data corresponding to the query process A arrives, the information in the prompt list is directly covered according to the network data.
For the case (2), since the query process B is started late, which means that the data of the query process B is up to date, and the query process a covers new data with older data, resulting in a certain error between the information in the hint list and the information on the server side, but the error has little influence in practical application, because the time difference between the query processes is small, only some delay of the data is caused, the tiny timeliness is reduced, and the subsequent query process can update the hint list quickly. Therefore, the plurality of query processes only need to cover the prompt list according to the received network data, and the data comparison with the main thread is not needed, so that the main thread does not need to pay attention to what happens to the query processes, and does not need to pay attention to the running condition and the result of each process, the whole data query process is unidirectional, and the main thread does not need to automatically perform element synchronization according to the prompt list.
In the basic class implementation of the data query, when the initialization is started, configuration information of p4 class and p4 to be queried is transmitted, then some marks are defined for setting suspension and stop of threads, and then the content requiring multithreading is defined in a run method. Specific code implementations may be referred to as follows:
Figure BDA0004081139450000141
for example, in the following multithreading class, the object list, the modification list and the network data need to be transferred into the whole class, and then the class can be called and written in the corresponding method; the network data written after the process processing can also be queried through a data structure in the blender virtual scene.
For the blender software, the blender running script (equivalent to running in the main thread) can pause processing such as editing and cause jamming (waiting for the main thread to finish running), so the method starts the query process but does not perform element synchronization and only updates the prompt list, so the main thread only needs to start a new query process in a fixed time, and therefore the operation is very fast (a few milliseconds), and the problem of jamming of the operation terminal is effectively relieved.
For the prompt list, the job terminal may select one or more elements to be synchronized from the prompt list to perform synchronization operation according to needs, and based on this, the collaborative job method may further include: responding to a synchronization request initiated by the second operation terminal aiming at the target element to be synchronized in the prompt list, and returning a file corresponding to the target element to be synchronized to the second operation terminal so as to trigger the second operation terminal to update the target element to be synchronized.
In general, the three-dimensional virtual scene has more elements to be edited, and particularly includes more virtual models, and the synchronization of the virtual models may need a long time (including loading, modifying, reloading, etc. of model data), if the element synchronization is automatically performed in real time or with a relatively high frequency, the editing operation of the operation terminal will be affected.
In specific implementation, a corresponding operation interface can be provided through the operation terminal equipment, and the operation interface provides a model selection inlet (such as a model list, a model adding component, a selection frame of a model and the like) corresponding to the prompt list; after the user of the second operation terminal finishes selecting one or more target models to be synchronized through the model selection entrance, the second operation terminal initiates a synchronization request corresponding to each target model to the server, and the server returns a file corresponding to the target element to be synchronized to the second operation terminal so as to trigger the second operation terminal to update the target element to be synchronized. Referring to a graphical user interface schematic diagram of 3D art software shown in fig. 5, the graphical user interface is presented on a job terminal, and the interface includes information of a last submitted element (for example, a "last submitted time: 2022-07-14: 06:20:41" in fig. 5), information of a last synchronized element (for example, a "last synchronized time: 2022-09-21: 19:18:28" in fig. 5), an unlock control, an independent edit control, an element synchronous download control, and element prompt information that needs to be updated currently (for example, a "8 elements need to be updated currently" in fig. 5), and an updated element addition control (for example, a control with an "added updated element" word in fig. 5); the unlocking control is used for triggering the editing request, the independent editing control is used for editing the control, the element synchronous downloading control is used for synchronously updating the selected element, and the updating element adding control is used for adding the element to be updated. By adopting the operation mode, the operation of the operation terminal is prevented from being interrupted for a long time through the targeted synchronous target element, and the collaborative operation efficiency is further improved.
Considering that elements in the Blender software sometimes have a hierarchical relationship, for example, one main element contains a plurality of sub-elements, in order to prevent an error in the hierarchical relationship between elements in the scene loading process, in this embodiment, for the case that the 3D art software is Blender software, the loading of the three-dimensional virtual scene may include: acquiring file data of an element to be edited, which is manufactured in advance through Blender software; loading file data of each element to be edited into a database of Blender software; and reading file data of each element to be edited from the database to generate a three-dimensional virtual scene. In the Blender software, a large number of object elements (also called models) are included. The request function can be used to obtain the object list to be edited from the internet, for this purpose, firstly, the corresponding end path (i.e. the file of each object model in the three-dimensional virtual scene) is obtained according to the file directory, and then the file loading is started. To support the support of complex object levels, the present embodiment directly loads file data into the Blender's own library (library) to read the file to ensure that all objects are loaded correctly. The program code may be referred to as follows:
Figure BDA0004081139450000161
/>
by the method, all objects can be loaded to enter the three-dimensional virtual scene, and meanwhile, the accuracy of the object level can be guaranteed.
After the model is edited, the model needs to be output to the server, and in specific application, a data block can be created in the memory of the operation terminal, the target type is written into the data block, and then the memory data is directly stored in the whole. Specifically, an unordered non-repeating element set () can be created and then the data to be saved is added (such as a model), and then the library in which the element set is located is directly written into the hard disk to save the data to be saved.
Based on the above collaborative operation method executed by the server side, the embodiment of the application further provides a collaborative operation method executed by the operation terminal side, as shown in fig. 6, an execution subject of the method is the operation terminal, and the operation terminal is connected with the server through the operation terminal, the server and the operation terminal are respectively loaded with a three-dimensional virtual scene generated by 3D art software, and the three-dimensional virtual scene includes a plurality of elements to be edited in a preview mode, and the method may include the following steps:
step S602, initiating an editing request for a first element to a server so that the server sets the first element to be in an editing mode for a job terminal; the first element is an element in the elements to be edited.
Step S604, in response to an editing operation for the first element in the three-dimensional virtual scene of the job terminal, a first version element is obtained.
Step S606 submits the first version element to the server to update the first element in the three-dimensional virtual scene of the server as the first version element.
For brevity, the operation manners of the steps S602 to S606 may be specifically referred to the related content, and will not be described herein.
According to the method, the editing request aiming at the first element in the elements to be edited is initiated to the server through the operation terminal, so that the server sets the first element to be in an editing mode for the operation terminal; the method comprises the steps that a job terminal responds to editing operation of a first element in a three-dimensional virtual scene aiming at the job terminal to obtain a first version element; and submitting the first version element to the server through the operation terminal so as to update the first element in the three-dimensional virtual scene of the server to be the first version element. By adopting the technology, the preview mode or the editing mode of each element to be edited is controlled by the server, so that the same element can be edited only by one operation terminal, and the element is still in the preview mode for other operation terminals in the process of editing the operation terminal; when the editing of the element is completed, synchronous updating is performed on the server side so that the version in the server is the latest version of the element. The method can ensure the singleness of the element version, effectively relieves the problem that a plurality of different operation terminals edit the same element to cause that the element cannot be used corresponding to a plurality of versions, and improves the effectiveness of collaborative operation.
As a possible implementation manner, the collaborative operation method may further include: a synchronous query request is initiated to a server according to a preset period; receiving a network version of each element to be edited returned by the server; and updating the elements to be synchronized in the prompt list according to the network version of each element to be edited.
As a possible implementation manner, the collaborative operation method may further include: responding to a synchronization operation initiated for a target element to be synchronized in the prompt list, and initiating a synchronization request to a server; receiving a file corresponding to a target element to be synchronized returned by a server; and updating the target element to be synchronized in the three-dimensional virtual scene of the operation terminal by applying the file corresponding to the target element to be synchronized.
Based on the collaborative operation method, the embodiment of the disclosure further provides a collaborative operation device, where the device is applied to a server, and a plurality of operation terminals are connected through the server, where the server and the operation terminals are respectively loaded with a three-dimensional virtual scene generated by 3D art software, and the three-dimensional virtual scene includes a plurality of elements to be edited in a preview mode, as shown in fig. 7, and the device may include the following modules:
a mode setting module 702, configured to set, in response to an edit request initiated by a first job terminal for a first element, the first element to be an edit mode for the first job terminal, so as to implement editing of the first element in a three-dimensional virtual scene of the first job terminal; wherein the first element is an element in the element to be edited.
And the element receiving module 704 is configured to receive a first version element obtained by editing the first element by the first job terminal.
An element updating module 706, configured to update the first element in the three-dimensional virtual scene of the server to be the first version element.
According to the collaborative operation device, the preview mode or the editing mode of each element to be edited is controlled through the server, so that the same element can be edited only by one operation terminal, and the element is still in the preview mode for other operation terminals in the process of editing the same operation terminal. When the editing of the element is completed, synchronous updating is performed on the server side so that the version in the server is the latest version of the element. The method can ensure the singleness of the element version, effectively relieve the problem that a plurality of different operation terminals edit the same element to cause that the element cannot be used corresponding to a plurality of versions, and promote the effectiveness of collaborative operation; meanwhile, in the cooperative operation process, a special server is used as a link bridge of each operation terminal, the software and hardware performances of the server are reliable, the smoothness of cooperative operation is ensured, and the performance of system operation is further improved.
The mode setting module 702 described above may also be used to: responding to an editing request initiated by a first operation terminal to a first element, and judging whether the terminal version of the first element carried in the editing request is the same as the network version of the first element at the server side; if yes, setting the first element to be an editing mode for the first operation terminal; if not, prompting the first operation terminal to update the first element, and setting the first element to be in an editing mode for the first operation terminal after the first element is updated.
The server may include a data server and a file server, wherein the data server is used for providing a data query service, and the file server is used for providing an element synchronization service; based on this, the above server may also be used to: extracting data information of the first version element from the file of the first version element; wherein the data information comprises network version and setting parameter information of the first version element; and storing the data information of the first version element to the data server, and storing the file of the first version element to a file server.
The server may also be configured to: responding to a synchronous query request initiated by a second operation terminal, and returning the network version of each element to be edited to the second operation terminal so that the second operation terminal updates the element to be synchronized in a prompt list according to the network version of each element to be edited; the second operation terminal initiates the synchronous query request according to a preset period.
The server may also be configured to: and responding to a synchronization request initiated by the second operation terminal aiming at a target element to be synchronized in the prompt list, and returning a file corresponding to the target element to be synchronized to the second operation terminal so as to trigger the second operation terminal to update the target element to be synchronized.
The 3D art software may be Blender software, and the loading of the three-dimensional virtual scene may include: acquiring file data of an element to be edited, which is manufactured in advance through Blender software; loading file data of each element to be edited into a database of the Blender software; and reading file data of each element to be edited from the database to generate a three-dimensional virtual scene.
Based on the above-mentioned cooperative working device on the server side, the embodiment of the disclosure further provides a cooperative working device, where the device is applied to a working terminal, as shown in fig. 8, and the device may include the following modules:
A request sending module 802, configured to initiate an editing request for a first element to the server, so that the server sets the first element to be in an editing mode for the first job terminal; wherein the first element is an element in the element to be edited.
And the element editing module 804 is configured to obtain a first version element in response to an editing operation of the first element in the three-dimensional virtual scene for the first job terminal.
An element updating module 806, configured to submit the first version element to the server, so as to update the first element in the three-dimensional virtual scene of the server to be the first version element.
According to the device, the preview mode or the editing mode of each element to be edited is controlled through the server, so that the same element can be edited only by one operation terminal, and the element is still in the preview mode for other operation terminals in the process of editing the operation terminal. When the editing of the element is completed, synchronous updating is performed on the server side so that the version in the server is the latest version of the element. The method can ensure the singleness of the element version, effectively relieve the problem that a plurality of different operation terminals edit the same element to cause that the element cannot be used corresponding to a plurality of versions, and promote the effectiveness of collaborative operation; meanwhile, in the cooperative operation process, a special server is used as a link bridge of each operation terminal, the software and hardware performances of the server are reliable, the smoothness of cooperative operation is ensured, and the performance of system operation is further improved.
The request sending module 802 may also be configured to: a synchronous query request is initiated to the server according to a preset period; receiving a network version of each element to be edited returned by the server; and updating the elements to be synchronized in the prompt list according to the network version of each element to be edited.
The request sending module 802 may also be configured to: responding to a synchronization operation initiated for a target element to be synchronized in the prompt list, and initiating a synchronization request to the server; receiving a file corresponding to the target element to be synchronized returned by the server; and updating the target element to be synchronized in the three-dimensional virtual scene of the operation terminal by applying the file corresponding to the target element to be synchronized.
The implementation principle and the technical effects of the collaborative operation device provided by the embodiment of the disclosure are the same as those of the foregoing collaborative operation method embodiment, and for brevity, reference may be made to corresponding contents in the foregoing collaborative operation method embodiment where an embodiment portion of the collaborative operation device is not mentioned.
Based on the collaborative operation method, the embodiment of the application also provides a collaborative operation system, which is connected with a plurality of operation terminals through a server, wherein the server and the operation terminals are respectively loaded with a three-dimensional virtual scene generated by 3D art software, and the three-dimensional virtual scene comprises a plurality of elements to be edited in a preview mode; the operation terminal is used for initiating an editing request for a first element to the server, editing the first element in a three-dimensional virtual scene of the operation terminal when the first element is in an editing mode to obtain a first version element, and submitting the first version element to the server; wherein the first element is an element in the element to be edited; the server is used for responding to the editing request, setting the first element to be in an editing mode for the operation terminal, receiving the first version element submitted by the operation terminal, and updating the first element in the three-dimensional virtual scene of the server to be the first version element.
The server, the first terminal, and the second terminal in the collaborative operation application environment shown in fig. 1 are examples of a collaborative operation system, and there may be more operation terminals as needed. Taking 3D art software as Blender software as an example, blender software is installed on a server, blender clients are installed on a first terminal and a second terminal, and the collaborative operation process of the system can comprise the following steps:
(1) The server loads a list of elements in the Blender software, the list of elements comprising various base elements in the three-dimensional virtual scene, at least some of the elements requiring editing by collaborative jobs. The server may store the basic data (such as location information, type, size, etc. of the virtual object) of at least some of these elements in a network database, where the network database may be located in a storage area of the server, or may be located in another location on a network that the server may access, and the server may manage the basic data of these elements with the network database.
The server may provide an art resource recording system based on the above network database, for the users of the first terminal and the second terminal to view related information of the elements on the art resource recording system, where the information may include types, names, description information, editors, status information, modification time information of the elements, and modification controls for the user triggers of the first terminal and the second terminal to modify the elements.
(2) The server displays the files corresponding to each element to the first terminal and the second terminal in the form of file lists, and the files are used for searching, previewing and modifying related files by the first terminal and the second terminal. In order to avoid the first terminal and the second terminal from randomly modifying the elements and causing confusion of element versions, after the server loads the elements, the elements default to a locking state.
(3) And loading the element list by a user of the first terminal or the second terminal through a Blender client to view the art resource recording system. The user of the first terminal or the second terminal can select the element to be edited according to the authority or the cooperation task, and initiate an editing request to the server through the modification control, so that the server unlocks the element on the client side, enters an editing mode of the element, and submits the edited element to the server.
(4) After receiving the submitted element, the server updates the element and locks the element of the client.
The server may also create other events that are automatically completed through the network, which may include notification submission information, notification file modification information, notification triggered by some data change (such as a notification triggered by a change in a company parameter, etc.), etc., that automatically monitor the system operation and automatically trigger completion of the event when a trigger condition is met.
The operation terminal can keep network connection with the server, edit the element on line, edit the element off line, and connect with the server to submit the edited element after the editing is completed. The collaborative operation system supports asynchronous and synchronous operation modes, the server can keep the history version of each element, and when the history version needs to be backed down to a certain history version, the version backing-down can be selected from the history versions of the elements of the server, so that the version management performance of the elements is improved.
The elements in the above embodiments include dynamic virtual roles, virtual carriers and other elements, and static virtual buildings, virtual roads, virtual vegetation and other elements, and when the elements are specifically implemented, the elements may be treated differently according to the types of the elements (static types or dynamic types), and global parameters such as position information, orientation information and the like of at least a part of static elements may be fixed for the static elements, so that the operation terminal does not need to edit such global parameters, can edit appearance parameters of the static elements, and submit the edited appearance parameters to the server, and the server determines the position, orientation and other information of the static elements in the three-dimensional virtual scene according to the global information of the static elements, and then synchronizes the static elements. For a dynamic element, the job terminal may generally edit parameters of various aspects of the dynamic element, so that the dynamic element conforms to the performance in the current scene, and in this case, the server may synchronize the edited dynamic element into the three-dimensional virtual scene.
The implementation principle and the technical effects of the collaborative operation system provided by the embodiment of the disclosure are the same as those of the foregoing collaborative operation method embodiment, and for brevity, reference may be made to corresponding contents in the foregoing collaborative operation method embodiment where an embodiment portion of the collaborative operation system is not mentioned.
The embodiment of the disclosure further provides an electronic device, as shown in fig. 9, which is a schematic structural diagram of the electronic device, where the electronic device 100 includes a processor 91 and a memory 90, where the memory 90 stores computer executable instructions that can be executed by the processor 91, and the processor 91 executes the computer executable instructions to implement the above collaborative operation method.
In the embodiment shown in fig. 9, the electronic device 100 further comprises a bus 92 and a communication interface 93, wherein the processor 91, the communication interface 93 and the memory 90 are connected by the bus 92.
The memory 90 may include a high-speed random access memory (RAM, random Access Memory), and may further include a non-volatile memory (non-volatile memory), such as at least one magnetic disk memory. The communication connection between the system network element and the at least one other network element is implemented via at least one communication interface 93 (which may be wired or wireless), and may use the internet, a wide area network, a local network, a metropolitan area network, etc. Bus 92 may be an ISA (Industry Standard Architecture ) bus, a PCI (Peripheral Component Interconnect, peripheral component interconnect standard) bus, or EISA (Extended Industry Standard Architecture ) bus, among others. The bus 92 may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one bi-directional arrow is shown in fig. 9, but not only one bus or one type of bus.
The processor 91 may be an integrated circuit chip with signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in the processor 91 or by instructions in the form of software. The processor 91 may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU for short), a network processor (Network Processor, NP for short), etc.; but also digital signal processors (Digital Signal Processor, DSP for short), application specific integrated circuits (Application Specific Integrated Circuit, ASIC for short), field-programmable gate arrays (Field-Programmable Gate Array, FPGA for short) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the collaborative method disclosed in connection with the embodiments of the present application may be directly embodied in a hardware decoding processor for execution or may be executed in a combination of hardware and software modules in the decoding processor. The software modules may be located in a random access memory, flash memory, read only memory, programmable read only memory, or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in a memory, and the processor 91 reads the information in the memory, and in combination with its hardware, performs the steps of the collaborative method of the previous embodiment.
The embodiment of the application further provides a computer readable storage medium, where the computer readable storage medium stores computer executable instructions, where the computer executable instructions, when invoked and executed by a processor, cause the processor to implement the above collaborative operation method, and the specific implementation may refer to the foregoing method embodiment and will not be described herein.
The computer program product of the collaborative operation method, the collaborative operation device and the electronic equipment provided in the embodiments of the present application include a computer readable storage medium storing program codes, and instructions included in the program codes may be used to execute the collaborative operation method described in the foregoing method embodiment, and specific implementation may refer to the method embodiment and will not be repeated herein.
The relative steps, numerical expressions and numerical values of the components and steps set forth in these embodiments do not limit the scope of the present application unless specifically stated otherwise.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer readable storage medium executable by a processor. Based on such understanding, the technical solution of the present disclosure may be embodied in essence or a part contributing to the prior art or a part of the technical solution, or in the form of a software product stored in a storage medium, including several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in the embodiments of the present disclosure. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In the description of the present disclosure, it should be noted that the directions or positional relationships indicated by the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. are based on the directions or positional relationships shown in the drawings, are merely for convenience of describing the present disclosure and simplifying the description, and do not indicate or imply that the devices or elements referred to must have a specific orientation, be configured and operated in a specific orientation, and thus should not be construed as limiting the present disclosure. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the foregoing examples are merely specific embodiments of the present disclosure, and are not intended to limit the scope of the disclosure, but the present disclosure is not limited thereto, and those skilled in the art will appreciate that while the foregoing examples are described in detail, it is not limited to the disclosure: any person skilled in the art, within the technical scope of the disclosure of the present disclosure, may modify or easily conceive changes to the technical solutions described in the foregoing embodiments, or make equivalent substitutions for some of the technical features thereof; such modifications, changes or substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the disclosure, and are intended to be included within the scope of the present disclosure. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.

Claims (14)

1. The collaborative operation method is characterized in that a plurality of operation terminals are connected through a server, the server and the operation terminals are respectively loaded with a three-dimensional virtual scene generated by 3D art software, the three-dimensional virtual scene comprises a plurality of elements to be edited in a preview mode, and the method comprises the following steps:
responding to an editing request initiated by a first operation terminal to a first element, setting the first element to be an editing mode for the first operation terminal so as to edit the first element in a three-dimensional virtual scene of the first operation terminal; wherein the first element is an element in the element to be edited;
receiving a first version element obtained by editing the first element by the first operation terminal;
and updating the first element in the three-dimensional virtual scene of the server to be the first version element.
2. The method of claim 1, wherein setting the first element to an edit mode for the first job terminal in response to an edit request initiated by the first job terminal for the first element comprises:
responding to an editing request initiated by a first operation terminal to a first element, and judging whether the terminal version of the first element carried in the editing request is the same as the network version of the first element at the server side;
If yes, setting the first element to be an editing mode for the first operation terminal;
if not, prompting the first operation terminal to update the first element, and setting the first element to be in an editing mode for the first operation terminal after the first element is updated.
3. The method of claim 1, wherein the server comprises a data server and a file server, wherein the data server is configured to provide a data query service and the file server is configured to provide an element synchronization service; the method further comprises the steps of:
extracting data information of the first version element from the file of the first version element; wherein the data information comprises network version and setting parameter information of the first version element;
and storing the data information of the first version element to the data server, and storing the file of the first version element to a file server.
4. The method according to claim 1, wherein the method further comprises:
responding to a synchronous query request initiated by a second operation terminal, and returning the network version of each element to be edited to the second operation terminal so that the second operation terminal updates the element to be synchronized in a prompt list according to the network version of each element to be edited; the second operation terminal initiates the synchronous query request according to a preset period.
5. The method according to claim 4, wherein the method further comprises:
and responding to a synchronization request initiated by the second operation terminal aiming at a target element to be synchronized in the prompt list, and returning a file corresponding to the target element to be synchronized to the second operation terminal so as to trigger the second operation terminal to update the target element to be synchronized.
6. The method of claim 1, wherein the 3D art software is Blender software, and the loading of the three-dimensional virtual scene comprises:
acquiring file data of an element to be edited, which is manufactured in advance through Blender software;
loading file data of each element to be edited into a database of the Blender software;
and reading file data of each element to be edited from the database to generate a three-dimensional virtual scene.
7. The collaborative operation method is characterized in that the collaborative operation method is connected with a server through an operation terminal, the server and the operation terminal are respectively loaded with a three-dimensional virtual scene generated by 3D art software, the three-dimensional virtual scene comprises a plurality of elements to be edited in a preview mode, and the method comprises the following steps:
initiating an editing request for a first element to the server, so that the server sets the first element to be in an editing mode for the operation terminal; wherein the first element is an element in the element to be edited;
Responding to the editing operation of the first element in the three-dimensional virtual scene aiming at the operation terminal, and obtaining a first version element;
and submitting the first version element to the server to update the first element in the three-dimensional virtual scene of the server to be the first version element.
8. The method of claim 7, wherein the method further comprises:
a synchronous query request is initiated to the server according to a preset period;
receiving a network version of each element to be edited returned by the server;
and updating the elements to be synchronized in the prompt list according to the network version of each element to be edited.
9. The method of claim 8, wherein the method further comprises:
responding to a synchronization operation initiated for a target element to be synchronized in the prompt list, and initiating a synchronization request to the server;
receiving a file corresponding to the target element to be synchronized returned by the server;
and updating the target element to be synchronized in the three-dimensional virtual scene of the operation terminal by applying the file corresponding to the target element to be synchronized.
10. The utility model provides a collaborative operation device, its characterized in that, the device is applied to the server, connects a plurality of operation terminals through the server, the server with the operation terminal is loaded with the three-dimensional virtual scene that 3D artistic software produced respectively, include a plurality of waiting to edit elements in preview mode in the three-dimensional virtual scene, the server includes:
The mode setting module is used for responding to an editing request initiated by a first operation terminal to a first element, setting the first element to be an editing mode to the first operation terminal so as to edit the first element in a three-dimensional virtual scene of the first operation terminal; wherein the first element is an element in the element to be edited;
the element receiving module is used for receiving a first version element obtained by editing the first element by the first operation terminal;
and the element updating module is used for updating the first element in the three-dimensional virtual scene of the server to be the first version element.
11. The utility model provides a collaborative operation device, its characterized in that, the device is applied to the operation terminal, through operation terminal is connected with the server, the server with operation terminal is loaded with the three-dimensional virtual scene that 3D artistic software produced respectively, including a plurality of waiting to edit elements in preview mode in the three-dimensional virtual scene, operation terminal includes:
a request sending module, configured to initiate an editing request for a first element to the server, so that the server sets the first element to be in an editing mode for the first job terminal; wherein the first element is an element in the element to be edited;
The element editing module is used for responding to the editing operation of the first element in the three-dimensional virtual scene of the first operation terminal to obtain a first version element;
and the element updating module is used for submitting the first version element to the server so as to update the first element in the three-dimensional virtual scene of the server to be the first version element.
12. The collaborative operation system is characterized in that a plurality of operation terminals are connected through a server, the server and the operation terminals are respectively loaded with a three-dimensional virtual scene generated by 3D art software, and the three-dimensional virtual scene comprises a plurality of elements to be edited in a preview mode;
the operation terminal is used for initiating an editing request for a first element to the server, editing the first element in a three-dimensional virtual scene of the operation terminal when the first element is in an editing mode to obtain a first version element, and submitting the first version element to the server; wherein the first element is an element in the element to be edited;
the server is used for responding to the editing request, setting the first element to be in an editing mode for the operation terminal, receiving the first version element submitted by the operation terminal, and updating the first element in the three-dimensional virtual scene of the server to be the first version element.
13. An electronic device comprising a processor and a memory, the memory storing computer-executable instructions executable by the processor, the processor executing the computer-executable instructions to implement the method of any one of claims 1 to 9.
14. A computer readable storage medium storing computer executable instructions which, when invoked and executed by a processor, cause the processor to implement the method of any one of claims 1 to 9.
CN202310123730.XA 2023-02-02 2023-02-02 Collaborative operation method, device, system, electronic equipment and storage medium Pending CN116030233A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310123730.XA CN116030233A (en) 2023-02-02 2023-02-02 Collaborative operation method, device, system, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310123730.XA CN116030233A (en) 2023-02-02 2023-02-02 Collaborative operation method, device, system, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116030233A true CN116030233A (en) 2023-04-28

Family

ID=86079529

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310123730.XA Pending CN116030233A (en) 2023-02-02 2023-02-02 Collaborative operation method, device, system, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116030233A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117827974A (en) * 2024-01-02 2024-04-05 重庆赛力斯新能源汽车设计院有限公司 Data synchronization method, system, device, equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117827974A (en) * 2024-01-02 2024-04-05 重庆赛力斯新能源汽车设计院有限公司 Data synchronization method, system, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
TWI808393B (en) Page processing method, device, apparatus and storage medium
RU2580022C2 (en) Displaying text in natural language
JP2020513600A (en) User interface extender
WO2023273118A1 (en) Resource publishing method and apparatus, and computer device and computer-readable storage medium
CN111651418B (en) Document content downloading method and device, computer equipment and storage medium
US11733973B2 (en) Interactive graphic design system to enable creation and use of variant component sets for interactive objects
CN116030233A (en) Collaborative operation method, device, system, electronic equipment and storage medium
WO2014152313A2 (en) Method and system for recording information about rendered assets
CN111130996A (en) View information sharing method and device and computer readable storage medium
US8612996B2 (en) Technique for integrating a distributed object system component with a service oriented architecture application
WO2024002302A1 (en) Application management method, application subscription method, and related device
CN114647412A (en) Content display method and terminal equipment
CN110045983B (en) Version library management method and device and server
CN112379934B (en) Deployment method and device of cloud computing platform and storage medium
US20220342644A1 (en) Branching and merging in a design interface
TWI531914B (en) A system and method for augmented reality project management
KR102040392B1 (en) Method for providing augmented reality contents service based on cloud
JP2009187401A (en) Document management system, document management apparatus, and document managing method and program
CN112487218B (en) Content processing method, system, device, computing equipment and storage medium
CN115618239B (en) Management method, system, terminal and medium for deep learning framework training
CN110297898A (en) Asynchronous Compilation Method and device
CN113377723B (en) Cache file management method, device and storage medium
CN116510315A (en) Virtual resource management method, device, computer equipment and storage medium
CN118172443A (en) Method, device, equipment and storage medium for editing special effects
WO2022226241A1 (en) Branching and merging in a design interface

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