Production line display method and device based on three-dimensional rendering technology and electronic equipment

By using a production line display method based on 3D rendering technology and leveraging the Three.js graphics library to create low-data-volume 3D models and dynamic scenes, the problem of low visualization and low management efficiency in industrial production line simulation is solved, enabling efficient and real-time production line monitoring and management.

CN121921428APending Publication Date: 2026-04-24CAXA TECH
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
CAXA TECH
Filing Date
2025-12-23
Publication Date
2026-04-24

AI Technical Summary

Technical Problem

Existing technologies have low visualization levels and low management efficiency in the simulation of industrial production lines. Traditional monitoring methods rely on manual inspections and simple instruments, which cannot present the production process in a real-time and comprehensive manner. Furthermore, existing 3D rendering technologies are limited in performance when processing large-scale industrial data, and the real-time update and synchronization mechanisms of models are imperfect.

Method used

A production line display method based on 3D rendering technology is adopted. By creating 3D models of production equipment and connecting components with low data volume, and combining scene containers, perspective cameras and renderers, the equipment operation data and early warning information of the production line are dynamically displayed. The Three.js graphics library is used for efficient rendering and animation support to ensure model loading speed and rendering performance.

Benefits of technology

It enables efficient, intuitive, and real-time dynamic display of the production line, improves visualization and management efficiency, enhances the user's immersive experience, solves the limitations of traditional monitoring methods, and reduces development difficulty and cost.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121921428A_ABST
    Figure CN121921428A_ABST
Patent Text Reader

Abstract

The invention discloses a production line display method and device based on a three-dimensional rendering technology and electronic equipment, and relates to the technical field of intelligent manufacturing, and the method comprises the steps: creating L target models corresponding to a production line, the L target models being three-dimensional models corresponding to production equipment and equipment connection assemblies in the production line, the data volume of each target model is smaller than a preset data volume threshold; creating a scene container, a perspective camera and a renderer corresponding to the production line, and loading the L target models to the scene container through the renderer to obtain an initial display scene of the production line; based on the layout information of the production line, the equipment operation data and the light information, updating the initial display scene to obtain a target display scene of the production line; and dynamically displaying the target display scene of the production line through the perspective camera. The technical problems of low visualization degree and low production line management efficiency in simulation display of the industrial production line based on the prior art are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of intelligent manufacturing technology or other related technical fields. Specifically, it relates to a production line display method, device, and electronic device based on 3D rendering technology. Background Technology

[0002] With the rapid development of intelligent manufacturing technology, industrial production is undergoing a profound digital transformation. Traditional industrial production line monitoring and management methods rely heavily on manual inspections and simple instrument monitoring, which are not only inefficient and prone to human error, but also unable to provide a real-time and comprehensive view of the entire production process. Faced with increasingly complex production processes and higher production efficiency requirements, this traditional method can no longer meet the needs of modern industrial production.

[0003] With the application of technologies such as data acquisition and monitoring systems and industrial IoT monitoring systems, industrial production monitoring has been improved to some extent. Based on existing technologies, centralized acquisition of production line data and remote control of some equipment have been achieved. However, there are still limitations in the visualization of production scenarios. Most of them are displayed in two-dimensional interfaces, which makes it difficult to intuitively reflect the spatial layout of the production line and the complex relationship between equipment.

[0004] There is currently no effective solution to the problems of low visualization and low production line management efficiency in simulating industrial production lines based on existing technologies. Summary of the Invention

[0005] This application provides a production line display method, device, and electronic device based on 3D rendering technology, to at least solve the technical problems of low visualization and low production line management efficiency in the simulation display of industrial production lines based on existing technologies.

[0006] According to one aspect of this application, a method for displaying a production line based on 3D rendering technology is provided, comprising: creating L target models corresponding to the production line, wherein L is a positive integer, the L target models are 3D solid models corresponding to production equipment and equipment connection components in the production line, and the data volume of each target model is less than a preset data volume threshold; creating a scene container, a perspective camera, and a renderer corresponding to the production line, and loading the L target models into the scene container through the renderer to obtain an initial display scene of the production line, wherein the initial display scene is used to display at least the shape information of the production equipment and the shape information of the connection components; updating the initial display scene based on the layout information, equipment operation data, and lighting information of the production line to obtain a target display scene of the production line, wherein the target display scene is used to dynamically display the equipment operation data and early warning information corresponding to the production line; and dynamically displaying the target display scene of the production line through the perspective camera.

[0007] Optionally, creating L target models corresponding to the production line includes: obtaining modeling parameters corresponding to each production device and each device connection component in the production line, wherein the modeling parameters include at least one of the following: shape, size, position, structure, material, and texture; performing 3D modeling based on the modeling parameters corresponding to each production device and each device connection component using a preset modeling tool to obtain L initial models; updating the model format corresponding to the L initial models to a preset format to obtain L first models; performing polygon reduction and compression operations on the L first models to obtain L target models, wherein the polygon reduction operation is used to reduce the number of polygons included in each first model, and the compression operation is used to compress the resolution corresponding to the texture of each first model.

[0008] Optionally, creating a scene container, perspective camera, and renderer corresponding to the production line includes: referencing a preset graphics library in the front-end code file, wherein the preset graphics library supports dynamic rendering of 3D models in preset formats; creating a new scene object by calling preset functions in the preset graphics library to obtain a scene container; obtaining the perspective parameters corresponding to the scene container, and creating a perspective camera based on the perspective parameters by calling preset functions in the preset graphics library, wherein the perspective parameters include at least the field of view angle, aspect ratio, near clipping plane, and far clipping plane; obtaining the browser parameters corresponding to the user terminal, and creating a renderer based on the browser parameters by calling preset functions in the preset graphics library, wherein the browser parameters include at least the window size and screen resolution.

[0009] Optionally, based on the layout information of the production line, equipment operation data, and lighting information, the initial display scene is updated to obtain the target display scene of the production line. This includes: updating the simulated display parameters of the target model in the initial display scene based on the layout information of the production line to obtain a first display scene, wherein the simulated display parameters include at least the display position, display angle, and display direction, and the simulated display parameters corresponding to the target model in the first display scene are consistent with the actual display parameters corresponding to the production equipment and equipment connection components in the layout information; and updating the first display scene based on the equipment operation data and lighting information to obtain the target display scene.

[0010] Optionally, based on equipment operation data and lighting information, the first display scene is updated to obtain the target display scene, including: real-time collection of equipment operation data corresponding to each production device and each device connection component based on a preset protocol, wherein the equipment operation data includes at least one of the following: equipment temperature, equipment speed, product production quantity, and operating status; generating early warning information when the equipment temperature / equipment speed / product production quantity in the equipment operation data is not within the preset range or the operating status is abnormal; visually rendering the equipment operation data and early warning information in the target model corresponding to the first display scene to obtain the second display scene; and updating the second display scene based on lighting information to obtain the target display scene.

[0011] Optionally, based on the lighting information, the second display scene is updated to obtain the target display scene, including: determining the ambient light parameters and luminaire light parameters based on the lighting information, wherein the ambient light parameters are used to characterize the light color and light intensity corresponding to the global environment to which the production line belongs, and the luminaire light parameters are used to characterize the light color and light intensity corresponding to the local area where the luminaires are installed in the global environment; and updating the second display scene based on the ambient light parameters and luminaire light parameters to obtain the target display scene.

[0012] Optionally, after updating the initial display scene based on the layout information, equipment operation data, and lighting information of the production line to obtain the target display scene of the production line, the production line display method based on 3D rendering technology further includes: updating the material parameters of the target model corresponding to each production equipment / each equipment connection component based on the material type corresponding to each production equipment / each equipment connection component in the production line, wherein the material parameters are one of the following: a first material parameter, used to characterize the metallicity and roughness of the metal material; a second material parameter, used to characterize the color and transparency of the plastic material.

[0013] According to another aspect of this application, a production line display device based on 3D rendering technology is also provided, comprising: a model creation unit, used to create L target models corresponding to the production line, wherein L is a positive integer, and the L target models are 3D solid models corresponding to production equipment and equipment connection components in the production line, wherein the data volume of each target model is less than a preset data volume threshold; a scene generation unit, used to create a scene container, a perspective camera, and a renderer corresponding to the production line, and load the L target models into the scene container through the renderer to obtain an initial display scene of the production line, wherein the initial display scene is used to display at least the shape information corresponding to the production equipment and the shape information corresponding to the connection components; a scene update unit, used to update the initial display scene based on the layout information, equipment operation data, and lighting information of the production line to obtain a target display scene of the production line, wherein the target display scene is used to dynamically display the equipment operation data and warning information corresponding to the production line; and a scene display unit, used to dynamically display the target display scene of the production line through the perspective camera.

[0014] According to another aspect of this application, a computer program product is also provided, which stores a computer program, wherein, when the computer program is running, it controls the computer program product to execute any of the above-mentioned production line display methods based on 3D rendering technology.

[0015] According to another aspect of this application, an electronic device is also provided, wherein the electronic device includes one or more processors and a memory for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors cause the one or more processors to implement the production line display method based on 3D rendering technology as described above.

[0016] As described above, this application employs 3D rendering technology to dynamically display the production scene, operational data, and early warning information corresponding to the production line by creating 3D models of the production equipment and connecting components in the production line and displaying the dynamic scene. This overcomes the limitations of traditional monitoring methods, improves the visualization and management efficiency of the production scene, and ensures that the data volume of each target model is below a preset threshold when creating 3D models of the production equipment and connecting components. This improves the loading speed and rendering performance of the target models. Furthermore, this application uses a perspective camera to dynamically display the target scene, enhancing the user's immersive experience and further improving the scene display effect and user experience. This solves the technical problems of low visualization and low production line management efficiency in existing technologies for simulating industrial production lines. Attached Figure Description

[0017] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:

[0018] Figure 1 This is a hardware structure block diagram of an optional computer terminal (or mobile device) for implementing a production line display method based on 3D rendering technology, according to an embodiment of this application.

[0019] Figure 2 This is a flowchart of an optional production line display method based on 3D rendering technology according to an embodiment of this application;

[0020] Figure 3 This is a schematic diagram of an optional production line display device based on 3D rendering technology according to an embodiment of this application;

[0021] Figure 4 This is a structural block diagram of an electronic device according to an embodiment of this application. Detailed Implementation

[0022] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.

[0023] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0024] It should also be noted that all relevant information (including but not limited to information used for display and analysis) and data (including but not limited to collected operational data of production equipment) involved in this application are information and data authorized by the user or fully authorized by all parties. For example, if there is an interface between this system and the relevant user or organization, before obtaining relevant information, it is necessary to send an acquisition request to the aforementioned user or organization through the interface, and obtain the relevant information only after receiving consent from the aforementioned user or organization.

[0025] Furthermore, the collection, storage, use, processing, transmission, provision, disclosure, and application of relevant information and data involved in this application all comply with the relevant laws, regulations, and standards of the relevant regions, and necessary confidentiality measures have been taken. This application does not violate public order and good morals. In addition, this application provides a corresponding operation entry point for users to choose to agree to or refuse authorization. If the user chooses to refuse authorization, the corresponding expert decision-making process will be initiated.

[0026] In one alternative embodiment, an industrial production line simulation method based on a traditional graphics library is provided. This method uses a traditional graphics library, such as OpenGL (Open Graphics Library), to construct the simulation scene of the industrial production line. OpenGL is a cross-platform professional graphics programming interface that allows developers to directly control graphics hardware, thereby achieving high-performance graphics rendering. In the industrial production line simulation, the OpenGL graphics library can be used to create 3D models, and by writing graphics rendering code, the display of the models and basic animation effects can be achieved.

[0027] Alternatively, taking a machinery manufacturing company as an example, the company developed a 3D simulation program using OpenGL in its early production line monitoring system. This program can build 3D models of key equipment in the production line, such as machine tools and robots, and display them on a 2D screen. Through OpenGL's graphics transformation functions, such as translation, rotation, and scaling, users can observe the layout and operating status of the production line equipment from different angles.

[0028] However, the technical solutions in the above embodiments have the following drawbacks:

[0029] (1) High development difficulty: The calling interface provided by OpenGL is relatively low-level, requiring developers to have a deep knowledge of computer graphics and programming experience. Writing a simple 3D model rendering program involves a large number of complex operations such as matrix operations, vertex data processing, and graphics state management. For non-professional graphics developers, the learning cost is high and the development cycle is long. For example, when implementing the loading and rendering of a 3D model of industrial equipment, it is necessary to manually parse the model file format, process data such as vertex coordinates, normals, and texture coordinates, and then pass this data to the graphics hardware for rendering through OpenGL functions. This process involves multiple complex steps and details and is prone to errors.

[0030] (2) Limited cross-platform compatibility: Although OpenGL claims to be cross-platform, its implementation and performance vary across different operating systems and hardware platforms. Under certain operating system versions or hardware drivers, compatibility issues may arise, causing programs to malfunction or display errors. For example, on some older operating systems, certain extended functions of OpenGL may not function properly, or on different brands of graphics cards, differences in drivers may result in inconsistent rendering effects.

[0031] (3) Lack of rich functionality and tool support: OpenGL itself only provides basic graphics rendering functions. For functions commonly used in industrial production line simulation, such as model loading, material editing, and animation production, developers need to implement them themselves or rely on third-party libraries. This not only increases the complexity of development, but also, due to the lack of unified standards and tools, the functions implemented by different developers vary in quality and compatibility. For example, when implementing animation effects for models, it is necessary to manually write animation interpolation algorithms, and different animation types (such as linear animation, keyframe animation, etc.) require different algorithm implementations, which is a significant challenge for developers.

[0032] In one optional embodiment, a production line monitoring and simulation method based on dedicated industrial software is provided. This method integrates multiple functions such as data acquisition, monitoring, analysis, and simulation, enabling the management and monitoring of automated equipment in the production line. In terms of industrial production line simulation, the dedicated industrial software can acquire real-time operating data of the production line equipment through integration with a PLC (Programmable Logic Controller), and use this data to drive the display and simulation of the 3D model. At the same time, users can create virtual production line scenes in the interface of the dedicated industrial software, add equipment models by dragging and dropping, and set the mapping relationship between the model and the PLC data. When the data in the PLC changes, the 3D model will be updated in real time, thereby realizing real-time monitoring and simulation of the production line operating status.

[0033] However, the technical solutions in the above embodiments have the following drawbacks:

[0034] (1) High cost: Specialized industrial software is usually expensive. Not only do you need to purchase software licenses, but you may also need supporting hardware and technical support services. For some small and medium-sized enterprises, the cost of purchasing and maintaining these software is too high and difficult to bear.

[0035] (2) Closed nature and difficulty in customization: Specialized industrial software is often closed, making integration with other systems difficult. They typically rely on specific hardware and communication protocols, making seamless integration challenging for companies using different brands of equipment or employing different communication standards. Furthermore, because the software architecture and functions are pre-designed, deep customization is difficult for users, making it hard to meet the personalized business needs of enterprises. For example, a company might want to integrate its self-developed equipment into a specialized industrial software system, but because the communication protocol used by the equipment is incompatible with the specialized industrial software, technicians would need to spend considerable time and money on protocol conversion and interface development. Moreover, even if integration is achieved, subsequent maintenance costs are high.

[0036] (3) Dependence on specific hardware and systems: Specialized industrial software usually has high requirements for hardware configuration and operating system, and needs to run on specific servers or industrial control computers. This limits the user's usage scenarios and flexibility, and cannot meet the needs of modern industrial production for mobility and remote monitoring. For example, in some production sites, workers need to view the operating status of the production line in real time on mobile devices, but these specialized industrial software often cannot run on mobile devices, or the display and interaction effects on mobile devices are poor, which affects the work efficiency of workers.

[0037] To address the shortcomings of the technical solutions described in the above embodiments, this application aims to solve the problems of low visualization, insufficient real-time performance, difficulties in data interaction, and poor integration with existing industrial production systems in current industrial production line monitoring and management. Specifically, traditional industrial production monitoring methods rely on manual inspections and simple sensor data collection, which cannot comprehensively and in real-time present the complex operation of the production line, leading to difficulties in fault diagnosis and production optimization. At the same time, existing 3D rendering technologies are limited in performance when processing large-scale industrial data, and the real-time model update and synchronization mechanisms are imperfect, making integration with existing industrial systems difficult and unable to meet the needs of digital transformation in industrial production.

[0038] This application aims to realize the real-time rendering and simulation of 3D (Three Dimensional) models of industrial production lines, thereby providing an intuitive, efficient, and intelligent industrial production monitoring and management solution, which in turn improves production efficiency, reduces costs, ensures production safety, and provides technical support for enterprise decision-making.

[0039] Optionally, this technical solution can use the Three.js graphics library as the default graphics library to realize 3D modeling of industrial production lines. Three.js is a 3D graphics library based on JavaScript (a programming language). This library utilizes the browser's hardware acceleration capabilities to efficiently render 3D models, achieving a smooth user experience. The library provides a simple and intuitive interface, allowing developers to create complex 3D scenes without needing in-depth knowledge of complex programming logic, thus reducing development difficulty. The Three.js graphics library supports loading various 3D model formats, such as OBJ (Wavefront Object File Format, a plain text format for 3D model files) and GLTF (GLTransmission). The Three.js graphics library supports various formats, including Format (a 3D model file format that supports comprehensive 3D scene description) and FBX (FilmBox, an interactive 3D model file format), facilitating the import of external models. It also boasts rich animation support, including keyframe animation, skeletal animation, and a powerful particle system and post-processing effects, enabling the creation of more realistic and immersive 3D scenes. Furthermore, the Three.js graphics library has a rich plugin ecosystem, allowing developers to easily access technical support.

[0040] The present invention will now be described in detail with reference to various embodiments.

[0041] Example 1

[0042] According to an embodiment of this application, an embodiment of a production line display method based on 3D rendering technology is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.

[0043] The methods and embodiments provided in this application can be executed on mobile terminals, computer terminals, or similar computing devices. Figure 1 This is a hardware structure block diagram of an optional computer terminal (or mobile device) for implementing a production line display method based on 3D rendering technology, according to an embodiment of this application. Figure 1As shown, the computer terminal 10 (or mobile device) may include one or more processors 102 (shown as 102a, 102b, ..., 102n in the figure) 102 (processor 102 may include, but is not limited to, a microprocessor MCU or a programmable logic device FPGA, etc.), a memory 104 for storing data, and a transmission device 106 for communication functions. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of a BUS bus), a network interface, a power supply, and / or a camera. Those skilled in the art will understand that... Figure 1 The structure shown is for illustrative purposes only and does not limit the structure of the aforementioned electronic device. For example, computer terminal 10 may also include... Figure 1 The more or fewer components shown, or having the same Figure 1 The different configurations shown.

[0044] It should be noted that the aforementioned one or more processors 102 and / or other data processing circuits are generally referred to herein as "data processing circuits". These data processing circuits may be embodied, in whole or in part, in software, hardware, firmware, or any other combination thereof. Furthermore, the data processing circuits may be a single, independent processing module, or may be integrated, in whole or in part, into any other element within the computer terminal 10 (or mobile device). As involved in the embodiments of this application, the data processing circuits serve as a processor control mechanism (e.g., selection of a variable resistor termination path connected to an interface).

[0045] The memory 104 can be used to store software programs and modules of application software, such as the program instructions / data storage device corresponding to the production line display method based on 3D rendering technology in this embodiment of the application. The processor 102 executes various functional applications and data processing by running the software programs and modules stored in the memory 104, thereby realizing the above-mentioned production line display method based on 3D rendering technology. The memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory remotely located relative to the processor 102, and these remote memories can be connected to the computer terminal 10 via a network. Examples of the above-mentioned networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.

[0046] The transmission device 106 is used to receive or send data via a network. Specific examples of the network described above may include a wireless network provided by the communication provider of the computer terminal 10. In one example, the transmission device 106 includes a Network Interface Controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In another example, the transmission device 106 may be a Radio Frequency (RF) module, used for wireless communication with the Internet.

[0047] The display can be configured as a touchscreen liquid crystal display (LCD) that allows the user to interact with the user interface of the computer terminal 10 (or mobile device).

[0048] Under the aforementioned operating environment, this application provides a production line display system (hereinafter referred to as the display system) based on 3D rendering technology for executing the production line display method based on 3D rendering technology in this application. Figure 2 This is a flowchart of an optional production line display method based on 3D rendering technology according to an embodiment of this application, such as... Figure 2 As shown, the method includes the following steps:

[0049] Step S201: Create L target models corresponding to the production line, where L is a positive integer. The L target models are three-dimensional models of the production equipment and equipment connection components in the production line. The data volume of each target model is less than a preset data volume threshold.

[0050] Optionally, each of the L target models corresponds to an actual production equipment or equipment connection component (e.g., robotic arm, press, drive belt) on the production line.

[0051] Optionally, in order to improve the loading speed and rendering performance of the created target model, the display system can perform model reduction and texture resolution compression operations on the created initial 3D model, thereby reducing the model data size of each target model. This ensures that the model data size of each target model is less than a preset data size threshold, avoiding slow loading or rendering stutters caused by excessively large models. This allows the target model to be displayed smoothly even on devices with limited resources, thereby enabling rapid visualization of production line equipment and components and improving the user experience.

[0052] Step S202: Create a scene container, perspective camera, and renderer corresponding to the production line. Load L target models into the scene container through the renderer to obtain the initial display scene of the production line. The initial display scene is used to display at least the shape information of the production equipment and the shape information of the connecting components.

[0053] Optionally, the display system creates a new THREE.Scene object as a scene container to hold all 3D elements (such as the target model and the lamp model used to simulate the lamps in the workshop).

[0054] Optionally, the display system creates a perspective camera using THREE.PerspectiveCamera and sets the field of view, aspect ratio, near clipping plane, and far clipping plane for the perspective camera to determine a good user viewing angle and improve the user experience of browsing the target display scene. For example, the display system sets the field of view to 60 degrees, making the final target display scene more natural and comfortable to view.

[0055] Optionally, the display system creates a renderer using THREE.WebGLRenderer and sets the size of the renderer to the size of the browser window. At the same time, the display system adds the renderer's DOM (Document Object Model) elements to the HTML (HyperText Markup Language) document to provide element support for subsequent rendering of 3D scenes.

[0056] Optionally, the display system creates a scene container, perspective camera, and renderer corresponding to the production line, constructing the basic display environment for the target display scene. The display system uses the perspective camera to provide a realistic viewing angle, and the renderer enables the target model to be dynamically displayed on the webpage, thus providing a framework for the subsequent dynamic display of real-time data of the production line.

[0057] Step S203: Based on the layout information of the production line, equipment operation data, and lighting information, update the initial display scene to obtain the target display scene of the production line. The target display scene is used to dynamically display the equipment operation data and early warning information corresponding to the production line.

[0058] Optionally, layout information refers to the physical location information and connection interface information of the production equipment and equipment connection components in the production line.

[0059] Optionally, equipment operating data includes real-time operating parameters such as equipment temperature, rotation speed, and production quantity, as well as equipment operating status.

[0060] Optionally, the light information includes ambient light information and luminaire light information. Ambient light information refers to the overall light information of the environment in which the production line is located, while luminaire light information refers to the local light information corresponding to point light sources set above key production areas / production equipment that need to be monitored.

[0061] Optionally, the display system updates the initial display scene based on the production line layout information, improving the layout similarity between the final target display scene and the actual production scene, thus enhancing the user experience for scene observers. By monitoring equipment operation data in real time, the display system determines the overall production status of the production line. In case of production abnormalities, it can promptly generate early warning information based on equipment operation data and dynamically display the early warning information and equipment operation data in the target display scene. This allows monitoring personnel to intuitively understand the real-time status of the production line, promptly identify potential problems, and improve production management efficiency. Finally, the display system combines lighting information to further enhance the visual effect of the display scene.

[0062] Step S204: Dynamically display the target scene of the production line using a perspective camera.

[0063] Optionally, the display system uses a perspective camera to dynamically display the target scene of the production line, enabling technicians to monitor and manage the production line in real time. Technicians can view the dynamically updated target scene in real time via computer or mobile device, quickly grasp the operating status of production equipment, and respond to abnormal situations in an instant, reducing the risk of production delays and improving the overall visualization management level of the production line.

[0064] As described above, this application employs 3D rendering technology to dynamically display the production scene, operational data, and early warning information corresponding to the production line by creating 3D models of the production equipment and connecting components in the production line and displaying the dynamic scene. This overcomes the limitations of traditional monitoring methods, improves the visualization and management efficiency of the production scene, and ensures that the data volume of each target model is below a preset threshold when creating 3D models of the production equipment and connecting components. This improves the loading speed and rendering performance of the target models. Furthermore, this application uses a perspective camera to dynamically display the target scene, enhancing the user's immersive experience and further improving the scene display effect and user experience. This solves the technical problems of low visualization and low production line management efficiency in existing technologies for simulating industrial production lines.

[0065] In one optional embodiment, in order to perform 3D modeling of the equipment in the production line, the display system first obtains the modeling parameters corresponding to each production equipment and each equipment connection component in the production line. The modeling parameters include at least one of the following: shape, size, position, structure, material, and texture. Then, the display system performs 3D modeling based on the modeling parameters corresponding to each production equipment and each equipment connection component using a preset modeling tool to obtain L initial models. Then, the display system updates the model format corresponding to the L initial models to a preset format to obtain L first models. Subsequently, the display system performs polygon reduction and compression operations on the L first models to obtain L target models. The polygon reduction operation is used to reduce the number of polygons included in each first model, and the compression operation is used to compress the resolution corresponding to the texture of each first model.

[0066] Optionally, taking an automated brick-making production line as an example, when the demonstration system performs 3D modeling of the equipment in the production line, it not only needs to accurately reproduce the shape, size, and position of the production equipment in the entire brick-making production line, but also needs to meticulously present the structure and position of key connecting components such as robotic arms, presses, and transmission belts in the brick-making production line. Furthermore, during the modeling process, the demonstration system uses the material library and texture editing tools built into the preset modeling tools to give the equipment realistic materials and textures. For example, it sets a material with metallic luster and texture for the metal shell of the press, and adds detailed textures such as wear and rust caused by long-term use, thereby enhancing the realism of the simulated 3D model.

[0067] Optionally, the display system can construct highly realistic and detailed 3D models by accurately collecting modeling parameters of all equipment and components in the production line, thereby providing accurate visual and geometric information for subsequent scene construction and ensuring the consistency between the virtual 3D rendered scene and the real production environment.

[0068] Optionally, the demonstration system can efficiently and accurately build an initial model based on the modeling parameters corresponding to each production device and each device connection component through preset modeling tools, ensuring the detail and accuracy of the created initial model, and providing a high-quality model starting point for subsequent format conversion and optimization.

[0069] Optionally, after creating the initial models, the display system updates the model formats corresponding to the L initial models to preset formats. Here, the preset formats specifically refer to model formats supported by Three.js, such as .glb or .fbx. By converting the models to preset formats, the compatibility and display performance of the 3D models in the Three.js environment can be ensured, so that the 3D models after format conversion can be loaded quickly and rendered smoothly by the web page, thereby improving the user experience.

[0070] Optionally, polygon reduction operations reduce the complexity of the model by decreasing the number of polygons, while maintaining its basic shape features, thereby improving the rendering performance of the model without sacrificing recognizability.

[0071] Optionally, the compression operation, which is a resolution compression operation performed on the model's texture, can achieve the visual effect of the texture at a lower resolution while meeting a preset standard, thus avoiding excessive distortion.

[0072] Optionally, the display system reduces the data volume of the models by performing face reduction and compression operations on the L first models, thereby improving the loading speed and rendering efficiency of the models on the web page and ensuring the smoothness of real-time rendering. At the same time, since key features and appropriate visual effects are retained, the created target model can still clearly show the details of the production line, supporting efficient data display and monitoring.

[0073] In summary, the above steps cover the entire process from acquiring modeling parameters to creating an optimized 3D target model. Through meticulous parameter acquisition, application of professional modeling tools, format conversion, and optimization strategies such as polygon reduction and compression, the loading and rendering delays caused by large model data volume are effectively solved, thereby enabling the rapid display of high-precision models and improving the visualization management level of industrial production lines.

[0074] In one optional embodiment, to create a scene container, perspective camera, and renderer corresponding to the production line, the display system first references a preset graphics library in the front-end code file. This preset graphics library supports dynamic rendering of 3D models in preset formats. Then, the display system creates a new scene object by calling preset functions in the preset graphics library, thus obtaining a scene container. Next, the display system obtains the perspective parameters corresponding to the scene container and creates a perspective camera based on these parameters by calling preset functions in the preset graphics library. The perspective parameters include at least the field of view angle, aspect ratio, near clipping plane, and far clipping plane. Subsequently, the display system obtains the browser parameters corresponding to the user terminal and creates a renderer based on these parameters by calling preset functions in the preset graphics library. The browser parameters include at least the window size and screen resolution.

[0075] Optionally, the display system imports the Three.js library (a pre-defined graphics library) via the "script" tag in the HTML file, and then creates the scene container, perspective camera, and renderer in the JavaScript code of the HTML file.

[0076] Optionally, the display system creates a new THREE.Scene object as a scene container to hold all the 3D elements to be displayed. The display system uses THREE.PerspectiveCamera to create a perspective camera, and determines an optimal viewing angle by setting the perspective camera's field of view, aspect ratio, near clipping plane, and far clipping plane. For example, setting the field of view to 60 degrees makes the scene display more natural and comfortable. The display system creates a renderer using THREE.WebGLRenderer, sets its size to the size of the browser window, and adds the renderer's DOM elements to the HTML document to provide element support for subsequent rendering of the 3D scene.

[0077] Optionally, a pre-defined graphics library, Three.js, can be referenced in the front-end code file to demonstrate that the system can utilize the graphics processing capabilities of the pre-defined graphics library to achieve efficient loading and smooth rendering of industrial production line models, laying the foundation for subsequent dynamic data display and scene updates.

[0078] Optionally, the display system creates a perspective camera based on perspective parameters such as field of view, aspect ratio, near clipping plane, and far clipping plane. The field of view determines the camera's viewing width, the aspect ratio matches the screen size, and the near clipping plane and far clipping plane correspond to the nearest and farthest distances that the camera does not render, thereby avoiding invalid scene rendering.

[0079] Optionally, by setting a perspective camera, the display system can create a more realistic and immersive viewing experience. For example, setting the field of view to 60 degrees, matching the aspect ratio with the browser window, and keeping the near and far clipping planes within safe limits ensures that the scene is neither too flat nor too distorted, allowing users to observe the production line from a natural perspective, enhancing interactivity and viewing comfort.

[0080] Optionally, the display system creates a renderer based on browser parameters, including at least window size and screen resolution. These parameters reflect the actual display characteristics of the user terminal. The window size determines the size of the renderer's output image, while the screen resolution affects the image's clarity, ensuring that the renderer's output image matches the user device's screen and provides a high-quality display.

[0081] Optionally, when creating the renderer, adjustments can be made based on the browser parameters of the user's terminal to ensure good visual effects and performance across different devices. For example, the renderer outputs an image of the same size as the browser window, preventing cropping or stretching; matching the screen resolution ensures moderate image clarity, avoiding performance degradation due to excessively high resolution or user experience degradation due to excessively low resolution. In this way, simulated industrial production line scenarios can be smoothly displayed on various terminals, providing users with an accurate and intuitive view of the production line status regardless of their device.

[0082] In summary, through the above steps, a 3D industrial production line display environment matching the actual production line was created. The reference to the preset graphics library ensured the dynamic rendering capability of the model, the creation of the scene container provided a place for loading the model, the setting of the perspective camera achieved a realistic observation experience, and the adjustment of the renderer ensured cross-device compatibility and high-quality image output.

[0083] In one optional embodiment, during the process of updating the initial display scene, the display system updates the simulated display parameters of the target model in the initial display scene based on the layout information of the production line to obtain a first display scene. The simulated display parameters include at least the display position, display angle, and display direction. The simulated display parameters corresponding to the target model in the first display scene are consistent with the actual display parameters corresponding to the production equipment and equipment connection components in the layout information. Afterward, the display system updates the first display scene based on equipment operation data and lighting information to obtain the target display scene.

[0084] Optionally, after creating the initial display scene, the display system precisely adjusts the position, angle, and rotation direction of each target model according to the layout information of the actual production line. For example, in the initial display scene corresponding to the brick assembly production line, the display system meticulously adjusts the position and orientation of models such as press assembly equipment, parts conveying lines, and robots to ensure that the virtual production line layout is completely consistent with the real production line layout, thereby presenting users with a realistic and accurate production scene layout.

[0085] Optionally, by adjusting the simulation display parameters of the target model based on the production line layout information, the display system can ensure that the layout of the first display scene is completely consistent with the actual production line, providing a high-fidelity visualization effect. This helps to quickly locate equipment, identify equipment status, and optimize spatial layout, thereby improving the efficiency and accuracy of production line management.

[0086] In one optional embodiment, during the process of updating the initial display scene, the display system collects the equipment operation data corresponding to each production device and each device connection component in real time based on a preset protocol. The equipment operation data includes at least one of the following: equipment temperature, equipment speed, product production quantity, and operating status. Then, if the equipment temperature / equipment speed / product production quantity in the equipment operation data is not within the preset range or the operating status is abnormal, the display system generates a warning message. Then, the display system performs visualization rendering of the equipment operation data and the warning message in the target model corresponding to the first display scene to obtain the second display scene. Subsequently, the display system updates the second display scene based on the light information to obtain the target display scene.

[0087] Optionally, the default protocol is set to Web Socket or HTTP.

[0088] Optionally, the display system connects to the data interface of the industrial production line equipment through a preset protocol to obtain real-time operating data of the equipment, including equipment temperature, speed, production quantity, and operating status. After obtaining the data, the display system maps this real-time data onto the corresponding virtual target model based on pre-written code. If the collected operating data exceeds the set normal range after obtaining the equipment's operating data, an anomaly display is set for the corresponding virtual target model. For example, a red warning icon is displayed next to the target model to alert the operator that the equipment is abnormal and requires special attention and handling. In this way, real-time updates of equipment parameters and visualization of abnormal states in the virtual scene are realized, allowing operators to understand the actual operating status of the production line equipment in a timely and intuitive manner.

[0089] Optionally, the display system collects real-time equipment operation data corresponding to each production device and each device connection component based on a preset protocol. This ensures that the acquired data is timely and accurate. The acquisition of real-time data improves the timeliness of fault detection, enabling production managers to respond quickly to equipment abnormalities and reduce production stoppages or accidents.

[0090] Optionally, by setting preset ranges and monitoring operating status, the system can promptly identify abnormal equipment conditions and generate early warning information. This early warning generation is based on real-time analysis of equipment operating data, which helps to take measures before problems escalate, improving production safety and efficiency. For example, if the equipment temperature exceeds the preset normal range, the system will immediately generate an early warning, prompting operators to check the equipment to avoid potential overheating damage, thereby reducing production costs and equipment maintenance time.

[0091] Optionally, the display system can directly render equipment operating data and early warning information onto the target model, enabling the presentation of complex production data in an intuitive and user-friendly manner. For example, when equipment temperature is too high or its rotation speed is abnormal, alerts can be provided by changing the model's color, flashing, or adding warning icons. This allows operators to immediately identify which equipment or components are malfunctioning, enabling them to respond quickly without needing to analyze the raw data in depth, thus improving the efficiency and immediacy of production monitoring.

[0092] In summary, the display system achieves real-time, dynamic, and immersive monitoring of industrial production lines through continuous data acquisition, anomaly warning, dynamic data visualization, and lighting information optimization. Real-time data acquisition ensures immediate feedback on production status, anomaly warning improves production safety and efficiency, dynamic data visualization enables operators to intuitively understand complex data, and lighting information optimization enhances the visual effects of the scene, further improving the user experience.

[0093] In one optional embodiment, during the process of updating the initial display scene, the display system first determines the ambient light parameters and luminaire light parameters based on the light information. The ambient light parameters are used to characterize the light color and light intensity corresponding to the global environment to which the production line belongs, and the luminaire light parameters are used to characterize the light color and light intensity corresponding to the local area where the luminaires are installed in the global environment. Then, the display system updates the second display scene based on the ambient light parameters and luminaire light parameters to obtain the target display scene.

[0094] Optionally, lighting information refers to various light source data required to simulate the lighting environment of a real workshop, including natural light, the type, location, intensity, and color of the lights in the workshop. Lighting information is key to optimizing the visual effects of the scene and improving realism.

[0095] Optionally, ambient light parameters refer to the parameters used to describe the basic lighting of the entire workshop environment, specifically including light color and light intensity. Ambient light provides a uniform lighting basis for the scene, ensuring that all equipment and components are illuminated to a certain extent, and avoiding the emergence of dark areas.

[0096] Optionally, luminaire light parameters, specifically designed for the lighting effects of particular luminaires within the workshop, also include light color and light intensity. Luminaire light can highlight specific areas, enhancing the visibility and depth of scene details.

[0097] Optionally, the display system uses THREE.AmbientLight to add ambient light to uniformly illuminate the entire scene and create an overall lighting atmosphere. The display system sets the ambient light color to 0x333333 and the intensity to 0.5 to make the overall scene present a natural brightness.

[0098] Optionally, the display system uses THREE.PointLight to simulate the lighting fixtures in the workshop, setting their position, color, and intensity to create natural lighting effects for objects in the scene. For example, a point light source with a color of 0xffffff and an intensity of 1 can be placed above the equipment to highlight the three-dimensionality of the production equipment. THREE.SpotLight can be used to highlight key areas, such as key production equipment / production processes / production areas, to enhance the sense of layering and realism of the scene. By setting the spotlight color to 0xffff00 and an intensity of 1.5, the area becomes more eye-catching.

[0099] Optionally, the display system can simulate lighting effects that match the actual workshop environment through detailed light information analysis and parameter settings. Ambient light parameters ensure that the entire scene has basic visibility and comfort, while luminaire light parameters can highlight key equipment and work areas, making the scene more vivid and realistic. This avoids glare caused by an overly bright scene and ensures that the details of the equipment are clearly visible, thereby improving the visual quality and information transmission efficiency of the entire scene.

[0100] Optionally, the display system updates the second display scene based on ambient light parameters and luminaire light parameters to obtain the target display scene. Through the effective combination of ambient light and luminaire light, the target display scene can achieve a highly realistic visual effect. Adjusting the ambient light parameters ensures that the scene has an overall, natural lighting environment, while the luminaire light parameters can highlight specific equipment or work areas, not only adding detail and depth to the scene but also guiding the observer's attention, making it easier for them to notice the operating status of key equipment. Furthermore, the optimization of light parameters can be adjusted according to the actual lighting conditions in the workshop, such as adjusting the intensity and color of ambient light during day and night, different seasons, or different climates, maintaining visual consistency in the scene. This reduces visual fatigue and improves observation efficiency and accuracy for personnel monitoring for extended periods.

[0101] In summary, by setting the parameters of ambient light and lamp light, the display system can provide a lighting environment that matches the actual environment for the 3D model display of the industrial production line. This not only enhances the realism of the scene, allowing observers to more immerse themselves in understanding the operating status of the production line, but also improves the visualization efficiency of information, making key data and warning information more prominent and easier to identify. This helps production managers make quick decisions, improving production efficiency and safety. In particular, the dynamic adjustment function of the light parameters can adapt to the lighting needs under different time and environmental conditions, maintaining the visual effect and observation comfort of the scene, and providing convenience for long-term monitoring.

[0102] In one optional embodiment, after updating the initial display scene based on the layout information, equipment operation data, and lighting information of the production line to obtain the target display scene of the production line, the production line display method based on 3D rendering technology further includes: updating the material parameters of the target model corresponding to each production equipment / each equipment connection component based on the material type corresponding to each production equipment / each equipment connection component in the production line.

[0103] Alternatively, the material parameters may be one of the following:

[0104] The first material parameter is used to characterize the metallicity and roughness of the metal material.

[0105] The second material parameter is used to characterize the color and transparency of the plastic material.

[0106] Optionally, material type refers to the type of surface material of equipment and components in the production line, including metal material type and plastic material type.

[0107] Optionally, the display system selects the corresponding material to reproduce the texture of equipment made of different materials. For example, for equipment made of metal, the MeshStandardMaterial material is used, with a high metallicity and a low roughness to reflect the luster and smooth texture of metal, such as setting the metallicity to 0.8 and the roughness to 0.2; for equipment made of plastic, the MeshLambertMaterial material is used, and the color and transparency are adjusted according to the actual situation to make the equipment look like plastic. For example, the color of the plastic material is set to 0xcccccc and the transparency is set to 0.9, thereby enhancing the visual realism of the entire industrial production line simulation scene.

[0108] Optionally, the display system can significantly enhance the realism and immersion of 3D models by updating the material parameters of the target model based on the material type. For metallic materials, adjusting the metallicity and roughness parameters can accurately replicate the luster and texture of the metal surface, making the equipment model appear more realistic under lighting and enhancing the observer's intuitive perception of the equipment's status. For plastic materials, by setting color and transparency parameters, the appearance characteristics of plastic parts can be faithfully reproduced, making the model visually almost indistinguishable from the real object, improving the overall display's precision and credibility. These optimized material parameters not only improve aesthetics but, more importantly, provide observers with richer and more realistic information, helping to identify equipment status changes more quickly and make more accurate judgments during production monitoring.

[0109] As described above, this application employs 3D rendering technology to dynamically display the production scene, operational data, and early warning information corresponding to the production line by creating 3D models of the production equipment and connecting components in the production line and displaying the dynamic scene. This overcomes the limitations of traditional monitoring methods, improves the visualization and management efficiency of the production scene, and ensures that the data volume of each target model is below a preset threshold when creating 3D models of the production equipment and connecting components. This improves the loading speed and rendering performance of the target models. Furthermore, this application uses a perspective camera to dynamically display the target scene, enhancing the user's immersive experience and further improving the scene display effect and user experience. This solves the technical problems of low visualization and low production line management efficiency in existing technologies for simulating industrial production lines.

[0110] In summary, this technical solution can achieve the following technical effects:

[0111] (1) Improved production management efficiency: This technical solution enables production managers to view the 3D simulation scene of the industrial production line anytime, anywhere, in real time and comprehensively through computers or mobile devices, and obtain key information such as equipment operating status and production progress, thereby shortening the information acquisition time and enabling managers to make quick decisions and adjust production plans in a timely manner. In electronic product manufacturing enterprises, when the production speed slows down in a certain production link, managers can immediately find the problem through the 3D simulation scene and promptly allocate personnel or equipment for support to avoid production delays. Compared with traditional management methods, after adopting this technical solution, the production management efficiency has increased by an average of 40%, and the response time of production scheduling has been shortened from the original average of 40 minutes to less than 8 minutes.

[0112] (2) Reduced maintenance costs: By leveraging real-time data interaction and fault early warning functions, this technical solution can detect potential equipment faults in advance. When the temperature, pressure, or other parameters of a key component of the equipment show abnormal changes, the system will immediately issue an early warning. Maintenance personnel can prepare maintenance tools and spare parts in advance based on the early warning information, and perform maintenance before the equipment fails, avoiding production interruptions and additional losses caused by sudden equipment failures. In power production enterprises, the early warning of equipment failures through this technical solution has reduced the rate of sudden equipment failures by 50%, saving approximately 70% of equipment maintenance costs annually.

[0113] (3) Supporting Scientific Decision-Making: The 3D model rendering and simulation provided by this technical solution can intuitively display the operation of the production line. Through in-depth analysis of real-time data, it provides managers with detailed production reports and data analysis results. Based on this accurate and comprehensive data, managers can gain a deeper understanding of bottlenecks and potential problems in the production process, thereby making more scientific and reasonable decisions. In food processing enterprises, through the analysis of production data, it was found that the energy consumption of a certain piece of equipment was too high. After evaluation, it was decided to upgrade and transform the equipment, which not only reduced energy consumption but also improved production efficiency.

[0114] (4) Enhanced Production Safety: Through real-time monitoring of 3D scenes, this technical solution can promptly detect safety hazards in the production process. When a violation of regulations by personnel in a certain area is detected, or an object enters a dangerous area, the system will immediately issue an alarm to remind relevant personnel to take measures. At the same time, through real-time monitoring of equipment operating status, safety accidents caused by equipment failures can also be avoided. In chemical production enterprises, the timely detection and handling of safety hazards using this technology effectively protects the lives of production personnel and the normal production and operation of the enterprise.

[0115] Example 2

[0116] This application embodiment can also provide a production line display device based on 3D rendering technology. It should be noted that the production line display device based on 3D rendering technology in this application embodiment can be used to execute the production line display method based on 3D rendering technology provided in this application embodiment. The following is a description of the production line display device based on 3D rendering technology provided in this application embodiment.

[0117] According to an embodiment of this application, an apparatus for implementing the above-described production line display method based on 3D rendering technology is also provided. Figure 3 This is a schematic diagram of an optional production line display device based on 3D rendering technology according to an embodiment of this application, such as... Figure 3 As shown, the device includes: a model creation unit 301, a scene generation unit 302, a scene update unit 303, and a scene display unit 304.

[0118] Optionally, the model creation unit 301 is used to create L target models corresponding to the production line, where L is a positive integer, and the L target models are three-dimensional models corresponding to the production equipment and equipment connection components in the production line, with the data volume of each target model being less than a preset data volume threshold; the scene generation unit 302 is used to create a scene container, a perspective camera, and a renderer corresponding to the production line, and loads the L target models into the scene container through the renderer to obtain the initial display scene of the production line, wherein the initial display scene is used to at least display the shape information corresponding to the production equipment and the shape information corresponding to the connection components; the scene update unit 303 is used to update the initial display scene based on the layout information, equipment operation data, and lighting information of the production line to obtain the target display scene of the production line, wherein the target display scene is used to at least dynamically display the equipment operation data and warning information corresponding to the production line; and the scene display unit 304 is used to dynamically display the target display scene of the production line through the perspective camera.

[0119] In one optional embodiment, the model creation unit 301 includes: a parameter acquisition subunit, a 3D modeling subunit, a format update subunit, and a compression subunit.

[0120] Optionally, the parameter acquisition subunit is used to acquire the modeling parameters corresponding to each production device and each device connection component in the production line, wherein the modeling parameters include at least one of the following: shape, size, position, structure, material, and texture; the 3D modeling subunit is used to perform 3D modeling based on the modeling parameters corresponding to each production device and each device connection component using a preset modeling tool to obtain L initial models; the format update subunit is used to update the model format corresponding to the L initial models to a preset format to obtain L first models; the compression subunit is used to perform polygon reduction and compression operations on the L first models to obtain L target models, wherein the polygon reduction operation is used to reduce the number of polygons included in each first model, and the compression operation is used to compress the resolution corresponding to the texture of each first model.

[0121] In one optional embodiment, the scene generation unit 302 includes: a graphics library reference subunit, a scene container creation subunit, a perspective camera creation subunit, and a renderer creation subunit.

[0122] Optionally, the graphics library reference subunit is used to reference a preset graphics library in the front-end code file, wherein the preset graphics library supports dynamic rendering of 3D models in preset formats; the scene container creation subunit is used to create a new scene object by calling preset functions in the preset graphics library to obtain a scene container; the perspective camera creation subunit is used to obtain the perspective parameters corresponding to the scene container, and create a perspective camera based on the perspective parameters by calling preset functions in the preset graphics library, wherein the perspective parameters include at least the field of view angle, aspect ratio, near clipping plane, and far clipping plane; the renderer creation subunit is used to obtain the browser parameters corresponding to the user terminal, and create a renderer based on the browser parameters by calling preset functions in the preset graphics library, wherein the browser parameters include at least the window size and screen resolution.

[0123] In one optional embodiment, the scene update unit 303 includes: a first update subunit and a second update subunit.

[0124] Optionally, the first update subunit is used to update the simulated display parameters of the target model in the initial display scene based on the layout information of the production line to obtain the first display scene. The simulated display parameters include at least the display position, display angle, and display direction. The simulated display parameters corresponding to the target model in the first display scene are consistent with the actual display parameters corresponding to the production equipment and equipment connection components in the layout information. The second update subunit is used to update the first display scene based on the equipment operation data and lighting information to obtain the target display scene.

[0125] In one optional embodiment, the second update subunit includes: a data acquisition module, an early warning information generation module, a first rendering module, and a second rendering module.

[0126] Optionally, the data acquisition module is used to collect equipment operation data corresponding to each production device and each device connection component in real time based on a preset protocol. The equipment operation data includes at least one of the following: equipment temperature, equipment speed, product production quantity, and operating status. The early warning information generation module is used to generate early warning information when the equipment temperature / equipment speed / product production quantity in the equipment operation data is not within the preset range or the operating status is abnormal. The first rendering module is used to visualize and render the equipment operation data and early warning information in the target model corresponding to the first display scene to obtain the second display scene. The second rendering module is used to update the second display scene based on the lighting information to obtain the target display scene.

[0127] In one optional embodiment, the second rendering module includes a parameter determination submodule and a scene update submodule.

[0128] Optionally, the parameter determination submodule is used to determine the ambient light parameters and luminaire light parameters based on the light information. The ambient light parameters are used to characterize the light color and light intensity corresponding to the global environment to which the production line belongs, and the luminaire light parameters are used to characterize the light color and light intensity corresponding to the local area where the luminaires are installed in the global environment. The scene update submodule is used to update the second display scene based on the ambient light parameters and luminaire light parameters to obtain the target display scene.

[0129] In one alternative embodiment, the production line display device based on 3D rendering technology further includes a material parameter updating unit.

[0130] Optionally, the material parameter update unit is used to update the material parameters of the target model corresponding to each production equipment / each equipment connection component based on the material type corresponding to each production equipment / each equipment connection component in the production line, wherein the material parameters are one of the following: a first material parameter, used to characterize the metallicity and roughness corresponding to the metal material; a second material parameter, used to characterize the color and transparency corresponding to the plastic material.

[0131] As described above, this application employs 3D rendering technology to dynamically display the production scene, operational data, and early warning information corresponding to the production line by creating 3D models of the production equipment and connecting components in the production line and displaying the dynamic scene. This overcomes the limitations of traditional monitoring methods, improves the visualization and management efficiency of the production scene, and ensures that the data volume of each target model is below a preset threshold when creating 3D models of the production equipment and connecting components. This improves the loading speed and rendering performance of the target models. Furthermore, this application uses a perspective camera to dynamically display the target scene, enhancing the user's immersive experience and further improving the scene display effect and user experience. This solves the technical problems of low visualization and low production line management efficiency in existing technologies for simulating industrial production lines.

[0132] It should be noted that the model creation unit 301, scene generation unit 302, scene update unit 303, and scene display unit 304 mentioned above correspond to steps S201 to S204 in the method embodiment. The instances and application scenarios implemented by the above units and corresponding steps are the same, but are not limited to the content disclosed in the above embodiments. It should be noted that the above modules or units can be hardware or software components stored in memory (e.g., memory 104) and processed by one or more processors (e.g., processors 102a, 102b, ..., 102n). The above modules can also be part of the device and run in the computer terminal 10 provided in the embodiment.

[0133] Example 3

[0134] Embodiments of this application can also provide an electronic device. Figure 4 This is a structural block diagram of an electronic device according to an embodiment of this application, such as... Figure 4 As shown, the electronic device includes: one or more ( Figure 4 (Only one is shown) Processor 402, memory 404, memory controller, and peripheral interface, wherein the peripheral interface is connected to the radio frequency module, audio module and display.

[0135] The memory can be used to store software programs and modules, such as the program instructions / modules corresponding to the methods and devices in the embodiments of this application. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory, thereby realizing the above-mentioned production line display method based on 3D rendering technology.

[0136] The memory may include high-speed random access memory (RAM), and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory may further include memory remotely located relative to the processor, which can be connected to the terminal via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks (LANs), mobile communication networks, and combinations thereof.

[0137] The processor can access information and applications stored in memory via a transmission device to execute the following steps: Create L target models corresponding to the production line, where L is a positive integer, and the L target models are 3D models of the production equipment and connecting components in the production line, with each target model having a data size less than a preset data size threshold; Create a scene container, perspective camera, and renderer corresponding to the production line, and load the L target models into the scene container using the renderer to obtain the initial display scene of the production line, wherein the initial display scene is used to at least display the shape information of the production equipment and the shape information of the connecting components; Update the initial display scene based on the layout information, equipment operation data, and lighting information of the production line to obtain the target display scene of the production line, wherein the target display scene is used to at least dynamically display the equipment operation data and warning information corresponding to the production line; Dynamically display the target display scene of the production line using the perspective camera.

[0138] The processor can access information and applications stored in the memory via a transmission device to perform the following steps: obtaining modeling parameters corresponding to each production device and each device connection component in the production line, wherein the modeling parameters include at least one of the following: shape, size, position, structure, material, and texture; performing 3D modeling based on the modeling parameters corresponding to each production device and each device connection component using a preset modeling tool to obtain L initial models; updating the model format corresponding to the L initial models to a preset format to obtain L first models; performing polygon reduction and compression operations on the L first models to obtain L target models, wherein the polygon reduction operation is used to reduce the number of polygons included in each first model, and the compression operation is used to compress the resolution corresponding to the texture of each first model.

[0139] The processor can access information and applications stored in memory via a transmission device to perform the following steps: Reference a preset graphics library in the front-end code file, wherein the preset graphics library supports dynamic rendering of 3D models in a preset format; create a new scene object and obtain a scene container by calling preset functions in the preset graphics library; obtain the perspective parameters corresponding to the scene container, and create a perspective camera based on the perspective parameters by calling preset functions in the preset graphics library, wherein the perspective parameters include at least the field of view angle, aspect ratio, near clipping plane, and far clipping plane; obtain the browser parameters corresponding to the user terminal, and create a renderer based on the browser parameters by calling preset functions in the preset graphics library, wherein the browser parameters include at least the window size and screen resolution.

[0140] The processor can access the information and application stored in the memory via the transmission device to perform the following steps: Based on the layout information of the production line, update the simulated display parameters of the target model in the initial display scene to obtain the first display scene, wherein the simulated display parameters include at least the display position, display angle, and display direction, and the simulated display parameters corresponding to the target model in the first display scene are consistent with the actual display parameters corresponding to the production equipment and equipment connection components in the layout information; based on the equipment operation data and lighting information, update the first display scene to obtain the target display scene.

[0141] The processor can access the information and application programs stored in the memory via the transmission device to execute the following steps: Based on a preset protocol, real-time acquisition of equipment operation data corresponding to each production device and each device connection component, wherein the equipment operation data includes at least one of the following: equipment temperature, equipment speed, product production quantity, and operating status; generating early warning information when the equipment temperature / equipment speed / product production quantity in the equipment operation data is not within the preset range or the operating status is abnormal; visually rendering the equipment operation data and early warning information in the target model corresponding to the first display scene to obtain the second display scene; updating the second display scene based on the lighting information to obtain the target display scene.

[0142] The processor can call the information and application stored in the memory through the transmission device to perform the following steps: Based on the light information, determine the ambient light parameters and the luminaire light parameters, wherein the ambient light parameters are used to characterize the light color and light intensity corresponding to the global environment to which the production line belongs, and the luminaire light parameters are used to characterize the light color and light intensity corresponding to the local area where the luminaires are installed in the global environment; based on the ambient light parameters and the luminaire light parameters, update the second display scene to obtain the target display scene.

[0143] The processor can access the information and application stored in the memory via the transmission device to perform the following steps: based on the material type corresponding to each production device / connecting component in the production line, update the material parameters of the target model corresponding to each production device / connecting component, wherein the material parameters are one of the following: a first material parameter, used to characterize the metallicity and roughness of the metal material; a second material parameter, used to characterize the color and transparency of the plastic material.

[0144] This application provides a production line display solution based on 3D rendering technology. As described above, this application utilizes 3D rendering technology to create 3D models of production equipment and connecting components within the production line, dynamically displaying the corresponding production scene, operational data, and early warning information. This overcomes the limitations of traditional monitoring methods, improves the visualization and management efficiency of the production scene, and ensures that the data volume of each target model is below a preset threshold during the 3D modeling process. This improves the loading speed and rendering performance of the target models. Furthermore, the application uses a perspective camera to dynamically display the target scene, enhancing the user's immersive experience and further improving the scene display effect and user experience. This solves the technical problems of low visualization and low production line management efficiency inherent in existing technologies for simulating industrial production lines.

[0145] Those skilled in the art will understand that Figure 4 The structure shown is for illustrative purposes only. Electronic devices can also be smartphones, tablets, PDAs, mobile internet devices, PADs, and other terminal devices. Figure 4 This does not limit the structure of the aforementioned electronic device. For example, electronic devices may also include components that are more... Figure 4 The more or fewer components shown (such as network interfaces, display devices, etc.), or having the same Figure 4 The different configurations shown.

[0146] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing the hardware related to the terminal device. The program can be stored in a computer-readable storage medium, which may include: flash drive, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.

[0147] Example 4

[0148] Embodiments of this application may also provide a storage medium.

[0149] Optionally, in this embodiment of the application, the storage medium can be used to store the program code executed by the production line display method based on 3D rendering technology provided in the above method embodiment.

[0150] Optionally, in this embodiment, the storage medium may be located in any computer terminal in a group of computer terminals in a computer network, or in any mobile terminal in a group of mobile terminals.

[0151] This application also provides a computer program product that, when executed on a data processing device, is suitable for executing the steps of a production line display method based on 3D rendering technology.

[0152] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0153] In the above embodiments of this application, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0154] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual coupling, direct coupling, or communication connection may be through some interfaces; the indirect coupling or communication connection between units or modules may be electrical or other forms.

[0155] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0156] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0157] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard drive, magnetic disk, or optical disk.

[0158] The above description is only a preferred embodiment of this application. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of this application, and these improvements and modifications should also be considered within the scope of protection of this application.

Claims

1. A method for displaying a production line based on 3D rendering technology, characterized in that, include: Create L target models corresponding to the production line, where L is a positive integer. The L target models are three-dimensional models of the production equipment and equipment connection components in the production line. The data volume of each target model is less than a preset data volume threshold. Create a scene container, perspective camera, and renderer corresponding to the production line. Load the L target models into the scene container through the renderer to obtain the initial display scene of the production line. The initial display scene is used to display at least the shape information of the production equipment and the shape information of the connecting components. Based on the layout information, equipment operation data, and lighting information of the production line, the initial display scene is updated to obtain the target display scene of the production line. The target display scene is used to dynamically display the equipment operation data and early warning information corresponding to the production line. The perspective camera dynamically displays the target scene of the production line.

2. The production line display method based on 3D rendering technology according to claim 1, characterized in that, Create L target models corresponding to the production line, including: Obtain the modeling parameters corresponding to each production device and each device connection component in the production line, wherein the modeling parameters include at least one of the following: shape, size, position, structure, material, and texture; Using a pre-set modeling tool, three-dimensional modeling is performed based on the modeling parameters corresponding to each production device and each device connection component, resulting in L initial models; The model formats corresponding to the L initial models are updated to preset formats to obtain L first models; The L first models are subjected to a polygon reduction operation and a compression operation to obtain the L target models. The polygon reduction operation is used to reduce the number of polygons included in each first model, and the compression operation is used to compress the resolution corresponding to the texture of each first model.

3. The production line display method based on 3D rendering technology according to claim 1, characterized in that, Create the scene container, perspective camera, and renderer corresponding to the production line, including: A preset graphics library is referenced in the front-end code file, wherein the preset graphics library supports dynamic rendering of 3D models in a preset format; By calling the preset functions in the preset graphics library, a new scene object is created, and the scene container is obtained; Obtain the perspective parameters corresponding to the scene container, and create the perspective camera based on the perspective parameters by calling the preset function in the preset graphics library. The perspective parameters include at least the field of view angle, aspect ratio, near clipping plane, and far clipping plane. Obtain the browser parameters corresponding to the user terminal, and create the renderer based on the browser parameters by calling the preset function in the preset graphics library. The browser parameters include at least the window size and screen resolution.

4. The production line display method based on 3D rendering technology according to claim 1, characterized in that, Based on the layout information, equipment operation data, and lighting information of the production line, the initial display scene is updated to obtain the target display scene of the production line, including: Based on the layout information of the production line, the simulated display parameters of the target model in the initial display scene are updated to obtain the first display scene. The simulated display parameters include at least the display position, display angle, and display direction. The simulated display parameters corresponding to the target model in the first display scene are consistent with the actual display parameters corresponding to the production equipment and equipment connection components in the layout information. Based on the device operation data and lighting information, the first display scene is updated to obtain the target display scene.

5. The production line display method based on 3D rendering technology according to claim 4, characterized in that, Based on the device operating data and lighting information, the first display scene is updated to obtain the target display scene, including: Based on a preset protocol, real-time equipment operation data corresponding to each production device and each device connection component is collected, wherein the equipment operation data includes at least one of the following: Equipment temperature, equipment speed, product production quantity, and operating status; If the equipment temperature, equipment speed, or product production quantity in the equipment operation data are not within the preset range or the operating status is abnormal, an early warning message will be generated. The device operation data and the warning information are visualized and rendered in the target model corresponding to the first display scenario to obtain the second display scenario; Based on the light information, the second display scene is updated to obtain the target display scene.

6. The production line display method based on 3D rendering technology according to claim 5, characterized in that, Based on the light information, the second display scene is updated to obtain the target display scene, including: Based on the light information, ambient light parameters and luminaire light parameters are determined, wherein the ambient light parameters are used to characterize the light color and light intensity corresponding to the global environment to which the production line belongs, and the luminaire light parameters are used to characterize the light color and light intensity corresponding to the local area where the luminaires are installed in the global environment; Based on the ambient light parameters and the lighting parameters, the second display scene is updated to obtain the target display scene.

7. The production line display method based on 3D rendering technology according to claim 1, characterized in that, After updating the initial display scene based on the layout information, equipment operation data, and lighting information of the production line to obtain the target display scene of the production line, the production line display method based on 3D rendering technology further includes: Based on the material type corresponding to each production device / connecting component in the production line, update the material parameters of the target model corresponding to each production device / connecting component, wherein the material parameters are one of the following: The first material parameter is used to characterize the metallicity and roughness of the metal material. The second material parameter is used to characterize the color and transparency of the plastic material.

8. A production line display device based on 3D rendering technology, characterized in that, include: The model creation unit is used to create L target models corresponding to the production line, where L is a positive integer. The L target models are three-dimensional models of the production equipment and equipment connection components in the production line. The data volume of each target model is less than a preset data volume threshold. The scene generation unit is used to create a scene container, perspective camera and renderer corresponding to the production line. The renderer loads the L target models into the scene container to obtain the initial display scene of the production line. The initial display scene is used to display at least the shape information of the production equipment and the shape information of the connecting components. The scene update unit is used to update the initial display scene based on the layout information, equipment operation data and lighting information of the production line to obtain the target display scene of the production line, wherein the target display scene is used to dynamically display the equipment operation data and early warning information corresponding to the production line. The scene display unit is used to dynamically display the target scene of the production line through the perspective camera.

9. A computer program product, characterized in that, The computer program product includes a computer program, wherein, when the computer program is running, it controls the computer program product to execute the production line display method based on any one of claims 1 to 7.

10. An electronic device, characterized in that, It includes one or more processors and a memory, the memory being used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors cause the one or more processors to implement the production line display method based on 3D rendering technology as described in any one of claims 1 to 7.