Immersive virtual reality interaction method and system based on SaaS architecture
By implementing a data loading strategy and operation command priority processing based on a SaaS architecture, the system load and latency issues during multi-terminal online interaction were resolved, achieving efficient virtual reality interaction.
Patent Information
- Application Number
- CN202411039207.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-30
- Publication Date
- 2025-11-07
- Estimated Expiration
- 2044-07-30
AI Technical Summary
When interacting online across multiple terminals, the data processing of overlapping interactive content in existing technologies increases the system load, causing lag and delays.
Based on a SaaS architecture, the system sets data loading strategies by obtaining the running status of the connection port, parses user operation data and generates operation instructions, prioritizes high-priority instructions, and updates the virtual reality environment in parallel.
This reduces the system's computational load and prevents data delays and asynchrony, thus improving the synchronization efficiency of multi-user terminal operations.
Smart Images

Figure CN118819302B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of virtual reality interaction, in particular to an immersive virtual scene interaction method and system based on a SaaS architecture. BACKGROUND
[0002] AR technology, namely augmented reality technology, is the ultimate application form of multimedia technology, which is the crystallization of rapid development of computer simulation technology, sensor technology, robot technology, display technology and artificial intelligence; AR technology can create a virtual environment in three-dimensional space, allowing the experimenter to have an immersive sense of being there;
[0003] In the prior art, when multiple terminals simultaneously perform online interaction, overlapping content often appears, and the user operation data corresponding to these overlapping parts is independently processed and then synchronized to a unified platform, which increases the data processing load and causes system lag and delay, etc. How to optimize this data processing method by using the priority between user operations to reduce system load is a problem we need to solve. Therefore, the present application provides an immersive virtual scene interaction method and system based on a SaaS architecture. SUMMARY
[0004] The purpose of the present application is to provide an immersive virtual scene interaction method and system based on a SaaS architecture.
[0005] The purpose of the present application can be achieved by the following technical solution: an immersive virtual scene interaction method based on a SaaS architecture, comprising the following steps:
[0006] Step S1: based on a SaaS architecture, a local area network provided with a plurality of link ports is established, and the local area network is linked with a virtual scene environment;
[0007] Step S2: the running state of each link port is obtained, a corresponding data loading strategy is set for each link port according to the running state, and the data loaded by each link port is obtained according to the set data loading strategy;
[0008] Step S3: the data loaded by each link port is parsed, and corresponding operation instructions are generated according to the parsing results;
[0009] Step S4: according to the generated operation instructions, the virtual picture in the virtual scene environment is updated in parallel.
[0010] Further, the process of establishing a local area network provided with a plurality of link ports based on a SaaS architecture and linking the local area network with a virtual scene environment comprises:
[0011] constructing a local area network linked with the virtual reality environment, setting a corresponding registration login port and a link port in the constructed local area network;
[0012] the user registers through the registration login port, and after completing the user registration, generates a user personal port, and links the user personal port with a link port;
[0013] the user logs in through the user personal port, and enters the local area network through the link port linked with the user personal port, and completes the link with the local area network;
[0014] the user initiates a virtual reality link request through the user personal port, sends the virtual reality link request to the virtual reality environment, links the user personal port with the virtual reality environment through the local area network, and constructs a user personal space associated with the link port in the local area network.
[0015] Further, the process of acquiring the running state of each link port and setting a corresponding data loading strategy according to the running state includes:
[0016] acquiring the running state of each link port, and setting a corresponding data loading strategy according to the acquired running state of the link port; wherein the running state of the link port includes an online state and an offline state;
[0017] the data loading strategy includes a data isolation strategy and a data acquisition strategy;
[0018] when the running state of the link port is the online state, the data acquisition strategy is set for the link port;
[0019] according to the set data acquisition strategy, the data loaded by the user through the link port is acquired, and the acquired data is imported into the user personal space associated with the link port;
[0020] when the running state of the link port is the offline state, the data isolation strategy is set for the link port;
[0021] according to the set data isolation strategy, the user personal space associated with the link port is protected by data isolation.
[0022] Further, the process of protecting the user personal space associated with the link port by data isolation according to the set data isolation strategy includes:
[0023] a plurality of data spaces are set in the user personal space, and the data loaded by the user is imported into different data spaces;
[0024] corresponding data access port is set for each data space;
[0025] corresponding access permission is set for each data access port by a user, and data isolation protection is performed on data stored in the data space according to the access permission set by the user; the access permission includes offline accessibility and online accessibility.
[0026] Further, the process of parsing the data loaded by each link port and generating corresponding operation instructions according to the parsing result includes:
[0027] The data loaded by the user is summarized, and the data type of the data loaded by the user is extracted, the data type including operation data type and non-operation data type;
[0028] The data of the operation data type is marked, and a corresponding time axis is established;
[0029] According to the time of uploading the data of the operation data type, a corresponding time stamp is generated for each data, and the time stamp is associated with the corresponding data;
[0030] According to the generated time stamp, each operation data type data is mapped to the time axis, and the operation content of the data on the time axis is read, and the operation sequence in time sequence is obtained according to the operation content;
[0031] According to the operation sequence, a plurality of operation instructions are generated, and the operation instructions are uploaded to the virtual real scene environment.
[0032] Further, the process of performing corresponding parallel update on the virtual picture in the virtual real scene environment according to the generated operation instruction includes:
[0033] An initial view center point of a user in a virtual real scene environment is obtained, and a virtual picture in a view range corresponding to the initial view center point is obtained;
[0034] According to the operation instruction received by the virtual real scene environment, the virtual picture is executed corresponding to the scene change;
[0035] It is judged whether there is other operation instruction corresponding to the generation time of the operation instruction, all operation instructions generated at the same time are summarized, and it is judged whether there is mutual influence between each operation instruction, if there is mutual influence, the operation instruction with mutual influence is updated in parallel according to the instruction priority relationship, and the virtual picture updated in parallel is iterated in the corresponding position of the virtual real scene environment.
[0036] Further, the process of judging whether there is mutual influence between operation instructions includes:
[0037] The virtual pictures corresponding to the two operation instructions are marked, and whether there is an overlapping part between the two virtual pictures is obtained, if there is no overlapping part, it means that there is no mutual influence between the two operation instructions, if there is an overlapping part, the overlapping part is marked;
[0038] Whether the two operation instructions will cause the virtual picture corresponding to the marked overlapping part to change the scene is obtained, if the scene changes, it means that there is mutual influence between the two operation instructions, otherwise, it means that there is no mutual influence between the two operation instructions.
[0039] Further, the process of parallel updating the virtual picture corresponding to the operation instruction with mutual influence according to the instruction priority relationship includes:
[0040] Marking and summarizing some operation instruction and other operation instructions with mutual influence;
[0041] Marking the overlapping part in the virtual picture corresponding to the operation instruction, and obtaining the generation time and the effective time of the operation instruction;
[0042] Obtain the priority relationship of the operation instruction and other operation instructions to the virtual picture of the overlapping part within the effective time, the priority relationship includes high-level relationship, flat relationship and low-level relationship;
[0043] When the priority relationship of the operation instruction relative to other operation instructions executes the operation content of the operation instruction on the overlapping part in the virtual picture, and obtains the corresponding execution effect;
[0044] The execution effect is updated to the virtual picture of the user corresponding to all operation instructions in the virtual real scene environment, and the corresponding execution effect is updated in real time in the virtual real scene environment.
[0045] Further, the immersive virtual real scene interactive system based on SaaS architecture includes a monitoring center, characterized in that the monitoring center is in communication connection with a user module, a data acquisition module, a data analysis module and a data synchronization module;
[0046] The user module is used to link the user with the virtual real scene environment through the local area network;
[0047] The data acquisition module is used to set corresponding data loading strategies for each link port according to the running state of the link port, and acquire the data loaded by each link port according to the set data loading strategy;
[0048] The data analysis module is used for analyzing the data loaded by each link port, and generating corresponding operation instructions according to the analysis result;
[0049] The data synchronization module is used for performing corresponding parallel update on the virtual picture in the virtual real scene environment according to the generated operation instruction.
[0050] Compared with the prior art, the beneficial effects of the present application are:
[0051] By analyzing the influence of the priority of the operation instruction initiated by different users on the overlapping part of the respective virtual picture, and executing the operation instruction with higher priority according to the analysis result, and obtaining the execution effect of the operation instruction, and then mapping the final execution effect to each user's terminal and the virtual real scene environment, when the operations of multiple user terminals simultaneously affect a virtual picture, the overlapping area is processed only once, and the processing result is synchronized to each user terminal and the virtual real scene environment, thereby avoiding the need to process each operation instruction independently without discrimination when each user generates an operation instruction, thereby reducing the computational load of the system, and based on the characteristics of the SaaS architecture, the processing result of the overlapping area can be quickly synchronized to each user terminal and the virtual real scene environment, and the traditional synchronous online processing of each user terminal is prone to data delay and synchronization. BRIEF DESCRIPTION OF DRAWINGS
[0052] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the drawings needed in the embodiments will be briefly introduced as follows. Obviously, the drawings in the following description are only some embodiments described in the present application, and other drawings can also be obtained by those skilled in the art based on these drawings.
[0053] Figure 1 Flowchart of the present application. DETAILED DESCRIPTION
[0054] As Figure 1 shown, the immersive virtual real scene interaction method based on SaaS architecture includes the following steps:
[0055] Step S1: based on SaaS architecture, a local area network provided with a plurality of link ports is established, and the local area network is linked with a virtual real scene environment;
[0056] Step S2: obtain the running state of each link port, set corresponding data loading strategy for each link port according to the running state, and obtain the data loaded by each link port according to the set data loading strategy;
[0057] Step S3: parsing the data loaded by each link port, and generating corresponding operation instructions according to the parsing results;
[0058] Step S4: according to the generated operation instructions, the virtual picture in the virtual real scene environment is updated correspondingly in parallel;
[0059] It should be further pointed out that, in the specific implementation process, the process of establishing a local area network with a plurality of link ports based on SaaS architecture and linking the local area network with the virtual real scene environment includes:
[0060] Constructing a local area network linked with the virtual real scene environment, and setting corresponding registration login ports and link ports in the constructed local area network;
[0061] The user registers through the registration login port, and after completing the user registration, generates a user personal port, and links the user personal port with a link port;
[0062] The user logs in through the user personal port, and enters the local area network through the link port linked with the user personal port to complete the link with the local area network;
[0063] The user initiates a virtual real scene link request through the user personal port, and sends the virtual real scene link request to the virtual real scene environment, then links the user personal port with the virtual real scene environment through the local area network, and constructs a user personal space associated with the link port in the local area network.
[0064] It should be further pointed out that, in the specific implementation process, the process of obtaining the running state of each link port, and setting a corresponding data loading strategy for each link port according to the running state includes:
[0065] The running state of each link port is obtained, and a corresponding data loading strategy is set according to the obtained running state of the link port; wherein the running state of the link port includes online state and offline state, and the online state is the state of the link port when the user personal port is linked with the virtual real scene environment through the local area network, and the offline state indicates that the user personal port is not linked with the virtual real scene environment;
[0066] The data loading strategy includes data isolation strategy and data acquisition strategy;
[0067] When the running state of the link port is online, the data acquisition strategy is set for the link port;
[0068] According to the set data acquisition strategy, the data loaded by the user through the link port is acquired, and the acquired data is imported into the user personal space associated with the link port; it needs to be further explained that in the specific implementation process, the data loaded by the user through the link port includes operation data and interaction data;
[0069] When the running state of the link port is an offline state, a data isolation strategy is set for the link port;
[0070] According to the set data isolation strategy, the user personal space associated with the link port is protected by data isolation, so that the data in the user personal space cannot be tampered with or lost when the user is in an offline state.
[0071] It needs to be further explained that in the specific implementation process, according to the set data isolation strategy, the process of protecting the user personal space associated with the link port by data isolation includes:
[0072] A plurality of data spaces are set in the user personal space, and the data loaded by the user is imported into different data spaces; it needs to be further explained that in the specific implementation process, the user can perform editing operations on the data imported into the data space, and the editing operations include: selecting to move the data in one data space to other data spaces, or modifying or deleting the data in the data space;
[0073] A corresponding data access port is set for each data space;
[0074] The user sets a corresponding access permission for each data access port, and protects the data stored in the data space according to the access permission set by the user; the access permission includes offline access and online access;
[0075] When the access permission set by the data access port is offline access, it means that when the running state of the link port is an offline state or an online state, other users can access the data in the corresponding data space;
[0076] When the access permission set by the data access port is online access, it means that only when the running state of the link port is an online state, other users can initiate an access request, and when the user accesses the access request, other users can access the data in the corresponding data space.
[0077] It needs to be further explained that in the specific implementation process, the process of analyzing the data loaded by each link port and generating corresponding operation instructions according to the analysis result includes:
[0078] aggregate the data loaded by the user and extract data types of the data loaded by the user, the data types including operation data types and non-operation data types;
[0079] mark the data of the operation data types and establish a corresponding time axis;
[0080] generate a corresponding time stamp for each data according to the time when the data of the operation data types is uploaded, and associate the time stamp with the corresponding data;
[0081] map each data of the operation data types to the time axis according to the generated time stamp, read the operation content of the data to be set on the time axis, and obtain an operation sequence in time sequence according to the operation content;
[0082] generate a plurality of operation instructions according to the operation sequence, and upload the operation instructions to the virtual real scene environment.
[0083] It should be further explained that, in the specific implementation process, the process of performing corresponding parallel update on the virtual picture in the virtual real scene environment according to the generated operation instruction includes:
[0084] obtain an initial view center point of the user in the virtual real scene environment, and obtain the virtual picture in the view range corresponding to the initial view center point;
[0085] perform corresponding scene changes on the virtual picture according to the operation instruction received by the virtual real scene environment;
[0086] obtain whether there is other operation instruction corresponding to the generation time of the operation instruction, aggregate all operation instructions generated at the same time, and determine whether there is mutual influence between each operation instruction, if there is mutual influence, then perform parallel update on the virtual picture corresponding to the operation instruction with mutual influence according to the instruction priority relationship, and iterate the parallel updated virtual picture in the corresponding position of the virtual real scene environment;
[0087] It should be further explained that, in the specific implementation process, the process of determining whether there is mutual influence between the operation instructions includes:
[0088] mark the virtual pictures corresponding to the two operation instructions, and obtain whether there is an overlapping part between the two virtual pictures, if there is no overlapping part, it means that there is no mutual influence between the two operation instructions, if there is an overlapping part, mark the overlapping part;
[0089] whether the two operation instructions will cause the virtual picture corresponding to the marked overlapping part to change scenes, if the scene change will occur, it indicates that there is mutual influence between the two operation instructions, otherwise, it indicates that there is no mutual influence between the two operation instructions.
[0090] It needs to be further explained that in the specific implementation process, the operation instructions with mutual influence are marked and summarized according to the instruction priority relationship, and the virtual picture corresponding to the operation instructions with mutual influence is updated in parallel, which includes:
[0091] marking and summarizing the operation instructions and other operation instructions with mutual influence;
[0092] marking the overlapping part in the virtual picture corresponding to the operation instructions, and obtaining the generation time and the effective time of the operation instruction;
[0093] obtaining the priority relationship of the operation instruction affecting the virtual picture of the overlapping part with other operation instructions within the effective time, the priority relationship including high-level relationship, flat-level relationship and low-level relationship;
[0094] When the priority relationship of the operation instruction relative to other operation instructions is high-level relationship, it indicates that the priority of the operation instruction relative to other operation instructions is higher, and the priority of the operation instruction affecting the overlapping part in the virtual picture is higher than that of other operation instructions within the effective time of the operation instruction, and the execution effect of the operation instruction on the overlapping part in the virtual picture is obtained, while the influence of other operation instructions on the overlapping part in the virtual picture is ignored;
[0095] When the priority relationship of the operation instruction relative to other operation instructions is flat-level relationship, it indicates that the priority of the operation instruction relative to other operation instructions is the same, and the influence of the operation instruction on the overlapping part in the virtual picture is executed at the same time within the effective time of the operation instruction, and the corresponding execution effect is obtained;
[0096] When the priority relationship of the operation instruction relative to other operation instructions is low-level relationship, it indicates that the priority of the operation instruction relative to other operation instructions is lower, and the influence of the operation instruction on the overlapping part in the virtual picture is ignored, and the operation content corresponding to the operation instruction with the highest priority in the overlapping part in the virtual picture is executed, and the corresponding execution effect is obtained;
[0097] the execution effect is updated to the virtual picture of the user corresponding to all operation instructions corresponding to the overlapping part in the virtual real scene environment in parallel, and the corresponding execution effect is updated in real time in the virtual real scene environment.
[0098] In another embodiment of the present application, the present application also discloses an immersive virtual reality interactive system based on SaaS architecture, comprising a monitoring center, wherein the monitoring center is in communication connection with a user module, a data acquisition module, a data analysis module and a data synchronization module.
[0099] The user module is configured to link the user with the virtual reality environment through a local area network.
[0100] The data acquisition module is configured to set a corresponding data loading strategy for each link port according to the running state of the link port, and acquire the data loaded by each link port according to the set data loading strategy.
[0101] The data analysis module is configured to analyze the acquired data loaded by each link port, and generate a corresponding operation instruction according to the analysis result.
[0102] The data synchronization module is configured to perform a corresponding parallel update on the virtual picture in the virtual reality environment according to the generated operation instruction.
[0103] The above embodiments are only used to illustrate the technical method of the present application but not limit the present application. Although the present application has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical method of the present application can be modified or replaced equivalently without departing from the spirit and scope of the technical method of the present application.
Claims
1. An immersive virtual reality interaction method based on a SaaS architecture, characterized in that, The method comprises the following steps: Step S1: establishing a local area network provided with a plurality of link ports based on a SaaS architecture, and linking the local area network with a virtual reality environment; Step S2: acquiring the running states of the link ports, setting corresponding data loading strategies for the link ports according to the running states, and acquiring the data loaded by the link ports according to the set data loading strategies; Step S3: analyzing the data loaded by the link ports, and generating corresponding operation instructions according to the analysis results; Step S4: performing corresponding parallel updates on the virtual pictures in the virtual reality environment according to the generated operation instructions; The process of performing parallel updates on the virtual pictures corresponding to the operation instructions that exist in mutual influence according to the instruction priority relationship comprises: Marking and collecting the operation instructions that exist in mutual influence; Marking the overlapping parts in the virtual pictures corresponding to the operation instructions, and acquiring the generation time and effective time of the operation instructions; Acquiring the priority relationship of the operation instructions with other operation instructions in influencing the virtual pictures of the overlapping parts within the effective time, wherein the priority relationship comprises high-level relationship, flat-level relationship and low-level relationship; Executing the operation contents of the operation instructions on the overlapping parts in the virtual pictures according to the priority relationship of the operation instructions relative to other operation instructions, and acquiring the corresponding execution effects; Parallelly updating the execution effects to the virtual pictures of all the operation instructions corresponding to the overlapping parts in the virtual reality environment of the users, and updating the corresponding execution effects in real time in the virtual reality environment. 2.The SaaS architecture based immersive virtual reality interaction method according to claim 1, wherein, The process of establishing a local area network provided with a plurality of link ports based on a SaaS architecture, and linking the local area network with a virtual reality environment comprises: Constructing a local area network linked with a virtual reality environment, and setting corresponding registration login ports and link ports in the constructed local area network; Users register through the registration login ports, and after completing user registration, generate user personal ports, link the user personal ports with a link port; Users log in through the user personal ports, and enter the local area network through the link port linked with the user personal port to complete the link with the local area network; Users initiate a virtual reality link request through the user personal port, send the virtual reality link request to the virtual reality environment, link the user personal port with the virtual reality environment through the local area network, and construct a user personal space associated with the link port in the local area network. 3.The SaaS architecture based immersive virtual reality interaction method according to claim 2, wherein, The process of acquiring the running states of the link ports, and setting corresponding data loading strategies for the link ports according to the running states comprises: Acquiring the running states of the link ports, and setting corresponding data loading strategies according to the acquired running states of the link ports; wherein the running states of the link ports comprise online state and offline state; The data loading strategies comprise data isolation strategy and data acquisition strategy; When the running state of the link port is online state, the data acquisition strategy is set for the link port; According to the set data acquisition strategy, the data loaded by the user through the link port is acquired, and the acquired data is imported into the user personal space associated with the link port; When the running state of the link port is offline, a data isolation strategy is set for the link port; According to the set data isolation strategy, the user personal space associated with the link port is protected by data isolation.
4. The SaaS architecture based immersive virtual reality interaction method according to claim 3, wherein, The process of protecting the user personal space associated with the link port by data isolation according to the set data isolation strategy includes: A plurality of data spaces are set in the user personal space, and the data loaded by the user is imported into different data spaces; A corresponding data access port is set for each data space; The user sets a corresponding access permission for each data access port, and the data stored in the data space is protected by data isolation according to the access permission set by the user; the access permission includes offline access and online access.
5. The SaaS architecture based immersive virtual reality interaction method as claimed in claim 4, wherein, The process of analyzing the data loaded by each link port and generating corresponding operation instructions according to the analysis result includes: The data loaded by the user is summarized, and the data type of the data loaded by the user is extracted, including operation data type and non-operation data type; Data of operation data type is marked, and a corresponding time axis is established; According to the time of uploading the operation data type data, a corresponding time stamp is generated for each data, and the time stamp is associated with the corresponding data; According to the generated time stamp, each operation data type data is mapped to the time axis, and the operation content of the data on the time axis is read, and the operation sequence in time sequence is obtained according to the operation content; According to the operation sequence, a plurality of operation instructions are generated, and the operation instructions are uploaded to the virtual scene environment.
6. The SaaS architecture based immersive virtual reality interaction method according to claim 5, wherein, The process of updating the virtual picture in the virtual scene environment according to the generated operation instruction includes: Obtain the initial view center point of the user in the virtual scene environment, and obtain the virtual picture in the view range corresponding to the initial view center point; According to the operation instruction received by the virtual scene environment, the virtual picture is executed corresponding to the scene change; Determine whether there is other operation instruction corresponding to the generation time of the operation instruction, and collect all operation instructions generated at the same time, and determine whether there is mutual influence between each operation instruction, if there is mutual influence, the operation instruction with mutual influence is updated in parallel according to the instruction priority relationship, and the virtual picture updated in parallel is iterated in the corresponding position of the virtual scene environment.
7. The SaaS architecture based immersive virtual reality interaction method according to claim 6, wherein, The process of determining whether there is mutual influence between operation instructions includes: The virtual pictures corresponding to the two operation instructions are marked, and whether there is an overlapping part between the two virtual pictures is obtained, if there is no overlapping part, it means that there is no mutual influence between the two operation instructions, if there is an overlapping part, the overlapping part is marked; Whether the two operation instructions will cause the virtual picture corresponding to the marked overlapping part to change scenes, if the scene will change, it indicates that there is mutual influence between the two operation instructions, otherwise, it indicates that there is no mutual influence between the two operation instructions.
8. A virtual reality interaction system for implementing the method of immersive virtual reality interaction based on SaaS architecture according to any one of claims 1 to 7, comprising a monitoring center, characterized in that, The monitoring center is in communication connection with a user module, a data acquisition module, a data analysis module and a data synchronization module; The user module is used for linking the user with the virtual real scene environment through the local area network; The data acquisition module is used for setting a corresponding data loading strategy for each link port according to the running state of the link port, and acquiring the data loaded by each link port according to the set data loading strategy; The data analysis module is used for analyzing the data loaded by each link port, and generating corresponding operation instructions according to the analysis result; The data synchronization module is used for performing corresponding parallel update on the virtual picture in the virtual real scene environment according to the generated operation instructions.
Citation Information
Patent Citations
Virtual reality scene interaction method and system of SaaS platform
CN118295538A