Quick executable program generation method
By analyzing VR generation requirements and prefabricating plug-ins, the cumbersome problems of traditional development engine tools are solved, and Windows executable programs that quickly generate VR are realized, reducing development costs and production difficulties.
Patent Information
- Application Number
- CN202510397423.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-31
- Publication Date
- 2025-06-20
AI Technical Summary
When developing Windows executable programs for VR, the traditional development engine tool process is cumbersome, non-professionals need a long time to train, and the development cost is high and the production is difficult.
By analyzing the VR generation requirements, deploying and integrating related plug-ins, and combining VR complex logic for plug-ins prefabricating and integrating them, generating initial executable programs and performing program optimization, a VR Windows executable program is obtained.
Significantly reduce development costs and production difficulties, and improve the writing efficiency of VR Windows executable programs.
Smart Images

Figure CN120179230A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of software development, and particularly to a method for quickly generating an executable program. Background Art
[0002] Currently, with the rapid development of virtual reality technology, more and more application programs and games begin to support the VR mode.
[0003] However, when developing a VR Windows executable program, using traditional development engine tools such as Unity, the process appears to be relatively cumbersome. For non-professionals, if they want to develop a VR Windows executable program through traditional development engines, they usually need to receive long-term training to master the C# programming language. Even if they already have a certain technical development foundation, developers also need to additionally configure the software operating environment for the released VR program. This leads to challenges such as high development costs and great production difficulties for developers.
[0004] Therefore, the present invention provides a method for quickly generating an executable program. Summary of the Invention
[0005] The present invention provides a method for quickly generating an executable program, which analyzes VR generation requirements, deploys and integrates relevant plugins, prefabricates VR plugins in combination with complex VR logic, and integrates them to obtain an initial executable program, and optimizes the program to obtain a VR Windows executable program, which can significantly reduce development costs and production difficulties and improve the writing efficiency of VR Windows executable programs.
[0006] The present invention provides a method for quickly generating an executable program, including: Step 1: Create an initial VR editor in a preset development engine based on VR generation requirements, and deploy and integrate relevant plugins to obtain a VR editor; Step 2: Encapsulate complex VR logic based on a written script, and provide a preset template and a drag-and-drop component library to simplify editing to obtain a VR prefabrication result; Step 3: Integrate the VR editor into the preset development engine based on the encapsulation and prefabrication results of VR, and generate an executable program for the Windows platform to obtain an initial executable program; Step 4: Test and optimize the initial executable program based on a preset test optimization plan, and then perform construction and release based on the test optimization results.
[0007] According to the present invention, creating an initial VR editor in a preset development engine based on VR generation requirements, and deploying and integrating relevant plugins to obtain a VR editor, includes: Step 11: Perform requirement transformation based on the VR construction requirements of the target user to obtain real-time VR generation requirements; Step 12: Create an initial editing project in a preset development engine, and configure the initial editing project based on the real-time VR generation requirements to obtain an initial VR editor; Step 13: Obtain the VR plugins required by the VR editor, and perform plugin deployment on the initial VR editor based on the VR plugins to obtain a VR editor.
[0008] According to the present invention, encapsulate the complex logic of VR based on writing scripts, and provide a preset template and a drag-and-drop component library to simplify editing, obtaining a VR prefabrication result, including: Step 21: Based on the logical judgment during the historical operation of VR, extract the complex logic of VR, and write a script based on C# to encapsulate the complex logic to obtain an initial prefabrication result; Step 22: Obtain common VR elements, perform element packaging, and configure them into the initial prefabrication result to obtain a first prefabrication result; Step 23: Determine the editor extension function in the preset development engine based on the VR generation requirements, and create an editor window based on the editor extension function to perform display management of the drag-and-drop component library; Step 24: Determine the corresponding drag-and-drop logic based on the element types in the component library, perform logic deployment, and combine with the first prefabrication result to obtain a VR prefabrication result.
[0009] According to the present invention, determine the corresponding drag-and-drop logic based on the element types in the component library, perform logic deployment, and combine with the first prefabrication result to obtain a VR prefabrication result, including: Step 241: Based on each element type in the component library, determine the corresponding drag-and-drop logic to obtain a first set of drag-and-drop logics; Step 242: Based on each drag-and-drop logic in the first set of drag-and-drop logics, write the corresponding drag-and-drop code and perform test encapsulation to obtain an initial logic result; Step 243: Combine the initial logic result with the first prefabrication result to obtain a comprehensive prefabrication result; Step 244: Deploy the comprehensive prefabrication result to the preset development engine to verify whether the comprehensive prefabrication result can run normally; If the comprehensive prefabrication result can run normally, use the comprehensive prefabrication result as the VR prefabrication result; Otherwise, adjust the comprehensive prefabrication result based on the reason for the operation failure to obtain a VR prefabrication result.
[0010] Integrate the VR editor into a preset development engine according to the VR-based encapsulation and prefabrication results provided by the present invention, and generate an executable program for the Windows platform to obtain an initial executable program, including: Step 31: Integrate the editing interface of the VR editor and the VR prefabrication results into the main editor of the preset development engine, and perform script extension on the main editor based on the editor adaptation principle to obtain an extended editor; Step 32: Test the functions of the VR editor in the extended editor; If there are editing functions that cannot be implemented in the VR editor, re-expand the main editor of the preset development engine; Otherwise, generate a VR executable program running on the Windows platform based on the extended editor as the initial executable program.
[0011] If there are editing functions that cannot be implemented in the VR editor provided by the present invention, re-expand the main editor of the preset development engine, including: Step 321: When there are editing functions that cannot be implemented in the VR editor, obtain the editing functions that cannot be implemented to obtain a first function set; Step 322: Judge the compatibility between the VR editor and the target computer. If the target computer can be compatible with the VR editor, use the first function set as the first debugging set; If the target computer cannot be compatible with the VR editor, re-adjust the interface of the VR editor based on the compatibility of the target computer, and use the interface parameters of the adjusted VR editor and the first function set as the first debugging set; Step 323: Inspect the scripts corresponding to the first debugging set based on the preset debugging tools of the preset development engine; Step 324: Judge whether the inspection result can perform corresponding function replacement. If function replacement cannot be performed, corresponding personalized development is required; If function replacement can be performed, determine the expansion result of the main editor of the preset development engine based on the replaced editing function.
[0012] Test and optimize the initial executable program according to the preset test optimization scheme provided by the present invention, and then perform construction and release based on the test optimization results, including: Step 41: Formulate a corresponding test plan based on the requirements and functions of the VR application, and generate a preset test optimization scheme based on the test plan; Step 42: Test the initial executable program based on the preset test optimization scheme to obtain an initial test result; Step 43: Make a first comparison between the initial test result and the target executable result to obtain a first comparison result, and obtain a program test form of the initial test result based on the first comparison result; Step 44: Obtain a first difference based on the result difference between the corresponding initial test sub-result and the target executable sub-result in the program test form, and fill the first difference into the program test form to obtain a first program test form; Step 45: Obtain the result type corresponding to each initial test sub-result in the first program test form, and determine the problem priority corresponding to the current result type in combination with the corresponding first difference; Step 46: Determine the problem source corresponding to each result type based on a preset debugging tool, and determine the corresponding problem repair strategy in combination with the problem priority, so as to obtain a comprehensive repair strategy for the initial executable program; Step 47: Simulate the comprehensive repair strategy, judge the feasibility of the comprehensive repair strategy, and determine a second repair strategy based on the feasibility evaluation result; Step 48: Write repair code based on the second repair strategy, so as to perform program repair on the initial executable program to obtain a Windows executable program for quickly generating VR; Step 49: Verify the program execution performance of the Windows executable program for quickly generating VR based on a preset performance analysis tool; If the program execution performance is higher than the preset minimum execution performance, perform VR generation based on the Windows executable program for quickly generating VR; Otherwise, perform re-repair on the Windows executable program for quickly generating VR.
[0013] After constructing and releasing based on the test optimization result provided by the present invention, it further includes: performing editing optimization based on the real-time execution result, specifically including: Step 51: Obtain the real-time usage efficiency of each editing function in the VR editor, and obtain a first efficiency set based on the real-time usage efficiency of each editing function; Step 52: Perform efficiency sorting based on the real-time usage efficiency of each editing function in the first efficiency set to obtain an ordered second efficiency set; Step 53: Adjust the editing sequence of the corresponding editing function based on each real-time usage efficiency in the second efficiency set to obtain a first editing sequence; Step 54: Perform corresponding adjustment on the editing sequence of each editing function of the VR editor based on the first editing sequence.
[0014] Compared with the prior art, the beneficial effects of the present invention are as follows: A method for quickly generating an executable program provided by the present invention analyzes the VR generation requirements, deploys and integrates relevant plugins, prefabricates VR plugins in combination with complex VR logic, and performs integration to obtain an initial executable program, and then optimizes the program to obtain a Windows executable program for VR, which can greatly reduce the development cost and production difficulty and improve the writing efficiency of the Windows executable program for VR. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0016] Figure 1 It is a flowchart of a method for quickly generating an executable program provided by an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0017] To make the objectives, technical solutions, and advantages of the present invention clearer, the following will clearly and completely describe the technical solutions in the present invention in conjunction with the drawings in the present invention. Obviously, the described embodiments are some, but not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of the present invention.
[0018] Embodiment 1: The embodiment of the present invention provides a method for quickly generating an executable program, as Figure 1 shown, including: Step 1: Create an initial VR editor in a preset development engine based on VR generation requirements, and deploy and integrate relevant plugins to obtain a VR editor; Step 2: Encapsulate complex VR logic based on a written script, and provide a preset template and a drag-and-drop component library to simplify editing to obtain a VR prefabrication result; Step 3: Integrate the VR editor into the preset development engine based on the encapsulation and prefabrication results of VR, and generate an executable program for the Windows platform to obtain an initial executable program; Step 4: Test and optimize the initial executable program based on a preset test optimization plan, and then perform construction and release based on the test optimization results.
[0019] In this embodiment, VR is a computer technology that provides an immersive experience by simulating and generating a three-dimensional environment.
[0020] In this embodiment, the preset development engine may be the preset development engine.
[0021] In this embodiment, the VR editor refers to an editor designed specifically for creating virtual reality content in the preset development engine. It usually provides special tools and views for VR development, such as stereoscopic rendering preview, head tracking simulation, etc., to help developers design and test VR experiences more effectively.
[0022] In this embodiment, a plug-in is a software component used to add additional functions or support to a main application (such as the preset development engine editor). For example, in the preset development engine, a plug-in can be a script (such as a DLL file written in C#), a shader, an asset package, etc., used to extend the functions of the preset development engine.
[0023] In this embodiment, encapsulation in programming means bundling data and the code that operates on the data together to form an independent unit (such as a class). This helps hide implementation details, provides a clear interface, and makes the code more modular and easier to maintain.
[0024] In this embodiment, the VR prefabrication result refers to the blueprint of assets (such as objects, characters, props, etc.) that can be reused in a scene in the preset development engine. By creating prefabs, developers can reuse the same assets in multiple scenes or instances without having to reconfigure them each time.
[0025] In this embodiment, the drag-and-drop component library in the preset development engine allows developers to add predefined components (such as scripts, physical properties, audio sources, etc.) to game objects by dragging and dropping.
[0026] In this embodiment, an executable program is a program file that can be directly run on a computer after compilation and linking. On the Windows platform, this is usually an.exe file.
[0027] In this embodiment, test optimization refers to identifying and resolving performance issues, errors, and defects in a program through testing to ensure that the quality and performance of the software meet the expected standards.
[0028] In this embodiment, build and release refers to the process of transferring software from a development environment to a production environment in the final stage of the software development cycle, including steps such as packaging the software, configuring the server, and deploying the software, ultimately enabling users to access and use the software.
[0029] The beneficial effects of the above technical solution are as follows: By analyzing the VR generation requirements, relevant plugins are deployed and integrated, and plugin prefabrication for VR is carried out in combination with the complex logic of VR and then integrated to obtain an initial executable program, and the program is optimized to obtain a VR Windows executable program, which can significantly reduce the development cost and production difficulty and improve the writing efficiency of the VR Windows executable program.
[0030] Example 2: Based on Example 1, an initial VR editor is created in a preset development engine based on the VR generation requirements, and relevant plugins are deployed and integrated to obtain a VR editor, including: Step 11: Convert the requirements based on the VR construction requirements of the target users to obtain real-time VR generation requirements; Step 12: Create an initial editing project in the preset development engine and configure the initial editing project based on the real-time VR generation requirements to obtain an initial VR editor; Step 13: Obtain the VR plugins required for the VR editor, and perform plugin deployment on the initial VR editor based on the VR plugins to obtain a VR editor.
[0031] In this embodiment, VR is a computer technology that provides an immersive experience by simulating and generating a three-dimensional environment.
[0032] In this embodiment, the preset development engine can be a preset development engine.
[0033] In this embodiment, the VR editor refers to an editor designed specifically for creating virtual reality content in a preset development engine. It usually provides special tools and views for VR development, such as stereoscopic rendering preview, head tracking simulation, etc., to help developers design and test VR experiences more effectively.
[0034] In this embodiment, a plugin is a software component used to add additional functions or support to the main application program (such as the preset development engine editor). For example, in the preset development engine, plugins can be scripts (such as DLL files written in C#), shaders, asset packages, etc., used to expand the functions of the preset development engine.
[0035] The beneficial effects of the above technical solution are as follows: By analyzing the VR generation requirements, relevant plugins are deployed and integrated, and then an initial executable program is obtained for program optimization, which can significantly reduce the development cost and production difficulty and improve the writing efficiency of the VR Windows executable program.
[0036] Example 3: Based on Example 2, encapsulate the complex logic of VR based on the written script, and provide a preset template and a drag-and-drop component library to simplify the editing, obtaining the VR prefabrication result, including: Step 21: Based on the logical judgment during the historical operation of VR, extract the complex logic of VR, and write a script based on C# to encapsulate the complex logic, obtaining the initial prefabrication result; Step 22: Obtain common VR elements, perform element packaging, and configure them into the initial prefabrication result to obtain the first prefabrication result; Step 23: Determine the editor extension function in the preset development engine based on the VR generation requirements, and create an editor window based on the editor extension function to perform the display management of the drag-and-drop component library; Step 24: Determine the corresponding drag-and-drop logic based on the element types in the component library, perform logic deployment, and combine it with the first prefabrication result to obtain the VR prefabrication result.
[0037] In this embodiment, the VR prefabrication result refers to the blueprint of assets (such as objects, characters, props, etc.) that can be reused in the scene in the preset development engine. By creating prefabricated parts, developers can reuse the same assets in multiple scenes or instances without having to reconfigure them each time.
[0038] In this embodiment, the drag-and-drop component library refers to a library in the preset development engine that allows developers to add predefined components (such as scripts, physical properties, audio sources, etc.) to game objects by dragging and dropping.
[0039] The beneficial effects of the above technical solution are: By performing plug-in prefabrication of VR based on the complex logic of VR, and then performing deployment and integration to obtain the initial executable program, and optimizing the program to obtain the VR Windows executable program, the development cost can be significantly reduced and the production difficulty can be reduced, improving the writing efficiency of the VR Windows executable program.
[0040] Example 4: Based on Example 3, determine the corresponding drag-and-drop logic based on the element types in the component library, perform logic deployment, and combine it with the first prefabrication result to obtain the VR prefabrication result, including: Step 241: Based on each element type in the component library, determine the corresponding drag-and-drop logic to obtain the first set of drag-and-drop logics; Step 242: Based on each drag-and-drop logic in the first set of drag-and-drop logics, write the corresponding drag-and-drop code and perform test encapsulation to obtain the initial logic result; Step 243: Combine the initial logic result with the first prefabrication result to obtain the comprehensive prefabrication result; Step 244: Deploy the comprehensive prefabrication result into a preset development engine editor to verify whether the comprehensive prefabrication result can run properly; If the comprehensive prefabrication result can run properly, use the comprehensive prefabrication result as the VR prefabrication result; Otherwise, adjust the comprehensive prefabrication result based on the reason for the running failure to obtain the VR prefabrication result.
[0041] In this embodiment, the VR prefabrication result refers to the blueprint of assets (such as objects, characters, props, etc.) that can be reused in the scene in a preset development engine. By creating prefabricates, developers can reuse the same assets in multiple scenes or instances without having to reconfigure them each time.
[0042] The beneficial effects of the above technical solution are: By performing plug-in prefabrication of VR based on VR complex logic and drag-and-drop logic, and then performing deployment integration to obtain an initial executable program and optimizing the program to obtain a VR Windows executable program, the development cost can be significantly reduced, the production difficulty can be reduced, and the writing efficiency of the VR Windows executable program can be improved.
[0043] Embodiment 5: Based on Embodiment 3, integrate the VR editor into the preset development engine based on the encapsulation and prefabrication result of VR, and generate an executable program for the Windows platform to obtain an initial executable program, including: Step 31: Integrate the editing interface of the VR editor and the VR prefabrication result into the main editor of the preset development engine, and perform script extension on the main editor based on the editor adaptation principle to obtain an extended editor; Step 32: Test the functions of the VR editor in the extended editor; If there are editing functions that cannot be implemented in the VR editor, re-extend the main editor of the preset development engine; Otherwise, generate a VR executable program that runs on the Windows platform based on the extended editor as the initial executable program.
[0044] In this embodiment, encapsulation means that in programming, encapsulation is to bundle data and the code that operates on the data together to form an independent unit (such as a class). This helps to hide implementation details, provide a clear interface, and make the code more modular and easier to maintain.
[0045] In this embodiment, an executable program is a program file that can be directly run on a computer after compilation and linking. On the Windows platform, this is usually an.exe file.
[0046] The beneficial effects of the above technical solution are as follows: By integrating the plug-in prefabrication results of VR, an initial executable program is obtained, and then the program is optimized to obtain the Windows executable program of VR, which can improve the writing efficiency of the Windows executable program of VR.
[0047] Example 6: Based on Example 5, if the editing function of the VR editor cannot be realized, the main editor of the preset development engine is re-expanded, including: Step 321: When the editing function of the VR editor cannot be realized, obtain the editing function that cannot be realized to obtain the first function set; Step 322: Judge the compatibility between the VR editor and the target computer. If the target computer can be compatible with the VR editor, use the first function set as the first debugging set; If the target computer cannot be compatible with the VR editor, re-adjust the interface of the VR editor based on the compatibility of the target computer, and use the interface parameters of the adjusted VR editor and the first function set as the first debugging set; Step 323: Use the preset debugging tool of the preset development engine to check the script corresponding to the first debugging set; Step 324: Judge whether the inspection result can perform the corresponding function replacement. If the function replacement cannot be performed, corresponding personalized development is required; If the function replacement can be performed, determine the expansion result of the main editor of the preset development engine based on the replaced editing function.
[0048] The beneficial effects of the above technical solution are as follows: By integrating the plug-in prefabrication results of VR, an initial executable program is obtained, and then the program is optimized to obtain the Windows executable program of VR, which can improve the writing efficiency of the Windows executable program of VR.
[0049] Example 7: Based on Example 5, the initial executable program is tested and optimized based on the preset test optimization plan, and then the build and release are carried out based on the test optimization results, including: Step 41: Based on the requirements and functions of the VR application, formulate a corresponding test plan, and generate a preset test optimization plan based on the test plan; Step 42: Test the initial executable program based on the preset test optimization plan to obtain the initial test result; Step 43: Make a first comparison between the initial test result and the target executable result to obtain the first comparison result, and obtain the program test table of the initial test result based on the first comparison result; Step 44: Obtain a first difference based on the result difference between the corresponding initial test sub-results and target executable sub-results in the program test table, and fill the first difference into the program test table to obtain a first program test table; Step 45: Obtain the result type corresponding to each initial test sub-result in the first program test table, and determine the problem priority corresponding to the current result type in combination with the corresponding first difference; Step 46: Determine the problem source corresponding to each result type based on a preset debugging tool, and determine the corresponding problem repair strategy in combination with the problem priority, so as to obtain a comprehensive repair strategy for the initial executable program; Step 47: Simulate the comprehensive repair strategy, judge the feasibility of the comprehensive repair strategy, and determine a second repair strategy based on the feasibility evaluation result; Step 48: Write repair code based on the second repair strategy, so as to perform program repair on the initial executable program to obtain a Windows executable program for quickly generating VR; Step 49: Verify the program execution performance of the Windows executable program for quickly generating VR based on a preset performance analysis tool; If the program execution performance is higher than the preset minimum execution performance, generate VR based on the Windows executable program for quickly generating VR; Otherwise, perform re-repair on the Windows executable program for quickly generating VR.
[0050] In this embodiment, VR is a computer technology that provides an immersive experience by simulating and generating a three-dimensional environment.
[0051] In this embodiment, test optimization refers to identifying and resolving performance issues, errors, and defects in a program through testing to ensure that the quality and performance of the software meet the expected standards.
[0052] In this embodiment, build and release refers to the process of transferring software from a development environment to a production environment in the final stage of the software development cycle, including steps such as packaging the software, configuring the server, and deploying the software, so that users can finally access and use the software.
[0053] The beneficial effects of the above technical solution are: By optimizing the initial executable program to obtain a Windows executable program for VR, the development cost can be significantly reduced, the production difficulty can be reduced, and the writing efficiency of the Windows executable program for VR can be improved.
[0054] Embodiment 8: Based on Embodiment 7, after build and release based on the test optimization results, it further includes: performing editing optimization based on the real-time execution results, specifically including: Step 51: Obtain the real-time usage efficiency of each editing function in the VR editor, and obtain a first efficiency set based on the real-time usage efficiency of each editing function; Step 52: Perform efficiency sorting based on the real-time usage efficiency of each editing function in the first efficiency set to obtain an ordered second efficiency set; Step 53: Adjust the editing sequence of the corresponding editing function based on each real-time usage efficiency in the second efficiency set to obtain a first editing sequence; Step 54: Make corresponding adjustments to the editing sequence of each editing function of the VR editor based on the first editing sequence.
[0055] In this embodiment, the real-time usage efficiency refers to the efficiency and effect when each editing function is actually used by the user in the VR editor. It includes the response speed of the function, the time required for the user to complete a specific task, the ease of use of the function, etc.
[0056] In this embodiment, the first efficiency set is a set that contains the real-time usage efficiency of all editing functions in the VR editor. Each editing function has a corresponding efficiency value, which reflects their performance in actual use.
[0057] In this embodiment, the efficiency sorting is a process of sorting the editing functions according to the real-time usage efficiency in the first efficiency set. This usually involves arranging the functions in descending or ascending order of efficiency to more clearly understand which functions perform well and which need improvement.
[0058] In this embodiment, the second efficiency set is a set of editing functions after efficiency sorting. Compared with the first efficiency set, the editing functions in the second efficiency set are sorted according to the efficiency values, forming an ordered list.
[0059] In this embodiment, the editing sequence refers to the order of each function when the user performs editing operations in the VR editor. Different editing sequences may result in different work efficiencies and results.
[0060] In this embodiment, the first editing sequence is obtained after adjusting the editing sequence of the editing function based on the second efficiency set. In the first editing sequence, editing functions with higher efficiency may be arranged preferentially to improve the overall work efficiency.
[0061] In this embodiment, the corresponding adjustment refers to the process of changing the editing sequence of each editing function of the VR editor according to the first editing sequence.
[0062] The beneficial effects of the above technical solutions are: By optimizing the editing functions of the VR editor even in real-time execution results, the writing efficiency of the VR Windows executable program can be improved.
[0063] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements 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 the present invention.
Claims
1. A method for quickly generating an executable program, characterized in that: include: Step 1: Create an initial VR editor in the preset development engine based on VR generation requirements, and deploy and integrate related plug-ins to obtain the VR editor; Step 2: Encapsulate VR complex logic based on scripting, and provide preset templates and drag-and-drop component libraries to simplify editing and obtain VR prefabricated results; Step 3: Based on the packaging and prefabrication results of VR, the VR editor is integrated into the preset development engine, and an executable program for the Windows platform is generated to obtain an initial executable program; Step 4: Test and optimize the initial executable program based on the preset test optimization solution, and then build and release it based on the test optimization results.
2. The method for quickly generating an executable program according to claim 1, characterized in that: Based on VR generation requirements, an initial VR editor is created in the preset development engine, and relevant plug-ins are deployed and integrated to obtain the VR editor, including: Step 11: Perform demand conversion based on the VR construction requirements of the target users to obtain real-time VR generation requirements; Step 12: Create an initial editing project in the preset development engine, and configure the initial editing project based on the real-time VR generation requirements to obtain an initial VR editor; Step 13: Obtain the VR plug-in required by the VR editor, and deploy the plug-in for the initial VR editor based on the VR plug-in to obtain the VR editor.
3. The method for quickly generating an executable program according to claim 2, characterized in that: Encapsulate VR complex logic based on scripting, and provide preset templates and drag-and-drop component libraries to simplify editing, and get VR prefabricated results, including: Step 21: Based on the logical judgment of VR in the historical operation process, extract the complex logic of VR, and write a script based on C# to encapsulate the complex logic to obtain the initial prefabricated result; Step 22: Obtain common VR elements, package the elements, and configure them into the initial prefabrication result to obtain the first prefabrication result; Step 23: Determine the editor extension function in the preset development engine based on the VR generation requirements, and create an editor window based on the editor extension function to perform display management of the drag-and-drop component library; Step 24: Determine the corresponding drag-and-drop logic based on the element type of the component library, perform logic deployment, and obtain the VR prefabrication result in combination with the first prefabrication result.
4. The method for quickly generating an executable program according to claim 3, characterized in that: Determine the corresponding drag-and-drop logic based on the element type of the component library, perform logic deployment, and obtain the VR prefabrication result in combination with the first prefabrication result, including: Step 241: Based on each element type in the component library, determine the corresponding drag-and-drop logic to obtain a first drag-and-drop logic set; Step 242: Based on each drag-and-drop logic in the first drag-and-drop logic set, write corresponding drag-and-drop code, perform test packaging, and obtain an initial logic result; Step 243: combining the initial logic result with the first prefabricated result to obtain a comprehensive prefabricated result; Step 244: deploying the comprehensive prefabrication result to the preset development engine to verify whether the comprehensive prefabrication result can be run normally; If the comprehensive prefabrication result can be operated normally, the comprehensive prefabrication result will be used as the VR prefabrication result; Otherwise, the comprehensive prefabrication result is adjusted based on the cause of the operation failure to obtain the VR prefabrication result.
5. The method for quickly generating an executable program according to claim 3, characterized in that: Based on the packaging and prefabrication results of VR, the VR editor is integrated into the preset development engine, and an executable program for the Windows platform is generated to obtain the initial executable program, including: Step 31: Integrate the editing interface of the VR editor and the VR prefabrication results into the main editor of the preset development engine, and perform script extension on the main editor based on the editor adaptation principle to obtain an extended editor; Step 32: Test the VR Editor functionality in the extension editor; If the VR editor has editing functions that cannot be implemented, the main editor of the preset development engine will be expanded again; Otherwise, a VR executable program running on the Windows platform is generated based on the extended editor as the initial executable program.
6. A method for quickly generating an executable program according to claim 5, characterized in that: If the editing functions of the VR editor cannot be realized, the main editor of the preset development engine is expanded again, including: Step 321: When there are editing functions in the VR editor that cannot be implemented, the editing functions that cannot be implemented are obtained to obtain a first function set; Step 322: determining the compatibility of the VR editor with the target computer, and if the target computer is compatible with the VR editor, using the first function set as the first debugging set; If the target computer is not compatible with the VR editor, readjusting the interface of the VR editor based on the compatibility of the target computer, and using the adjusted interface parameters of the VR editor and the first function set as the first debugging set; Step 323: Verify the script corresponding to the first debugging set based on the preset debugging tool of the preset development engine; Step 324: Determine whether the inspection result can be used for corresponding function replacement. If not, corresponding personalized development is required. If the function replacement is possible, the extension result of the main editor of the preset development engine is determined based on the replaced editing function.
7. The method for quickly generating an executable program according to claim 5, characterized in that: The initial executable program is tested and optimized based on the preset test optimization scheme, and then built and released based on the test optimization results, including: Step 41: Based on the requirements and functions of the VR application, a corresponding test plan is formulated, and a preset test optimization solution is generated based on the test plan; Step 42: Testing the initial executable program based on a preset test optimization solution to obtain an initial test result; Step 43: performing a first comparison between the initial test result and the target executable result to obtain a first comparison result, and obtaining a program test table of the initial test result based on the first comparison result; Step 44: obtaining a first difference value based on the result difference between the corresponding initial test sub-result and the target executable sub-result in the program test table, and filling the first difference value into the program test table to obtain a first program test table; Step 45: Obtain the result type corresponding to each initial test sub-result in the first program test table, and determine the problem priority corresponding to the current result type in combination with the corresponding first difference value; Step 46: Determine the problem source corresponding to each result type based on the preset debugging tool, and determine the corresponding problem repair strategy in combination with the problem priority, so as to obtain a comprehensive repair strategy for the initial executable program; Step 47: simulating the comprehensive repair strategy, judging the feasibility of the comprehensive repair strategy, and determining the second repair strategy based on the feasibility evaluation result; Step 48: writing a repair code based on the second repair strategy, thereby repairing the initial executable program and obtaining a Windows executable program that quickly generates VR; Step 49: Verify the program execution performance of the Windows executable program for the rapid generation of VR based on a preset performance analysis tool; If the program execution performance is higher than the preset minimum execution performance, VR generation is performed based on the Windows executable program for fast VR generation; Otherwise, the Windows executable program that quickly generates VR is repaired again.
8. The method for quickly generating an executable program according to claim 7, characterized in that: After the build is released based on the test optimization results, it also includes: editing optimization based on the real-time execution results, including: Step 51: obtaining the real-time usage efficiency of each editing function in the VR editor, and obtaining a first efficiency set based on the real-time usage efficiency of each editing function; Step 52: sorting the efficiency based on the real-time usage efficiency of each editing function in the first efficiency set to obtain an ordered second efficiency set; Step 53: adjusting the editing sequence of the corresponding editing function based on each real-time usage efficiency in the second efficiency set to obtain a first editing sequence; Step 54: Based on the first editing sequence, the editing sequence of each editing function of the VR editor is correspondingly adjusted.