Unreal engine deployment method and device and computer equipment
By building a deployment environment adapted to the operating system and deep learning processor chip, the compatibility problem between Unreal Engine and deep learning processor chip was solved, enabling Unreal Engine to be used and run efficiently on computer devices.
Patent Information
- Application Number
- CN202310761442.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-26
- Publication Date
- 2025-11-07
- Estimated Expiration
- 2043-06-26
AI Technical Summary
The Unreal Engine deployed on computer devices has poor compatibility with deep learning processor chips, causing the Unreal Engine to malfunction.
By obtaining the operating system type and deep learning processor chip information of the computer device, a corresponding deployment environment is built, and Unreal Engine is deployed in this environment. This includes obtaining deployment file information and drivers, updating basic input/output system files, installing drivers and dependent platforms, and compiling the Unreal Engine source code package.
It improves the compatibility and interoperability between Unreal Engine and deep learning processor chips, solves the problem of Unreal Engine not working properly, improves computing efficiency and avoids screen lag.
Smart Images

Figure CN116860262B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of computers, in particular to a Unreal Engine deployment method and device and computer equipment. BACKGROUND
[0002] With the development of technology, the application field of three-dimensional models is becoming more and more extensive. Generally, in the process of three-dimensional modeling, the established three-dimensional model can simulate the real scene, and the appearance of the three-dimensional model can be three-dimensional graphically rendered to further improve the authenticity of the three-dimensional model.
[0003] Among them, Unreal Engine is an engine for three-dimensional modeling and three-dimensional graphics rendering development, and is widely used in game development, three-dimensional animation, industrial design, architectural design and other fields. In actual application, the Unreal Engine deployed on the computer equipment usually needs to call the Deep-learning Computing Unit (DCU) chip for use to realize the functions of three-dimensional modeling and three-dimensional graphics rendering.
[0004] However, the adaptability of the Unreal Engine deployed on the computer equipment and the DCU chip using the traditional technology is poor, which further leads to the problem that the Unreal Engine cannot be normally used on the computer equipment. SUMMARY
[0005] Therefore, it is necessary to provide a Unreal Engine deployment method and device and computer equipment to improve the adaptability of the Unreal Engine deployed on the computer equipment and the DCU chip, and solve the problem that the Unreal Engine cannot be normally used on the computer equipment.
[0006] In a first aspect, an Unreal Engine deployment method is provided, which comprises:
[0007] obtaining information of a Deep-learning Computing Unit (DCU) chip in a computer equipment and a category of an operating system of the computer equipment;
[0008] constructing a deployment environment corresponding to a to-be-deployed Unreal Engine according to the category of the operating system and the information of the DCU chip; the Unreal Engine corresponds to the category of the DCU chip;
[0009] deploying the Unreal Engine in the deployment environment.
[0010] The technical solution in the embodiments of the present application obtains the information of the deep computing processor chip in the computer device and the category of the operating system of the computer device, constructs a deployment environment corresponding to the Unreal Engine to be deployed according to the category of the operating system and the information of the deep computing processor chip, and deploys the Unreal Engine in the deployment environment. The method can construct a deployment environment corresponding to the Unreal Engine to be deployed under different operating systems according to the category of the operating system of the computer device, and then deploy the Unreal Engine based on the deployment environment. The deployment process can be applicable to computer devices with different operating systems, thereby improving the wide applicability of the Unreal Engine deployment method. Meanwhile, the method considers the information of the deep computing processor chip in the computer device when constructing the deployment environment corresponding to the Unreal Engine to be deployed, so that the Unreal Engine deployed in the deployment environment has high adaptability to the deep computing processor chip, thereby solving the problem that the Unreal Engine deployed on the computer device is not adapted or compatible with the deep computing processor chip, and the Unreal Engine cannot be normally used. On this basis, the wide usability of the Unreal Engine can be improved, and the deep computing processor chip can also play its performance to the greatest extent, thereby solving the problems of frame freezing and low operation efficiency.
[0011] In one of the embodiments, constructing a deployment environment corresponding to the Unreal Engine to be deployed according to the category of the operating system and the information of the deep computing processor chip includes:
[0012] According to the category of the operating system, obtaining deployment file information corresponding to the information of the deep computing processor chip and a driver of the deep computing processor chip;
[0013] According to the deployment file information and the driver, constructing a deployment environment corresponding to the Unreal Engine.
[0014] The technical solution in the embodiments of the present application obtains the information of the deep computing processor chip in the computer device and the category of the operating system of the computer device, constructs a deployment environment corresponding to the Unreal Engine to be deployed according to the category of the operating system and the information of the deep computing processor chip, and deploys the Unreal Engine in the deployment environment. The method can construct a deployment environment corresponding to the Unreal Engine to be deployed under different operating systems according to the category of the operating system of the computer device, and then deploy the Unreal Engine based on the deployment environment. The deployment process can be applicable to computer devices with different operating systems, thereby improving the wide applicability of the Unreal Engine deployment method. Meanwhile, the method considers the information of the deep computing processor chip in the computer device when constructing the deployment environment corresponding to the Unreal Engine to be deployed, so that the Unreal Engine deployed in the deployment environment has high adaptability to the deep computing processor chip, thereby solving the problem that the Unreal Engine deployed on the computer device is not adapted or compatible with the deep computing processor chip, and the Unreal Engine cannot be normally used. On this basis, the wide usability of the Unreal Engine can be improved, and the deep computing processor chip can also play its performance to the greatest extent, thereby solving the problems of frame freezing and low operation efficiency.
[0015] In one of the embodiments, the information of the deep computing processor chip includes a version identifier of the deep computing processor chip; if the category of the operating system includes the first type of operating system, the deployment file information corresponding to the information of the deep computing processor chip is obtained according to the category of the operating system, including:
[0016] The information of the target basic input and output system file corresponding to the version identifier of the deep computing processor chip is obtained.
[0017] The technical solution in the embodiments of the present application can obtain the information of the target basic input and output system file corresponding to the version identifier of the deep computing processor chip according to the version identifier of the deep computing processor chip, so as to obtain the target basic input and output system file according to the information of the target basic input and output system file, and further update the original basic input and output system file of the deep computing processor chip through the target basic input and output system file, so that the open source driver of the computer device can successfully identify the basic input and output system file on the deep computing processor chip when the finally deployed Unreal Engine is used under the Windows operating system, and the successful and safe driver is prepared.
[0018] In one of the embodiments, the deployment environment corresponding to the Unreal Engine is constructed according to the deployment file information and the driver, including:
[0019] The target basic input and output system file is obtained according to the information of the target basic input and output system file;
[0020] The original basic input and output system file on the deep computing processor chip is updated to the target basic input and output system file, and the computer device is restarted based on the target basic input and output system file;
[0021] After the computer device is restarted, the driver and the dependent platform of the Unreal Engine are installed.
[0022] The technical solution in this application embodiment obtains the target basic input / output system file (BIOS file) based on its information, updates the original BIOS file on the deep learning processor chip to the target BIOS file, and restarts the computer device based on the target BIOS file. After the computer device restarts, it installs the driver and the Unreal Engine's dependent platforms. This method can build a corresponding deployment environment based on the type of operating system on the computer device, enabling the deployment of Unreal Engine in the corresponding deployment environment of the Windows operating system, thus ensuring that the deployed Unreal Engine is compatible with the deep learning processor chip in the computer device. Furthermore, this method does not require complex processing and is relatively simple to build, thereby improving the speed of deployment environment construction. In addition, during the construction of the Unreal Engine deployment environment, this method can update the original BIOS file on the deep learning processor chip, allowing the open-source driver of the computer device to successfully recognize the BIOS file on the deep learning processor chip and successfully install the driver. This ensures that the deployed Unreal Engine can successfully call the deep learning processor chip during its use, achieving the effect of compatibility between Unreal Engine and the deep learning processor chip.
[0023] In one embodiment, deploying Unreal Engine in the deployment environment includes:
[0024] Obtain the Unreal Engine package;
[0025] Install the Unreal Engine package on the platforms that support Unreal Engine.
[0026] The technical solution in this application embodiment obtains the Unreal Engine package and installs the Unreal Engine package on the platform on which the Unreal Engine depends. This method can deploy the corresponding Unreal Engine on the Windows operating system in the correct manner, so that the deployed Unreal Engine can be used on the Windows operating system and can be adapted or compatible with the deep learning processor chip in the computer device.
[0027] In one embodiment, the information of the deep computing processor chip includes a version identifier of the deep computing processor chip; if the operating system category includes a second type of operating system, then deployment file information corresponding to the information of the deep computing processor chip is obtained according to the operating system category, including:
[0028] Obtain information about the graphics program interface file corresponding to the version identifier of the deep computing processor chip.
[0029] The technical solution in the embodiments of the present application can obtain information of a graphic program interface file corresponding to the version identifier of the deep computing processor chip according to the version identifier of the deep computing processor chip, so as to obtain the graphic program interface file according to the information of the graphic program interface file, and further construct a deployment environment corresponding to the Unreal Engine under a corresponding operating system through the graphic program interface file, so that the graphic program interface file can be successfully called through the driver of the deep computing processor chip when the finally deployed Unreal Engine is used under the Linux operating system, and the deep computing processor chip can be further successfully called.
[0030] In one of the embodiments, the deployment environment corresponding to the Unreal Engine is constructed according to the deployment file information and the driver, and the deployment environment corresponding to the Unreal Engine comprises:
[0031] The driver is determined according to the kernel version information of the second type of operating system;
[0032] In the case where the installation of the driver is completed, the graphic program interface file is installed, wherein the graphic program interface file is obtained according to the information of the graphic program interface file;
[0033] The dependent library and the compiler corresponding to the operating system are obtained, and the dependent library and the compiler are installed.
[0034] The technical solution in the embodiments of the present application installs the driver, installs the graphic program interface file in the case where the installation of the driver is completed, obtains the dependent library and the compiler corresponding to the operating system, and installs the dependent library and the compiler; the method can construct a corresponding deployment environment according to the type of the operating system on the computer device, so that the Unreal Engine can be further deployed in the corresponding deployment environment of the Linux operating system, so that the deployed Unreal Engine is adapted or compatible with the deep computing processor chip in the computer device; at the same time, the method does not need a complex processing process, and the construction method is relatively simple, so that the construction speed of the deployment environment can be improved; in addition, when the deployment environment corresponding to the Unreal Engine is constructed, the corresponding version of the driver and the graphic program interface file can be installed, so that the deep computing processor chip can play its performance to the greatest extent, and the finally deployed Unreal Engine is well adapted and compatible.
[0035] In one of the embodiments, the Unreal Engine is deployed in the deployment environment, and the deployment of the Unreal Engine in the deployment environment comprises:
[0036] The source code package of the Unreal Engine is obtained;
[0037] The source code package of the Unreal Engine is compiled according to the dependent library and the compiler, and the compiled source code package is installed.
[0038] The technical solution in the embodiment of the application obtains a source code package of the Unreal Engine, compiles the source code package of the Unreal Engine according to a dependent library and a compiler, and installs the compiled source code package; the method can deploy the corresponding Unreal Engine on the Linux operating system in a corresponding correct manner, so that the deployed Unreal Engine can be used on the Linux operating system and can be adapted or compatible with the deep computing processor chip in the computer device.
[0039] In a second aspect, the embodiment of the application provides an Unreal Engine deployment device, the device comprises:
[0040] An acquisition module is configured to acquire information of a deep computing processor chip in a computer device and a category of an operating system of the computer device.
[0041] A deployment environment construction module is configured to construct a deployment environment corresponding to a to-be-deployed Unreal Engine according to the category of the operating system and the information of the deep computing processor chip; the Unreal Engine corresponds to the category of the deep computing processor chip.
[0042] A deployment module is configured to deploy the Unreal Engine in the deployment environment.
[0043] In a third aspect, the embodiment of the application further provides a computer device, which comprises a memory and a processor; the memory stores a computer program; and the processor implements the steps of the method in any of the embodiments of the first aspect when executing the computer program.
[0044] In a fourth aspect, the embodiment of the application further provides a computer readable storage medium, which stores a computer program; and the computer program implements the steps of the method in any of the embodiments of the first aspect when executed by a processor.
[0045] In a fifth aspect, the embodiment of the application further provides a computer program product, which comprises a computer program; and the computer program implements the steps of the method in any of the embodiments of the first aspect when executed by a processor.
[0046] The above description is only a summary of the technical solutions of the application, in order to more clearly understand the technical means of the application, the specific embodiments of the application can be implemented according to the content of the description, and in order to make the above and other purposes, characteristics and advantages of the application more obvious and easy to understand, the following specific embodiments of the application are described. BRIEF DESCRIPTION OF DRAWINGS
[0047] Figure 1 It is an internal structure diagram of a computer device in an embodiment;
[0048] Figure 2 It is a flowchart of an Unreal Engine deployment method in an embodiment;
[0049] Figure 3 Flowchart of Unreal Engine deployment method in another embodiment;
[0050] Figure 4 Flowchart of Unreal Engine deployment method in another embodiment;
[0051] Figure 5 Flowchart of Unreal Engine deployment method in an embodiment under Windows operating system;
[0052] Figure 6 Flowchart of Unreal Engine deployment method in another embodiment;
[0053] Figure 7 Flowchart of Unreal Engine deployment method in an embodiment under Linux operating system;
[0054] Figure 8 Structure block diagram of Unreal Engine deployment device in an embodiment. DETAILED DESCRIPTION
[0055] In order to make the purposes, technical solutions and advantages of the present application clearer, further detailed description will be made to the present application in combination with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, and are not used to limit the present application.
[0056] In the fields of game development, three-dimensional animation, industrial design, architectural design, etc., Unreal Engine is applied more and more widely. Generally, Unreal Engine needs to be deployed on a computer device, and in actual application, the Unreal Engine deployed on the computer device needs to call the DCU chip in the computer device for use, so that the Unreal Engine realizes the functions of three-dimensional modeling and three-dimensional graphics rendering.
[0057] However, the adaptability of the Unreal Engine deployed on the computer device to the DCU chip is poor by using the traditional technology, and there is a problem that the Unreal Engine cannot be normally used on the computer device. Based on this, the present application provides an Unreal Engine deployment method, which can improve the adaptability of the Unreal Engine deployed on the computer device to the DCU chip, so as to solve the problem that the Unreal Engine cannot be normally used on the computer device.
[0058] The Unreal Engine deployment method provided in the embodiments of the present application can be applied to Figure 1The computer device shown. Alternatively, the computer device can be, but is not limited to, various personal computers, notebook computers, smart phones or tablet computers, and the like, and of course, can also be implemented by a standalone server or a server cluster composed of multiple servers. In the embodiments of the present application, at least one deep computing processor chip, i.e., DCU chip, is configured in the computer device. The specific process of the Unreal Engine deployment method is introduced below with the computer device as the execution subject.
[0059] As shown in Figure 2 The flowchart of the Unreal Engine deployment method provided by the embodiments of the present application is shown, and the method can be implemented by the following steps:
[0060] S100, information of a deep computing processor chip in a computer device and a category of an operating system of the computer device are acquired.
[0061] In the embodiments of the present application, at least one of all the deep computing processor chips in the computer device can be acquired, and each of the at least one deep computing processor chip is a deep computing processor chip that needs to be called in the use process of the deployed Unreal Engine, that is, a deep computing processor chip that needs to be called in the application process of the deployed Unreal Engine.
[0062] Alternatively, the information of the deep computing processor chip can include the name, production date, production batch, specific function, configuration information, usage rate, etc. of the deep computing processor chip. In the embodiments of the present application, the category of the operating system of the computer device includes Windows operating system, Linux operating system, Mac OS operating system, UNIX operating system, pure DOS (Disk Operating System) operating system, etc., which is not limited in the present application.
[0063] Among them, the computer device can receive and respond to the Unreal Engine deployment request input by the user, and automatically acquire the information of the deep computing processor chip in the computer device and the category of the operating system of the computer device. Alternatively, the user input Unreal Engine deployment request mode can include voice, gesture, keyboard or button input mode, etc.
[0064] Or, in actual application, the user can also input the deep computing processor chip information viewing instruction to the computer device, and correspondingly, the computer device can receive and respond to the deep computing processor chip information viewing instruction.
[0065] Specifically, the computer device can further receive and respond to the information query instruction of the deep computing processor chip, obtain the configuration file of each deep computing processor chip configured by the computer device from a local, a hard disk, or a cloud, and obtain the information of the corresponding deep computing processor chip from the configuration file according to the information of the deep computing processor chip carried in the information query instruction.
[0066] It should be noted that the information of the deep computing processor chip carried in the deployment instruction or the information query instruction can include the identifier of the deep computing processor chip that needs to be called by the Unreal Engine in use after deployment.
[0067] Meanwhile, in actual application, the user can input the category query instruction of the operating system of the computer device to the computer device, and correspondingly, the computer device can receive and respond to the category query instruction of the operating system of the computer device to obtain the category of the operating system of the computer device.
[0068] Optionally, the input manner of the user for the information query instruction and the category query instruction can include voice, gesture, keyboard, or button input manner.
[0069] S200, according to the category of the operating system and the information of the deep computing processor chip, a deployment environment corresponding to the to-be-deployed Unreal Engine is constructed. The Unreal Engine corresponds to the category of the deep computing processor chip.
[0070] The to-be-deployed Unreal Engine can be any version of Unreal Engine, but in the embodiments of the present application, Unreal Engine 4 is taken as an example for description.
[0071] In an implementation manner, the computer device can pre-train an algorithm model, then input the category of the operating system of the computer device and the information of the deep computing processor chip into the algorithm model, the algorithm model outputs an environment deployment strategy corresponding to the to-be-deployed Unreal Engine, and then a deployment environment corresponding to the to-be-deployed Unreal Engine is constructed according to the environment deployment strategy.
[0072] In another implementation manner, the computer device can find an environment deployment strategy corresponding to the category of the operating system of the computer device and the information of the deep computing processor chip in an environment deployment strategy library, and then a deployment environment corresponding to the to-be-deployed Unreal Engine is constructed according to the environment deployment strategy corresponding to the category of the operating system of the computer device and the information of the deep computing processor chip.
[0073] Optionally, the environment deployment strategy library can include different categories of operating systems, different information of deep computing processor chips, different environment deployment strategies, and the corresponding relationship among them.
[0074] It should be noted that the process of building a deployment environment corresponding to the Unreal Engine is different for different categories of operating systems.
[0075] S300, deploying the Unreal Engine in the deployment environment.
[0076] Based on the deployment environment built in the foregoing steps, the Unreal Engine is deployed in the deployment environment. For different categories of operating systems, the process of deploying the Unreal Engine in the deployment environment is different.
[0077] The Unreal Engine can be deployed in the deployment environment in the following ways: directly installing the program package of the Unreal Engine in the deployment environment, or first obtaining a basic information package required for generating the program package of the Unreal Engine, then performing analysis, conversion, or other processing on the basic information package to obtain the program package of the Unreal Engine, and then installing the program package of the Unreal Engine in the deployment environment.
[0078] It should be noted that the finally deployed Unreal Engine can successfully call the corresponding deep computing processor chip in the computer device in the use process, so that the utilization rate of the graphics processor and the memory occupation of the deep computing processor chip are normal, and the deep computing processor chip can further exert its performance to the greatest extent, thereby avoiding the problem of failure to successfully call the corresponding deep computing processor chip, causing the Unreal Engine to fail to start, and the problems of computer device running screen freezing and low running efficiency.
[0079] The technical solution in the embodiment of the application obtains the information of the deep computing processor chip in the computer device and the category of the operating system of the computer device, builds a deployment environment corresponding to the Unreal Engine to be deployed according to the category of the operating system and the information of the deep computing processor chip, and deploys the Unreal Engine in the deployment environment. The method can build a deployment environment corresponding to the Unreal Engine to be deployed in different operating systems according to the category of the operating system of the computer device, and then deploy the Unreal Engine based on the deployment environment. The deployment process can be applied to computer devices with different operating systems, thereby improving the universal applicability of the Unreal Engine deployment method. Meanwhile, the method considers the information of the deep computing processor chip in the computer device when building the deployment environment corresponding to the Unreal Engine to be deployed, so that the Unreal Engine deployed in the deployment environment has high adaptability to the deep computing processor chip, thereby solving the problem that the Unreal Engine deployed on the computer device is not compatible with the deep computing processor chip, which can cause the Unreal Engine to not work normally. On this basis, the universal applicability of the Unreal Engine can be improved, and the deep computing processor chip can also exert its performance to the greatest extent, thereby solving the problems of running screen freezing and low computation efficiency.
[0080] In actual applications, the operating systems of different computer devices can be different, and the deep computing processor chips configured in different computer devices can also be different. Therefore, in order to make the Unreal Engine deployed on the final computer device adapt to or be compatible with the corresponding deep computing processor chip configured in the computer device, before deploying the Unreal Engine, the deployment environment corresponding to the Unreal Engine can be constructed according to the category of the operating system and the information of the deep computing processor chip. The process of constructing the deployment environment corresponding to the Unreal Engine is described below. In an embodiment, as shown in FIG. 2, the steps in S200 can be implemented in the following manner: Figure 3
[0081] S210, according to the category of the operating system, obtaining deployment file information corresponding to the information of the deep computing processor chip and the driver program of the deep computing processor chip.
[0082] In actual applications, the deployment file information and the driver program of the deep computing processor chip corresponding to different categories of operating systems are different.
[0083] Optionally, the deployment file information can include at least one of the information of the basic input and output system file loaded on the deep computing processor chip and the information of the graphic program interface file required by the driver program of the deep computing processor chip during runtime.
[0084] Among them, the basic input and output system file can include configuration parameters required by the deep computing processor chip during runtime and configuration information corresponding to the configuration parameters; the information of the basic input and output system file can include the content in the basic input and output system file, the amount of information in the basic input and output system file, the generation time of the basic input and output system file, etc. Optionally, the configuration information can be understood as the value of the configuration parameter.
[0085] Meanwhile, the graphic program interface file can include the code of the graphic program interface; the information of the graphic program interface file can include the content in the graphic program interface file, the amount of information in the graphic program interface file, the generation time of the graphic program interface file, etc.
[0086] Optionally, the driver program of the deep computing processor chip can be a program for calling the deep computing processor chip, which contains information about the deep computing processor chip.
[0087] It should be noted that the process of obtaining the deployment file information corresponding to the information of the deep computing processor chip means obtaining the corresponding deployment file information according to the information of the deep computing processor chip.
[0088] Optionally, the driver of the depth calculation processor chip can be downloaded from the Internet or obtained from a driver library. Optionally, the driver library can include drivers of the depth calculation processor chip corresponding to different operating systems.
[0089] S220, constructing a deployment environment corresponding to the Unreal Engine according to the deployment file information and the driver.
[0090] In actual applications, for different categories of operating systems, different construction methods can be used to construct a deployment environment corresponding to the Unreal Engine based on the obtained deployment file information and the driver. In addition, different categories of operating systems have different final deployment environments.
[0091] Specifically, the computer device can determine the current operating system of the computer device according to the category of the operating system, obtain a deployment file according to the deployment file information, and then install the deployment file and the driver corresponding to the information of the depth calculation processor chip under the current operating system of the computer device to construct a deployment environment corresponding to the Unreal Engine.
[0092] In actual applications, the deployment file can be downloaded from the Internet or obtained from a deployment file library. Optionally, the deployment file library can include different deployment files.
[0093] It should be noted that for the same Unreal Engine, different categories of operating systems require different deployment environments.
[0094] The technical solution in the embodiment of the application obtains deployment file information corresponding to the information of the depth calculation processor chip and the driver of the depth calculation processor chip according to the category of the operating system, and constructs a deployment environment corresponding to the Unreal Engine according to the deployment file information and the driver. Because different operating systems have different characteristics, the above method can obtain the corresponding information required for constructing a deployment environment based on different operating systems, i.e., the deployment file information corresponding to the information of the depth calculation processor chip and the driver of the depth calculation processor chip, and then construct a corresponding deployment environment on a computer device with a different operating system based on the obtained information, so that the constructed deployment environment can be suitable for deploying an adapted Unreal Engine under the corresponding operating system of the computer device, thereby solving the problem that an Unreal Engine that is not deployed according to the category of the operating system cannot be normally used.
[0095] In some scenarios, the operating system of the computer device is a Windows operating system, and the following describes the deployment file information obtained under the operating system. In an embodiment, the information of the deep computing processor chip includes a version identifier of the deep computing processor chip; if the category of the operating system includes a first category of operating system, the step of obtaining the deployment file information corresponding to the information of the deep computing processor chip according to the category of the operating system in S210 can include: obtaining the information of the target basic input and output system file corresponding to the version identifier of the deep computing processor chip.
[0096] The first category of operating system is a Windows operating system of different versions, for example, can be a Windows 7 operating system, a Windows 8 operating system, etc. In the embodiment of the application, the first category of operating system can include a Windows 10 operating system.
[0097] In the embodiment of the application, the information of the deep computing processor chip includes a version identifier of the deep computing processor chip, that is, a version number of the deep computing processor chip.
[0098] Optionally, the information of the target basic input and output system file can include a version identifier of the target basic input and output system file, that is, a version number of the target basic input and output system file.
[0099] The technical solution in the embodiment of the application can obtain the information of the target basic input and output system file corresponding to the version identifier of the deep computing processor chip according to the version identifier of the deep computing processor chip, so as to obtain the target basic input and output system file according to the information of the target basic input and output system file, and further update the original basic input and output system file of the deep computing processor chip through the target basic input and output system file, so that the open source driver of the computer device can successfully identify the basic input and output system file on the deep computing processor chip when using the finally deployed Unreal Engine under the Windows operating system, and prepare for a successful and safe driver program.
[0100] In some scenarios, the operating system of the computer device is a Windows operating system, and at this time, the deployment environment corresponding to the Unreal Engine to be deployed needs to be constructed according to the construction strategy corresponding to the Windows operating system, and the following describes the process of constructing the deployment environment corresponding to the Unreal Engine according to the category of the operating system, the deployment file information and the driver program. In an embodiment, as shown in Figure 4 The steps in S220 can be implemented in the following manner:
[0101] S221, obtaining the target basic input and output system file according to the information of the target basic input and output system file.
[0102] Specifically, the computer device can download the target BIOS file corresponding to the target BIOS file according to the information (i.e., version identifier) of the target BIOS file from the Internet, or obtain the target BIOS file corresponding to the target BIOS file from a system file library. Optionally, the system file library can include different BIOS files that can be added to different deep computing processor chips, version identifiers of the BIOS files, and a corresponding relationship between the two.
[0103] In the embodiments of the present application, a graphics processor BIOS modification tool (such as CBROM, NiBiTor, etc.) can also be used to copy the target BIOS file of the corresponding version from other deep computing processor chips. Here, the BIOS modification tool actually refers to a tool for updating the BIOS of a graphics card, which can be used to upgrade the BIOS of the deep computing processor chip and thus improve the performance of the deep computing processor chip.
[0104] Taking the Windows 10 operating system as an example, the target BIOS file described above can include a Radeon VII BIOS file, which is not limited in the present application.
[0105] S222, update the original BIOS file on the deep computing processor chip to the target BIOS file, and restart the computer device based on the target BIOS file.
[0106] In the embodiments of the present application, updating the original BIOS file on the deep computing processor chip to the target BIOS file means that the target BIOS file is loaded on the deep computing processor chip after the update.
[0107] Optionally, the computer device can use a graphics processor BIOS modification tool to update the original BIOS file on the deep computing processor chip to the target BIOS file.
[0108] The way of updating the original basic input / output system file on the deep computing processor chip to the target basic input / output system file can be replacing the original basic input / output system file on the deep computing processor chip with the target basic input / output system file, or comparing the configuration information of the configuration parameters in the target basic input / output system file and the original basic input / output system file, and if the configuration information is inconsistent, modifying the configuration information of the configuration parameters in the original basic input / output system file to the configuration information of the configuration parameters in the target basic input / output system file.
[0109] It should be noted that after the original basic input / output system file on the deep computing processor chip is updated, the computer device can be restarted to make the target basic input / output system file on the deep computing processor chip effective.
[0110] In actual application, the target basic input / output system file and the original basic input / output system file include the same configuration parameters, but the configuration information of the same configuration parameters can be equal or not equal.
[0111] It should be noted that updating the original basic input / output system file on the deep computing processor chip can enable the open source driver of the computer device to successfully identify the basic input / output system file on the deep computing processor chip, prepare for a successful and safe driver, and also improve the performance of the deep computing processor chip and optimize the use experience.
[0112] S223, after the computer device is restarted, install the driver and the dependent platform of the Unreal Engine.
[0113] It should be noted that after the driver is successfully installed, the deep computing processor chip can be called in the use process of the Unreal Engine in the final deployment to achieve the effect of adaptation or compatibility of the Unreal Engine and the deep computing processor chip. In addition, the driver can also monitor the working state of the deep computing processor chip. For the Windows operating system, the driver includes different versions of a graphics processor management application, which is a professional graphics processor driver based on the Windows operating system.
[0114] Taking the Windows 10 operating system as an example, the above-mentioned driver can include the driver of the Radeon Software 22.1.1 version, which is not limited in the present application.
[0115] Meanwhile, in actual application, the dependent platform of the Unreal Engine is a program package used for installing the Unreal Engine. Alternatively, the dependent platform can include different versions of game application platforms. If the Unreal Engine is Unreal Engine 4, the dependent platform of the Unreal Engine can include the Epic Games application platform, of course, the present application is not limited in this regard.
[0116] Specifically, after the computer device is restarted, the driver of the deep computing processor chip and the dependent platform of the Unreal Engine can be installed in the memory of the computer device. Wherein, the driver is installed based on the configuration information in the target basic input output system file on the deep computing processor chip.
[0117] In the embodiments of the present application, the dependent platform of the Unreal Engine is installed to improve the success rate of the program package installation of the Unreal Engine.
[0118] The technical solution in the embodiments of the present application, according to the information of the target basic input output system file, obtains the target basic input output system file, updates the original basic input output system file on the deep computing processor chip to the target basic input output system file, and restarts the computer device based on the target basic input output system file. After the computer device is restarted, the driver and the dependent platform of the Unreal Engine are installed; the method can construct a corresponding deployment environment according to the category of the operating system on the computer device, so that the Unreal Engine can be further deployed in the corresponding deployment environment of the Windows operating system, so that the deployed Unreal Engine is adapted or compatible with the deep computing processor chip in the computer device; at the same time, the method does not require a complex processing process, and the construction method is relatively simple, so that the construction speed of the deployment environment can be improved; in addition, in the process of constructing the deployment environment of the Unreal Engine, the original basic input output system file on the deep computing processor chip can be updated, so that the open source driver of the computer device can successfully identify the basic input output system file on the deep computing processor chip, so as to successfully drive the program, so that in the use process of the finally deployed Unreal Engine, the deep computing processor chip can be successfully called, and the effect of adapting or compatible the Unreal Engine with the deep computing processor chip is achieved.
[0119] The process of deploying the Unreal Engine in the deployment environment when the operating system of the computer device is the Windows operating system is described below. In an embodiment, the steps in S300 above can include:
[0120] Obtaining the program package of the Unreal Engine; installing the program package of the Unreal Engine on the dependent platform of the Unreal Engine.
[0121] In actual application, the program package of the Unreal Engine can be directly obtained from local, cloud, disk, hard disk, etc.
[0122] Taking Windows 10 operating system and Unreal Engine 4 as an example, the above-mentioned Unreal Engine packages can be determined according to the actual application requirements to correspond to different versions of Unreal Engine 4 packages, such as the Unreal Engine 4.27.2 version package. Of course, this application does not limit this.
[0123] Specifically, a computer device can respond to an Unreal Engine package installation request and install the obtained Unreal Engine package on an existing Unreal Engine dependency platform.
[0124] like Figure 5 The diagram shown illustrates the process of deploying Unreal Engine on a Windows 10 operating system in an exemplary embodiment. Combined with... Figure 5 As shown, the computer device first downloads the graphics card VII BIOS file from the internet. Using a BIOS modification tool, it modifies the original Basic Input / Output System (BIOS) file on the deep learning processor chip to the graphics card VII BIOS file. Then, it restarts the computer and installs the Radeon Software 22.1.1 driver and the Epic Games application platform. Finally, it installs the Unreal Engine 4.27.2 package on the Epic Games application platform. Figure 5 This example uses a Radeon VII graphics card BIOS file and ATIFlash as the graphics processor BIOS modification tool.
[0125] In this way, Unreal Engine 4 was successfully deployed on the Windows 10 operating system, and the deployed Unreal Engine was able to be used on the Windows 10 operating system and was also compatible with the deep learning processor chip in the computer device.
[0126] The technical solution in this application embodiment obtains the Unreal Engine package and installs the Unreal Engine package on the platform on which the Unreal Engine depends. This method can deploy the corresponding Unreal Engine on the Windows operating system in the correct manner, so that the deployed Unreal Engine can be used on the Windows operating system and can be adapted or compatible with the deep learning processor chip in the computer device.
[0127] In some scenarios, the operating system of the computer device is a Linux operating system. The following describes the deployment file information obtained under the operating system. In an embodiment, the information of the deep computing processor chip includes a version identifier of the deep computing processor chip. If the category of the operating system includes the second category of operating system, the step of obtaining the deployment file information corresponding to the information of the deep computing processor chip according to the category of the operating system in S210 can include: obtaining the information of the graphical program interface file corresponding to the version identifier of the deep computing processor chip.
[0128] In the embodiments of the present application, the second category of operating system includes a Linux operating system, and the Linux operating system can include a Debian operating system or a Gentoo operating system, etc. The Debian operating system is a very stable Linux series operating system. The Gentoo operating system is a free operating system under the Linux series.
[0129] In the embodiments of the present application, the second category of operating system is taken as an Ubuntu operating system in the Linux operating system, and the Ubuntu operating system of version 20.04 is taken as an example for illustration.
[0130] In the embodiments of the present application, the information of the graphical program interface file includes a version identifier of the graphical program interface file, that is, a version number of the graphical program interface file.
[0131] The technical solution in the embodiments of the present application can obtain the information of the graphical program interface file corresponding to the version identifier of the deep computing processor chip according to the version identifier of the deep computing processor chip, so as to obtain the graphical program interface file according to the information of the graphical program interface file, further construct the deployment environment of the Unreal Engine corresponding to the graphical program interface file under the corresponding operating system through the graphical program interface file, and enable the driver of the deep computing processor chip to successfully call the graphical program interface file when the finally deployed Unreal Engine is used under the Linux operating system, so as to further successfully call the deep computing processor chip.
[0132] In some scenarios, the operating system of the computer device is a Linux operating system. At this time, the deployment environment of the Unreal Engine to be deployed needs to be constructed according to the construction strategy corresponding to the Linux operating system. The following describes the process of constructing the deployment environment of the Unreal Engine according to the category of the operating system, the deployment file information and the driver. In an embodiment, as shown in Figure 6 The steps in S220 can be implemented in the following manner.
[0133] S224, installing the driver. The driver is determined according to the kernel version information of the second category of operating system.
[0134] Meanwhile, under the Linux operating system, the above-mentioned driver can be an open-source professional graphics processor driver based on the Linux operating system. Alternatively, the driver can include a GEM driver, and can also include a KMS driver.
[0135] In the embodiments of the present application, under the Ubuntu operating system of version 20.04, the above-mentioned driver can include an ADM GPU driver with strong universality, of course, the present application is not limited to this.
[0136] Specifically, the computer device can respond to the driver installation request to control the installation of the driver in the memory of the computer device. Alternatively, the installed driver is the one with the highest matching degree with the deep computing processor chip in the computer device, and naturally, when the Unreal Engine application is finally deployed, the installed driver can quickly and successfully schedule the deep computing processor chip.
[0137] It should be noted here that the kernel version information of the operating system of the computer device is only one, but one kernel version information can correspond to multiple versions of the driver, and in actual application, the trial method or historical experience method can be used to select the best version of the driver with the highest stability as the installed driver. Among them, the best version of the driver is the one with the highest matching degree with the deep computing processor chip in the computer device.
[0138] S225, in the case where the driver installation is completed, install the graphic program interface file. Wherein, the graphic program interface file is obtained according to the information of the graphic program interface file.
[0139] Specifically, the corresponding graphic program interface file can be downloaded from the Internet according to the version identification of the graphic program interface file (such as Vulkan file), and the corresponding graphic program interface file can also be obtained from local, cloud, disk or hard disk and the like according to the version identification of the graphic program interface file. Alternatively, the graphic program interface can include different versions of Metal graphic program interface, OpenGL graphic program interface and Graphics API, of course, the present application is not limited to this.
[0140] In the embodiments of the present application, under the Ubuntu operating system of version 20.04, the above-mentioned graphic program interface can include different versions of Vulkan graphic program interface.
[0141] In actual application, after the installation of the driver is completed, the computer device can respond to the graphic program interface file installation request to control the installation of the graphic program interface file in the memory of the computer device.
[0142] Taking the Ubuntu 20.04 operating system as an example, the above-mentioned graphic program interface file can include a Vulkan graphic program interface file of version 1.2.
[0143] S226, obtain the dependent library and the compiler corresponding to the operating system, and install the dependent library and the compiler.
[0144] The dependent library corresponding to the operating system can be obtained in the form of downloading from the Internet or searching from a database. In addition, the compiler corresponding to the operating system can be obtained in the form of downloading from the Internet, or can be obtained from a local, cloud, disk or hard disk, or other locations, to obtain a pre-written corresponding compiler.
[0145] Based on the obtained dependent library and the compiler corresponding to the operating system, the corresponding dependent library and the compiler can be automatically installed in the memory of the computer device.
[0146] Optionally, the dependent library of the Linux operating system can include apache, mysql, nginx, php, etc., and the compiler of the Linux operating system can include vim, Emace, Brackets, LightTable, gedit, etc. Of course, the present application does not limit this.
[0147] Taking the Ubuntu 20.04 operating system as an example, the dependent library of the Linux operating system can include the mono dependent library, and the compiler of the Linux operating system can include the Clang compiler. Of course, the present application does not limit this.
[0148] The technical solution in the embodiment of the present application installs the driver, installs the graphic program interface file under the condition that the installation of the driver is completed, obtains the dependent library and the compiler corresponding to the operating system, and installs the dependent library and the compiler. The method can construct a corresponding deployment environment according to the category of the operating system on the computer device, so that the Unreal Engine can be further deployed in the corresponding deployment environment of the Linux operating system, so that the deployed Unreal Engine is adapted or compatible with the deep computing processor chip in the computer device. At the same time, the method does not require a complex processing process, and the construction method is relatively simple, so as to improve the construction speed of the deployment environment. In addition, when constructing the deployment environment corresponding to the Unreal Engine, the method can install the corresponding version of the driver and the graphic program interface file, so as to make the deep computing processor chip play its performance to the greatest extent, and finally deploy the Unreal Engine with good adaptation and compatibility.
[0149] The following describes the process of deploying Unreal Engine in a deployment environment when the computer device's operating system is Linux. In one embodiment, the steps in S300 above may include:
[0150] Obtain the Unreal Engine source code package;
[0151] The Unreal Engine source code package is compiled based on the dependency libraries and compiler, and the compiled source code package is installed.
[0152] The computer device can obtain the Linux version of the Unreal Engine source code package from the Internet, the cloud, local storage, disk, or hard drive.
[0153] For example, taking Unreal Engine 4 as an example, the aforementioned Unreal Engine source code package can include different versions of the Unreal Engine 4 Linux source code package. Furthermore, if we take Ubuntu 20.04 as an example of the Linux operating system, the corresponding Unreal Engine source code package would be the Release version of the Unreal Engine 4 Linux source code package.
[0154] Specifically, based on the obtained Unreal Engine source code package, the installed compiler can be used to compile the Unreal Engine source code package according to the installed dependency libraries, and the compiled source code package can be automatically installed in the memory of the computer device to complete the deployment operation of Unreal Engine.
[0155] Optionally, the above compilation method may include single-core compilation or multi-core compilation. In the embodiments of this application, single-core compilation may be used. Of course, this application does not limit this.
[0156] like Figure 7 The image shows a schematic diagram illustrating the process of installing Unreal Engine on an Ubuntu 20.04 operating system in an exemplary embodiment. Combined with... Figure 7 As shown, the computer device downloads and installs the corresponding version of the ADM GPU driver based on its own operating system's kernel version information. Then, it installs the Vulkan graphics interface file version 1.2, further installs the Mono dependency library and clang compiler corresponding to the Ubuntu 20.04 operating system, downloads the Release version of the Unreal Engine 4 Linux source code package from the internet, compiles the Release version of the Unreal Engine 4 Linux source code package, and then installs the compiled source code package. In this way, Unreal Engine 4 is successfully deployed on the Ubuntu 20.04 operating system, and the deployed Unreal Engine is both usable on the Ubuntu 20.04 operating system and compatible with the deep learning processor chip in the computer device.
[0157] The technical solution in the embodiment of the application obtains a source code package of the Unreal Engine, compiles the source code package of the Unreal Engine according to a dependent library and a compiler, and installs the compiled source code package; the method can deploy the corresponding Unreal Engine in a correct manner on a Linux operating system, so that the deployed Unreal Engine can be used on the Linux operating system and can be adapted to or compatible with a deep computing processor chip in the computer device.
[0158] In an embodiment, the application also provides an Unreal Engine deployment method, which includes the following processes:
[0159] (1) obtaining information of a deep computing processor chip in a computer device and a category of an operating system of the computer device;
[0160] (2) according to the category of the operating system, obtaining deployment file information corresponding to the information of the deep computing processor chip and a driver of the deep computing processor chip according to the category of the operating system.
[0161] If the category of the operating system of the computer device is a first type of operating system, the step (2) can include:
[0162] (21) obtaining information of a target basic input / output system file corresponding to the version identifier of the deep computing processor chip.
[0163] In addition, if the category of the operating system of the computer device is a second type of operating system and the information of the deep computing processor chip includes a version identifier of the deep computing processor chip, the step (2) can include:
[0164] (22) obtaining information of a graphic program interface file corresponding to the version identifier of the deep computing processor chip.
[0165] (3) constructing a deployment environment corresponding to the Unreal Engine according to the deployment file information and the driver; the Unreal Engine corresponds to the category of the deep computing processor chip.
[0166] If the category of the operating system of the computer device is the first type of operating system and the information of the deep computing processor chip includes the version identifier of the deep computing processor chip, the step (3) can include:
[0167] (31) obtaining a target basic input / output system file according to the information of the target basic input / output system file.
[0168] (32) updating an original basic input / output system file on the deep computing processor chip to the target basic input / output system file, and restarting the computer device based on the target basic input / output system file.
[0169] (33) installing the driver and the dependent platform of the Unreal Engine after the computer device is restarted;
[0170] In addition, if the category of the operating system of the computer device is the second type of operating system, the step (3) can include:
[0171] (34) installing the driver, which is determined according to the kernel version information of the second type of operating system of the operating system;
[0172] (35) installing the graphic program interface file in the case where the installation of the driver is completed, wherein the graphic program interface file is obtained according to the information of the graphic program interface file;
[0173] (36) obtaining the dependent library and the compiler corresponding to the operating system, and installing the dependent library and the compiler corresponding to the operating system.
[0174] (4) deploying the Unreal Engine in the deployment environment;
[0175] If the category of the operating system of the computer device is the first type of operating system, the step (4) can include:
[0176] (41) obtaining the program package of the Unreal Engine;
[0177] (42) installing the program package of the Unreal Engine on the dependent platform of the Unreal Engine;
[0178] In addition, if the category of the operating system of the computer device is the second type of operating system, the step (4) can include:
[0179] (43) obtaining the source code package of the Unreal Engine;
[0180] (44) compiling the source code package of the Unreal Engine according to the dependent library and the compiler corresponding to the operating system, and installing the compiled source code package.
[0181] The execution process of the above (1) to (4) can refer to the description of the above embodiments, and the implementation principle and technical effects are similar, which will not be described here.
[0182] It should be understood that although each step in the flowchart involved in the above embodiments is shown in sequence according to the arrow, these steps are not necessarily executed in the order indicated by the arrow. Unless otherwise specified herein, there is no strict order limitation for the execution of these steps, and these steps can be executed in other orders. Moreover, at least part of the steps in the flowchart involved in the above embodiments can include multiple steps or multiple stages, which are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily sequential, but can be alternately executed with at least part of other steps or steps or stages in other steps.
[0183] Based on the same inventive concept, the embodiments of the present application also provide a Unreal Engine deployment device for implementing the Unreal Engine deployment method described above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme described in the above method, so the specific limitations in one or more Unreal Engine deployment device embodiments provided below can refer to the limitations of the Unreal Engine deployment method in the above text, which will not be repeated here.
[0184] In one embodiment, Figure 8 The structure of the Unreal Engine deployment device in an embodiment of the present application is shown in FIG. 1. As shown in FIG. 1, the Unreal Engine deployment device in the embodiment of the present application can include an acquisition module 11, a deployment environment construction module 12, and a deployment module 13, wherein: Figure 8 The acquisition module 11 is configured to acquire information of a deep computing processor chip in a computer device and a category of an operating system of the computer device.
[0185] The deployment environment construction module 12 is configured to construct a deployment environment corresponding to a to-be-deployed Unreal Engine according to the category of the operating system and the information of the deep computing processor chip. The Unreal Engine corresponds to the category of the deep computing processor chip.
[0186] The deployment module 13 is configured to deploy the Unreal Engine in the deployment environment.
[0187] The Unreal Engine deployment device provided by the embodiments of the present application can be used to execute the technical solutions in the Unreal Engine deployment method embodiments of the present application, and the implementation principles and technical effects are similar, which will not be repeated here.
[0188] In one embodiment, the hardware layer includes a processor, and the information in the solidification area includes trusted root information of the processor; the deployment environment construction module 12 includes an acquisition unit and a construction unit, wherein:
[0189]
[0190] The acquisition unit is configured to acquire, according to the category of the operating system, deployment file information corresponding to information of the depth calculation processor chip and a driver of the depth calculation processor chip.
[0191] The construction unit is configured to construct a deployment environment corresponding to the Unreal Engine according to the deployment file information and the driver.
[0192] The Unreal Engine deployment apparatus provided by the embodiments of the present application can be used to execute the technical solutions in the Unreal Engine deployment method embodiments of the present application, and the implementation principles and technical effects are similar, which will not be described here again.
[0193] In one of the embodiments, the information of the depth calculation processor chip includes a version identifier of the depth calculation processor chip; if the category of the operating system includes a first type of operating system, the acquisition unit includes a first acquisition subunit, and the first acquisition subunit is specifically configured to:
[0194] acquire information of a target basic input output system file corresponding to the version identifier of the depth calculation processor chip.
[0195] The Unreal Engine deployment apparatus provided by the embodiments of the present application can be used to execute the technical solutions in the Unreal Engine deployment method embodiments of the present application, and the implementation principles and technical effects are similar, which will not be described here again.
[0196] In one of the embodiments, the construction unit includes a first construction subunit, and the first construction subunit is specifically configured to:
[0197] acquire the target basic input output system file according to the information of the target basic input output system file;
[0198] update an original basic input output system file on the depth calculation processor chip to the target basic input output system file, and restart the computer device based on the target basic input output system file;
[0199] After the computer device is restarted, install the driver and a dependent platform of the Unreal Engine.
[0200] The Unreal Engine deployment apparatus provided by the embodiments of the present application can be used to execute the technical solutions in the Unreal Engine deployment method embodiments of the present application, and the implementation principles and technical effects are similar, which will not be described here again.
[0201] In one of the embodiments, the deployment module 13 includes a first installation unit, and the first installation unit is specifically configured to:
[0202] acquire a program package of the Unreal Engine;
[0203] install the program package of the Unreal Engine on the dependent platform of the Unreal Engine.
[0204] The Unreal Engine deployment apparatus provided by the embodiments of the present application can be used to execute the technical solutions in the Unreal Engine deployment method embodiments of the present application, and the implementation principles and technical effects are similar, which will not be repeated here.
[0205] In one of the embodiments, the information of the depth calculation processor chip includes a version identifier of the depth calculation processor chip; if the category of the operating system includes the second type of operating system, the obtaining unit includes a second obtaining subunit, and the second obtaining subunit is specifically used for:
[0206] obtaining information of a graphic program interface file corresponding to the version identifier of the depth calculation processor chip.
[0207] The Unreal Engine deployment apparatus provided by the embodiments of the present application can be used to execute the technical solutions in the Unreal Engine deployment method embodiments of the present application, and the implementation principles and technical effects are similar, which will not be repeated here.
[0208] In one of the embodiments, the constructing unit includes a second constructing subunit, and the second constructing subunit is specifically used for:
[0209] installing a driver; the driver is determined according to the kernel version information of the second type of operating system;
[0210] installing a graphic program interface file in the case where the installation of the driver is completed, and the graphic program interface file is obtained according to the information of the graphic program interface file;
[0211] obtaining a dependent library and a compiler corresponding to the operating system, and installing the dependent library and the compiler corresponding to the operating system.
[0212] The Unreal Engine deployment apparatus provided by the embodiments of the present application can be used to execute the technical solutions in the Unreal Engine deployment method embodiments of the present application, and the implementation principles and technical effects are similar, which will not be repeated here.
[0213] In one of the embodiments, the deployment module 13 includes a second installation unit, and the second installation unit is specifically used for:
[0214] obtaining a source code package of the Unreal Engine;
[0215] compiling the source code package of the Unreal Engine according to the dependent library and the compiler corresponding to the operating system, and installing the compiled source code package.
[0216] The Unreal Engine deployment apparatus provided by the embodiments of the present application can be used to execute the technical solutions in the Unreal Engine deployment method embodiments of the present application, and the implementation principles and technical effects are similar, which will not be repeated here.
[0217] The specific limitations of the Unreal Engine deployment apparatus can refer to the limitations of the Unreal Engine deployment method described above, which will not be repeated here. Each module in the Unreal Engine deployment apparatus described above can be implemented by software, hardware, and a combination thereof, in whole or in part. The above-mentioned modules can be embedded in or independent of the processor in the computer device in hardware form, or can be stored in the memory of the computer device in software form, so that the processor invokes and executes the operations corresponding to each of the above modules.
[0218] In one embodiment, a computer device, which can be a server, is provided, and an internal structure diagram of the computer device can be as shown in Figure 1 The computer device includes a processor, a memory, and a network interface connected by a system bus. The processor of the computer device is configured to provide processing capability. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operating system and the computer program in the non-volatile storage medium to run. The database of the computer device is configured to store a source code package of an Unreal Engine or a program package of the Unreal Engine. The network interface of the computer device is configured to communicate with an external endpoint through a network connection. The computer program is executed by the processor to implement an Unreal Engine deployment method.
[0219] Those skilled in the art can understand that Figure 1 The structure shown in the figure is only a block diagram of part of the structure related to the scheme of the present application, and does not constitute a limitation on the computer device to which the scheme of the present application is applied. The specific computer device can include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0220] In one embodiment, a computer device is also provided, which includes a memory and a processor. The memory stores a computer program, and the processor implements the technical solutions in the Unreal Engine deployment method embodiments of the present application when executing the computer program. The implementation principles and technical effects are similar, and will not be repeated here.
[0221] In one embodiment, a computer readable storage medium is provided, which stores a computer program. The computer program is executed by the processor to implement the technical solutions of the Unreal Engine deployment method described above, and the implementation principles and technical effects are similar, and will not be repeated here.
[0222] In one embodiment, a computer program product is provided, which includes a computer program. The computer program is executed by the processor to implement the technical solutions of the Unreal Engine deployment method described above, and the implementation principles and technical effects are similar, and will not be repeated here.
[0223] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer readable storage medium, and when the computer program is executed, the processes of the above-mentioned embodiments of the methods can be included. Any reference to memory, storage, database or other medium used in each embodiment provided by the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration but not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).
[0224] Any combination of the technical features of the above embodiments can be made. In order to make the description simple, all possible combinations of each technical feature in the above embodiments are not described, however, as long as the combination of the technical features does not exist, it should be considered as the scope of the present application.
[0225] The above embodiments only express several implementation manners of the present application, and the description is more specific and detailed, but it should not be understood as a limitation on the scope of the patent. It should be pointed out that for those skilled in the art, without departing from the concept of the present application, some modifications and improvements can be made, which are all within the protection scope of the present application. Therefore, the protection scope of the patent of the present application should be subject to the appended claims.
Claims
1. A method for Unreal Engine deployment, the method comprising: The method comprises: obtaining information of a deep computing processor chip in a computer device and a category of an operating system of the computer device; obtaining deployment file information corresponding to the information of the deep computing processor chip and a driver of the deep computing processor chip according to the category of the operating system; the information of the deep computing processor chip comprises a version identifier of the deep computing processor chip; constructing a deployment environment corresponding to an Unreal Engine to be deployed according to the deployment file information and the driver; the Unreal Engine corresponds to the category of the deep computing processor chip; deploying the Unreal Engine in the deployment environment; wherein, according to the category of the operating system, obtaining the deployment file information corresponding to the information of the deep computing processor chip comprises: in the case that the category of the operating system is a Windows operating system, obtaining information of a target basic input and output system file corresponding to the version identifier of the deep computing processor chip; correspondingly, deploying the Unreal Engine in the deployment environment comprises installing a program package of the Unreal Engine on a dependent platform of the Unreal Engine; in the case that the category of the operating system is a Linux operating system, obtaining information of a graphic program interface file corresponding to the version identifier of the deep computing processor chip; correspondingly, deploying the Unreal Engine in the deployment environment comprises installing the graphic program interface file, and compiling a source code package of the Unreal Engine according to a dependent library and a compiler corresponding to the Linux operating system, and installing the compiled source code package.
2. The method of claim 1, wherein, The category of the operating system is a Windows operating system; and constructing the deployment environment corresponding to the Unreal Engine to be deployed according to the deployment file information and the driver comprises: obtaining the target basic input and output system file according to the information of the target basic input and output system file; updating an original basic input and output system file on the deep computing processor chip to the target basic input and output system file, and restarting the computer device based on the target basic input and output system file; after restarting the computer device, installing the driver and a dependent platform of the Unreal Engine.
3. The method of claim 2, wherein, The updating of the original basic input and output system file on the deep computing processor chip to the target basic input and output system file comprises: replacing the original basic input and output system file on the deep computing processor chip with the target basic input and output system file.
4. The method of claim 2, wherein, The updating of the original basic input and output system file on the deep computing processor chip to the target basic input and output system file comprises: comparing configuration information of configuration parameters in the target basic input and output system file and the original basic input and output system file for any one of the configuration parameters in the target basic input and output system file and the original basic input and output system file. If the configuration information of the configuration parameter is inconsistent, the configuration information of the configuration parameter in the original basic input and output system file is modified as the configuration information corresponding to the configuration parameter in the target basic input and output system file.
5. The method according to any one of claims 2-4, characterized in that, Before deploying the Unreal Engine in the deployment environment, the method further comprises: obtaining a program package of the Unreal Engine.
6. The method of claim 1, wherein, The category of the operating system is a Linux operating system; before compiling the source code package of the Unreal Engine according to the dependent library and the compiler corresponding to the Linux operating system and installing the compiled source code package, the method further comprises: installing the driver; the driver is determined according to the kernel version information of the Linux operating system; installing the graphic program interface file, wherein the graphic program interface file is obtained according to the information of the graphic program interface file, in the case that the installation of the driver is completed. obtaining the dependent library and the compiler corresponding to the Linux operating system and installing the dependent library and the compiler.
7. The method of claim 6, wherein, The method further comprises: obtaining a source code package of the Unreal Engine.
8. The method of claim 7, wherein, The compilation mode includes single-core compilation or multi-core compilation.
9. A Unreal Engine deployment apparatus characterized by, The apparatus comprises: an obtaining module, configured to obtain information of a deep computing processor chip in a computer device and a category of an operating system of the computer device; a deployment environment construction module, configured to obtain deployment file information corresponding to the information of the deep computing processor chip and a driver of the deep computing processor chip according to the category of the operating system, wherein the information of the deep computing processor chip comprises a version identifier of the deep computing processor chip, and construct a deployment environment corresponding to an Unreal Engine to be deployed according to the deployment file information and the driver, wherein the Unreal Engine corresponds to the category of the deep computing processor chip; a deployment module, configured to deploy the Unreal Engine in the deployment environment. The deployment environment construction module is further configured to, in the case that the category of the operating system is a Windows operating system, obtain information of a target basic input and output system file corresponding to the version identifier of the deep computing processor chip, and correspondingly, the deployment module is further configured to install a program package of the Unreal Engine on a dependent platform of the Unreal Engine. The deployment environment construction module is further configured to, in the case that the category of the operating system is a Linux operating system, obtain information of a graphic program interface file corresponding to the version identifier of the deep computing processor chip, and correspondingly, the deployment module is further configured to install the graphic program interface file, and compile a source code package of the Unreal Engine according to a dependent library and a compiler corresponding to the Linux operating system, and install the compiled source code package. 10.A computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the computer device is configured to perform the method according to any one of claims 1-9. The processor implements the steps of the method of any one of claims 1-8 when executing the computer program.
Citation Information
Patent Citations
Software deployment method dynamically adapting to software and hardware operating environments based on container technology
CN111026415A