Dual-mode view management and control method and device for formation and component distribution equipment
Patent Information
- Application Number
- CN202611399442.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-10
- Publication Date
- 2026-10-13
AI Technical Summary
[0003]当前,关于化成分容设备视图展示方式主要为单独采用二维平面视图或者固定采用三维渲染技术,具体的,对于单独采用二维平面视图,当设备数量过多时二维平面视图无法直观展示立体库位的空间布局、空间利用率、堆叠高度、设备实时状态等,操作人员需要凭借人为主观意识及个人经验进行判断,容易导致误操作等;然而,对于固定采用三维渲染技术,渲染资源消耗高,依赖高算力设备,加载速度慢,在工业现场老旧终端或移动设备上难以满足实时交互需求进而使得运行卡顿,并且轻量化设备无法流畅运行,当前化成分容设备视图展示方式无法满足同时需要二维平面视图和三维立体视图这两种模态视图各自优点的需求
本发明实施例中,当检测到用户针对目标显示设备视图模式的切换触发指令时,根据确定出的目标显示设备的当前视图模式及针对目标产线设备的标准化状态数据流,执行相应的模式转换参数分析操作,得到该目标显示设备的预期视图样式信息;根据该当前视图模式的当前视图样式信息及该预期视图样式信息,对该目标显示设备执行相应的模式视图切换操作。可见,本发明能够通过模式转换参数分析操作及模式视图切换操作实现双模态视图的动态化且智能化切换,这样,相较于现有的视图管控方法,有利于提高双模态视图的切换运行效率及切换运行流畅性,进而有利于消除传统方案中的视图切换跳帧/闪烁问题,实现双模态视图渐进式无缝快速切换,既满足局部信息的快速定位,又能够实现空间布局全局洞察,此外,有利于提高双模态视图的切换响应及时性和切换响应效率,优化双模态交互体验及简化交互操作,缩短开发周期、提高开发/维护效率以及减少部署成本。
Smart Images

Figure CN122903100A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of automated production line technology for new energy power batteries, and in particular to a dual-modal view control method and device for formation and capacity testing equipment. Background Technology
[0002] In the current production of new energy batteries, real-time monitoring and control of formation and capacity testing equipment is a core link to ensure battery production quality and improve production efficiency. Among them, formation and capacity testing is a key process in battery manufacturing, and the visualization of equipment status data directly affects the operator's response speed and decision-making accuracy to process anomalies.
[0003] Currently, the main methods for displaying modularized capacity storage equipment views are either using a standalone two-dimensional planar view or a fixed three-dimensional rendering technology. Specifically, with a standalone two-dimensional planar view, when the number of devices is large, the 2D planar view cannot intuitively display the spatial layout, space utilization, stacking height, and real-time status of the equipment in the automated storage system. Operators need to rely on subjective judgment and personal experience, which can easily lead to errors. On the other hand, using fixed three-dimensional rendering technology consumes high rendering resources, relies on high-computing-power equipment, and has a slow loading speed. It struggles to meet the real-time interaction requirements on older terminals or mobile devices in industrial settings, leading to lag and instability. Furthermore, lightweight devices cannot run smoothly. Current modularized capacity storage equipment view display methods cannot simultaneously meet the need for the advantages of both two-dimensional and three-dimensional modal views. Therefore, providing a new method for displaying modularized capacity storage equipment views to solve the aforementioned problems is particularly important. Summary of the Invention
[0004] This invention provides a dual-modal view control method and apparatus for a formation and capacity-building device, which can realize dynamic switching of dual-modal views, improve the switching efficiency and smoothness of dual-modal views, and thus eliminate the frame skipping / flickering problem in traditional solutions.
[0005] To address the aforementioned technical problems, the first aspect of this invention discloses a dual-modal view control method for a formation and capacity-deployment device, the method comprising: When a user trigger command to switch the view mode of a target display device is detected, the expected view mode of the target display device is determined based on the current view mode of the target display device and the trigger command. A corresponding webpage tag structure model is constructed based on the standardized state data stream for the target production line device, and style transformation parameter information for each device webpage tag element in the expected view mode is determined based on the expected view mode and the standardized state data stream. The webpage tag structure model includes the device webpage tag elements, and each device webpage tag element corresponds to the target production line device. Based on the webpage tag structure model and the style transformation parameter information, corresponding element information binding operations are performed to obtain the expected view style information of the target display device. Based on the current view style information of the current view mode and the expected view style information, perform the corresponding mode view switching operation on the target display device.
[0006] As an optional implementation, in the first aspect of the present invention, determining the style transformation parameter information of each device webpage tag element in the expected view mode according to the expected view mode and the standardized state data stream includes: When the expected view mode includes a two-dimensional view mode, the positioning parameter information of each device web page tag element for the horizontal and vertical positions is determined according to the standardized state data stream, and the original size and hierarchy information of each device web page tag element is determined; the style transformation parameter information of each device web page tag element in the expected view mode is determined according to the positioning parameter information and the original size and hierarchy information. When the expected view mode includes a three-dimensional view mode, the rotation angle information of each device web page tag element for rotation around the horizontal axis and rotation around the vertical axis is determined according to the standardized state data stream, and the perspective value information of each device web page tag element is determined; based on the rotation angle information and the perspective value information, the style transformation parameter information of each device web page tag element in the expected view mode is determined.
[0007] As an optional implementation, in the first aspect of the present invention, the step of performing a corresponding mode view switching operation on the target display device based on the current view style information of the current view mode and the expected view style information includes: Based on the current view style information of the current view mode and the expected view style information, determine all styles to be transformed in the current view mode and the expected view mode; Based on the preset first style transition parameter information, perform corresponding smooth transition effect setting operations on all the styles to be transformed to obtain the first transition setting scheme; Based on the preset second style transition parameter information, the current view style information and the expected view style information, perform corresponding interpolation calculations and intermediate state generation operations on all styles to be transformed to obtain the second transition setting scheme; Based on the first transition setting scheme and the second transition setting scheme, the display view of the target display device is controlled to perform corresponding view transition switching operations.
[0008] As an optional implementation, in the first aspect of the present invention, the method further includes: When the latest display view mode of the target display device includes a three-dimensional view mode, determine the number of production line devices that the target display device needs to display, and determine the display form of the display objects that the target display device needs to display; Based on the number of production line equipment and the display format of the display object, determine whether the target display device meets the preset display performance optimization conditions; When it is determined that the target display device meets the display performance optimization conditions, a corresponding lightweight rendering control operation is performed on the target display device.
[0009] As an optional implementation, in the first aspect of the present invention, the method further includes: Based on the standardized status data stream for the target production line equipment, determine whether the target production line equipment meets the preset equipment status change conditions; When it is determined that the target production line equipment meets the equipment status change conditions, the corresponding web page tag style / content update operation is performed according to the standardized status data stream to obtain the latest web page tag style / content information; based on the latest web page tag style / content information and the current view mode of the target display device, the corresponding view display update operation is performed on the target display device.
[0010] As an optional implementation, in the first aspect of the present invention, the method further includes: Based on the preset structured format information, the raw equipment status data of the target production line equipment is processed by the corresponding encapsulation operation to obtain the structured data result. The raw equipment status data includes one or more of the following: equipment spatial coordinate information, equipment operating parameter information, warehouse occupancy status information, and equipment hierarchical relationship information. Perform corresponding serialization processing operations on the structured data results to obtain serialized data results; Based on the serialized data results, a standardized state data stream is determined for the target production line equipment. The standardized state data stream includes spatial attribute information and state attribute information.
[0011] A second aspect of the present invention discloses a dual-modal view control device for a formation and capacity preparation device, the device comprising: A view parameter determination module is used to determine the expected view mode of the target display device based on the current view mode of the target display device and the switching trigger command when a user's view mode switching trigger command is detected; construct a corresponding webpage tag structure model based on the standardized state data stream for the target production line device; and determine the style transformation parameter information of each device webpage tag element in the expected view mode based on the expected view mode and the standardized state data stream; the webpage tag structure model includes the device webpage tag elements, and the device webpage tag elements correspond to the target production line device; and perform corresponding element information binding operations based on the webpage tag structure model and the style transformation parameter information to obtain the expected view style information of the target display device. The view switching module is used to perform a corresponding mode view switching operation on the target display device based on the current view style information of the current view mode and the expected view style information.
[0012] As an optional implementation, in a second aspect of the present invention, the method by which the view parameter determination module determines the style transformation parameter information of each device webpage tag element in the expected view mode based on the expected view mode and the standardized state data stream specifically includes: When the expected view mode includes a two-dimensional view mode, the positioning parameter information of each device web page tag element for the horizontal and vertical positions is determined according to the standardized state data stream, and the original size and hierarchy information of each device web page tag element is determined; the style transformation parameter information of each device web page tag element in the expected view mode is determined according to the positioning parameter information and the original size and hierarchy information. When the expected view mode includes a three-dimensional view mode, the rotation angle information of each device web page tag element for rotation around the horizontal axis and rotation around the vertical axis is determined according to the standardized state data stream, and the perspective value information of each device web page tag element is determined; based on the rotation angle information and the perspective value information, the style transformation parameter information of each device web page tag element in the expected view mode is determined.
[0013] As an optional implementation, in a second aspect of the present invention, the method by which the view switching module performs a corresponding mode view switching operation on the target display device based on the current view style information of the current view mode and the expected view style information specifically includes: Based on the current view style information of the current view mode and the expected view style information, determine all styles to be transformed in the current view mode and the expected view mode; Based on the preset first style transition parameter information, perform corresponding smooth transition effect setting operations on all the styles to be transformed to obtain the first transition setting scheme; Based on the preset second style transition parameter information, the current view style information and the expected view style information, perform corresponding interpolation calculations and intermediate state generation operations on all styles to be transformed to obtain the second transition setting scheme; Based on the first transition setting scheme and the second transition setting scheme, the display view of the target display device is controlled to perform corresponding view transition switching operations.
[0014] As an optional implementation, in a second aspect of the invention, the apparatus further includes: The rendering control module is used to determine the number of production line devices that the target display device needs to display, and the display format of the display objects that the target display device needs to display, when the latest display view mode of the target display device includes a 3D view mode; based on the number of production line devices and the display format of the display objects, determine whether the target display device meets the preset display performance optimization conditions; when it is determined that the target display device meets the display performance optimization conditions, perform corresponding lightweight rendering control operations on the target display device.
[0015] As an optional implementation, in a second aspect of the invention, the apparatus further includes: The view update module is used to determine whether the target production line equipment meets the preset equipment status change conditions based on the determined standardized status data stream for the target production line equipment; when it is determined that the target production line equipment meets the equipment status change conditions, the module performs the corresponding web page tag style / content update operation according to the standardized status data stream to obtain the latest web page tag style / content information; and performs the corresponding view display update operation on the target display device based on the latest web page tag style / content information and the current view mode of the target display device.
[0016] As an optional implementation, in a second aspect of the invention, the apparatus further includes: The data processing module is used to perform corresponding encapsulation processing operations on the collected raw equipment status data of the target production line equipment based on preset structured format information to obtain structured data results. The raw equipment status data includes one or more of the following: equipment spatial coordinate information, equipment operating parameter information, warehouse occupancy status information, and equipment hierarchical relationship information. The module then performs corresponding serialization processing operations on the structured data results to obtain serialized data results. Based on the serialized data results, a standardized status data stream for the target production line equipment is determined. The standardized status data stream includes spatial attribute information and status attribute information.
[0017] A third aspect of the present invention discloses another dual-modal view control device for a formation and capacity preparation device, the device comprising: Memory containing executable program code; A processor coupled to the memory; The processor calls the executable program code stored in the memory to execute the dual-modal view control method for a decomposition and capacity-deployment device disclosed in the first aspect of the present invention.
[0018] The fourth aspect of the present invention discloses a computer storage medium storing computer instructions, which, when invoked, are used to execute the dual-modal view control method for a decomposition and capacity-building device disclosed in the first aspect of the present invention.
[0019] Compared with the prior art, the embodiments of the present invention have the following beneficial effects: In this embodiment of the invention, when a user's trigger command to switch the view mode of a target display device is detected, a corresponding mode conversion parameter analysis operation is performed based on the determined current view mode of the target display device and the standardized status data stream of the target production line device to obtain the expected view style information of the target display device. Based on the current view style information and the expected view style information, a corresponding mode view switching operation is performed on the target display device. Therefore, this invention can achieve dynamic and intelligent switching of bimodal views through mode conversion parameter analysis and mode view switching operations. Compared with existing view management methods, this improves the efficiency and smoothness of bimodal view switching, thereby eliminating the frame skipping / flickering problems in traditional solutions. It achieves progressive, seamless, and rapid switching of bimodal views, satisfying both rapid local information location and global spatial layout insight. Furthermore, it improves the timeliness and efficiency of bimodal view switching response, optimizes the bimodal interactive experience and simplifies interactive operations, shortens the development cycle, improves development / maintenance efficiency, and reduces deployment costs. Attached Figure Description
[0020] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0021] Figure 1 This is a flowchart illustrating a dual-modal view control method for a formation and capacity-deployment device disclosed in an embodiment of the present invention. Figure 2 This is a flowchart illustrating another dual-modal view control method for a formation and capacity-deployment device disclosed in an embodiment of the present invention. Figure 3 This is a schematic diagram of the structure of a dual-modal view control device for a chemical separation and capacity preparation device disclosed in an embodiment of the present invention; Figure 4 This is a schematic diagram of another dual-modal view control device for a chemical separation and capacity preparation device disclosed in an embodiment of the present invention; Figure 5 This is a schematic diagram of the structure of another dual-modal view control device for a chemical separation and capacity preparation device disclosed in an embodiment of the present invention; Figure 6 This is a schematic diagram of the logic flow of a dual-modal view control method for a formation and capacity-deployment device disclosed in an embodiment of the present invention; Figure 7 This is a schematic diagram illustrating the implementation effect of a three-dimensional view mode disclosed in an embodiment of the present invention; Figure 8 This is a schematic diagram illustrating another implementation effect of a three-dimensional view mode disclosed in an embodiment of the present invention; Figure 9 This is a schematic diagram illustrating the implementation effect of another three-dimensional view mode disclosed in an embodiment of the present invention; Figure 10 This is a schematic diagram illustrating the implementation effect of another three-dimensional view mode disclosed in an embodiment of the present invention; Figure 11 This is a schematic diagram illustrating the implementation effect of a two-dimensional view mode disclosed in an embodiment of the present invention; Figure 12 This is a schematic diagram illustrating another implementation effect of a two-dimensional view mode disclosed in an embodiment of the present invention; Figure 13 This is a schematic diagram illustrating the implementation effect of another two-dimensional view mode disclosed in an embodiment of the present invention. Detailed Implementation
[0022] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0023] The terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this invention are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, apparatus, product, or end that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or ends.
[0024] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of the invention. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0025] This invention discloses a dual-modal view management method and device for batching and capacity-operating devices. It enables dynamic and intelligent switching of dual-modal views through mode conversion parameter analysis and mode view switching operations. Compared to existing view management methods, this improves the efficiency and smoothness of dual-modal view switching, thereby eliminating frame skipping / flickering issues in traditional solutions. It achieves progressive, seamless, and rapid switching of dual-modal views, satisfying both rapid local information location and global spatial layout insight. Furthermore, it improves the timeliness and efficiency of dual-modal view switching response, optimizes the dual-modal interactive experience, simplifies interactive operations, shortens development cycles, improves development / maintenance efficiency, and reduces deployment costs. Detailed explanations follow.
[0026] Example 1 Please see Figure 1 , Figure 1 This is a flowchart illustrating a dual-modal view control method for a formation and capacity testing device disclosed in an embodiment of the present invention. Figure 1The described method can be applied to a dual-modal view control device for batching and capacity-deploying equipment. This device may include a server, which may be a local server or a cloud server; this embodiment of the invention is not limited to this. Figure 1 As shown, the dual-modal view control method for formulation and capacity testing equipment includes the following operations: 101. When a user triggers a command to switch the view mode of the target display device, the corresponding mode conversion parameter analysis operation is performed based on the current view mode of the target display device and the standardized status data stream of the target production line device to obtain the expected view style information of the target display device.
[0027] Optionally, the user may trigger a switching command for the view mode of the target display device. Examples include: the user clicking the "2D / 3D switch" button, the user dragging the view, the user zooming in and out of the view, etc. This embodiment of the invention does not limit the scope of the invention.
[0028] Optionally, the target display device may include, but is not limited to, tablets, PCs, televisions and other display devices, and the embodiments of the present invention are not limited thereto.
[0029] Optionally, the current view mode of the target display device may be, for example, a two-dimensional view mode, a three-dimensional view mode, etc., but this embodiment of the invention is not limited thereto.
[0030] Optionally, the system may listen for user switching commands and trigger a view mode state switching operation, such as switching from "2D" to "3D". This embodiment of the invention does not impose any limitations on this.
[0031] Optionally, the target display device's expected view style information is obtained. For example, the DOM element (Document Object Model, device webpage tag element) obtains the CSS (Cascading Style Sheets) class selector and style parameters corresponding to the expected view mode for visual transformation. This embodiment of the invention does not limit this.
[0032] Optionally, the above-mentioned corresponding mode conversion parameter analysis operations are performed. For example, the modular component factory function constructs DOM elements, converts each device object in the JSON data into a corresponding DOM element, and sets basic styles and properties to form a device DOM tree; CSS Transform (CSS transformation function module) is applied for positioning and transformation, calculates the position of each device in space according to the device layout parameters (row, column, layer), and performs translation and rotation (rotateX / Z) through the CSS transform property to achieve 2D / 3D spatial layout. This embodiment of the invention is not limited.
[0033] Optionally, device data in JSON format from the backend can be obtained via a WebAPI request, including device ID, location, status, and other information; device data updated in real time by the backend data acquisition program is provided in the form of a JSON data stream, i.e., a standardized status data stream, which is not limited in this embodiment of the invention.
[0034] Optionally, adding a new press machine (i.e., production line equipment) only requires calling createTableShelf(1, 2, 5, 3,30) with corresponding parameters such as region, current row, number of columns, number of layers, and equipment height to generate the new equipment. This embodiment of the invention does not impose any limitations.
[0035] 102. Based on the current view style information and expected view style information of the current view mode, perform the corresponding mode view switching operation on the target display device.
[0036] Optionally, CSS classes can be added to implement view mode switching. By adding the .devview-2d or .devview-3d class to the container, different CSS style rules (such as perspective, filters, borders, etc.) can be triggered to achieve visual switching between 2D and 3D views. This embodiment of the invention does not limit this.
[0037] Optionally, the 2D / 3D view switching mechanism is implemented through a class function that quickly replaces based on a prefix; when the user clicks the view switching button, a switching instruction is triggered, and JavaScript dynamically switches between 2D and 3D classes, using the CSS3 transition property to drive a smooth transition. This embodiment of the invention is not limited to this.
[0038] Optionally, based on the determined rendered view element, user interaction events (such as clicks, drags, etc.) are bound to the device DOM element to realize user operation response, and the interaction data is sent back to the backend in JSON format. This embodiment of the invention does not limit the scope of the invention.
[0039] Optionally, this solution achieves a progressive, frame-skipping-free, and flicker-free dynamic switching between 2D planar views and 3D stereoscopic views through the collaboration of C# backend data processing, JavaScript interactive logic, HTML5 / CSS3 animation, and a 3D rendering engine; lightweight rendering supports smooth operation on low-configuration devices (such as mobile terminals, large-screen TVs, etc.); real-time viewing of device status (such as the operating parameters of the volumetric pressure bed, cargo storage information, etc.) is possible through drag-and-drop, zoom-and-click operations; coupled with modular encapsulation design, new devices can be quickly integrated or device layouts can be adjusted, reducing development costs. This embodiment of the invention is not limited to these aspects.
[0040] Optionally, a lightweight 2D / 3D seamless switching is achieved through a core architecture of dual-mode rendering on the same DOM + dynamic LOD (Level of Detail) using CSS3 + data-driven interaction. The backend uses C# to collect real-time equipment status (such as storage location, storage stacking height, and press operating parameters) and encapsulates it into a standardized JSON data stream. The frontend uses JavaScript / HTML / CSS to implement two view modes, utilizing the same DOM tree to build the storage model. Furthermore, a 2D / 3D dual-modal interaction mechanism is implemented: in 2D mode, elements are positioned using `transform: translate(x,y)`, and a planar effect is simulated using `border / box-shadow`; in 3D mode, spatial rotation is achieved using `transform: rotateX()` and ` / rotateZ()`, combined with the `perspective` property to generate depth of field. Rendering modes are controlled through CSS classes (such as `.devview-2d` / `. The transition and transform features of CSS3 are used to achieve progressive switching between 2D and 3D views, avoiding model frame skipping or flickering. Finally, HTML5 Canvas is used in conjunction with CSS3. 3D transformations enable lightweight 3D rendering. For example, `perspective` defines a perspective view for 3D transformation elements, and `scale3d(x,y,z)` defines 3D scaling transformations, avoiding WebGL's memory usage issues, reducing reliance on the GPU, and adapting to low-configuration devices (such as tablets and large-screen TVs). Furthermore, the device is divided into rows, columns, and layers and encapsulated into a general function. Each additional row only requires configuring the function's region, row, column, layer, and layer height parameters, achieving high dynamic configuration capabilities. Configuration data is obtained through APIs to define the layout and model parameters of shelves, presses, etc. This embodiment of the invention is not limited.
[0041] Optional, such as Figure 6As shown, the logical flow diagram of the dual-modal view control method for the formation and capacity-deployment equipment is as follows: (1) The configuration layer is used for layout and equipment parameters: The layout parameter configuration module is used to enable users to set the overall equipment layout (such as the factory area or workshop floor plan, etc.) through the management interface; Production line equipment includes different types of production or storage equipment (such as formation equipment, capacity-deployment equipment, vertical stacking equipment); Equipment information and row, column, and layer height parameters define a unique identifier, position (row, column, layer) and physical size (height, etc.) for each equipment, which is used for the accurate construction of subsequent views; (2) The data layer is used for backend acquisition and transmission: The backend program data acquisition module is used to collect equipment status data (such as temperature, voltage, operating status, etc.) in real time through the equipment interface or sensor; The database server is used to store static information and dynamically acquired data; The WebAPI is used to provide standardized data interfaces for frontend to call; The JSON data stream is used for data exchange between the frontend and backend using JSON format, which is lightweight and easy to parse; The interactive data feedback is used for user operations on the frontend (such as (3) The view building layer is used for DOM and style processing: the modular component factory function is used to dynamically generate reusable device DOM elements using JavaScript functions, improving code reusability and maintainability; the transform operation translate indicates the position of the mobile device element; the transform operation rotateX / Z indicates rotation around the X-axis or Z-axis and is used for 3D view building; the device DOM tree is used to generate a hierarchical DOM structure based on device parameters; filter indicates the application of visual effects (such as blur, color adjustment, etc.); border indicates the definition of the device border style; perspective indicates the setting of the 3D perspective view to enhance the sense of three-dimensionality; (4) The view rendering layer (2D / 3D dual-modal rendering): 2D rendering includes using the CSS class .devview-2d to apply flat layout styles, suitable for quick overview and simple interaction; 3D rendering includes using the CSS class.devview-3d enables 3D transformation and perspective, combined with Canvas lightweight rendering to process complex graphics or animations, improving performance; transition progressive switching indicates a smooth transition between 2D and 3D views, improving user experience; data-driven update means that when device data is updated, the view is automatically re-rendered to keep the interface synchronized with the data; (5) Interaction and adaptation layer: The view interaction layer is used to respond to user operations (such as clicking, dragging, rotating the view, etc.); JavaScript event handlers are used to bind and process various interactive events, update the view or trigger data feedback; multi-terminal adaptation covers devices such as tablets, PCs, and TVs, and can interact with user terminals. Furthermore, tablets, PCs, and TVs ensure good display and interaction experience on different devices through responsive design and adaptation logic; user interaction is in the overall interaction logic closed loop, and users can operate the device or switch views through the interface, with real-time feedback from the system. This embodiment of the invention does not limit this.
[0042] Optional, such as Figure 7 The image shown is a schematic diagram illustrating the implementation effect of a 3D view mode. It provides a clear visual representation of information such as the battery tray, device layout, device width, and device height, and allows for customization of the displayed tray number, storage location number, etc. Figure 8 The image shown is an illustration of another implementation effect of a 3D view mode, where blue represents a full disk and white / gray represents an empty disk; as shown... Figure 9 The image shown illustrates another implementation of a 3D view mode. Even when the device is folded, the tray information can still be viewed through the screen. The upper right corner displays the device's real-time status; for example, a "Disabled" indicator shows the device is disabled. Figure 10 The image shown is a schematic diagram illustrating another implementation of a 3D view mode. The equipment is unfolded, and the green tray indicates that the dispensing process is complete and the equipment is ready for shipment. Figure 11 The image shown is a schematic diagram illustrating the implementation effect of a two-dimensional view mode. Blue indicates a full disk, white-gray indicates an empty disk, and a checkmark (√) indicates selection. Figure 12 The image shown illustrates another implementation of a two-dimensional view mode, where hovering the mouse displays the current device information; for example... Figure 13 The diagram shown illustrates another implementation effect of a two-dimensional view mode. Flattening is more conducive to batch operation of devices, but this embodiment of the invention is not limited thereto.
[0043] As can be seen, the dual-modal view management method for batching and capacity-operating devices described in this embodiment of the invention can achieve dynamic and intelligent switching of dual-modal views through mode conversion parameter analysis and mode view switching operations. Compared with existing view management methods, this method is beneficial to improving the switching efficiency and smoothness of dual-modal views, thereby eliminating the frame skipping / flickering problem in traditional solutions, and achieving progressive, seamless, and fast switching of dual-modal views. This satisfies both the need for rapid local information location and global spatial layout insight. In addition, it helps to improve the timeliness and efficiency of dual-modal view switching response, optimize the dual-modal interactive experience and simplify interactive operations, shorten the development cycle, improve development / maintenance efficiency, and reduce deployment costs.
[0044] In an optional embodiment, the above-mentioned operation of switching the target display device according to the current view style information and the expected view style information of the current view mode may include: Based on the current view style information and expected view style information of the current view mode, determine all styles to be transformed in the current view mode and the expected view mode; Based on the preset first style transition parameter information, perform corresponding smooth transition effect setting operations on all styles to be transformed to obtain the first transition setting scheme; Based on the preset second style transition parameter information, the current view style information and the expected view style information, perform corresponding interpolation calculations and intermediate state generation operations on all styles to be transformed to obtain the second transition setting scheme. According to the first transition setting scheme and the second transition setting scheme, the display view of the target display device is controlled to perform the corresponding view transition switching operation.
[0045] Optionally, the current view style information of the current view mode can be understood as the CSS style of the current view mode, such as position information, rotation information, perspective information, etc., which is not limited in this embodiment of the invention.
[0046] Optionally, the expected view style information can be understood as the CSS style corresponding to the expected view mode, but this embodiment of the invention does not limit it.
[0047] Optionally, the style transition parameter information can be understood as preset CSS transition parameter information, and this embodiment of the invention does not limit it.
[0048] Further optional, based on the preset first style transition parameter information, the above-mentioned smooth transition effect setting operation is performed on all styles to be transformed to obtain the first transition setting scheme. For example, using the CSS3 transition property, a smooth transition effect is set for all styles involved in the transformation (such as transform, perspective, filter, etc.) (such as setting the duration to 300ms and the easing function to ease-in-out) to obtain the first transition setting scheme. This embodiment of the invention does not limit the scope of the invention.
[0049] Further optionally, based on the preset second style transition parameter information, the current view style information, and the expected view style information, the above-mentioned interpolation calculation and intermediate state generation operation are performed on all styles to be transformed to obtain the second transition setting scheme. For example, the browser rendering engine automatically performs interpolation calculation between the existing style (i.e., the current view style information) and the target style (i.e., the expected view style information), generates intermediate states frame by frame, and obtains the second transition setting scheme. This embodiment of the invention does not limit the scope of the invention.
[0050] Further optionally, according to the first transition setting scheme and the second transition setting scheme, the display view of the target display device is controlled to perform a corresponding view transition switching operation. For example, the view smoothly and continuously transitions from the current view mode to the expected view mode. The user visually perceives a gradual and flicker-free 2D / 3D conversion effect. This embodiment of the invention is not limited.
[0051] As can be seen, this optional embodiment can determine the first transition setting scheme and the second transition setting scheme, and then control the target display device to perform the corresponding view transition switching operation. Compared with the existing view control method, this is beneficial to achieve a smooth and continuous transition of the view from the current mode to the expected view mode, and it is beneficial to improve the diversity, flexibility and pertinence of the view transition setting scheme determination method. This, in turn, is beneficial to improve the accuracy and reliability of the determined view transition setting scheme, thereby improving the rationality, accuracy and reliability of the display device's execution of the view transition switching operation based on the view transition setting scheme. Furthermore, it is beneficial to achieve a gradual and flicker-free dual-modal view transition effect that the user perceives visually.
[0052] In another alternative embodiment, the method may further include the following operations: When the latest display view mode of the target display device includes a 3D view mode, determine the number of production line devices that the target display device needs to display, and determine the display form of the display objects that the target display device needs to display; Based on the number of production line equipment and the display format of the displayed objects, determine whether the target display equipment meets the preset display performance optimization conditions; When it is determined that the target display device meets the display performance optimization conditions, the corresponding lightweight rendering control operation is performed on the target display device.
[0053] Optionally, in 3D view mode and when there are many devices, lightweight drawing can be performed using Canvas to avoid performance degradation caused by too many DOMs and improve rendering efficiency. This embodiment of the invention does not limit this.
[0054] Optionally, CSS3 LOD optimization is used. For distant devices, it is simplified to a solid color cube (generated by CSStransform), while for close-range devices, a high-definition texture is loaded (details are drawn using HTML5 Canvas). The 3D scaling transformation is defined using scale3d(x,y,z). This embodiment of the invention is not limited.
[0055] Further optionally, the above-mentioned determination of whether the target display device meets the preset display performance optimization conditions based on the number of production line equipment and the display format of the display object may include: Determine whether the number of production line devices is greater than or equal to a preset threshold for the number of production line devices; if the determination result is yes, determine that the target display device meets the preset display performance optimization conditions; if the determination result is no, determine that the target display device does not meet the preset display performance optimization conditions; and / or, Based on the display format of the display object, determine the rendering complexity of the scene rendering requirements; determine whether the rendering complexity is greater than or equal to the preset rendering complexity threshold; if the judgment result is yes, determine that the target display device meets the preset display performance optimization conditions; if the judgment result is no, determine that the target display device does not meet the preset display performance optimization conditions.
[0056] As can be seen, this optional embodiment can provide a lightweight rendering control method for the latest display view modes of display devices, including 3D view modes, and further, when the display device meets the display performance optimization conditions. In this way, compared with the existing view control methods, a lightweight dual-modal view interaction method can be realized, which is conducive to improving the comprehensiveness and rationality of the display performance optimization method. This, in turn, is conducive to improving the timeliness, rationality, accuracy, and reliability of the lightweight rendering control operation, thereby improving the accuracy and reliability of the view display performance optimization of the display device. Moreover, lightweight rendering supports smooth operation on low-configuration devices and reduces video memory usage.
[0057] In yet another alternative embodiment, the method may further include the following operations: Based on the standardized status data stream for the target production line equipment, determine whether the target production line equipment meets the preset equipment status change conditions. When it is determined that the target production line equipment meets the equipment status change conditions, the corresponding web page tag style / content update operation is executed according to the standardized status data stream to obtain the latest web page tag style / content information; based on the latest web page tag style / content information and the current view mode of the target display device, the corresponding view display update operation is executed on the target display device.
[0058] Optionally, while the target display device is performing a mode view switching operation and after the target display device has completed the mode view switching operation, the backend data stream is continuously monitored, that is, the standardized status data stream for the target production line equipment is continuously determined. This embodiment of the invention does not limit this.
[0059] Optionally, if there is a change in device status, the style or content of the corresponding DOM element is updated immediately, and it is ensured that it is correctly presented in the current view mode, so that the bimodal view always maintains real-time synchronization with the real device status before, during and after switching, and the interactive experience is consistent. This embodiment of the invention does not limit this.
[0060] Further optionally, the above-mentioned determination of whether the target production line equipment meets the preset equipment status change conditions based on the determined standardized status data stream for the target production line equipment may include: Based on the standardized status data stream for the target production line equipment, determine whether the target production line equipment meets the preset storage location color change conditions; if the determination result is yes, determine that the target production line equipment meets the preset equipment status change conditions; if the determination result is no, determine that the target production line equipment does not meet the preset equipment status change conditions; and / or, Based on the standardized status data stream for the target production line equipment, determine whether the target production line equipment meets the preset equipment alarm conditions; if the determination result is yes, determine that the target production line equipment meets the preset equipment status change conditions; if the determination result is no, determine that the target production line equipment does not meet the preset equipment status change conditions.
[0061] Further optional, when it is determined that the target production line equipment does not meet the equipment status change conditions, the above-mentioned step of determining whether the target production line equipment meets the preset equipment status change conditions based on the determined standardized status data stream for the target production line equipment is executed again. This embodiment of the invention does not limit this step.
[0062] As can be seen, this optional embodiment can perform corresponding webpage tag style / content update operations and view display update operations when it is determined that the production line equipment meets the equipment status change conditions. Compared with the existing view control methods, this is beneficial to improving the comprehensiveness and rationality of the view content and display update methods, thereby improving the timeliness, accuracy and reliability of the execution of webpage tag style / content update operations and view display update operations, improving the timeliness and accuracy of view display updates, and improving the accuracy and reliability of view display. This is conducive to achieving automatic re-rendering of the view when the equipment data is updated to keep the interface synchronized with the data, that is, to ensure that the dual-modal view always maintains real-time synchronization with the real equipment status and a consistent interactive experience before, during and after switching.
[0063] In yet another alternative embodiment, the method may further include the following operations: Based on the preset structured format information, the raw data of the target production line equipment status is processed by the corresponding encapsulation operation to obtain the structured data result. Perform the corresponding serialization processing operation on the structured data results to obtain the serialized data results; Based on the serialized data results, a standardized state data stream is determined for the target production line equipment. The standardized state data stream includes spatial attribute information and state attribute information.
[0064] Optionally, the target production line equipment may include, but is not limited to, a chemical composition pressure bed, an automated storage and retrieval system, etc., and this embodiment of the invention does not impose any limitations.
[0065] Optionally, the original equipment status data may include, but is not limited to, one or more of the following: equipment spatial coordinate information (such as X, Y, Z), equipment operating parameter information (such as temperature, pressure, current, etc.), storage location occupancy status information (such as full disk, empty disk, disabled, etc.), and equipment hierarchical relationship information (such as region, row, column, layer, etc.). This embodiment of the invention does not limit the data.
[0066] Optionally, a data acquisition service can be written in C# and the device status can be polled or monitored through a device communication protocol (such as Modbus TCP / OPC UA) to obtain the raw device status data of the target production line equipment. This embodiment of the invention does not limit this.
[0067] Optionally, the collected raw device status data can be encapsulated according to a predefined structured model to obtain structured data results. This embodiment of the invention does not impose any limitations on this method.
[0068] Optionally, the data can be serialized into a lightweight JSON data stream and pushed to the front end in real time via WebSocket or HTTP interface. This embodiment of the invention does not impose any limitations on this.
[0069] Further optionally, the above-mentioned determination of the standardized state data stream for the target production line equipment based on the serialized data results may include: using the serialized data results as the standardized state data stream for the target production line equipment for front-end dynamic rendering. This embodiment of the invention does not limit this.
[0070] As can be seen, this optional embodiment can provide a standardized state data stream determination method. By encapsulating processing operations and serializing processing operations, a standardized state data stream for the target production line equipment is obtained. Compared with existing view control methods, this method is beneficial to improving the comprehensiveness and rationality of the standardized state data stream determination method, the comprehensiveness and integrity of the dual-modal view control method, and thus the accuracy, reliability and practicality of the determined standardized state data stream. This, in turn, helps to improve the accuracy and reliability of the subsequent operation results obtained based on the standardized state data stream.
[0071] Example 2 Please see Figure 2 , Figure 2 This is a flowchart illustrating another dual-modal view control method for a formation and capacity testing device disclosed in an embodiment of the present invention. Figure 2 The described method can be applied to a dual-modal view control device for batching and capacity-deploying equipment. This device may include a server, which may be a local server or a cloud server; this embodiment of the invention is not limited to this. Figure 2 As shown, the dual-modal view control method for formulation and capacity testing equipment includes the following operations: 201. When a user triggers a command to switch the view mode of the target display device, the expected view mode of the target display device is determined based on the current view mode of the target display device and the trigger command.
[0072] Optionally, the user may trigger a switching command for the view mode of the target display device. For example, listening for the user's switching command may trigger a switch in the view mode state (e.g., switching from "two-dimensional view mode" to "three-dimensional view mode"). This embodiment of the invention does not limit the scope of the invention.
[0073] Optionally, the current view mode and the expected view mode may include, but are not limited to, two-dimensional view mode, three-dimensional view mode, etc., and the embodiments of the present invention are not limited thereto.
[0074] 202. Based on the standardized status data stream for the target production line equipment, construct the corresponding web page tag structure model, and determine the style transformation parameter information of each equipment web page tag element in the expected view mode according to the expected view mode and the standardized status data stream.
[0075] Optionally, the webpage tag structure model includes device webpage tag elements, which correspond to the target production line equipment. This embodiment of the invention does not impose any limitations.
[0076] Optionally, the standardized status data stream determined for the target production line equipment can be the latest equipment data received from the backend, and this embodiment of the invention does not limit it.
[0077] Optionally, based on the expected view mode, the CSS transformation parameters (i.e., style transformation parameter information) of each device webpage tag element under the corresponding view are calculated. This embodiment of the invention does not limit this.
[0078] 203. Based on the webpage tag structure model and style transformation parameter information, perform the corresponding element information binding operation to obtain the expected view style information of the target display device.
[0079] Optionally, for example: each device object in the JSON data (i.e., the standardized state data stream) is converted into a corresponding DOM element, and basic styles and attributes are set to form a device DOM tree (i.e., a web page tag structure model). Furthermore, DOM is also the document object model. This embodiment of the invention does not limit the scope of the invention.
[0080] Optionally, CSS classes (such as .devview-2d or .devview-3d) can be dynamically added or switched for device DOM elements, and calculated CSS properties can be injected. Furthermore, the DOM elements obtain the CSS classes and style parameters (i.e., expected view style information) corresponding to the expected view mode, in preparation for visual transformation. This embodiment of the invention does not limit the scope of the invention.
[0081] Optionally, the position of each device in space is calculated based on the device DOM element set and the layout parameters (rows, columns, layers) in the standardized state data stream, and the 2D / 3D spatial layout is achieved by translating and rotating (rotateX / Z) using the CSS transform property. Furthermore, based on the device DOM elements that have completed spatial transformation and the user's currently selected expected view mode, different CSS style rules (such as perspective, filters, borders, etc.) are triggered by adding the .devview-2d or .devview-3d class to the container to achieve visual switching between 2D and 3D views. This embodiment of the invention is not limited to these methods.
[0082] 204. Based on the current view style information and expected view style information of the current view mode, perform the corresponding mode view switching operation on the target display device.
[0083] In this embodiment of the invention, for other descriptions of steps 201-204, please refer to the detailed description of steps 101-102 in Embodiment 1. These descriptions will not be repeated in this embodiment of the invention.
[0084] As can be seen, the embodiments of the present invention can achieve dynamic and intelligent switching of bimodal views through mode conversion parameter analysis and mode view switching operations. Compared with existing view management methods, this is beneficial to improving the switching efficiency and smoothness of bimodal views, thereby eliminating the frame skipping / flickering problems in traditional solutions, and achieving progressive, seamless, and fast switching of bimodal views. This satisfies both the need for rapid local information location and global spatial layout insight. In addition, it is beneficial to improve the timeliness and efficiency of bimodal view switching response, optimize the bimodal interactive experience and simplify interactive operations, shorten the development cycle, improve development / maintenance efficiency, and reduce deployment costs. Furthermore, it can obtain the expected view style information of the display device through expected view mode determination operations, webpage tag structure model, style transformation parameter information determination, and element binding operations. Compared with existing view management methods, this is beneficial to improving the comprehensiveness, rationality, and progressiveness of the expected view style information determination method, thereby improving the accuracy and reliability of the determined expected view style information, which in turn improves the practicality and fit of the expected view style information, and improves the accuracy and reliability of subsequent view switching based on the expected view style information.
[0085] In an optional embodiment, determining the style transformation parameter information of each device webpage tag element in the expected view mode based on the expected view mode and the standardized state data stream may include: When the expected view mode includes a two-dimensional view mode, the positioning parameter information of each device web page tag element for the horizontal and vertical positions is determined according to the standardized state data stream, and the original size and hierarchy information of each device web page tag element is determined; based on the positioning parameter information and the original size and hierarchy information, the style transformation parameter information of each device web page tag element in the expected view mode is determined. When the expected view mode includes a 3D view mode, the rotation angle information of each device web page tag element for rotation around the horizontal axis and rotation around the vertical axis is determined according to the standardized state data stream, and the perspective value information of each device web page tag element is determined; based on the rotation angle information and perspective value information, the style transformation parameter information of each device web page tag element in the expected view mode is determined.
[0086] Optionally, when the expected view mode includes a two-dimensional view mode, the translate(x, y) positioning value (i.e., positioning parameter information for the horizontal and vertical positions) is calculated, the original size and hierarchy are preserved, and the style transformation parameter information is obtained. This embodiment of the invention does not impose any limitations.
[0087] Optionally, when the expected view mode includes a three-dimensional view mode, the rotation angles rotateX(θ) and rotateZ(φ) and the perspective value of perspective(d) are calculated to generate a three-dimensional spatial layout and obtain style transformation parameter information. This embodiment of the invention does not limit the scope of the invention.
[0088] Optionally, the above-mentioned determination of the style transformation parameter information of each device webpage tag element in the expected view mode based on the positioning parameter information and the original size and hierarchy information may include: determining the positioning parameter information and the original size and hierarchy information as the style transformation parameter information of each device webpage tag element in the expected view mode. This embodiment of the present invention does not limit this.
[0089] Optionally, the above-mentioned determination of the style transformation parameter information of each device webpage tag element in the expected view mode based on the rotation angle information and perspective value information may include: determining the rotation angle information and perspective value information as the style transformation parameter information of each device webpage tag element in the expected view mode. This embodiment of the invention does not limit this.
[0090] As can be seen, this optional embodiment can match the corresponding style transformation parameter information determination method for the expected view mode as a two-dimensional view mode and for the expected view mode as a three-dimensional view mode respectively. In this way, compared with the existing view control method, it is beneficial to improve the diversity, flexibility and pertinence of the style transformation parameter information determination method, and to improve the comprehensiveness and rationality of the style transformation parameter information determination method, thereby improving the accuracy and reliability of the determined style transformation parameter information.
[0091] Example 3 Please see Figure 3 , Figure 3 This is a schematic diagram of a dual-modal view control device for a batching and filling equipment disclosed in an embodiment of the present invention. Figure 3 The described apparatus may include a server, wherein the server includes a local server or a cloud server, and the embodiments of the present invention are not limited thereto. Figure 3 As shown, the dual-modal view control device for the formation and capacity preparation equipment may include: The view parameter determination module 301 is used to perform corresponding mode conversion parameter analysis operations to obtain the expected view style information of the target display device when a user triggers a switch command for the view mode of the target display device. This is done based on the current view mode of the target display device and the standardized status data stream of the target production line device.
[0092] The view switching module 302 is used to perform corresponding mode view switching operations on the target display device based on the current view style information and expected view style information of the current view mode.
[0093] It is evident that implementation Figure 3 The described dual-modal view control device for modularization and capacity-enhancing equipment can achieve dynamic and intelligent switching of dual-modal views through mode conversion parameter analysis and mode view switching operations. Compared with existing view control methods, this improves the switching efficiency and smoothness of dual-modal views, thereby eliminating the frame skipping / flickering problems in traditional solutions. It enables progressive, seamless, and rapid switching of dual-modal views, satisfying both rapid local information positioning and global spatial layout insight. Furthermore, it improves the timeliness and efficiency of dual-modal view switching response, optimizes the dual-modal interactive experience and simplifies interactive operations, shortens the development cycle, improves development / maintenance efficiency, and reduces deployment costs.
[0094] In an optional embodiment, the view parameter determination module 301 performs corresponding mode conversion parameter analysis operations based on the determined current view mode of the target display device and the standardized status data stream for the target production line device to obtain the expected view style information of the target display device. Specifically, this includes: Based on the current view mode and switching trigger command of the target display device, determine the expected view mode of the target display device; Based on the standardized status data stream for the target production line equipment, a corresponding web page tag structure model is constructed. Based on the expected view mode and the standardized status data stream, the style transformation parameter information of each equipment web page tag element in the expected view mode is determined. The web page tag structure model includes equipment web page tag elements, and each equipment web page tag element corresponds to the target production line equipment. Based on the webpage tag structure model and style transformation parameter information, perform the corresponding element information binding operation to obtain the expected view style information of the target display device.
[0095] It is evident that implementation Figure 4The described device can obtain the expected view style information of the display device through the expected view mode determination operation, as well as the determination of web page tag structure model, style transformation parameter information and element binding operation. Compared with the existing view control methods, this is beneficial to improve the comprehensiveness, rationality and progressiveness of the expected view style information determination method, thereby improving the accuracy and reliability of the determined expected view style information, which in turn improves the practicality and fit of the expected view style information, and improves the accuracy and reliability of subsequent view switching based on the expected view style information.
[0096] In another optional embodiment, the view parameter determination module 301 determines the style transformation parameter information of each device webpage tag element in the expected view mode according to the expected view mode and the standardized state data stream, specifically including the following methods: When the expected view mode includes a two-dimensional view mode, the positioning parameter information of each device web page tag element for the horizontal and vertical positions is determined according to the standardized state data stream, and the original size and hierarchy information of each device web page tag element is determined; based on the positioning parameter information and the original size and hierarchy information, the style transformation parameter information of each device web page tag element in the expected view mode is determined. When the expected view mode includes a 3D view mode, the rotation angle information of each device web page tag element for rotation around the horizontal axis and rotation around the vertical axis is determined according to the standardized state data stream, and the perspective value information of each device web page tag element is determined; based on the rotation angle information and perspective value information, the style transformation parameter information of each device web page tag element in the expected view mode is determined.
[0097] It is evident that implementation Figure 4 The described device can also match the corresponding style transformation parameter information determination method for the expected view mode as a two-dimensional view mode and for the expected view mode as a three-dimensional view mode respectively. In this way, compared with the existing view control method, it is beneficial to improve the diversity, flexibility and pertinence of the style transformation parameter information determination method, improve the comprehensiveness and rationality of the style transformation parameter information determination method, and thus improve the accuracy and reliability of the determined style transformation parameter information.
[0098] In another optional embodiment, the view switching module 302 performs the corresponding mode view switching operation on the target display device based on the current view style information and the expected view style information of the current view mode. Specifically, this includes: Based on the current view style information and expected view style information of the current view mode, determine all styles to be transformed in the current view mode and the expected view mode; Based on the preset first style transition parameter information, perform corresponding smooth transition effect setting operations on all styles to be transformed to obtain the first transition setting scheme; Based on the preset second style transition parameter information, the current view style information and the expected view style information, perform corresponding interpolation calculations and intermediate state generation operations on all styles to be transformed to obtain the second transition setting scheme. According to the first transition setting scheme and the second transition setting scheme, the display view of the target display device is controlled to perform the corresponding view transition switching operation.
[0099] It is evident that implementation Figure 4 The described device can also determine a first transition setting scheme and a second transition setting scheme, and then control the target display device to perform the corresponding view transition switching operation. Compared with existing view control methods, this is beneficial to achieve a smooth and continuous transition of the view from the current mode to the expected view mode, and to improve the diversity, flexibility and pertinence of the view transition setting scheme determination method. This, in turn, is beneficial to improve the accuracy and reliability of the determined view transition setting scheme, thereby improving the rationality, accuracy and reliability of the display device's execution of the view transition switching operation based on the view transition setting scheme. Furthermore, it is beneficial to achieve a gradual and flicker-free dual-modal view transition effect that the user perceives visually.
[0100] In yet another alternative embodiment, such as Figure 4 As shown, the device may further include: The rendering control module 303 is used to determine the number of production line devices that need to be displayed on the target display device and the display form of the display objects that need to be displayed on the target display device when the latest display view mode of the target display device includes a 3D view mode; based on the number of production line devices and the display form of the display objects, it determines whether the target display device meets the preset display performance optimization conditions; when it is determined that the target display device meets the display performance optimization conditions, it performs corresponding lightweight rendering control operations on the target display device.
[0101] It is evident that implementation Figure 4 The described device can also provide a lightweight rendering control method for the latest display view modes of display devices, including 3D view modes, and further when the display device meets the display performance optimization conditions. In this way, compared with existing view control methods, a lightweight dual-modal view interaction method can be realized, which is conducive to improving the comprehensiveness and rationality of display performance optimization methods. This, in turn, is conducive to improving the timeliness, rationality, accuracy, and reliability of lightweight rendering control operations, thereby improving the accuracy and reliability of view display performance optimization of display devices. Furthermore, lightweight rendering supports smooth operation on low-configuration devices and reduces video memory usage.
[0102] In yet another alternative embodiment, such as Figure 4 As shown, the device may further include: The view update module 304 is used to determine whether the target production line equipment meets the preset equipment status change conditions based on the determined standardized status data stream for the target production line equipment; when it is determined that the target production line equipment meets the equipment status change conditions, it performs the corresponding web page tag style / content update operation according to the standardized status data stream to obtain the latest web page tag style / content information; based on the latest web page tag style / content information and the current view mode of the target display device, it performs the corresponding view display update operation on the target display device.
[0103] It is evident that implementation Figure 4 The described device can also perform corresponding webpage tag style / content update operations and view display update operations when it is determined that the production line equipment meets the equipment status change conditions. Compared with existing view control methods, this is beneficial to improving the comprehensiveness and rationality of view content and display update methods, thereby improving the timeliness, accuracy and reliability of webpage tag style / content update operations and view display update operations, improving the timeliness and accuracy of view display updates, and improving the accuracy and reliability of view display. This facilitates the automatic re-rendering of the view when equipment data is updated to keep the interface synchronized with the data, that is, to ensure that the dual-modal view always maintains real-time synchronization with the real equipment status and a consistent interactive experience before, during and after switching.
[0104] In yet another alternative embodiment, such as Figure 4 As shown, the device may further include: The data processing module 305 is used to perform corresponding encapsulation processing operations on the raw equipment status data of the target production line equipment based on preset structured format information to obtain structured data results. The raw equipment status data includes one or more of the following: equipment spatial coordinate information, equipment operating parameter information, warehouse occupancy status information, and equipment hierarchical relationship information. The module then performs corresponding serialization processing operations on the structured data results to obtain serialized data results. Based on the serialized data results, the module determines a standardized status data stream for the target production line equipment. The standardized status data stream includes spatial attribute information and status attribute information.
[0105] It is evident that implementation Figure 4The described apparatus can also provide a standardized state data stream determination method. By encapsulating and serializing processing operations, a standardized state data stream for the target production line equipment is obtained. Compared with existing view control methods, this method improves the comprehensiveness and rationality of the standardized state data stream determination method, enhances the comprehensiveness and integrity of the dual-modal view control method, and further improves the accuracy, reliability, and practicality of the determined standardized state data stream. This, in turn, improves the accuracy and reliability of subsequent operation results obtained based on the standardized state data stream.
[0106] Example 4 Please see Figure 5 , Figure 5 This is a schematic diagram of the structure of another dual-modal view control device for a formation and capacity preparation device disclosed in an embodiment of the present invention. Wherein, Figure 5 The described apparatus may include a server, wherein the server includes a local server or a cloud server, and the embodiments of the present invention are not limited thereto. Figure 5 As shown, the device may include: Memory 401 storing executable program code; Processor 402 coupled to memory 401; Furthermore, it may also include an input interface 403 coupled to the processor 402 and an output interface 404; The processor 402 calls the executable program code stored in the memory 401 to execute the steps in the dual-modal view control method for the decomposition and capacity-deployment device described in Embodiment 1 or Embodiment 2.
[0107] Example 5 This invention discloses a computer storage medium storing computer instructions, wherein when the computer instructions are invoked, they are used to execute the steps in the dual-modal view control method for a decomposition and capacity-building device described in Embodiment 1 or Embodiment 2.
[0108] Example 6 This invention discloses a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to perform the steps in the dual-modal view control method for a decomposition and capacity device described in Embodiment 1 or Embodiment 2.
[0109] The device embodiments described above are merely illustrative. The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical modules; that is, they may be located in one place or distributed across multiple network modules. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0110] Through the detailed description of the above embodiments, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, including read-only memory (ROM), random access memory (RAM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), one-time programmable read-only memory (OTPROM), electrically-Erasable Programmable Read-Only Memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.
[0111] Finally, it should be noted that the dual-modal view control method and apparatus for a formation and capacity-making device disclosed in the embodiments of the present invention are merely preferred embodiments of the present invention and are only used to illustrate the technical solutions of the present invention, not to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A dual-modal view control method for a batching and capacity-dispensing device, characterized in that, The method includes: When a user triggers a switch command for the view mode of the target display device, the expected view mode of the target display device is determined based on the current view mode of the target display device and the switch trigger command. Based on the standardized status data stream for the target production line equipment, a corresponding web page tag structure model is constructed, and based on the expected view mode and the standardized status data stream, the style transformation parameter information of each equipment web page tag element in the expected view mode is determined; the web page tag structure model includes the equipment web page tag elements, and the equipment web page tag elements correspond to the target production line equipment; Based on the webpage tag structure model and the style transformation parameter information, perform the corresponding element information binding operation to obtain the expected view style information of the target display device; Based on the current view style information of the current view mode and the expected view style information, perform the corresponding mode view switching operation on the target display device.
2. The dual-modal view control method for a formation and capacity-deployment device according to claim 1, characterized in that, The step of determining the style transformation parameter information of each device webpage tag element in the expected view mode based on the expected view mode and the standardized state data stream includes: When the expected view mode includes a two-dimensional view mode, the positioning parameter information of each device web page tag element for the horizontal and vertical positions is determined according to the standardized state data stream, and the original size and hierarchy information of each device web page tag element is determined; the style transformation parameter information of each device web page tag element in the expected view mode is determined according to the positioning parameter information and the original size and hierarchy information. When the expected view mode includes a three-dimensional view mode, the rotation angle information of each device web page tag element for rotation around the horizontal axis and rotation around the vertical axis is determined according to the standardized state data stream, and the perspective value information of each device web page tag element is determined; based on the rotation angle information and the perspective value information, the style transformation parameter information of each device web page tag element in the expected view mode is determined.
3. The dual-modal view control method for a formation and capacity-deployment device according to claim 1, characterized in that, The step of performing a corresponding mode view switching operation on the target display device based on the current view style information of the current view mode and the expected view style information includes: Based on the current view style information of the current view mode and the expected view style information, determine all styles to be transformed in the current view mode and the expected view mode; Based on the preset first style transition parameter information, perform corresponding smooth transition effect setting operations on all the styles to be transformed to obtain the first transition setting scheme; Based on the preset second style transition parameter information, the current view style information and the expected view style information, perform corresponding interpolation calculations and intermediate state generation operations on all styles to be transformed to obtain the second transition setting scheme; Based on the first transition setting scheme and the second transition setting scheme, the display view of the target display device is controlled to perform corresponding view transition switching operations.
4. The dual-modal view control method for a formation and capacity-deployment device according to any one of claims 1-3, characterized in that, The method further includes: When the latest display view mode of the target display device includes a three-dimensional view mode, determine the number of production line devices that the target display device needs to display, and determine the display form of the display objects that the target display device needs to display; Based on the number of production line equipment and the display format of the display object, determine whether the target display device meets the preset display performance optimization conditions; When it is determined that the target display device meets the display performance optimization conditions, a corresponding lightweight rendering control operation is performed on the target display device.
5. The dual-modal view control method for a formation and capacity-deployment device according to any one of claims 1-3, characterized in that, The method further includes: Based on the standardized status data stream for the target production line equipment, determine whether the target production line equipment meets the preset equipment status change conditions; When it is determined that the target production line equipment meets the equipment status change conditions, the corresponding web page tag style / content update operation is performed according to the standardized status data stream to obtain the latest web page tag style / content information; based on the latest web page tag style / content information and the current view mode of the target display device, the corresponding view display update operation is performed on the target display device.
6. The dual-modal view control method for a formation and capacity-deployment device according to claim 5, characterized in that, The method further includes: Based on the preset structured format information, the raw equipment status data of the target production line equipment is processed by the corresponding encapsulation operation to obtain the structured data result. The raw equipment status data includes one or more of the following: equipment spatial coordinate information, equipment operating parameter information, warehouse occupancy status information, and equipment hierarchical relationship information. Perform corresponding serialization processing operations on the structured data results to obtain serialized data results; Based on the serialized data results, a standardized state data stream is determined for the target production line equipment. The standardized state data stream includes spatial attribute information and state attribute information.
7. A dual-modal view control device for a chemical separation and capacity preparation device, characterized in that, The device includes: A view parameter determination module is used to determine the expected view mode of the target display device based on the current view mode of the target display device and the switching trigger command when a user's view mode switching trigger command is detected; construct a corresponding webpage tag structure model based on the standardized state data stream for the target production line device; and determine the style transformation parameter information of each device webpage tag element in the expected view mode based on the expected view mode and the standardized state data stream; the webpage tag structure model includes the device webpage tag elements, and the device webpage tag elements correspond to the target production line device; and perform corresponding element information binding operations based on the webpage tag structure model and the style transformation parameter information to obtain the expected view style information of the target display device. The view switching module is used to perform a corresponding mode view switching operation on the target display device based on the current view style information of the current view mode and the expected view style information.
8. A dual-modal view control device for a chemical separation and capacity preparation device, characterized in that, The device includes: Memory containing executable program code; A processor coupled to the memory; The processor calls the executable program code stored in the memory to execute the dual-modal view control method for a decomposition and capacity-building device as described in any one of claims 1-6.
9. A computer storage medium, characterized in that, The computer storage medium stores computer instructions, which, when invoked, are used to execute the dual-modal view control method for a decomposition and capacity-building device as described in any one of claims 1-6.