Cloud rendering method, device and equipment of aircraft component and medium
By using cloud rendering methods, the client's rendering request is parsed, a suitable rendering model is selected, and rendering is performed in the cloud, which solves the problem of low rendering efficiency of aircraft parts and achieves efficient 3D view rendering.
Patent Information
- Application Number
- CN202410798974.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-20
- Publication Date
- 2025-10-17
AI Technical Summary
In the existing technology, the rendering efficiency of 3D views of aircraft parts is low and the time consumption is long, mainly due to the reliance on the limited computing power of the local computer.
The cloud-based rendering method is adopted. By obtaining the client's rendering request, parsing the interactive operation, selecting the appropriate rendering model, and performing efficient rendering in the cloud, the rendered video frames are generated and sent.
It improves the rendering efficiency of aircraft component images, reduces rendering time, and meets the requirements of high-quality and high-speed rendering.
Smart Images

Figure CN120807755A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of image processing, and in particular to a cloud rendering method, device and equipment for aircraft parts and a medium. BACKGROUND
[0002] There are thousands of component parts on an aircraft. In order to meet the needs of debugging and detection of staff, a three-dimensional view of each part needs to be displayed and interacted with on the client side. Therefore, rendering of graphics needs to be performed before display.
[0003] Due to the high complexity of aircraft parts, high-quality and high-speed rendering is required to ensure the refinement of the three-dimensional view. However, current rendering is mainly performed on a local computer. However, due to the limited computing power of the local computer, the rendering efficiency is low and a large amount of time is required. SUMMARY
[0004] The present application provides a cloud rendering method, device and equipment for aircraft parts and a medium, which can improve the rendering efficiency of aircraft part images and save rendering time.
[0005] In a first aspect, the present application discloses a cloud rendering method for aircraft parts, comprising:
[0006] obtaining a rendering request of a client, the rendering request comprising an interactive operation for a to-be-rendered aircraft part;
[0007] determining the to-be-rendered aircraft part and corresponding control information according to the rendering request;
[0008] determining a target rendering model from candidate rendering models of the to-be-rendered aircraft part according to the control information, wherein the candidate rendering models represent at least two groups of rendering data of the to-be-rendered aircraft part with different rendering data amounts;
[0009] rendering the to-be-rendered aircraft part based on the target rendering model, generating a rendered video frame, and sending the rendered video frame to the client.
[0010] In a second aspect, the present application discloses a cloud rendering device for aircraft parts, comprising:
[0011] an obtaining module configured to obtain a rendering request of a client, the rendering request comprising an interactive operation for a to-be-rendered aircraft part;
[0012] a parsing module configured to determine the to-be-rendered aircraft part and corresponding control information according to the rendering request;
[0013] determining a target rendering model from candidate rendering models of the aircraft part to be rendered according to the control information, wherein the candidate rendering models represent rendering data of the aircraft part to be rendered with at least two groups of different rendering data amounts;
[0014] rendering the aircraft part to be rendered based on the target rendering model, generating a rendered video frame, and sending the rendered video frame to the client.
[0015] In a third aspect, an electronic device is disclosed, and the electronic device comprises:
[0016] at least one processor; and
[0017] a memory in communication with the at least one processor; wherein
[0018] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to perform the cloud rendering method of the aircraft part according to any one of the embodiments of the present application.
[0019] In a fourth aspect, a computer readable storage medium is disclosed, and the computer readable storage medium stores computer instructions for enabling a processor to implement the cloud rendering method of the aircraft part according to any one of the embodiments of the present application when the processor executes the computer instructions.
[0020] The embodiments of the present application provide a cloud rendering method, device, equipment and medium of an aircraft part, and the method comprises: obtaining a rendering request of a client, the rendering request comprising an interactive operation for an aircraft part to be rendered; determining the aircraft part to be rendered and corresponding control information according to the rendering request; determining a target rendering model from candidate rendering models of the aircraft part to be rendered according to the control information, wherein the candidate rendering models represent rendering data of the aircraft part to be rendered with at least two groups of different rendering data amounts; rendering the aircraft part to be rendered based on the target rendering model, generating a rendered video frame, and sending the rendered video frame to the client. Specifically, the aircraft part to be rendered and the corresponding control information can be determined by analyzing the rendering request, and then the target rendering model can be determined through the interactive operation corresponding to the control information. Since different interactive operations correspond to different rendering models, and the rendering data amounts of different rendering models are different, the method of the embodiments of the present application can determine different rendering models according to the rendering request, so as to reduce the rendering data amount and the rendering time, and improve the rendering efficiency. BRIEF DESCRIPTION OF DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0022] Figure 1 A flowchart of a cloud rendering method for aircraft parts provided in accordance with an embodiment of the present application;
[0023] Figure 2 This is a flow chart of a cloud-based rendering method for aircraft components provided in the second embodiment of the present invention;
[0024] Figure 3 A schematic structural diagram of a cloud-based rendering device for aircraft components provided in a third embodiment of the present invention;
[0025] Figure 4 This is a structural diagram of an electronic device provided in Example 4 of the present invention. DETAILED DESCRIPTION
[0026] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of the present invention.
[0027] It should be noted that the terms "first", "second", etc. in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0028] It should be noted that the collection, storage, use, processing, transmission, provision and disclosure of user personal information involved in the technical solution of this disclosure are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0029] Example 1
[0030] Figure 1 A flowchart of a cloud rendering method of an aircraft component is provided for the embodiments of the present application. The embodiments can be applicable to the cloud rendering of aircraft component images. The method can be executed by a cloud rendering device of an aircraft component. The device can be implemented in the form of hardware and / or software and configured in various computers or servers.
[0031] As shown in Figure 1 , it includes:
[0032] Step 110, obtaining a rendering request of a client, the rendering request including an interactive operation for a to-be-rendered aircraft component.
[0033] The rendering request is a control request of a user for the to-be-rendered aircraft component, which can represent the interactive operation of the user on the to-be-rendered aircraft component. The rendering request can be generated based on the interactive operation input by the input device of the client. The interactive operation is, for example, mouse clicking, mouse moving, scroll wheel scrolling, or keyboard input. The interactive operation is used to control the to-be-rendered aircraft component to deform or displace, such as magnification, rotation, reduction, and displacement of the to-be-rendered aircraft component.
[0034] For example, the rendering request of the client can be obtained through the web browser of the client.
[0035] Specifically, the user can interact with the to-be-rendered aircraft component on the client, the client generates a corresponding rendering request, and then sends the rendering request to the cloud. The cloud performs rendering operation according to the rendering request, and then returns the rendered image to the client.
[0036] Step 120, determining a to-be-rendered aircraft component and corresponding control information according to the rendering request.
[0037] The to-be-rendered aircraft component is the target aircraft component to be rendered by the user. The control information can be an interactive operation or a control command for the to-be-rendered aircraft component, such as magnification, rotation, reduction, and displacement. The control information also includes operation time and operation action information of various interactive operations.
[0038] Specifically, the cloud can determine the to-be-rendered aircraft and the control information for the to-be-rendered aircraft component by analyzing the rendering request. Different control information will have different image rendering results, such as magnification action rendering or rotation action rendering of the to-be-rendered aircraft component.
[0039] Step 130, determining a target rendering model from candidate rendering models of the to-be-rendered aircraft component according to the control information, wherein the candidate rendering models represent at least two groups of rendering data of the to-be-rendered aircraft component with different rendering data amounts.
[0040] The candidate rendering model includes at least two groups of rendering data required for rendering the aircraft components, the data amount of different groups of rendering data is different, and the rendering effect of the aircraft components corresponding to different rendering data is different, such as different picture quality and picture resolution.
[0041] Specifically, because the rendering quality required by different aircraft components, different rendering requirements and different interactive operations is different, at least two groups of rendering data amount models can be preset, and then different rendering models with different rendering data amount are selected to achieve the purpose of reducing the calculation amount.
[0042] Optionally, the candidate rendering model includes a first rendering model and a second rendering model; and the generation method of the candidate rendering model includes:
[0043] obtaining a first data format file and a second data format file of the aircraft component, wherein the first data format file is a physical attribute file of the aircraft component, and the second data format file is a space structure file of the aircraft component;
[0044] determining a mapping relationship of the first data format file and the second data format file;
[0045] updating the corresponding second data format file by using the first data format file according to the mapping relationship, to generate a second data format update file;
[0046] generating a second rendering model according to the second data format update file, performing discretization processing on the second rendering model, and generating a first rendering model.
[0047] The physical attribute file of the aircraft component can include the part composition of the aircraft component, the weight, material and version of each part, and the space structure file of the aircraft component includes the mathematical expression of the space coordinates of each aircraft component and part; the mapping relationship can be established by the ID, name or unique identifier of the aircraft component, which is not limited here; the discretization can be realized by image discretization algorithm, such as Fourier transform.
[0048] Specifically, different data format files contain different aircraft component attribute contents, and the content contained in the extended file can improve the accuracy of rendering. Therefore, the first data format file can be used to update the corresponding second data format file to generate a second data format update file to supplement the second data format file. The second data format update file contains all the contents of the first data format file and the second data format file. Further, the second rendering model can be generated according to the second data format update file for the rendering work of the aircraft component to be rendered. Further, the second rendering model can be discretized to generate the first rendering model, so that two rendering models with different rendering data amounts can be obtained, and different rendering models can be used according to the rendering requirements to improve the rendering efficiency. For example, when the aircraft component is scaled down, the required rendering picture quality requirement is low, and therefore the first rendering model with low rendering data amount can be used. When the aircraft component is scaled up, a more accurate rendering image is required, and therefore the second rendering model can be used for rendering operation to improve the accuracy of the rendering image.
[0049] For example, the physical attribute file of the aircraft component can be an MBD data file, which can specifically include an MBD definition structure, MBD elements, and MBD attribute metadata. For example, the MBD definition structure includes all sub-components of the aircraft component, the MBD elements include specifications, starting points, and ending points of each sub-component, and the MBD attribute metadata includes the weight and material of the component.
[0050] For example, the spatial three-dimensional geometric structure file of the aircraft component can be a STEP (Standard for the Exchange of Product Data) file. STEP is an international standard file format used for exchanging product data between different CAD systems. The STEP file contains the mathematical expression of each aircraft component. The STEP format can ensure that design details and manufacturing specifications are correctly understood and used at every stage of the supply chain. For example, an aircraft manufacturer can use a STEP file to share component designs with suppliers to ensure that components can be accurately manufactured and meet design specifications.
[0051] Optionally, the target rendering model is determined according to a preset operation model corresponding table corresponding to the interaction operation represented by the control information, wherein the preset operation model corresponding table includes a corresponding relationship between the interaction operation and the rendering model category.
[0052] Specifically, the corresponding relationship is that different interaction operations correspond to different rendering model categories.
[0053] Exemplarily, the corresponding relationship can be that, if the interaction operation represents a zoom-in operation, the picture quality requirement of the rendered image is high, and therefore, the second rendering model with a larger amount of rendering data can be selected; if the interaction operation represents a rotation or a translation, the picture quality requirement of the rendered image is low, and therefore, the first rendering model with a smaller amount of data can be selected.
[0054] Optionally, the interaction operation includes a mouse interaction operation, and the determining of the aircraft part to be rendered and the corresponding control information according to the rendering request includes:
[0055] parsing the rendering request to determine the mouse click point and the control information;
[0056] determining a mouse selection ray pointing to the three-dimensional view of the aircraft part according to the coordinates of the mouse click point and a preset direction;
[0057] determining the first subpart intersected by the mouse selection ray and the three-dimensional view of the aircraft part as the aircraft part to be rendered.
[0058] wherein the mouse click point is a click operation of a user on the aircraft part to be rendered on the client side; the mouse selection ray is a virtual ray, because the aircraft part is a three-dimensional view in space, but the operation screen is a two-dimensional view, therefore, when the user clicks on the operation screen, a plurality of aircraft parts of a uniform height are clicked, and therefore, a ray, i.e., the mouse selection ray, is needed to be determined from the coordinates of the mouse click point, the intersection point of the mouse selection ray and the three-dimensional view of the aircraft part is determined, and then the aircraft part to be rendered is determined; the preset direction can be perpendicular to the screen direction, or other preset angles, which are not limited herein.
[0059] Specifically, when the server receives the rendering request of the user on the aircraft part to be rendered, the mouse click point and the control information can be determined by parsing the rendering request, and then the mouse selection ray can be constructed according to the coordinates of the mouse click point and the preset direction, and then the first subpart intersected by the mouse selection ray and the three-dimensional view of the aircraft part is determined as the aircraft part to be rendered.
[0060] Exemplarily, the coordinates of the mouse click point are (x0, y0, 0), and the preset angle is 90 degrees, and the equation of the mouse selection ray is wherein t is a real number, and further, the first subpart intersected by the mouse selection ray and the three-dimensional view of the aircraft part is determined as the aircraft part to be rendered.
[0061] In step 140, the aircraft part to be rendered is rendered based on the target rendering model, a rendered video frame is generated, and the rendered video frame is sent to the client side.
[0062] Specifically, a rendering server can be used to render the target rendering model to generate a rendered video frame, and then the rendered video frame is sent to the client to complete the rendering task.
[0063] The embodiment of the application provides a cloud rendering method for an aircraft component, which comprises the following steps: obtaining a rendering request of a client, wherein the rendering request comprises an interactive operation for an aircraft component to be rendered; determining the aircraft component to be rendered and corresponding control information according to the rendering request; determining a target rendering model from candidate rendering models of the aircraft component to be rendered according to the control information, wherein the candidate rendering models represent at least two groups of rendering data of the aircraft component to be rendered, and the rendering data has different data amounts; and rendering the aircraft component to be rendered based on the target rendering model, generating a rendered video frame, and sending the rendered video frame to the client. Specifically, the aircraft component to be rendered and the corresponding control information can be determined by analyzing the rendering request, and then the target rendering model can be determined through the interactive operation corresponding to the control information. Since different interactive operations correspond to different rendering models, and the rendering data of different rendering models has different data amounts, the method of the embodiment of the application can determine different rendering models according to the rendering request, so as to reduce the rendering data amount and the rendering time, and improve the rendering efficiency. Furthermore, the mouse click point can be determined by analyzing the rendering request, and then the mouse selection ray can be determined according to the mouse click point, and finally the aircraft component to be rendered can be determined. This method can accurately and quickly determine the aircraft component to be rendered by the user in the cloud, so as to improve the rendering efficiency.
[0064] Embodiment two
[0065] Figure 2 A flowchart of a cloud rendering method for an aircraft component is provided for the embodiment two of the application. The method is based on the above-mentioned embodiment, and further limits the specific method for sending the rendered video frame to the client, as shown in Figure 2 , which comprises the following steps:
[0066] Step 210: obtaining a rendering request of a client, wherein the rendering request comprises an interactive operation for an aircraft component to be rendered.
[0067] Step 220: determining the aircraft component to be rendered and corresponding control information according to the rendering request.
[0068] Step 230: determining a target rendering model from candidate rendering models of the aircraft component to be rendered according to the control information, wherein the candidate rendering models represent at least two groups of rendering data of the aircraft component to be rendered, and the rendering data has different data amounts.
[0069] Step 240: rendering the aircraft component to be rendered based on the target rendering model, generating a rendered video frame.
[0070] Optionally, before rendering by the target rendering model, further comprising:
[0071] determining load information of each rendering server, and determining the target rendering server according to the load information;
[0072] the rendering of the aircraft component to be rendered based on the target rendering model comprises:
[0073] sending the target rendering model to the target rendering server, and controlling the target rendering server to render the aircraft component to be rendered.
[0074] The rendering server is configured to generate a rendered video frame based on the target rendering model, and the rendering server comprises a rendering graphics card and a CPU. The load information comprises residual computing resources of the rendering graphics card and the CPU in each rendering server.
[0075] Specifically, the rendering server with the most residual computing resources can be determined as the target rendering server according to the load information, and then the target rendering server is used to render the aircraft component to be rendered, so as to reduce the rendering time and balance the use of resources.
[0076] Step 250: determining an interaction time corresponding to the rendered video frame according to the control information.
[0077] The interaction time is used to represent an interaction process of the interaction operation, and the interaction time comprises an interaction start and end time and an interaction intermediate time. The interaction start and end time is a time when the interaction operation starts and ends, and the interaction intermediate time is each time between the interaction start and end time.
[0078] Step 260: determining a category of the rendered video frame according to the interaction time, wherein the category of the rendered video frame comprises an intermediate process frame or a static frame, and the compressed quality of the rendered video frame of different categories is different.
[0079] The frame corresponding to the interaction start and end time is a static frame, and the frame corresponding to the interaction intermediate time is an intermediate process frame.
[0080] Specifically, the control information is analyzed. If it is determined that the interaction time corresponding to the rendered video frame is the start time or the end time of the interaction operation, the rendered video frame is determined as a static frame. If it is determined that the interaction time corresponding to the rendered video frame is the intermediate time of the interaction operation, the rendered video frame is determined as an intermediate process frame.
[0081] Specifically, since the rendered video is a continuous video image, when the client performs rotation, translation or scaling on the aircraft component, only at the beginning and end of the interactive operation, the user needs to see a clear and complete image, and the image in the middle process can be a blurred image, therefore, the interactive time corresponding to the rendered video frame can be determined by analyzing the control information, and then the category of the rendered video frame is determined according to the interactive time corresponding to the rendered video frame, and then the static frame corresponding to the start and end time of the interaction can be set to have a higher compression quality, and the intermediate process frame corresponding to the intermediate time of the interaction can be set to have a lower compression quality, so as to improve the transmission efficiency.
[0082] Step 270, determining the compression quality of the rendered video frame according to the category of the rendered video frame.
[0083] Optionally, if the category of the rendered video frame is an intermediate process frame, the compression quality of the rendered video frame is determined as a first compression quality, otherwise, as a second compression quality, wherein the first compression quality is less than the second compression quality.
[0084] Step 280, compressing the rendered video frame according to the compression quality, and sending the compressed rendered video frame to the client.
[0085] Wherein, the range of compression quality is 0-100%, and the image quality of 100% compression quality is the highest, and 0 is full loss compression.
[0086] Specifically, the operation time in the interactive operation process can be determined by analyzing the control information, and then the time of initiating the interactive operation and the time of ending the interactive operation are determined as the start and end time of the interaction, and the time between the start and end time of the interaction is determined as the intermediate time of the interaction, and then the static frame representing the start and end time of the interaction uses the second compression quality with higher compression quality, and the intermediate process frame representing the intermediate process of the interactive operation uses the first compression quality with lower compression quality. In this way, the amount of resources required for transmission can be reduced, and the transmission efficiency can be improved.
[0087] For example, when the aircraft component is rotated, the aircraft component needs to be clicked and the mouse needs to be pressed to rotate, and finally the mouse is released to end the rotation, and then the time of clicking and releasing can be determined as the start and end time, and the rendered video frame corresponding to the time is a static frame, and the time between the start and end time corresponds to the rendered video frame of the intermediate process frame.
[0088] The embodiment of the application provides a cloud rendering method of an aircraft component, by analyzing the control information of the aircraft component to be rendered, whether the current rendered video frame is the start and end time can be determined, and then the rendered video frame is determined as a static frame, and the second compression quality is used for compression, otherwise, the first compression quality is used for compression, in this way, the compression speed of the rendered video frame can be improved, and the amount of data required for transmission can be saved.
[0089] Embodiment three
[0090] Figure 3 A structural schematic diagram of a cloud rendering device for an aircraft component is provided for embodiment three of the present application. As shown, the device comprises: Figure 3
[0091] The acquisition module 310 is configured to acquire a rendering request of a client, wherein the rendering request comprises an interactive operation for an aircraft component to be rendered.
[0092] The analysis module 320 is configured to determine the aircraft component to be rendered and corresponding control information according to the rendering request.
[0093] The determination module 330 is configured to determine a target rendering model from candidate rendering models of the aircraft component to be rendered according to the control information, wherein the candidate rendering models represent at least two sets of rendering data of the aircraft component to be rendered, and the rendering data of different sets of rendering data are different in quantity.
[0094] The rendering module 340 is configured to render the aircraft component to be rendered based on the target rendering model, generate a rendered video frame, and send the rendered video frame to the client.
[0095] Specifically, the aircraft component to be rendered and the corresponding control information can be determined by analyzing the rendering request, and the target rendering model can be determined through the interactive operation corresponding to the control information. Since different interactive operations correspond to different rendering models, and the rendering data of different rendering models are different in quantity, the method of the embodiment of the present application can determine different rendering models according to the rendering request, thereby achieving the purposes of reducing the rendering data quantity and the rendering time, and improving the rendering efficiency.
[0096] Optionally, the device of the embodiment further comprises a generation module configured to generate candidate rendering models, wherein the candidate rendering models comprise a first rendering model and a second rendering model.
[0097] The generation module comprises a format file acquisition unit configured to acquire a first data format file and a second data format file of the aircraft component, wherein the first data format file is a physical attribute file of the aircraft component, and the second data format file is a spatial structure file of the aircraft component.
[0098] The mapping relationship determination unit is configured to determine a mapping relationship between the first data format file and the second data format file.
[0099] The update unit is configured to update the corresponding second data format file by using the first data format file according to the mapping relationship, and generate a second data format update file.
[0100] The generating unit is configured to generate a second rendering model according to the second data format update file, and perform discretization processing on the second rendering model to generate a first rendering model.
[0101] The parsing module 320 includes:
[0102] The parsing unit is configured to parse the rendering request, and determine the mouse click point and the control information.
[0103] The ray determining unit is configured to determine a mouse selection ray pointing to the three-dimensional view of the aircraft component according to the coordinates of the mouse click point and a preset direction.
[0104] The aircraft component to be rendered determining unit is configured to determine a first subcomponent intersected by the mouse selection ray and the three-dimensional view of the aircraft component as the aircraft component to be rendered.
[0105] Optionally, the judging module 330 is specifically configured to determine the target rendering model according to a preset operation model corresponding table corresponding to the interaction operation represented by the control information, wherein the preset operation model corresponding table includes a corresponding relationship between the interaction operation and a rendering model category.
[0106] The rendering module 340 includes a rendering unit and a sending unit.
[0107] The rendering unit includes:
[0108] The load determining subunit is configured to determine load information of each rendering server, and determine the target rendering server according to the load information.
[0109] The rendering of the aircraft component to be rendered based on the target rendering model includes:
[0110] The control subunit is configured to send the target rendering model to the target rendering server, and control the target rendering server to render the aircraft component to be rendered.
[0111] The sending unit includes:
[0112] The interaction time determining subunit is configured to determine an interaction time of the interaction operation according to the control information.
[0113] The category determining subunit is configured to determine a category of the rendered video frame according to the interaction time, wherein the category of the rendered video frame includes an intermediate process frame or a static frame, and the compressed quality of the rendered video frame of different categories is different.
[0114] The compressed quality determining subunit is configured to determine the compressed quality of the rendered video frame according to the category of the rendered video frame.
[0115] The compression quality determination subunit is specifically configured to: if the category of the rendered video frame is an intermediate process frame, determine the compression quality of the rendered video frame as a first compression quality, otherwise, determine the compression quality of the rendered video frame as a second compression quality, wherein the first compression quality is less than the second compression quality.
[0116] The compression unit is configured to compress the rendered video frame according to the compression quality, and send the compressed rendered video frame to the client.
[0117] The cloud rendering device for an aircraft component provided in the embodiments of the present application can execute the cloud rendering method for an aircraft component provided in any of the embodiments of the present application, and has the corresponding function modules and beneficial effects of the execution method.
[0118] Embodiment four
[0119] Figure 4 A structural schematic diagram of an electronic device 10 that can be used to implement embodiments of the present application is shown. The electronic device is intended to represent various forms of digital computers, such as laptops, desktops, tablets, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular telephones, smart phones, wearable devices (e.g., headsets, glasses, watches, etc.), and other similar computing devices. The components shown here, their connections and relationships, and their functions, are meant to be examples only, and are not intended to limit the implementations of the present application described and / or claimed in this document.
[0120] As shown in FIG. X, the electronic device 10 includes at least one processor 11, and a memory, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., which are in communication with the at least one processor 11, wherein the memory stores a computer program executable by the at least one processor. The processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or loaded from the storage unit 18 into the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0121] A plurality of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a magnetic disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network, such as the Internet, and / or various telecommunication networks.
[0122] The processor 11 can be various general and / or special purpose processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various specialized artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 performs various methods and processes described above, such as the cloud rendering of aircraft parts.
[0123] In some embodiments, the cloud rendering of aircraft parts can be implemented as a computer program tangibly embodied in a computer readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed onto the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded onto the RAM 13 and executed by the processor 11, one or more steps of the cloud rendering of aircraft parts described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to perform the cloud rendering of aircraft parts by any other appropriate means, such as by means of firmware.
[0124] Various implementations of the systems and techniques described above can be realized in digital electronic circuitry, integrated circuitry, a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on a chip (SOC), a complex programmable logic device (CPLD), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include implementation in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be special or general purpose, coupled to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.
[0125] Computer programs for implementing the methods of the present application can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer program, when executed, enables the functions / acts specified in the flowcharts and / or block diagrams to be implemented. The computer program can be executed entirely on a machine, partially on a machine, partially on a machine as a standalone software package and partially on a remote machine or entirely on a remote machine or server.
[0126] In the context of the present application, a computer-readable storage medium can be a tangible medium that can contain or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. A computer-readable storage medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium can be a machine-readable signal medium. More specific examples of a machine-readable storage medium will include one or more lines of a program of instructions in a transitory signal, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0127] To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the electronic device. Other kinds of devices can be used to provide for interaction with a user as well; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.
[0128] The systems and techniques described herein can be implemented in a computing system that includes a back end component, e.g., as a data server, or that includes a middleware component, e.g., an application server, or that includes a front end component, e.g., a user computer having a graphical user interface or a Web browser through which a user can interact with an implementation of the systems and techniques described herein, or any combination of such back end, middleware, or front end components. The components of the system can be interconnected by any form or medium of digital data communication, e.g., a communication network. Examples of communication networks include a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0129] The computing system can include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. A server can be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system, to solve the defects of large management difficulty and weak business scalability in traditional physical host and VPS service.
[0130] It should be understood that the various forms of flow shown above can be re-ordered, added to, or deleted from without departing from the scope of the present disclosure. For example, the steps recited in the present disclosure can be executed in parallel, executed in sequence, or executed in different orders, as long as the desired results of the technical solutions of the present disclosure can be achieved, and the present disclosure is not limited herein.
[0131] The above detailed description does not constitute a limitation on the protection scope of the present application. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent replacements, and improvements made within the spirit and principles of the present application shall be included in the protection scope of the present application.
Claims
1. A cloud rendering method for aircraft parts, characterized in that: include: Obtaining a rendering request from a client, wherein the rendering request includes interactive operations for aircraft components to be rendered; Determining aircraft components to be rendered and corresponding control information according to the rendering request; determining a target rendering model from candidate rendering models of the aircraft component to be rendered according to the control information, wherein the candidate rendering models represent at least two groups of rendering data of the aircraft component to be rendered with different amounts of rendering data; The aircraft component to be rendered is rendered based on the target rendering model, a rendering video frame is generated, and the rendering video frame is sent to the client.
2. The method according to claim 1, characterized in that The candidate rendering models include a first rendering model and a second rendering model; and the method for generating the candidate rendering models includes: Obtaining a first data format file and a second data format file of an aircraft component, wherein the first data format file is a physical property file of the aircraft component, and the second data format file is a spatial structure file of the aircraft component; Determine a mapping relationship between the first data format file and the second data format file; According to the mapping relationship, the first data format file is used to update the corresponding second data format file to generate a second data format update file; A second rendering model is generated according to the second data format update file, and the second rendering model is discretized to generate a first rendering model.
3. The method according to claim 1, characterized in that The interactive operation includes a mouse interactive operation, and determining the aircraft components to be rendered and corresponding control information according to the rendering request includes: Parse rendering requests, determine mouse click points and control information; Determine the mouse picking ray pointing to the three-dimensional view of the aircraft component according to the coordinates of the mouse click point and the preset direction; The first sub-component where the mouse picking ray intersects with the three-dimensional view of the aircraft component is determined as the aircraft component to be rendered.
4. The method according to claim 1, wherein Determining a target rendering model from candidate rendering models of the aircraft component to be rendered according to the control information includes: The target rendering model is determined according to the interactive operation represented by the control information and a preset operation model correspondence table, wherein the preset operation model correspondence table includes a correspondence between the interactive operation and the rendering model category.
5. The method according to claim 1, wherein Before rendering the target rendering model, the method further includes: Determining load information of each rendering server, and determining a target rendering server based on the load information; Rendering the aircraft component to be rendered based on the target rendering model includes: The target rendering model is sent to the target rendering server, and the target rendering server is controlled to render the aircraft component to be rendered.
6. The method according to claim 1, characterized in that The sending the rendered video frame to the client includes: Determining the interaction time corresponding to the rendered video frame according to the control information; Determining a category of a rendered video frame according to the interaction moment, wherein the category of the rendered video frame includes an intermediate process frame or a static frame, and the compression quality of rendered video frames of different categories is different; determining compression quality of the rendered video frame according to the category of the rendered video frame; The rendered video frame is compressed according to the compression quality, and the compressed rendered video frame is sent to the client.
7. The method according to claim 6, characterized in that The determining the compression quality of the rendered video frame according to the category of the rendered video frame includes: If the category of the rendered video frame is an intermediate process frame, the compression quality of the rendered video frame is determined to be a first compression quality, otherwise it is determined to be a second compression quality, wherein the first compression quality is less than the second compression quality.
8. A cloud-based rendering device for aircraft parts, characterized in that: include: An acquisition module, configured to acquire a rendering request from a client, wherein the rendering request includes interactive operations for aircraft components to be rendered; a parsing module, configured to determine aircraft components to be rendered and corresponding control information according to the rendering request; a determination module, configured to determine a target rendering model from candidate rendering models of the aircraft component to be rendered according to the control information, wherein the candidate rendering models represent at least two groups of rendering data of the aircraft component to be rendered with different amounts of rendering data; A rendering module is used to render the aircraft component to be rendered based on the target rendering model, generate a rendered video frame, and send the rendered video frame to the client.
9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor. The computer program is executed by the at least one processor to enable the at least one processor to perform the cloud-based rendering method for aircraft components according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the cloud-based rendering method for aircraft components according to any one of claims 1 to 7 when executed.