Building decoration component interaction method and system based on virtual reality and intelligent control
By generating 3D layout models and movement paths, and combining virtual reality and intelligent control, the synchronous switching between virtual decorative components and physical space is achieved, enhancing the user's immersive experience and solving the problem of monotonous interaction effects between virtual architectural decorative components and physical space.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- GUANGDONG CONSTR VOCATIONAL TECH INST
- Filing Date
- 2026-01-16
- Publication Date
- 2026-06-05
AI Technical Summary
In existing technologies, the interaction between virtual architectural decorative components and physical space layout is relatively simple, making it difficult for users to experience the changes in the layout of decorative components in physical space, and the immersive experience needs to be improved.
By recognizing user interaction commands, a 3D layout model is generated, and a movement path is generated based on the current and target location information to achieve the interaction between virtual decorative components and physical space. Using digital twin technology and intelligent control system, switching commands are generated to synchronously switch decorative components in virtual reality and physical space.
It achieves the interactive effect of combining virtual architectural decorative components with physical space layout, enhances the user's immersive experience, reduces the probability of accidental triggering of interactive commands, and enhances the interactive experience of virtual reality decorative components.
Smart Images

Figure CN122152408A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of intelligent interaction, and in particular to an interactive method and system for architectural decorative components based on virtual reality and intelligent control. Background Technology
[0002] To promote and experience Cantonese culture more comprehensively, VR technology is currently used to create architectural and decorative space models of Cantonese architectural components, allowing users to immerse themselves in the experience, change materials and layouts. However, this type of interaction remains only at the virtual level. For example, different virtual decorative components are displayed and changed through a virtual screen. Changes in architectural and decorative components are all changes in the virtual image, and there are very few instances where the virtual components are combined with the physical space layout. The display effect is relatively simple, and users find it difficult to experience the changes in the layout of decorative components in physical space. Therefore, the effect of the immersive experience can be further improved. Summary of the Invention
[0003] In order to achieve the interactive effect of combining virtual architectural decorative components with physical space layout and enhance the user's experience of interacting with virtual reality architectural decorative components, this application provides an interactive method and system for architectural decorative components based on virtual reality and intelligent control.
[0004] The above-mentioned objective of this application is achieved through the following technical solution: A method for interacting with architectural decorative components based on virtual reality and intelligent control includes the following steps: When an interactive command is received from the user to switch virtual building decoration components, the current decoration component information and the decoration component information to be displayed are identified. Retrieve the first 3D layout model corresponding to the current decorative component information, and retrieve the second 3D layout model corresponding to the decorative component information to be displayed. Identify the current position information of each display terminal in the first three-dimensional layout model and the target position information of each display terminal in the second three-dimensional layout model; Generate movement path information based on current location information and target location information; Generate a switching command, obtain matching decorative component screen data based on the decorative construction information to be displayed and map it to the corresponding display terminal, and move the display terminal to the target position based on the movement path information.
[0005] By adopting the above technical solution, when switching virtual architectural decorative components, the user first issues an interactive command to confirm the theme and style of the currently displayed decorative component, as well as the theme and style of the decorative component to be switched. A corresponding three-dimensional layout model is then generated using digital twin technology. This model includes the layout of the virtual decorative component and the spatial layout of each movable display terminal in the physical space. The first and second three-dimensional layout models are distinguished by the time of the switch, but are essentially both layout models of architectural decorative components. Further, by comparing the positions of each physical display terminal before and after the model, a corresponding movement path is generated. This movement path represents the total path the physical display terminal must travel when switching from one architectural decorative component layout to another. Thus, a single interactive command confirms both the virtual decorative component image data and the movement path of each display terminal in the physical space, generating a switching command to switch the subject and style of the architectural decorative component in both virtual and physical dimensions. This achieves a combined interactive effect between the virtual architectural decorative component and the physical space layout, enhancing the user's experience of interacting with virtual reality architectural decorative components.
[0006] Optionally, the step of identifying the current decorative component information and the decorative component information to be displayed when receiving an interactive command from the user terminal for switching virtual architectural decorative components includes: When an interactive request command is received, the user's movement trajectory information is identified; Determine whether to trigger an interaction command based on movement trajectory information; If so, identify the current decorative component information and determine whether the user specified the decorative component information to be displayed when issuing the interaction request command; If not specified, the information of the decorative components to be displayed will be obtained based on the preset display order of the decorative components.
[0007] By adopting the above technical solution, the user terminal is set as a handheld mobile terminal equipped with a displacement sensing device, which can identify the user's movement trajectory information. The movement trajectory information is used to determine whether to change the style of the architectural decorative components, thus enhancing the user's VR experience. Furthermore, the user terminal can specify the decorative component information to be switched, or switch the decorative component information based on a preset display order, which facilitates flexible switching of architectural decorative components. The judgment of movement trajectory information also reduces the probability of accidental triggering of interaction commands to a certain extent.
[0008] Optionally, the step of obtaining the decorative components to be displayed based on a preset display order of decorative components, if not specified, includes: If no information about the decorative components to be displayed is specified, the movement trajectory information will be mapped to a preset planar coordinate system. Based on the coordinate sequence of the movement trajectory information in the three-dimensional coordinate system, a timestamp is added to the generation order of the coordinate sequence; The direction information of the movement trajectory is determined based on the coordinate sequence and the corresponding timestamp. Based on directional information and display order, obtain the corresponding information of the decorative components to be displayed.
[0009] By adopting the above technical solution, in order to more accurately identify the user's movement trajectory information when waving the user terminal, the movement trajectory of the user terminal is mapped onto a preset planar coordinate system to obtain a coordinate sequence. The direction of the user's waving of the user terminal can be identified by the timestamp of the coordinate sequence, thereby determining the decorative components to be displayed. For example, the theme style of the architectural decorative components corresponding to swiping left and right is different, which improves the user's interactive experience and makes the switching more flexible.
[0010] Optionally, the step of determining the direction information of the movement trajectory based on the coordinate sequence and the corresponding timestamp further includes: Based on the unit distance of the preset planar coordinate system, obtain the number of corresponding coordinate sequences and the timestamp information between two adjacent coordinate points in the coordinate sequence; When the number of coordinate sequences is greater than the preset number, and the timestamps between two adjacent coordinate points meet the interval rule, it is determined that the direction information of the current movement trajectory can be extracted. When the number of coordinate sequences is less than or equal to the preset number, or when the timestamps between two adjacent coordinate sequences do not meet the interval rule, the current movement trajectory information is determined to be invalid.
[0011] By adopting the above technical solution, in order to further avoid the occurrence of accidental triggering of interactive commands by the user terminal, in the recognition of movement trajectory information, it is necessary to determine the number of coordinate sequences and the timestamp information between two adjacent coordinate points based on the trajectory length and unit length in the planar coordinate system. That is, to determine the number of coordinate points and the time difference generated between two adjacent coordinate points, the coordinate sequences need to meet the preset number, that is, the waving distance of the user terminal must be sufficient, and the timestamps between two adjacent coordinate sequences must meet the interval rule, that is, the time interval between two adjacent coordinate points must reach the preset time interval, and the number of time intervals reached must be greater than the preset threshold. This proves that the user needs to maintain a certain speed and wave the user terminal at a constant speed to trigger the recognition of direction information, thereby reducing the occurrence of accidental triggering.
[0012] Optionally, the steps of identifying the current position information of each display terminal in the first three-dimensional layout model and identifying the target position information of each display terminal in the second three-dimensional layout model include: Identify the identification information of each display terminal in the first three-dimensional layout model diagram; Based on the identification information, obtain the identification points that have been pre-numbered in each display terminal; obtain the first coordinate information of each identification point, and package the first coordinate information of all identification points to obtain the current location information; Associate the display terminals in the second three-dimensional layout model with the same identifier as the first three-dimensional layout model, and identify the corresponding identification points in the display terminals based on the contour information, obtain the second coordinate information of the identification points, and package the second coordinate information of all identification points to obtain the target position information. Associate the first and second coordinate information of the same identification point in the same display terminal.
[0013] By adopting the above technical solution, since there are many display terminals and some display terminals have the same shape and outline, each display terminal is identified to obtain identification information to distinguish each display terminal, which facilitates the subsequent path matching of each display terminal. Furthermore, by pre-setting identification points for each display terminal, such as the edge coordinate points of the display terminal as identification points, the current position information of the display terminal, i.e., the first coordinate information, can be determined. Furthermore, based on the association between the identification and the identification points, the target position of each display terminal in the decorative component information to be switched can be known, that is, the specific position of the same display terminal before and after the interactive command switching can be obtained, which can obtain the movement path information, and the method of obtaining the movement path information is simpler.
[0014] Optionally, the step of generating movement path information based on current location information and target location information includes: Based on the same display terminal, determine and obtain the distance change information between the same identification points from the first coordinate information to the second coordinate information; If none of the recognition points change distance, the display terminal does not need to move during this switching interaction command. If distance change information is generated among all identification points, then identify the identification point that has generated the change; Based on the distance change information of the changing identification points, the movement sub-paths of each corresponding display terminal are matched from the preset path database. Based on the movement logic rules, the startup time and driver corresponding to each movement sub-path are matched to obtain the movement path information.
[0015] By adopting the above technical solution, by acquiring the distance change information of each recognition point in the same display terminal, if all recognition points of the display terminal do not change, that is, the display terminal does not need to move, when the recognition points of the display terminal generate distance change data, that is, the distance between the first coordinate information and the second coordinate information of the recognition point changes, then according to the distance change information of each recognition point, the corresponding movement sub-path of the display terminal is matched from the path database. After the movement sub-path of each display terminal is matched, according to the change of the path, the driver program of the movement sub-path can be matched from the movement logic rules, that is, the display terminal startup time, the driving method used during movement, the driving duration and driving sequence of different driving methods during movement, such as rotation, swing and translation, etc., to realize the driving decomposition of movement path information.
[0016] Optionally, the step of matching the driver corresponding to each mobile sub-path based on the mobile logic rules to obtain the mobile path information includes: Based on the theme transformation relationship between the current decorative component information and the decorative component information to be displayed, the movement logic rules that match the current theme transformation relationship are obtained from the preset driver database; Obtain the driver type, driver time, and driver order corresponding to each display terminal in the mobile logic rules; A corresponding driver plan table is generated based on the driver type, driver time, and driver sequence, and the driver plan table is used as the movement path information.
[0017] By adopting the above technical solution, regarding the generation of the driver, since the movement sub-paths of different display terminals are different, the first display terminal may need to translate, the second display terminal needs to translate and then rotate, and the third display terminal needs to swing and then rotate. Therefore, it is necessary to match the drive type, drive time and drive sequence of each display terminal, and to avoid path conflicts during the movement process, a drive plan table is generated to determine the movement time and path of each display terminal, so as to complete the overall simultaneous movement of multiple display terminals.
[0018] The second objective of this invention is achieved through the following technical solution: An interactive system for architectural decorative components based on virtual reality and intelligent control, comprising: The interaction recognition module is used to identify the current decorative component information and the decorative component information to be displayed when it receives an interaction command from the user terminal to switch virtual building decorative components. The model retrieval module is used to retrieve the first three-dimensional layout model corresponding to the current decorative component information and to retrieve the second three-dimensional layout model corresponding to the decorative component information to be displayed. The position matching module is used to identify the current position information of each display terminal in the first three-dimensional layout model and the target position information of each display terminal in the second three-dimensional layout model. The path generation module is used to generate movement path information based on the current location information and the target location information; The switching module is used to generate switching instructions, obtain matching decorative component screen data based on the decorative construction information to be displayed and map it to the corresponding display terminal, and move the display terminal to the target position based on the movement path information.
[0019] The above-mentioned objective three of this application is achieved through the following technical solution: A computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the above-described interactive method for architectural decorative components based on virtual reality and intelligent control.
[0020] The fourth objective of this application is achieved through the following technical solution: A computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the above-described interactive method for architectural decorative components based on virtual reality and intelligent control.
[0021] In summary, this application includes at least one of the following beneficial technical effects: 1. By comparing the positions of each physical display terminal before and after the model, the corresponding movement path is generated. The movement path represents the total path that the physical display terminal needs to move when switching from one architectural decorative component layout to another. Thus, a single interactive command confirms the virtual decorative component screen data and the movement path of each display terminal in the physical space. A switching command is generated to switch the subject and style of the architectural decorative component in both virtual and physical dimensions, realizing the combined interactive effect of virtual architectural decorative components and physical space layout, and enhancing the user's experience of interacting with virtual reality architectural decorative components. 2. By setting the user terminal as a handheld mobile terminal and equipping it with a displacement sensor, the user's movement trajectory information can be identified. This movement trajectory information can then be used to determine whether to change the style of the architectural decorative components, enhancing the user's VR experience. Furthermore, the user terminal can specify the decorative components to be switched, or switch the decorative components based on a preset display order, facilitating flexible switching of architectural decorative components. The determination of movement trajectory information also reduces the probability of accidental triggering of interactive commands to some extent. 3. Since there are many display terminals and some display terminals have the same shape and outline, each display terminal is identified to obtain identification information to distinguish each display terminal, which facilitates the subsequent path matching of each display terminal. Furthermore, by pre-setting identification points for each display terminal, such as the edge coordinate points of the display terminal as identification points, the current position information of the display terminal, i.e., the first coordinate information, can be determined. Furthermore, based on the association between the identification and the identification points, the target position of each display terminal in the decorative component information to be switched can be known, i.e., the specific position of the same display terminal before and after the interactive command switching can be obtained. 4. Regarding the generation of the driver, since the movement sub-paths of different display terminals are different, the first display terminal may need to translate, the second display terminal needs to translate and then rotate, and the third display terminal needs to swing and then rotate. Therefore, it is necessary to match the driver type, driver time and driver sequence of each display terminal, and to avoid path conflicts during the movement process, a driver plan table is generated to determine the movement time and path of each display terminal, so as to complete the overall simultaneous movement of multiple display terminals. Attached Figure Description
[0022] Figure 1 This is a flowchart illustrating an embodiment of an interactive method for architectural decorative components based on virtual reality and intelligent control, as described in this application. Figure 2 This is a flowchart of step S10 in an embodiment of an interactive method for architectural decorative components based on virtual reality and intelligent control according to this application; Figure 3 This is a flowchart of step S40 in an embodiment of an interactive method for architectural decorative components based on virtual reality and intelligent control according to this application; Figure 4 This is a schematic block diagram of a computer device according to this application. Detailed Implementation
[0023] The following is in conjunction with the appendix Figure 1-4 This application will be described in further detail.
[0024] In the following embodiments, such as Figure 1 As shown, this application discloses an interactive method for architectural decorative components based on virtual reality and intelligent control, which specifically includes the following steps: S10: When receiving an interactive command from the user to switch virtual building decoration components, identify the current decoration component information and the decoration component information to be displayed; In this embodiment, the user terminal is a mobile terminal held by the user during interaction, such as a handheld smart device with a display processor and a position sensor. Virtual architectural decorative component images are displayed through multiple displays at different specific locations, such as Cantonese-style stained glass windows, wood carvings on doors and windows, etc. The current decorative component information refers to the name, number, and other identification information of the currently displayed decorative component, while the information of the virtual decorative component to be displayed refers to the name, number, and other identification information of the virtual decorative component to be displayed after the current interaction command is issued.
[0025] Interactive commands refer to control commands issued by the user to switch the theme, style, and content of the currently displayed virtual architectural decorative components.
[0026] Specifically, refer to Figure 2 Step S10 includes the following steps: S11: When an interactive request instruction is received, the user's movement trajectory information is identified; S12: Determine whether to trigger an interaction command based on movement trajectory information; S13: If triggered, identify the current decorative component information and determine whether the user specified the decorative component information to be displayed when issuing the interaction request command; S14: If not specified, the information of the decorative components to be displayed will be obtained based on the preset display order of the decorative components.
[0027] Among them, the interaction request command is a necessary prerequisite command for the interaction command, specifically issued by the user terminal, including the form of button pressing or user terminal startup. The movement trajectory information refers to the movement trajectory of the position or displacement sensor in the user terminal, which is ultimately mapped to a preset planar coordinate system for trajectory determination.
[0028] The specified decorative component information refers to the theme and style of the architectural decorative component to be displayed selected by the user through the user interface. The display order is determined by arranging the theme and style of the architectural decorative component in a certain order in advance. The user's swiping wrist is identified by recognizing the movement trajectory information, and the theme and style of the architectural decorative component to be displayed next is determined by the swiping wrist.
[0029] Furthermore, step S14 specifically includes the following steps: S141: If no information on the decorative components to be displayed is specified, the movement trajectory information will be mapped to the preset planar coordinate system; S142: A coordinate sequence based on the trajectory information in a three-dimensional coordinate system, with a timestamp added to the generation order of the coordinate sequence; S143: Determine the direction information of the movement trajectory based on the coordinate sequence and the corresponding timestamp; S144: Based on the direction information and display order, obtain the corresponding decorative component information to be displayed.
[0030] Among them, the planar coordinate system is a pre-constructed coordinate system parallel to a certain spatial plane. The user's movement trajectory in three-dimensional space will be mapped to the planar coordinate system by projection. That is, if the user's movement trajectory is in the planar coordinate system, the movement trajectory will be mapped to the planar coordinate system through trigonometric functions.
[0031] A coordinate sequence is a sequence of multiple planar coordinate points arranged according to the trajectory direction. By timestamping each coordinate point in the sequence, the generation order of the coordinate points can be obtained, thus identifying the direction of the movement trajectory information and determining the specific direction in which the user swipes the user's device to select the decorative component information to be displayed according to the display order. For example, swiping left and swiping right.
[0032] The determination of direction information also includes the determination of the triggering of interactive commands. The specific steps are as follows: based on a preset planar coordinate system, obtain the number of corresponding coordinate sequences and the timestamp information between two adjacent coordinate points in the coordinate sequence at unit distances; then, determine the patterns in the number of coordinate sequences and the timestamp information, including: The number of coordinates in a coordinate sequence refers to the number of coordinate points in the sequence. First, it is determined whether the total number of coordinate points in the sequence is greater than the preset number of coordinate points, which is a custom setting. Second, the timestamp information between two adjacent coordinate points is judged, that is, the time difference information between two adjacent coordinate points is judged. The purpose of judging the timestamp information is to control the time difference between two adjacent coordinate points to be within the allowable range, and whether multiple consecutive sets of time differences are within the allowable range. This indicates that the user cannot move the user terminal too fast, too slow, or too fast. Instead, the user needs to wave the user terminal at a certain speed to trigger the interaction command.
[0033] That is, when the number of coordinate sequences is greater than the preset number and the timestamps between two adjacent coordinate points meet the interval rule, it is determined that the direction information of the current movement trajectory information can be extracted; when the number of coordinate sequences is less than or equal to the preset number, or the timestamps between two adjacent coordinate sequences do not meet the interval rule, it is determined that the current movement trajectory information is invalid, and the interaction command will also fail to be triggered.
[0034] S20: Retrieve the first three-dimensional layout model corresponding to the current decorative component information, and retrieve the second three-dimensional layout model corresponding to the decorative component information to be displayed; In this embodiment, the first three-dimensional layout model and the second three-dimensional layout model are both three-dimensional layout models of the corresponding architectural decorative components. That is, the physical spatial layout of each architectural decorative component to be displayed is mapped into the model through digital twin technology. The first and second models are used to distinguish the current architectural decorative component theme and style content from the architectural decorative component theme and style content to be switched to be displayed, which is a distinction in the corresponding time dimension.
[0035] S30: Identify the current position information of each display terminal in the first three-dimensional layout model and identify the target position information of each display terminal in the second three-dimensional layout model; In this embodiment, the display terminal is an intelligent display device, including a display screen, used to display the image of virtual architectural decorative components. The image data of the same architectural decorative component is mapped to multiple different display terminals for display, which can restore the original layout space of the decorative style to a large extent. The identification information is used to distinguish the main body of each display terminal, including the identification form of number and model.
[0036] Current location information refers to the position of each display terminal in the currently displayed layout of architectural decorative components, while target location information refers to the destination location that each display terminal in the layout of architectural decorative components to be switched needs to move to.
[0037] Specifically, step S30 includes the following steps: S31: Identify the identification information of each display terminal in the first three-dimensional layout model diagram; S32: Based on the identification information, obtain the identification points that have been pre-numbered in each display terminal; obtain the first coordinate information of each identification point, and package the first coordinate information of all identification points to obtain the current location information; S33: Associate the display terminals in the second three-dimensional layout model that have the same identifier as the first three-dimensional layout model, and identify the corresponding identification points in the display terminals based on the contour information, obtain the second coordinate information of the identification points, and package the second coordinate information of all identification points to obtain the target position information. S34: Associate the first coordinate information and the second coordinate information of the same identification point in the same display terminal.
[0038] Specifically, in the first or second three-dimensional layout model, a corresponding three-dimensional spatial coordinate system is set. The preset recognition points of the display terminal include the coordinate points of the display terminal's edge. Through the edge coordinate points of the display terminal, the outline position and overall spatial position information of the display terminal can be obtained, thereby synchronously mapping to the position of each display terminal in the physical space. The first coordinate information is the set of recognition point coordinates of each display terminal in the currently displayed architectural decorative component layout, which is used to reflect the specific outline and spatial position of each display terminal. The second coordinate information is the destination position and specific outline of each display terminal in the first coordinate information in the architectural decorative component layout to be switched.
[0039] S40: Generate movement path information based on current location information and target location information; In this embodiment, the movement path information refers to the total path that each display terminal needs to move in the physical space when switching from the current layout of architectural decorative components to the layout of architectural decorative components to be displayed.
[0040] Specifically, refer to Figure 3 Step S40 includes: S41: Based on the same display terminal, determine and obtain the distance change information between the same identification points from the first coordinate information to the second coordinate information; S42: If there is no change in distance at all identification points, the display terminal does not need to move its position in this switching interaction command; S43: If distance change information is generated among all identification points, then identify the identification points that have changed. S44: Based on the distance change information of the changing identification points, match the movement sub-paths of each corresponding display terminal from the preset path database; S45: Based on the movement logic rules, match the startup time and driver corresponding to each movement sub-path to obtain movement path information.
[0041] The distance change information refers to the distance data between the same identification point before and after movement. By acquiring the distance change data of each identification point on the same display terminal before and after movement, the overall position and outline of the same display terminal before and after the change are obtained. This allows for matching of movement sub-paths in the path database. These movement sub-paths represent the movement path of the entity's display terminal device, including translation, swinging, and rotational movements. Only when all identification points on the same display terminal show no distance change can it be determined that no positional movement is needed. Even if only some identification points shift, it is still considered as distance change information. Examples include rotation in place and swinging in place.
[0042] The path database stores multiple moving sub-paths corresponding to the changes in the front and back positions of different display terminals. The moving sub-paths are matched by the distance of the changes in the front and back positions of each identification point.
[0043] The movement logic rule is the driving principle of each display terminal device in the physical space, that is, the startup time and driver corresponding to the movement sub-path of each display terminal. The driver includes different driving methods, driving duration and driving sequence, such as rotation, swing and translation.
[0044] Specifically, step S45 includes the following steps: S451: Based on the theme transformation relationship between the current decorative component information and the decorative component information to be displayed, retrieve the movement logic rules that match the current theme transformation relationship from the preset driver database; S452: Obtain the drive type, drive time, and drive order corresponding to each display terminal in the mobile logic rules; S453: Generate a corresponding drive plan table based on the drive type, drive time, and drive sequence, and use the drive plan table as the movement path information.
[0045] By using topic conversion relationships, pre-stored mobile logic rules can be matched. The driving type, driving time, and driving order of each display terminal can be extracted and matched from the mobile logic rules. The driving time and driving order are both execution schemes that have been selected through conflict calculation. The corresponding driving plan table is generated and sent to the controller. The controller uses the local driving plan table to uniformly control the operation of each driving terminal.
[0046] S50: Generate a switching instruction, obtain matching decorative component screen data based on the decorative construction information to be displayed and map it to the corresponding display terminal, and move the display terminal to the target position based on the movement path information.
[0047] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0048] In one embodiment, a virtual reality and intelligent control-based interactive system for architectural decorative components is provided, which corresponds to the virtual reality and intelligent control-based interactive method for architectural decorative components described above. The virtual reality and intelligent control-based interactive system for architectural decorative components includes: The interaction recognition module is used to identify the current decorative component information and the decorative component information to be displayed when it receives an interaction command from the user terminal to switch virtual building decorative components. The model retrieval module is used to retrieve the first three-dimensional layout model corresponding to the current decorative component information and to retrieve the second three-dimensional layout model corresponding to the decorative component information to be displayed. The position matching module is used to identify the current position information of each display terminal in the first three-dimensional layout model and the target position information of each display terminal in the second three-dimensional layout model. The path generation module is used to generate movement path information based on the current location information and the target location information; The switching module is used to generate switching instructions, obtain matching decorative component screen data based on the decorative construction information to be displayed and map it to the corresponding display terminal, and move the display terminal to the target position based on the movement path information.
[0049] Optionally, the interaction recognition module includes: The trajectory recognition submodule is used to identify the user's movement trajectory information when an interactive request command is received; The trajectory determination submodule is used to determine whether to trigger an interaction command based on the movement trajectory information; The specified judgment submodule is used to identify the current decorative component information if the condition is met, and to determine whether the user specified the decorative component information to be displayed when issuing the interaction request command. The sequence recognition submodule is used to obtain the information of the decorative components to be displayed based on the preset display order of the decorative components if no order is specified.
[0050] Optionally, the interaction recognition module may also include: The trajectory mapping submodule is used to map the movement trajectory information to a preset planar coordinate system if no information about the decorative component is specified. The coordinate sequence submodule is used to generate coordinate sequences based on movement trajectory information in a three-dimensional coordinate system, and to timestamp the generation order of the coordinate sequences. The direction determination submodule is used to determine the direction information of the movement trajectory information based on the coordinate sequence and the corresponding timestamp; and to obtain the corresponding decorative component information to be displayed based on the direction information and the display order.
[0051] Optional, the direction determination submodule includes: The coordinate sequence extraction unit is used to obtain the number of corresponding coordinate sequences and the timestamp information between two adjacent coordinate points in the coordinate sequence based on the unit distance of the preset planar coordinate system. The coordinate sequence judgment unit is used to determine the direction information from which the current movement trajectory information can be extracted when the number of coordinate sequences is greater than a preset number and the timestamps between two adjacent coordinate points meet the interval rule. The judgment unit is used to determine that the current movement trajectory information is invalid when the number of coordinate sequences is less than or equal to the preset number, or when the timestamps between two adjacent coordinate sequences do not meet the interval rule.
[0052] Optional, the location pairing module includes: The identification submodule is used to identify the identification information of each display terminal in the first three-dimensional layout model diagram; The first coordinate information submodule is used to obtain the identification points that have been pre-numbered in each display terminal based on the identification information; obtain the first coordinate information of each identification point; and package the first coordinate information of all identification points to obtain the current location information. The second coordinate information submodule is used to associate the display terminals in the second three-dimensional layout model with the same identifier as the first three-dimensional layout model, and to identify the corresponding identification points in the display terminals based on the contour information, obtain the second coordinate information of the identification points, and package the second coordinate information of all identification points to obtain the target position information. The association submodule is used to associate the first coordinate information and the second coordinate information of the same recognition point in the same display terminal.
[0053] Optionally, the path generation module includes: The change information acquisition submodule is used to determine and acquire the distance change information between the same identification points from the first coordinate information to the second coordinate information based on the same display terminal; The distance determination submodule is used to determine that if no distance change occurs at any of the identification points, the display terminal does not need to move its position during this switching interaction command; if distance change information occurs at any of the identification points, the identification point that has changed is identified. The sub-path matching submodule is used to match the movement sub-paths of each corresponding display terminal from a preset path database based on the distance change information of the changing identification points. The driver identification submodule is used to match the startup time and driver program corresponding to each mobile sub-path based on the mobile logic rules to obtain the mobile path information.
[0054] Optionally, the driver recognition submodule includes: The logic matching unit is used to obtain the movement logic rules that match the current theme transformation relationship from the preset driving database based on the theme transformation relationship between the current decorative component information and the decorative component information to be displayed. The air drive allocation unit is used to obtain the drive type, drive time and drive order corresponding to each display terminal in the mobile logic rules; The drive plan table unit is used to generate a corresponding drive plan table based on the drive type, drive time, and drive order, and uses the drive plan table as movement path information.
[0055] Specific limitations regarding the interactive system for architectural decorative components based on virtual reality and intelligent control can be found in the limitations of the interactive method for architectural decorative components based on virtual reality and intelligent control mentioned above, and will not be repeated here. Each module in the aforementioned interactive system for architectural decorative components based on virtual reality and intelligent control can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device in hardware form, or stored in the memory of a computer device in software form, so that the processor can call and execute the corresponding operations of each module.
[0056] In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 4 As shown, the computer device includes a processor, memory, network interface, and database connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and database. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The network interface is used for communication with external terminals via a network connection. When the computer program is executed by the processor, it implements an interactive method for architectural decorative components based on virtual reality and intelligent control.
[0057] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements an interactive method for architectural decorative components based on virtual reality and intelligent control.
[0058] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements an interactive method for architectural decorative components based on virtual reality and intelligent control.
[0059] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0060] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is used as an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.
[0061] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.
Claims
1. A method for interacting with architectural decorative components based on virtual reality and intelligent control, characterized in that: When an interactive command is received from the user to switch virtual building decoration components, the current decoration component information and the decoration component information to be displayed are identified. Retrieve the first 3D layout model corresponding to the current decorative component information, and retrieve the second 3D layout model corresponding to the decorative component information to be displayed. Identify the current position information of each display terminal in the first three-dimensional layout model and the target position information of each display terminal in the second three-dimensional layout model; Generate movement path information based on current location information and target location information; Generate a switching command, obtain matching decorative component screen data based on the decorative construction information to be displayed and map it to the corresponding display terminal, and move the display terminal to the target position based on the movement path information.
2. The interactive method for architectural decorative components based on virtual reality and intelligent control according to claim 1, characterized in that, The step of identifying the current decorative component information and the decorative component information to be displayed when receiving an interactive command from the user terminal for switching virtual architectural decorative components includes: When an interactive request command is received, the user's movement trajectory information is identified; Determine whether to trigger an interaction command based on movement trajectory information; If so, identify the current decorative component information and determine whether the user specified the decorative component information to be displayed when issuing the interaction request command; If not specified, the information of the decorative components to be displayed will be obtained based on the preset display order of the decorative components.
3. The interactive method for architectural decorative components based on virtual reality and intelligent control according to claim 2, characterized in that, If not specified, the step of obtaining the decorative component to be displayed based on the preset display order of decorative components includes: If no information about the decorative components to be displayed is specified, the movement trajectory information will be mapped to a preset planar coordinate system. Based on the coordinate sequence of the movement trajectory information in the three-dimensional coordinate system, a timestamp is added to the generation order of the coordinate sequence; Determine the direction information of the movement trajectory based on the coordinate sequence and the corresponding timestamp; Based on directional information and display order, obtain the corresponding information of the decorative components to be displayed.
4. The interactive method for architectural decorative components based on virtual reality and intelligent control according to claim 3, characterized in that, The step of determining the direction information of the movement trajectory based on the coordinate sequence and the corresponding timestamp further includes: Based on the unit distance of the preset planar coordinate system, obtain the number of corresponding coordinate sequences and the timestamp information between two adjacent coordinate points in the coordinate sequence; When the number of coordinate sequences is greater than the preset number, and the timestamps between two adjacent coordinate points meet the interval pattern, it is determined that the direction information of the current movement trajectory can be extracted. When the number of coordinate sequences is less than or equal to the preset number, or when the timestamps between two adjacent coordinate sequences do not meet the interval rule, the current movement trajectory information is determined to be invalid.
5. The interactive method for architectural decorative components based on virtual reality and intelligent control according to claim 1, characterized in that, The steps of identifying the current position information of each display terminal in the first three-dimensional layout model and identifying the target position information of each display terminal in the second three-dimensional layout model include: Identify the identification information of each display terminal in the first three-dimensional layout model diagram; Based on the identification information, obtain the identification points that have been pre-numbered in each display terminal; obtain the first coordinate information of each identification point, and package the first coordinate information of all identification points to obtain the current location information; Associate the display terminals in the second three-dimensional layout model with the same identifier as the first three-dimensional layout model, and identify the corresponding identification points in the display terminals based on the contour information, obtain the second coordinate information of the identification points, and package the second coordinate information of all identification points to obtain the target position information. Associate the first and second coordinate information of the same identification point in the same display terminal.
6. The interactive method for architectural decorative components based on virtual reality and intelligent control according to claim 5, characterized in that, The step of generating movement path information based on current location information and target location information includes: Based on the same display terminal, determine and obtain the distance change information between the same identification points from the first coordinate information to the second coordinate information; If none of the recognition points change distance, the display terminal does not need to move during this switching interaction command. If distance change information is generated among all identification points, then identify the identification point that has generated the change; Based on the distance change information of the changing identification points, the movement sub-paths of each corresponding display terminal are matched from the preset path database. Based on the movement logic rules, the startup time and driver corresponding to each movement sub-path are matched to obtain the movement path information.
7. The interactive method for architectural decorative components based on virtual reality and intelligent control according to claim 6, characterized in that, The step of matching the driver corresponding to each mobile sub-path based on mobile logic rules to obtain mobile path information includes: Based on the theme transformation relationship between the current decorative component information and the decorative component information to be displayed, the movement logic rules that match the current theme transformation relationship are obtained from the preset driver database; Obtain the driver type, driver time, and driver order corresponding to each display terminal in the mobile logic rules; A corresponding driver plan table is generated based on the driver type, driver time, and driver sequence, and the driver plan table is used as the movement path information.
8. An interactive system for architectural decorative components based on virtual reality and intelligent control, characterized in that, The interaction recognition module is used to identify the current decorative component information and the decorative component information to be displayed when it receives an interaction command from the user terminal to switch virtual building decorative components. The model retrieval module is used to retrieve the first three-dimensional layout model corresponding to the current decorative component information and to retrieve the second three-dimensional layout model corresponding to the decorative component information to be displayed. The position matching module is used to identify the current position information of each display terminal in the first three-dimensional layout model and the target position information of each display terminal in the second three-dimensional layout model. The path generation module is used to generate movement path information based on the current location information and the target location information; The switching module is used to generate switching instructions, obtain matching decorative component screen data based on the decorative construction information to be displayed and map it to the corresponding display terminal, and move the display terminal to the target position based on the movement path information.
9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the interactive method for architectural decorative components based on virtual reality and intelligent control as described in any one of claims 1 to 7.
10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the steps of the interactive method for architectural decorative components based on virtual reality and intelligent control as described in any one of claims 1 to 7.