Drawing file processing method and device, equipment, medium and program product

By processing drawing files collaboratively both locally and in the cloud, the compatibility issues of drawing tools on different operating systems are resolved, enabling efficient and flexible file processing.

CN120849362APending Publication Date: 2025-10-28INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510960592.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-11
Publication Date
2025-10-28

AI Technical Summary

Technical Problem

Existing drawing tools cannot be used seamlessly on different operating systems, resulting in low user flexibility and efficiency, as well as compatibility issues that affect work efficiency.

Method used

By reading the file stream, parsing the file format, and using local tools for priority processing, if processing is not possible, triggering cloud queries, and dynamically generating cloud tools, collaborative processing between local and cloud is achieved.

Benefits of technology

It improves the flexibility and efficiency of drawing file processing, ensures cross-platform compatibility, and optimizes resource consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120849362A_ABST
    Figure CN120849362A_ABST
Patent Text Reader

Abstract

The invention provides a drawing file processing method and device, equipment, a medium and a program product, and relates to the field of financial science and technology. Comprising the following steps: in response to a drawing file processing operation initiated by a user, reading a file stream corresponding to the drawing file processing operation; analyzing the file stream to determine a file format corresponding to the file stream; acquiring a local drawing tool installed locally; according to the local drawing tool and the file format, determining whether a drawing service is provided for the drawing file processing operation through the local drawing tool; if it is determined that the drawing service is not provided for the drawing file processing operation through the local drawing tool, a cloud drawing engine query request is initiated to a cloud server according to the file format; cloud drawing engine transmission information sent by the cloud server is received; generating a cloud drawing tool according to the cloud drawing engine transmission information; and providing a drawing service for the drawing file processing operation according to the cloud drawing tool. And the processing flexibility and efficiency of the drawing file are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of financial technology, and in particular to a method, apparatus, device, medium, and program product for processing drawing files. Background Technology

[0002] Existing graphing tools are typically limited to specific operating systems, failing to meet the need for seamless use across different operating systems. This prevents users from displaying and editing existing graphs on new office terminals, restricting user flexibility. Particularly in the fintech sector, the increasing demand for data visualization and graphical analysis often necessitates switching between different tools across multiple platforms to display data charts, increasing complexity and learning costs. Furthermore, some graphing projects suffer from compatibility issues across different tools, requiring repeated development and adaptation. In addition, various tools lack user-friendly interface design and interaction, failing to automatically adjust layout and display effects based on the user's device. This results in inconsistent user experiences across different platforms, impacting work efficiency. Therefore, developing more flexible methods for processing graph files represents a promising application direction.

[0003] In existing technologies, the main method for processing drawing files is to use platform-specific drawing tools on different platforms.

[0004] However, existing technologies are often only usable on devices with specific operating systems, limiting user flexibility and efficiency. Furthermore, they typically cannot open drawing projects from other devices, or if they do, there are display inconsistencies, resulting in low flexibility and inefficient processing of drawing files. Summary of the Invention

[0005] This application provides a method, apparatus, device, medium, and program product for processing drawing files, in order to solve the technical problems of low flexibility and poor efficiency in processing drawing files.

[0006] Firstly, this application provides a method for processing drawing files, including:

[0007] In response to a user-initiated drawing file processing operation, read the file stream corresponding to the drawing file processing operation;

[0008] The file stream is parsed to determine the file format corresponding to the file stream;

[0009] Obtain locally installed drawing tools;

[0010] Determine whether to provide drawing services for drawing file processing operations through local drawing tools, based on the local drawing tools and file format.

[0011] If it is determined that drawing services will not be provided for drawing file processing operations through local drawing tools, then a cloud drawing engine query request will be sent to the cloud server according to the file format.

[0012] Receive cloud drawing engine transmission information sent by the cloud server; wherein, the cloud drawing engine transmission information is sent by the cloud server in response to the cloud drawing engine query request;

[0013] Generate cloud-based drawing tools based on information transmitted from the cloud-based drawing engine;

[0014] Based on cloud-based drawing tools, it provides drawing services for drawing file processing operations.

[0015] Secondly, this application provides a drawing file processing apparatus, comprising:

[0016] The reading module is used to respond to user-initiated drawing file processing operations and read the file stream corresponding to the drawing file processing operation.

[0017] The first processing module is used to parse the file stream in order to determine the file format corresponding to the file stream;

[0018] The acquisition module is used to acquire locally installed drawing tools.

[0019] The determination module is used to determine whether to provide drawing services for drawing file processing operations through the local drawing tools, based on the local drawing tools and file format.

[0020] The second processing module is used to initiate a cloud drawing engine query request to the cloud server based on the file format if it is determined that drawing services are not provided for drawing file processing operations through local drawing tools.

[0021] The receiving module is used to receive cloud drawing engine transmission information sent by the cloud server; wherein, the cloud drawing engine transmission information is sent by the cloud server in response to the cloud drawing engine query request;

[0022] The generation module is used to generate cloud-based drawing tools based on information transmitted from the cloud-based drawing engine.

[0023] The third processing module is used to provide drawing services for drawing file processing operations based on cloud-based drawing tools.

[0024] Thirdly, embodiments of this application provide an electronic device, including: a memory and a processor;

[0025] Memory stores computer-executable instructions;

[0026] The processor executes computer execution instructions stored in memory, causing the processor to perform the method described in the first aspect above.

[0027] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the method described in the first aspect above.

[0028] Fifthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the method described in the first aspect above.

[0029] This application provides a method, apparatus, device, medium, and program product for processing drawing files. First, by capturing user operations and reading the file stream, the system ensures accurate acquisition of the content of the drawing file to be processed, establishing a data foundation for subsequent processing. Second, the file stream is parsed to clarify the file type and structural characteristics, providing a key basis for selecting suitable processing tools. Then, a local tool list is obtained, establishing a local resource library, laying the execution foundation for rapid processing of common file formats. Finally, through format and tool matching, a local priority processing mechanism is formed, utilizing the efficiency of local tools while avoiding blindly calling cloud tools. In addition to local resource allocation, the system triggers cloud queries when local processing is insufficient, constructing an exception handling path to overcome local environment limitations. Simultaneously, by receiving engine information returned from the cloud, a connection channel is established between the system and cloud capabilities. Furthermore, cloud tools are dynamically generated to achieve on-demand loading of processing capabilities, avoiding local resource redundancy. Finally, the drawing service is completed through tool calls, forming a complete closed loop from file acquisition to processing completion. The overall process, through collaboration between local and cloud, optimizes resource consumption while ensuring processing compatibility and improving the coverage of complex file processing scenarios, thereby achieving the technical effect of improving the flexibility and efficiency of drawing file processing. Attached Figure Description

[0030] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0031] Figure 1 This application provides a schematic diagram of an application data processing system architecture.

[0032] Figure 2 This is a system architecture diagram corresponding to a method for processing drawing files provided in an embodiment of this application;

[0033] Figure 3 This is an internal architecture diagram of the fusion service engine module provided in the embodiments of this application;

[0034] Figure 4 This is an internal architecture diagram of the cloud conversion module provided in the embodiments of this application;

[0035] Figure 5 A flowchart illustrating a method for processing drawing files provided in this application embodiment. Figure 1 ;

[0036] Figure 6 A flowchart illustrating a method for processing drawing files provided in this application embodiment. Figure 2 ;

[0037] Figure 7 A flowchart illustrating a method for processing drawing files provided in this application embodiment. Figure 3 ;

[0038] Figure 8 A flowchart illustrating a method for processing drawing files provided in this application embodiment. Figure 4 ;

[0039] Figure 9 This is a schematic diagram of the structure of a drawing file processing device provided in an embodiment of this application;

[0040] Figure 10 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.

[0041] The accompanying drawings have illustrated specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to specific embodiments. Detailed Implementation

[0042] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0043] It should be noted that the drawing file processing methods, apparatus, equipment, media and program products provided in this application can be used in the field of financial technology, or in any field other than financial technology. The application fields of the drawing file processing methods, apparatus, equipment, media and program products in this application are not limited.

[0044] Because existing technologies are often only usable on devices with specific operating systems, they limit user flexibility and efficiency. Furthermore, they typically cannot open drawing projects from other devices, or if they do, there are display inconsistencies, resulting in low flexibility and inefficient processing of drawing files.

[0045] To address the aforementioned issues, this application provides a method, apparatus, device, medium, and program product for processing drawing files. First, by capturing user operations and reading the file stream, the system ensures accurate acquisition of the content of the drawing file to be processed, establishing a data foundation for subsequent processing. Second, the file stream is parsed to clarify the file type and structural characteristics, providing a crucial basis for selecting appropriate processing tools. Then, a local tool list is obtained, establishing a local resource library, laying the execution foundation for rapid processing of common file formats. Finally, through format and tool matching, a local priority processing mechanism is formed, utilizing the efficiency of local tools while avoiding blind processing. The system invokes cloud resources; furthermore, it triggers cloud queries when local processing is insufficient, constructing an exception handling path to overcome local environment limitations; simultaneously, it establishes a connection channel between the system and cloud capabilities by receiving engine information returned from the cloud; furthermore, it dynamically generates cloud tools to achieve on-demand loading of processing capabilities, avoiding local resource redundancy; finally, it completes the drawing service through tool invocation, forming a complete closed loop from file acquisition to processing completion. The overall process, through collaboration between local and cloud, optimizes resource consumption while ensuring processing compatibility, and improves the coverage of complex file processing scenarios, thereby achieving the technical effect of improving the flexibility and efficiency of drawing file processing.

[0046] Figure 1 This is a schematic diagram of an application data processing system architecture provided in an embodiment of this application. The application data processing system can be a computer device. Figure 1 As shown, the above architecture includes at least one of a data acquisition device 101, a processing device 102, and a display device 103.

[0047] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the architecture of the application data processing system. In other feasible embodiments of this application, the above architecture may include more or fewer components than illustrated, or combine some components, or split some components, or arrange different components, which can be determined according to the actual application scenario and is not limited here. Figure 1 The components shown can be implemented in hardware, software, or a combination of both.

[0048] In the specific implementation process, the data acquisition device 101 may include an input / output interface or a communication interface, and the data acquisition device 101 can be connected to the processing device through the input / output interface or the communication interface.

[0049] Processing device 102 can construct a hybrid processing architecture that integrates local and cloud collaboration. After a user initiates an operation, it can automatically parse the file format, prioritize calling the matching local tools to complete the fast processing, and dynamically obtain the cloud engine to generate a dedicated tool to execute the task if the format is not supported. This ensures efficient processing of common formats, breaks through terminal compatibility limitations, and realizes on-demand resource allocation and elastic expansion of processing capabilities.

[0050] The display device 103 can also be a touch screen or the screen of a terminal device, used to receive user commands while displaying the above-mentioned content, so as to realize interaction with the user.

[0051] It should be understood that the aforementioned processing device can be implemented by a processor reading instructions from memory and executing those instructions, or it can be implemented by a chip circuit.

[0052] Furthermore, the network architecture and business scenarios described in the embodiments of this application are for the purpose of more clearly illustrating the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided in the embodiments of this application. As those skilled in the art will know, with the evolution of network architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of this application are also applicable to similar technical problems.

[0053] The following specific embodiments describe in detail the technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0054] Figure 2 A system architecture diagram corresponding to a method for processing drawing files provided in an embodiment of this application is shown below. Figure 2 As shown, the system consists of the following modules:

[0055] Unified Canvas Module: Provides a unified display interface;

[0056] Fusion Service Engine Module: Abstracts the access layer and adapts to various drawing tools;

[0057] Local application module: Manages local drawing tools;

[0058] Cloud-based conversion module: Manages the cloud-based drawing engine and performs data format conversion;

[0059] Auxiliary function module: Other auxiliary functions, including project import, export, and saving.

[0060] Figure 3 The internal architecture diagram of the fusion service engine module provided in the embodiments of this application is as follows: Figure 3 As shown, the converged service engine module includes a standard data layer, a security layer, and an adaptation layer.

[0061] Figure 4 The internal architecture diagram of the cloud conversion module provided in the embodiments of this application is as follows: Figure 4 As shown, the cloud conversion module consists of three parts: a conversion access layer, a component container layer, and a logical hardware layer. The conversion access layer includes a converter and a finder; the component container layer includes a virtualization environment and a pluggable container, which contains multiple corresponding tools.

[0062] In combination with the above Figures 2 to 4 This application provides a method for processing drawing files, wherein, Figure 5 A flowchart illustrating a method for processing drawing files provided in this application embodiment. Figure 1 ,like Figure 5 As shown, the method for processing drawing files provided in this application includes:

[0063] S501, In response to a user-initiated drawing file processing operation, read the file stream corresponding to the drawing file processing operation.

[0064] Users initiate operations through the auxiliary function module, and the system reads the local or embedded drawing file stream selected by the user as the input starting point for the processing flow.

[0065] S502. Parse the file stream to determine the file format corresponding to the file stream.

[0066] After receiving the file stream, the fusion service engine module initiates the adaptation process. It parses the file structure features through the standard data layer, verifies the file integrity in conjunction with the security layer, and finally identifies the file format type by the adaptation layer.

[0067] S503. Obtain locally installed drawing tools.

[0068] After the local application module is invoked, it iterates through the list of locally registered drawing tools based on the file format information passed by the fusion service engine module to check if there is a local application that supports the format.

[0069] S504. Determine whether to provide drawing services for drawing file processing operations through local drawing tools, based on local drawing tools and file formats.

[0070] The integrated service engine module makes decisions based on feedback from the local application module: if the local tool matches successfully, a connection channel is established between the local tool and the unified canvas module; if the matching fails, the cloud conversion module is triggered to start the cloud engine query process.

[0071] S505. If it is determined that drawing services will not be provided for drawing file processing operations through local drawing tools, then a cloud drawing engine query request will be sent to the cloud server according to the file format.

[0072] When it is determined that local tools will not be used, the fusion service engine module sends a format query request to the cloud conversion module. The cloud conversion module searches for a cloud drawing engine that supports the file format through the conversion access layer and prepares to perform data conversion.

[0073] S506: Receive cloud-based drawing engine transmission information sent by the cloud server.

[0074] In this embodiment, the information transmitted by the cloud drawing engine is sent by the cloud server in response to the query request from the cloud drawing engine.

[0075] After receiving the query request from the cloud conversion module, the cloud server simulates the adaptation environment through the logical hardware layer, loads the target drawing tool engine in the component container layer, and finally returns the cloud drawing tool description information containing engine configuration information and standardized interfaces to the cloud conversion module.

[0076] S507. Generate cloud-based drawing tools based on information transmitted from the cloud-based drawing engine.

[0077] After receiving the information transmitted by the cloud engine, the cloud conversion module instantiates the corresponding drawing tool container in the virtualization environment, establishes a secure communication tunnel with the local system, and encapsulates the cloud tool into a callable service interface.

[0078] S508 provides drawing services for drawing file processing operations based on cloud-based drawing tools.

[0079] The integrated service engine module connects the service interfaces provided by the local application module or the cloud conversion module with the unified canvas module. Through data standardization processing, it converts drawing instructions into rendering instructions that the canvas can recognize, and finally presents the processing results on the unified interface of the unified canvas module.

[0080] This embodiment provides a method for processing drawing files. First, by capturing user operations and reading the file stream, the system ensures accurate acquisition of the content of the drawing file to be processed, establishing a data foundation for subsequent processing. Second, the file stream is parsed to clarify the file type and structural characteristics, providing a key basis for selecting suitable processing tools. Then, a local tool list is obtained, and a local resource library is established, laying the execution foundation for rapid processing of common format files. Next, a local priority processing mechanism is formed through format and tool matching, which can utilize the efficiency of local tools while avoiding blindly calling cloud resources. In addition, when local processing is not possible, a cloud query is triggered to construct an exception handling path and overcome local environment limitations. At the same time, by receiving engine information returned by the cloud, a connection channel between the system and cloud capabilities is established. Furthermore, cloud tools are dynamically generated to achieve on-demand loading of processing capabilities and avoid local resource redundancy. Finally, the drawing service is completed through tool calls, forming a complete closed loop from file acquisition to processing completion. The overall process, through local and cloud collaboration, optimizes resource consumption while ensuring processing compatibility and improves the coverage of complex file processing scenarios, thereby achieving the technical effect of improving the flexibility and efficiency of drawing file processing.

[0081] Optional, Figure 6 A flowchart illustrating a method for processing drawing files provided in this application embodiment. Figure 2 ,like Figure 6 As shown, this embodiment, based on the above embodiments, provides a detailed description of the generation process of the cloud-based drawing tool, including:

[0082] S601. Perform data filtering and data standardization on the information transmitted from the cloud-based drawing engine to obtain the first cloud-based drawing engine data.

[0083] After receiving the engine transmission information returned by the cloud server, the integrated service engine module first cleans the raw data through the security layer, removing redundant configuration parameters that are incompatible with the local system, and then standardizes the core information such as the interface definition and dependency library version of the cloud engine into locally recognizable structured data according to the unified data protocol.

[0084] S602. Based on the file format, perform format conversion processing on the first cloud drawing engine data to obtain the second cloud drawing engine data.

[0085] Based on the parsed file format characteristics, the fusion service engine module calls the conversion access layer of the cloud conversion module to adapt and modify the file operation-related function interfaces in the standardized engine data to match the drawing instruction set of the cloud engine with the format specifications of the file to be processed.

[0086] S603. Configure the hardware base for the second cloud-based drawing engine data according to the preset logical hardware layer.

[0087] The logical hardware layer of the cloud conversion module dynamically allocates logical central processing unit (CPU) cores and video memory blocks in the cloud virtualization environment based on the hardware resource requirements of the converted engine data, such as graphics processing unit (GPU) computing power and memory configuration, to build a virtual hardware environment that meets the engine's operating requirements, serving as the operating base for cloud-based drawing tools.

[0088] S604. Deploy the cloud drawing engine locally for the second cloud drawing engine data according to the preset component container layer.

[0089] The component container layer of the cloud conversion module is based on containerization technology. It packages the adapted cloud drawing engine core code and dependency library files into isolated containers, deploys container instances on the configured logical hardware base, and allocates independent file system space and network ports for the containers through the virtualization environment, forming a complete cloud drawing tool runtime environment.

[0090] S605: Through a preset conversion access layer, a cloud drawing tool is generated based on data from the hardware base, the cloud drawing engine, and the second cloud drawing engine.

[0091] The cloud conversion module's conversion access layer integrates the access address, authentication credentials, and other information of the deployed containerized engine with the resource description information and format-converted functional interface definitions of the logical hardware layer. It then registers the encapsulated service interface to the fusion service engine module through a secure channel, ultimately generating a cloud drawing tool instance on the local system that can be called by the unified canvas module.

[0092] This embodiment provides a method for processing drawing files. By standardizing the processing to ensure the availability of cloud engine data, customizing the engine functions for file formats, building an adapted cloud operating environment and deploying the tools, a complete drawing service that can be called locally is finally formed, realizing the ability to process complex files across platforms. This achieves the technical effect of improving the flexibility and efficiency of drawing file processing.

[0093] Optional, Figure 7 A flowchart illustrating a method for processing drawing files provided in this application embodiment. Figure 3 ,like Figure 7 As shown, this embodiment, based on the above embodiments, provides a detailed explanation of the process for determining whether to provide drawing services for drawing file processing operations through local drawing tools, including:

[0094] S701. If the local drawing tool matches the file format, then determine that the drawing service is provided for the drawing file processing operation through the local drawing tool.

[0095] When a user initiates a file processing request through the accessibility module, the fusion service engine module immediately calls the local application module. The local application module precisely compares the format feature code (such as file extension and metadata identifier) ​​extracted from the file stream with the list of supported formats of the locally registered drawing tools. If a tool's format support list contains the feature code, the fusion service engine module directly establishes a secure communication link between the local tool and the unified canvas module, directing the file stream to the matching tool for parsing and processing. The processing result is rendered in real time to the unified canvas interface of the unified canvas module through a standardized data interface.

[0096] S702. If the local drawing tool does not match the file format, then it is determined that the drawing service will not be provided for drawing file processing operations through the local drawing tool.

[0097] When the local application module iterates through the local tool list and finds that none of the format support sets of all installed tools contain the current file's signature, the security layer of the fusion service engine module generates a format incompatibility alarm and immediately terminates the interaction process with the local application module. At this point, the fusion service engine module directly activates the cloud conversion module, which sends an engine query request containing the file format identifier to the cloud server through the conversion access layer, triggering the dynamic generation process of the cloud drawing tool and ensuring a seamless switch of the processing flow to the cloud processing channel.

[0098] This embodiment provides a method for processing drawing files. By using a precise format matching mechanism, it prioritizes the use of local tools, leveraging the low latency of local processing while avoiding invalid attempts. When formats are incompatible, it quickly switches to cloud channels, overcoming local environment limitations while maintaining the continuity of the processing flow. This forms an efficient and intelligent tool routing mechanism, thereby achieving the technical effect of improving the flexibility and efficiency of drawing file processing.

[0099] Optional, Figure 8 A flowchart illustrating a method for processing drawing files provided in this application embodiment. Figure 4 ,like Figure 8 As shown, this embodiment, based on the above embodiments, provides supplementary explanations regarding the subsequent process of determining whether to provide drawing services for drawing file processing operations through local drawing tools, including:

[0100] S801. If it is determined that drawing services will not be provided for drawing file processing operations through local drawing tools, then drawing services will be provided for drawing file processing operations according to local drawing tools.

[0101] When the system determines that the local drawing tools cannot directly process the file format, the local application module does not completely exit the processing flow, but instead enters a collaborative working mode. At this time, the local tools will pre-establish an encrypted communication link and perform basic parsing of the file stream to extract metadata such as page size and layer frames, providing a structured reference for subsequent cloud processing.

[0102] S802. Generate a drawing interface based on the file stream and local drawing tools.

[0103] The local application module utilizes its own interface generation capabilities to create a basic drawing interface framework based on the parsed file metadata. This framework includes static elements such as the canvas area and toolbar placeholders, while reserving an area for loading dynamic content, forming a hybrid layout structure of local interface skeleton and cloud content container.

[0104] S803. Generate drawing graphics based on the file stream, and perform rendering processing based on the cloud drawing tool to generate the display graphics corresponding to the cloud drawing tool.

[0105] This step represents another method for generating the drawing interface: the file stream is first standardized to generate lightweight vector graphics data, which contains only basic geometric information of the graphics. Subsequently, the cloud conversion module calls the cloud drawing engine to perform pixel-level rendering calculations on the vector data, generating the final display graphics that include complex visual elements such as texture fill and shadow effects.

[0106] S804. Generate a drawing interface based on the drawn graphics and the displayed graphics.

[0107] The fusion service engine spatially aligns and temporally synchronizes locally generated vector graphics data with cloud-rendered display graphics. Through data standardization, it ensures that the position coordinates and layer order of the two types of graphic elements are completely consistent, ultimately merging them into a complete drawing interface that includes basic structure and visual effects.

[0108] S805, Display the drawing interface.

[0109] After receiving the complete interface data, the unified canvas module initiates a progressive rendering process. First, it displays the locally built interface skeleton to ensure basic interaction, then gradually loads complex graphic elements rendered in the cloud, finally presenting a complete drawing interface containing all visual effects and interactive functions.

[0110] This embodiment provides a method for processing drawing files. It establishes a basic interface framework through local tool preprocessing, which not only utilizes local resources to quickly present the interface skeleton, but also provides a container for cloud content. The cloud engine focuses on processing complex rendering tasks and leverages the advantages of cloud computing power. Finally, it achieves precise alignment of interface elements through data fusion. While ensuring rendering quality, it optimizes user perception performance through progressive loading, forming a complementary advantage between local response speed and cloud processing capabilities.

[0111] Figure 9 This is a schematic diagram of a drawing file processing apparatus provided in an embodiment of this application. The apparatus in this embodiment can be in the form of software and / or hardware. For example... Figure 9 As shown in the embodiment of this application, a drawing file processing device 900 is provided. The device includes: a reading module 901, a first processing module 902, an acquisition module 903, a determination module 904, a second processing module 905, a receiving module 906, a generation module 907, and a third processing module 908.

[0112] The reading module 901 is used to read the file stream corresponding to the drawing file processing operation initiated by the user.

[0113] The first processing module 902 is used to parse the file stream in order to determine the file format corresponding to the file stream;

[0114] Get module 903, used to obtain locally installed drawing tools;

[0115] The determination module 904 is used to determine, based on the local drawing tools and file format, whether to provide drawing services for drawing file processing operations through the local drawing tools;

[0116] The second processing module 905 is used to initiate a cloud drawing engine query request to the cloud server according to the file format if it is determined that drawing services are not provided for drawing file processing operations through local drawing tools.

[0117] The receiving module 906 is used to receive cloud drawing engine transmission information sent by the cloud server; wherein, the cloud drawing engine transmission information is sent by the cloud server in response to the cloud drawing engine query request;

[0118] The generation module 907 is used to generate cloud-based drawing tools based on information transmitted from the cloud-based drawing engine.

[0119] The third processing module 908 is used to provide drawing services for drawing file processing operations based on cloud-based drawing tools.

[0120] In one possible implementation, the generation module 907 is further configured to:

[0121] Data filtering and standardization are performed on the information transmitted from the cloud-based drawing engine to obtain the first cloud-based drawing engine data;

[0122] Cloud-based drawing tools are generated based on data from the first cloud drawing engine.

[0123] In one possible implementation, the generation module 907 is further configured to:

[0124] Based on the file format, the data from the first cloud-based drawing engine is converted to obtain the data from the second cloud-based drawing engine.

[0125] Cloud-based drawing tools are generated based on data from the second cloud drawing engine.

[0126] In one possible implementation, the generation module 907 is further configured to:

[0127] Based on the preset logical hardware layer, configure the hardware base for the second cloud-based drawing engine data;

[0128] Based on the preset component container layer, deploy the cloud drawing engine locally for the second cloud drawing engine data;

[0129] Through a preset conversion access layer, cloud drawing tools are generated based on data from the hardware base, cloud drawing engine, and second cloud drawing engine.

[0130] In one possible implementation, the determining module 904 is further configured to:

[0131] If the local drawing tool matches the file format, then the drawing service will be provided for the drawing file processing operation through the local drawing tool.

[0132] If the local drawing tools do not match the file format, then it is determined that drawing services will not be provided for drawing file processing operations through the local drawing tools.

[0133] In one possible implementation, the determining module 904 is further configured to:

[0134] If it is determined that drawing services will not be provided for drawing file processing operations through local drawing tools, then drawing services will be provided for drawing file processing operations based on local drawing tools.

[0135] In one possible implementation, the determining module 904 is further configured to:

[0136] Generate a drawing interface based on file streams and local drawing tools; or, generate a drawing interface based on file streams and cloud-based drawing tools.

[0137] Display the drawing interface.

[0138] In one possible implementation, the determining module 904 is further configured to:

[0139] Generate plotting graphics based on the file stream;

[0140] Based on the cloud-based drawing tool, rendering is performed to generate the display graphics corresponding to the cloud-based drawing tool;

[0141] Generate a drawing interface based on the drawn and displayed graphics.

[0142] This embodiment provides a drawing file processing device that can execute the method provided in the above method embodiment. Its implementation principle and technical effect are similar, and will not be described in detail here.

[0143] Figure 10 This is a schematic diagram of the structure of an electronic device provided in this application. Figure 10 As shown, the electronic device 1000 provided in this embodiment includes at least one processor 1001 and a memory 1002. Optionally, the device 1000 further includes a communication component 1003. The processor 1001, memory 1002, and communication component 1003 are connected via a bus.

[0144] In a specific implementation, at least one processor 1001 executes computer execution instructions stored in memory 1002, causing at least one processor 1001 to perform the above-described method.

[0145] The specific implementation process of processor 1001 can be found in the above method embodiments, and its implementation principle and technical effect are similar. It will not be repeated here.

[0146] In the above embodiments, it should be understood that the processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this invention can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules within the processor.

[0147] The memory may include random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage device.

[0148] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.

[0149] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the above-described method.

[0150] This application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the above-described method.

[0151] The aforementioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The readable storage medium can be any available medium accessible to a general-purpose or special-purpose computer.

[0152] An exemplary readable storage medium is coupled to a processor, enabling the processor to read information from and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can reside in an Application Specific Integrated Circuit (ASIC). Alternatively, the processor and the readable storage medium can exist as discrete components in the device.

[0153] The division of units is merely a logical functional division; in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, devices, or units, and may be electrical, mechanical, or other forms.

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

[0155] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

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

[0157] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.

[0158] Finally, it should be noted that other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein, and is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of the invention is limited only by the appended claims.

Claims

1. A method for processing drawing files, characterized in that, include: In response to a user-initiated drawing file processing operation, the file stream corresponding to the drawing file processing operation is read; The file stream is parsed to determine the file format corresponding to the file stream; Obtain locally installed drawing tools; Based on the local drawing tool and the file format, determine whether to provide drawing services for the drawing file processing operation through the local drawing tool; If it is determined that drawing services will not be provided for the drawing file processing operation through the local drawing tool, then a cloud drawing engine query request is sent to the cloud server according to the file format. Receive cloud drawing engine transmission information sent by the cloud server; wherein, the cloud drawing engine transmission information is sent by the cloud server in response to the cloud drawing engine query request; Based on the information transmitted by the cloud-based drawing engine, a cloud-based drawing tool is generated. The cloud-based drawing tool provides drawing services for the drawing file processing operations.

2. The method according to claim 1, characterized in that, The step of generating a cloud-based drawing tool based on information transmitted from the cloud-based drawing engine includes: The cloud-based drawing engine transmits information and performs data filtering and standardization to obtain the first cloud-based drawing engine data. A cloud-based drawing tool is generated based on the data from the first cloud-based drawing engine.

3. The method according to claim 2, characterized in that, The step of generating a cloud-based drawing tool based on the data from the first cloud-based drawing engine includes: According to the file format, the first cloud-based drawing engine data is converted to obtain the second cloud-based drawing engine data; A cloud-based drawing tool is generated based on data from the second cloud-based drawing engine.

4. The method according to claim 3, characterized in that, The step of generating a cloud-based drawing tool based on the data from the second cloud-based drawing engine includes: Based on the preset logical hardware layer, configure the hardware base for the second cloud-based drawing engine data; Based on the preset component container layer, deploy the cloud drawing engine locally for the second cloud drawing engine data; A cloud-based drawing tool is generated based on the data from the hardware base, the cloud drawing engine, and the second cloud drawing engine through a preset conversion access layer.

5. The method according to any one of claims 1 to 4, characterized in that, The step of determining whether to provide drawing services for the drawing file processing operation through the local drawing tool based on the local drawing tool and the file format includes: If the local drawing tool matches the file format, then it is determined that the drawing service is provided for the drawing file processing operation through the local drawing tool; If the local drawing tool does not match the file format, then it is determined that the drawing service will not be provided for the drawing file processing operation through the local drawing tool.

6. The method according to any one of claims 1 to 4, characterized in that, After determining whether to provide drawing services for the drawing file processing operation through the local drawing tool based on the local drawing tool and the file format, the method further includes: If it is determined that drawing services will not be provided for the drawing file processing operation through the local drawing tool, then drawing services will be provided for the drawing file processing operation according to the local drawing tool.

7. The method according to claim 6, characterized in that, After providing drawing services for the drawing file processing operation according to the cloud-based drawing tool, the method further includes: A drawing interface is generated based on the file stream and the local drawing tool; or, a drawing interface is generated based on the file stream and the cloud-based drawing tool. The drawing interface is displayed.

8. The method according to claim 7, characterized in that, The method based on the file stream and the cloud-based drawing tool includes: Generate a drawing based on the file stream; The cloud-based drawing tool is used for rendering to generate the display graphic corresponding to the cloud-based drawing tool. The drawing interface is generated based on the drawing graphics and the display graphics.

9. A drawing file processing apparatus, characterized in that, include: The reading module is used to read the file stream corresponding to the drawing file processing operation initiated by the user. The first processing module is used to parse the file stream to determine the file format corresponding to the file stream; The acquisition module is used to acquire locally installed drawing tools. The determining module is used to determine, based on the local drawing tool and the file format, whether to provide drawing services for the drawing file processing operation through the local drawing tool; The second processing module is used to initiate a cloud drawing engine query request to the cloud server according to the file format if it is determined that the drawing service is not provided through the local drawing tool for the drawing file processing operation. A receiving module is used to receive cloud drawing engine transmission information sent by the cloud server; wherein the cloud drawing engine transmission information is sent by the cloud server in response to the cloud drawing engine query request; The generation module is used to generate cloud-based drawing tools based on the information transmitted by the cloud-based drawing engine. The third processing module is used to provide drawing services for the drawing file processing operation based on the cloud drawing tool.

10. An electronic device, characterized in that, include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory to implement the method as described in any one of claims 1 to 8.

11. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any one of claims 1 to 8.

12. A computer program product, characterized in that, Includes a computer program that, when executed by a processor, implements the method of any one of claims 1 to 8.