CN116502272A - Method and device for saving CAD metafile of computer aided design - Google Patents

Method and device for saving CAD metafile of computer aided design Download PDF

Info

Publication number
CN116502272A
CN116502272A CN202310743576.6A CN202310743576A CN116502272A CN 116502272 A CN116502272 A CN 116502272A CN 202310743576 A CN202310743576 A CN 202310743576A CN 116502272 A CN116502272 A CN 116502272A
Authority
CN
China
Prior art keywords
cad
uplink
metafile
nft
interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202310743576.6A
Other languages
Chinese (zh)
Other versions
CN116502272B (en
Inventor
徐海涛
麻吉应
焦时儒
张纪栋
李�杰
涂池
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Explorer Software Co ltd
Original Assignee
Beijing Explorer Software Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Explorer Software Co ltd filed Critical Beijing Explorer Software Co ltd
Priority to CN202310743576.6A priority Critical patent/CN116502272B/en
Publication of CN116502272A publication Critical patent/CN116502272A/en
Application granted granted Critical
Publication of CN116502272B publication Critical patent/CN116502272B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6227Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database where protection concerns the structure of data, e.g. records, types, queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/164File meta data generation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/168Details of user interfaces specifically adapted to file systems, e.g. browsing and visualisation, 2d or 3d GUIs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/172Caching, prefetching or hoarding of files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Hardware Design (AREA)
  • General Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Human Computer Interaction (AREA)
  • Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Technology Law (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a method and a device for storing CAD metafiles in a computer aided design. The method comprises the following steps: displaying a uplink configuration interface in a CAD client, wherein uplink customized parameters to be configured are displayed in the uplink configuration interface; responding to the customization operation executed by the uplink configuration interface, and acquiring uplink customization parameters for completing configuration; displaying a CAD metafile which is currently drawn in an editing operation interface provided by a CAD client; in response to a save operation performed on the CAD metafile, the under-chain storage interface is invoked to save the CAD metafile and to perform a chaining operation on a non-homogenous token NFT smart contract that matches the CAD metafile generated in accordance with the configured chaining customization parameters. Therefore, the technical problem that CAD design results cannot be electronically confirmed in the prior art is solved.

Description

Method and device for saving CAD metafile of computer aided design
Technical Field
The application relates to the field of constructional engineering, in particular to a method and a device for storing CAD metafiles of computer aided design.
Background
Nowadays, more and more people begin to pay attention to the intellectual property protection of their own original works, wherein for the creation of CAD metafiles, the protection modes commonly used at present are technologies of electronic signature identity authentication, electronic seal (i.e. digital signature), biological identification and the like. That is, authentication information unique to the author is embedded in the CAD metafile to realize the identity authentication of the original author, so that other users are prevented from being illegally stolen without permission.
However, in the related art, the CAD metafile is locally processed by adopting a storage manner of the CAD metafile, so that electronic rights of the CAD metafile cannot be realized. In other words, the method for storing and protecting the CAD metafile by using the electronic signature provided by the related art has a technical problem that the CAD design result cannot be electronically validated.
In view of the above problems, no effective solution has been proposed at present.
Disclosure of Invention
The embodiment of the application provides a method and a device for saving CAD metafiles of computer-aided design, which are used for at least solving the technical problem that CAD design results cannot be electronically confirmed in the prior art.
According to an aspect of the embodiments of the present application, a method for storing a CAD metafile of a computer-aided design is provided, including displaying a ul configuration interface in a CAD client, where ul customization parameters to be configured are displayed in the ul configuration interface; responding to the customization operation executed on the uplink configuration interface, and acquiring the uplink customization parameters of which the configuration is completed; displaying a CAD metafile which is currently drawn in an editing operation interface provided by the CAD client; and in response to the save operation performed on the CAD metafile, invoking a link-down storage interface to save the CAD metafile, and performing a linking operation on a heterogeneous token NFT intelligent contract matched with the CAD metafile, which is generated according to the configured linking customization parameters.
Optionally, displaying the uplink configuration interface in the CAD client includes: starting the CAD client, and displaying a menu bar of the CAD client and the editing operation interface; and displaying the uplink configuration interface in the CAD client in response to the operation performed on the uplink configuration control in the menu bar.
Optionally, the obtaining, in response to the customization operation performed in the uplink configuration interface, the uplink customization parameter of the completion configuration includes: and responding to the customization operation executed on the uplink configuration interface, and acquiring uplink basic service information, wherein the uplink customization parameters comprise the uplink basic service information, and the uplink basic service information comprises the following components: the indication parameter is used for indicating whether the NFT intelligent contract is generated or not, and the type identifier and the uplink strategy of the blockchain corresponding to the uplink operation are used for indicating whether the NFT intelligent contract is generated or not; acquiring metadata for generating the NFT intelligent contract in the uplink configuration interface; the uplink customization parameters include the metadata, the metadata including: the author information of the CAD metafile, the attribute description information of the CAD metafile, and the storage link of the CAD metafile, wherein the storage link is used for indicating the storage link in the decentralised distributed file storage system.
Optionally, the performing a chaining operation on the heterogeneous token NFT smart contract that matches the CAD metafile generated according to the configured chaining customization parameters includes: and under the condition that the uplink policy indication is based on C/S architecture mode uplink, saving the NFT intelligent contract locally, and sending an interface calling instruction to a remote blockchain basic service through the CAD client, wherein the interface calling instruction is used for indicating to call a corresponding blockchain service interface to execute uplink operation on the NFT intelligent contract.
Optionally, the performing a chaining operation on the heterogeneous token NFT smart contract that matches the CAD metafile generated according to the configured chaining customization parameters includes: and under the condition that the uplink policy indication is based on the B/S architecture mode uplink, sending a hyperlink request for requesting call to a micro-service component deployed by the cloud native platform through the CAD client, wherein the micro-service component is used for storing the NFT intelligent contract and sending an interface call instruction to a remote blockchain basic service, and the interface call instruction is used for indicating to call a corresponding blockchain service interface to execute the uplink operation on the NFT intelligent contract.
Optionally, the performing a chaining operation on the heterogeneous token NFT smart contract that matches the CAD metafile generated according to the configured chaining customization parameters includes: connecting the CAD client with a blockchain module through a uplink adapter, wherein the blockchain module comprises a blockchain indicated by a blockchain type identifier corresponding to the uplink operation; and transferring the NFT intelligent contract to the blockchain module.
According to another aspect of the embodiments of the present application, there is also provided a device for storing a CAD metafile of a computer-aided design, including: the first display unit is used for displaying a uplink configuration interface in the CAD client, wherein uplink customized parameters to be configured are displayed in the uplink configuration interface; the acquisition unit is used for responding to the customization operation executed on the uplink configuration interface and acquiring the uplink customization parameters of which the configuration is completed; the second display unit is used for displaying the CAD metafile which is currently drawn in an editing operation interface provided by the CAD client; and the processing unit is used for responding to the save operation executed on the CAD metafile, calling the under-chain storage interface to save the CAD metafile and executing the uplink operation on the heterogeneous token NFT intelligent contract which is generated according to the configured uplink customized parameters and matched with the CAD metafile.
Optionally, the first display unit includes: the first display module is used for starting the CAD client and displaying a menu bar of the CAD client and the editing operation interface; and the second display module is used for responding to the operation executed on the uplink configuration control in the menu bar and displaying the uplink configuration interface in the CAD client.
Optionally, the acquiring unit includes: the first obtaining module is configured to obtain uplink basic service information in response to a customization operation performed on the uplink configuration interface, where the uplink customization parameter includes the uplink basic service information, and the uplink basic service information includes: the method comprises the steps of indicating whether to generate indication parameters of the uplink NFT intelligent contract, type identifiers of block chains corresponding to the uplink operation and uplink strategies; the second obtaining module is used for obtaining metadata used for generating the NFT intelligent contract in the uplink configuration interface; the uplink customization parameters include the NFT smart contract configuration parameters, which include: the author information of the CAD metafile, the attribute description information of the CAD metafile, and the CAD metafile, wherein the storage link is used for indicating the storage link in the decentralised distributed file storage system.
Optionally, the processing unit includes: and the first processing module is used for saving the NFT intelligent contract to the local and sending an interface calling instruction to a remote blockchain basic service through the CAD client when the uplink policy instruction is based on the C/S architecture mode uplink, wherein the interface calling instruction is used for instructing to call a corresponding blockchain service interface to execute the uplink operation on the NFT intelligent contract.
Optionally, the processing unit further includes: and the second processing module is used for sending a hyperlink request for requesting call to a micro-service component deployed by the cloud native platform through the CAD client when the uplink policy indication is based on the B/S architecture mode uplink, wherein the micro-service component is used for storing the NFT intelligent contract and sending an interface call instruction to a remote blockchain basic service, and the interface call instruction is used for indicating to call a corresponding blockchain service interface to execute uplink operation on the NFT intelligent contract.
Optionally, the processing unit further includes: the connecting module is used for connecting the CAD client and the blockchain module through a uplink adapter, wherein the blockchain module comprises a blockchain indicated by a blockchain type identifier corresponding to the uplink operation; and transmitting the NFT intelligent contract to the blockchain module.
According to still another aspect of the embodiments of the present application, there is further provided an electronic device including a memory and a processor, where the memory stores a computer program, and the processor is configured to execute the method for storing the CAD metafile of the computer-aided design by the computer program.
In the embodiment of the application, a uplink configuration interface is displayed in a CAD client, wherein uplink customized parameters to be configured are displayed in the uplink configuration interface. And then, responding to the customization operation executed on the uplink configuration interface to acquire the uplink customization parameters of the completed configuration. And displaying the CAD metafile currently drawn in an editing operation interface provided by the CAD client. And finally, in response to the save operation executed on the CAD metafile, calling a link-down storage interface to save the CAD metafile, and executing the uplink operation on the NFT intelligent contract which is generated according to the configured uplink customized parameters and is matched with the CAD metafile. The method achieves the aim of electronically confirming the rights of the CAD metafile and achieves the technical effect of improving the copyright attribution and the unique mark of the CAD metafile. Therefore, the technical problem that CAD design results cannot be electronically confirmed in the prior art is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute an undue limitation to the application. In the drawings:
FIG. 1 is a schematic system architecture diagram of an alternative method for preserving CAD metadata of a computer-aided design according to embodiments of the present application;
FIG. 2 is a flow chart of an alternative method of preserving CAD metadata for computer-aided design according to embodiments of the present application;
FIG. 3 is a flow chart of another alternative method of preserving a CAD metafile of a computer-aided design according to an embodiment of the present application;
FIG. 4 is a flowchart of yet another alternative method of preserving a CAD metafile of a computer-aided design according to an embodiment of the present application;
FIG. 5 is a schematic illustration of yet another alternative method of preserving a CAD metafile of a computer-aided design according to embodiments of the present application;
FIG. 6 is a schematic diagram of yet another alternative method of preserving a CAD metafile of a computer-aided design according to an embodiment of the present application;
FIG. 7 is a schematic diagram of an alternative computer aided design CAD metafile storage device according to an embodiment of the present application;
Fig. 8 is a schematic structural diagram of an alternative electronic device according to an embodiment of the present application.
Detailed Description
In order to make the present application solution better understood by those skilled in the art, the following description will be made in detail and with reference to the accompanying drawings in the embodiments of the present application, it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, shall fall within the scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that embodiments of the present application described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to an aspect of the embodiments of the present application, a method for saving a CAD metafile of a computer-aided design is provided, optionally, as an optional implementation manner, the method for saving a CAD metafile of a computer-aided design may be applied, but not limited to, in an environment as shown in fig. 1. As shown in fig. 1, the terminal device 102 includes a memory 104 for storing various data generated during operation of the terminal device 102, a processor 106 for processing and operating the various data, and a display 108 for displaying the ul configuration interface. Terminal device 102 may interact with server 112 via network 110. The server 112 is connected to a database 114, and the database 114 is used for storing various data. The terminal device 102 may run a CAD client.
Further, the specific application process of the method in the environment shown in fig. 1 is as follows: step S102-S104 is executed, the terminal device 102 displays a uplink configuration interface in the CAD client, and further obtains uplink customized parameters for completing configuration in response to the customization operation executed by the uplink configuration interface, wherein the uplink customized parameters to be configured are displayed in the uplink configuration interface. Then, step S106 is performed, and the terminal device 102 displays the CAD metafile currently drawn in the editing operation interface provided by the CAD client. Next, in response to the save operation performed on the CAD metafile, terminal device 102 performs step S110 (i.e., sending the NFT smart contract matching the CAD metafile generated according to the configured uplink customization parameters to server 112 via network 110) to cause the NFT smart contract to be uplink to a corresponding blockchain in server 112, while performing step S108 (i.e., calling the downlink storage interface to save the CAD metafile). Further, in the case that the server 112 has received the NFT smart contract, step S112 is performed, and the server 112 returns a hint information indicating that the NFT smart contract has been uplink to the terminal device 102 through the network 110.
Alternatively, in the present embodiment, the above-mentioned terminal device may be a terminal device configured with a target client, and may include, but is not limited to, at least one of the following: a mobile phone (e.g., an Android mobile phone, iOS mobile phone, etc.), a notebook computer, a tablet computer, a palm computer, a MID (Mobile Internet Devices, mobile internet device), a PAD, a desktop computer, a smart television, etc. The target client may be a video client, an instant messaging client, a browser client, an educational client, and the like. The network may include, but is not limited to: a wired network, a wireless network, wherein the wired network comprises: local area networks, metropolitan area networks, and wide area networks, the wireless network comprising: bluetooth, WIFI, and other networks that enable wireless communications. The server may be a single server, a server cluster composed of a plurality of servers, or a cloud server. The above is merely an example, and is not limited in any way in the present embodiment.
Optionally, as an alternative, as shown in fig. 2, the method for storing the CAD metafile of the computer-aided design includes:
s202, displaying a uplink configuration interface in a CAD client, wherein uplink customized parameters to be configured are displayed in the uplink configuration interface;
The terms involved in this embodiment are explained in detail as follows:
1) A Non-homogeneous Token (NFT) is a trusted digital rights voucher with unique features in a blockchain network, and is a data object capable of recording and processing multidimensional and complex attributes on a blockchain for giving uniqueness to a virtual object.
2) The block chain is a chain type data structure which is formed by combining data blocks in a sequential connection mode according to a time sequence, and is a distributed account book which is not tamperable and not falsified and is ensured in a cryptographic mode, and is used for solving the trust and security problems of transactions.
3) The Non-homogenous token standard (i.e., non-Fungible Token Standard) mainly includes the standards of ERC-721, ERC1155, etc. of Ethernet.
4) The interplanetary file system (Inter Planetary File System, abbreviated IPFS) is a network transport protocol that aims to create persistent and distributed storage and sharing files. Nodes in the IPFS network will constitute a distributed file system.
5) The cryptocurrency and digital payment system (Filecoin) is an open-source public-oriented cryptocurrency and digital payment system. It is intended to create a data storage and retrieval method based on a blockchain system. It was created by the protocol laboratory on the basis of the interplanetary file system (IPFS).
Further, in this embodiment, the method for saving the CAD metafile of the computer-aided design may be applied to, but not limited to, a scenario where the CAD platform saves the drawing. In addition, the method for saving the CAD metafile of the computer-aided design can be applied to the scene of saving the designed product by other design drawing software, wherein the design drawing software can be, but is not limited to, software for indicating to provide a design drawing environment for an engineer, such as a photo store (i.e., photoshop), vector drawing software (i.e., visio), an intelligent big data platform (i.e., fineBI), a game service platform (i.e., origin), and the like.
It should be noted that, the CAD client may be, but not limited to, a CAD client obtained after secondary development. Specifically, functionality is provided herein in a CAD client to cast NFT for CAD metafiles.
Assuming that the above method for saving a CAD metafile of a computer-aided design is applied to a scenario where a CAD platform saves a drawing, the uplink customization parameters may include, but are not limited to: metadata for generating NFT smart contracts that match CAD metafiles, and uplink base service information for uploading NFT smart contracts onto blockchains, etc. Taking the example that the method for saving the CAD metafile of the computer-aided design is applied to the scene of saving the drawing by the CAD platform, the CAD metafile can be but not limited to indicating the drawing designed in the CAD platform. The NFT intelligence contracts that match CAD metafiles described above may be, but are not limited to, NFT intelligence contracts that indicate the corresponding CAD metafiles to be uploaded to the blockchain.
Alternatively, as an optional implementation manner, the above-mentioned method for saving a CAD metafile of a computer-aided design is applied to a scenario where a CAD platform saves a drawing. The ul configuration interface herein may be, but is not limited to, a configuration page for indicating configuration of ul customization parameters.
S204, responding to the customization operation executed by the uplink configuration interface, and acquiring uplink customization parameters of the configuration;
as an optional implementation manner, the above method for saving the CAD metafile of the computer-aided design is still used for example in a scenario where the CAD platform saves the drawing. The customization operation may be, but not limited to, a selection operation for completing a uplink customization parameter to be selected (e.g., clicking a parameter control corresponding to a certain uplink customization parameter) displayed in the uplink configuration interface, an input operation for inputting a uplink customization parameter to be input (e.g., inputting the uplink customization parameter in an input box corresponding to a certain uplink customization parameter) displayed in the uplink configuration interface, and so on.
S206, displaying the CAD metafile currently drawn in an editing operation interface provided by the CAD client;
further, it is assumed that the above method for saving a CAD metafile for computer-aided design is applied to a scenario where a CAD platform saves a drawing. The editing operations interface herein may be, but is not limited to, a design interface for indicating in a CAD client, a design for designing a CAD metafile. Specifically, the engineer may design a CAD metafile based on the design interface.
S208, in response to the save operation performed on the CAD metafile, the under-chain storage interface is called to save the CAD metafile, and the uplink operation is performed on the heterogeneous token NFT intelligent contract matched with the CAD metafile and generated according to the configured uplink customized parameters.
Assuming that the above-mentioned method for saving a CAD metafile in a computer-aided design is applied to a scenario where a CAD platform saves a drawing, the saving operation herein may be, but is not limited to, a selection operation (such as clicking a save button) performed on a corresponding save control in an editing operation interface for the CAD metafile when a part of the content of the CAD metafile is completed or when all the content of the CAD metafile is completed.
Taking the example that the method for saving the CAD metafile of the computer-aided design is applied to a scene of saving a drawing by a CAD platform, the storage interface can be but not limited to a calling interface for indicating the secondary development of the Filecoin in the CAD client, and the CAD metafile can be saved in a corresponding position of the Filecoin.
Still taking the example that the above-mentioned method for saving a CAD metafile of a computer-aided design is applied to a scenario where a CAD platform saves a drawing, the uplink operation herein may be, but is not limited to, an operation for indicating uploading an NFT smart contract that matches a CAD metafile to a blockchain.
It should be noted that, the above-mentioned process of calling the store-under-chain interface to save the CAD metafile and executing the uplink operation on the NFT smart contract that is matched with the CAD metafile and is generated according to the configured uplink customization parameters may be, but not limited to, a process for instructing to cast the NFT for the CAD metafile. After the process is finished, the electronic right of the CAD metafile can be realized.
It should be further noted that, the generation opportunity of the NFT smart contract may include, but is not limited to: the method comprises the steps of generating immediately after the uplink custom parameters of the completion configuration are acquired and saved, generating at any time between the execution of the uplink custom parameters of the completion configuration and the save operation, and the execution of the line save operation on the CAD metafile. In the present embodiment, this is not limited in any way.
Alternatively, the process of generating NFT smart contracts that match CAD metafiles may include, but is not limited to: and generating the NFT intelligent contract matched with the CAD metafile based on the related information of the author corresponding to the CAD metafile, the attribute information of the CAD metafile, the storage address of the CAD metafile and the like. Taking the example that the method for saving the CAD metafile of the computer-aided design is applied to the scene of saving the drawing by the CAD platform, the applicant shall explain the method integrally by the following steps:
And displaying the uplink configuration interface in the CAD client under the condition that the selection operation of the uplink configuration interface in the CAD client is received, wherein the CAD client is a client which is subjected to secondary development and has the NFT casting function. Then, in the case where the selection operation performed on the uplink customized parameters to be configured displayed in the uplink configuration interface is received, and the input operation is completed, the uplink customized parameters that have been selected and input are acquired in response to the above operations. And then, displaying the CAD metafile currently drawn in a drawing interface provided by the CAD client. Further, under the condition that a selection operation executed on a storage control corresponding to the CAD metafile is received, calling a Filecoin interface to store the CAD metafile in a corresponding position of the Filecoin, and issuing a customized intelligent contract to be uploaded to a blockchain corresponding to the CAD metafile to the corresponding blockchain so as to realize NFT casting of the CAD metafile.
In the embodiment of the application, the CAD client after secondary development is adopted to display the uplink configuration interface. And further, responding to the customization operation executed by the uplink configuration interface, and acquiring the uplink customization parameters for completing configuration. And then displaying the currently drawn CAD metafile in an editing operation interface provided by the CAD client. Next, in response to a save operation performed on the CAD metafile, the store-under-chain interface is invoked to save the CAD metafile and a wind operation is performed on the NFT smart contract that matches the CAD metafile generated according to the configured wind customization parameters. In other words, in the embodiment of the application, by storing the CAD metafile locally in the CAD client and uploading the NFT smart contract corresponding to the CAD metafile to the blockchain, the purpose of casting the NFT for the CAD metafile is achieved, and the technical effects of quickly electronically determining the rights for the CAD metafile and improving the security of storing the CAD metafile are achieved. The technical problem that in the prior art, CAD metafiles cannot be electronically confirmed by a method for storing and protecting the CAD metafiles by utilizing electronic signature is solved.
Optionally, displaying the uplink configuration interface in the computer aided design CAD client comprises:
s1, starting a CAD client, and displaying a menu bar and an editing operation interface of the CAD client;
and S2, in response to the operation executed on the uplink configuration control in the menu bar, displaying a uplink configuration interface in the CAD client.
Taking the example that the method for saving the CAD metafile of the computer aided design is applied to the scene of saving the drawing by the CAD platform, the operation performed on the uplink configuration control in the menu bar can be used for indicating the clicking operation performed on the uplink configuration control, wherein the uplink configuration control can be used for triggering the display of the uplink configuration interface, and the method is not limited to the newly added control after the secondary development of the CAD client.
As an optional implementation manner, it is assumed that the above-mentioned method for saving a CAD metafile of a computer-aided design is applied to a scenario where a CAD platform saves a drawing. The applicant will explain the above method in its entirety in the following steps:
starting the CAD client, and displaying a menu bar and an editing operation interface of the CAD client, wherein the menu bar of the CAD client comprises a uplink configuration control. Further, in the event that a click operation is received on a ul configuration control in the menu bar, a ul configuration interface is displayed in the CAD client.
In the embodiment of the application, the CAD client is started, and a menu bar and an editing operation interface of the CAD client are displayed. And further, in response to the operation performed on the uplink configuration control in the menu bar, the uplink configuration interface can be quickly opened by the user in a manner of displaying the uplink configuration interface in the CAD client. And further, the technical effects of improving the storage efficiency of the CAD metafile and improving the experience of the user are achieved.
Optionally, as an alternative, in response to the customization operation performed by the uplink configuration interface, obtaining the uplink customization parameter of the completion configuration includes:
s1, responding to the customization operation executed by the uplink configuration interface, obtaining uplink basic service information, wherein the uplink customization parameter comprises the uplink basic service information, and the uplink basic service information comprises the following components: the type identifier of the blockchain is used for generating a uplink strategy of the NFT intelligent contract and corresponding to the uplink operation;
as an optional implementation manner, it is assumed that the above-mentioned method for saving a CAD metafile of a computer-aided design is applied to a scenario where a CAD platform saves a drawing. The uplink basic service information herein may be, but is not limited to, used to assist NFT smart contracts in uploading to the blockchain.
In particular, the indication parameters included in the uplink basic service information may be, but are not limited to, used to indicate whether NFT smart contracts corresponding thereto are to be generated for CAD metafiles. The type of blockchain included in the uplink basic service information may be, but is not limited to, a type identification corresponding to a blockchain (e.g., public blockchain, private blockchain, federation (industry) blockchain, etc.) that indicates that the NFT smart contract needs to be uploaded.
The uplink policy included in the uplink basic service information may be, but is not limited to, a policy for instructing the NFT smart contract to upload to the blockchain, including: the NFT smart contracts are uploaded to the personalization set of the blockchain, and the NFT smart contracts are uploaded to an architecture (such as a Client/Server architecture (Client/Server architecture, abbreviated as C/S architecture) or a Browser/Server architecture (Browser/Server architecture, abbreviated as B/S architecture)) adopted by the blockchain.
Further, the personalization settings of the NFT smart contract upload to the blockchain herein may be, but are not limited to, a device for indicating the timing of the NFT smart contract upload to the blockchain, including: semi-finished product winding, time dimension winding, and so forth.
For example, assuming that the engineer selects the semi-finished product to be booted, the engineer may preset the NFT smart contract corresponding to the partial content of the CAD metafile to be uploaded to the blockchain when the drawing of the partial content (e.g., a certain scale such as 50%, 80%) of the CAD metafile is completed. Then, in the event that the engineer completes the portion of the CAD metafile, the CAD client will automatically upload the NFT smart contract corresponding to the portion of the content of the CAD metafile onto the blockchain. Therefore, partial content of the CAD metafile can be automatically and timely protected, storage efficiency of the CAD metafile is further improved, safety of storage of the CAD metafile is improved, and experience of a user is improved.
Further, assuming that the engineer selects the finished product to be uploaded, the engineer may preset to upload the NFT smart contract corresponding to the CAD metafile onto the blockchain when all the drawing of the CAD metafile is completed. Then, in the event that the engineer completes the drawing of the CAD metafile, the CAD client automatically uploads the NFT smart contract corresponding to the CAD metafile to the blockchain. And further, the high-efficiency and automatic protection of the CAD metafile finished product is realized, the security of CAD metafile storage is improved, and the experience of a user is improved.
Still further, assuming the engineer selects the time dimension uplink, the engineer may then preset the NFT smart contract corresponding to the CAD metafile to the blockchain at a preset time (e.g., 9:00 am every day, 6:00 pm every week, etc.). And under the condition that the current time reaches the preset time, the CAD client automatically links the NFT intelligent contract corresponding to the CAD metafile. In addition, assuming that the engineer selects the time dimension uplink policy, the engineer may also preset the NFT smart contract corresponding to the CAD metafile to the blockchain within a specified preset period (e.g., every 1 hour). In other words, when the preset period is reached, the CAD client will automatically link up the NFT smart contract corresponding to the CAD metafile. And further, the high-efficiency and automatic protection of the CAD metafile finished product is realized, the security of CAD metafile storage is improved, and the experience of a user is improved.
It should be noted that, the NFT smart contract uplink operation and the CAD metafile save operation are performed simultaneously. In other words, the timing of the NFT smart contract is the timing of casting the NFT by the CAD metafile, and when the CAD client automatically links the NFT smart contract corresponding to the CAD metafile, the CAD client also performs a local operation for storing the CAD metafile. That is, the NFT intelligence contracts the strategies of semi-finished product up-chain, time dimension up-chain, etc., that is, the casting of semi-finished products, the casting of finished products, the casting strategy in the time dimension, which correspond to CAD metafiles NFT.
Further, the uplink basic service information herein may also include, but is not limited to: blockchain wallet information, including: wallet address, wallet identification code and public and private keys, etc., and in particular, but not limited to, the use of ERC-20 token standards to transfer transactions between ethernet wallets (i.e., ethernet) and other ethernet addresses. Further, the wallet address and the wallet identification code may be, but are not limited to, the address and the identification code of the blockchain wallet corresponding to the NFT smart contract after being uploaded to the blockchain, and the public key and the private key may be, but are not limited to, the address and the identification code of the blockchain wallet corresponding to the NFT smart contract after being uploaded to the blockchain.
S2, acquiring metadata for generating the NFT intelligent contract in a uplink configuration interface;
taking the example that the above-mentioned method for saving the CAD metafile of the computer-aided design is applied to the scene of saving the drawing by the CAD platform, the NFT smart contract herein may be, but not limited to, an NFT smart contract for indicating the CAD metafile, for verifying ownership and processing transferability of the CAD metafile, rules for agreeing on transactions, logic for processing payment services, etc. Further, it should be noted that the NFT smart contract is a section of code, where the code includes metadata corresponding to the CAD metafile (e.g., author information of the CAD metafile, attribute description information of the CAD metafile, storage link of the CAD metafile, etc.).
It should be noted that after obtaining the metadata for generating the NFT smart contract, the method further includes: and displaying NFT intelligent contract codes of the NFT intelligent contracts automatically generated by the secondarily developed CAD platform based on the metadata in a uplink configuration interface, wherein the codes comprise metadata (such as author information of the CAD metafile, attribute description information of the CAD metafile, storage links of the CAD metafile and the like) corresponding to the CAD metafile.
And S3, responding to the confirmation operation executed on the configured uplink customized parameters, and storing the uplink customized parameters.
Optionally, in this embodiment, before the confirmation operation performed in response to the uplink customization parameter completing the configuration, it may include, but is not limited to: upon completion of configuration of the uplink customization parameters, all of the uplink customization parameters that have been configured are displayed in the uplink configuration interface so that the engineer checks whether the uplink customization parameters are wrong.
In the embodiment of the present application, in response to a customization operation performed by a uplink configuration interface, uplink basic service information is obtained, where the uplink customization parameter includes uplink basic service information, and the uplink basic service information includes: the method comprises the steps of indicating whether to generate an indication parameter of an NFT intelligent contract, a type identifier of a blockchain corresponding to a uplink operation and a uplink strategy; metadata for NFT generation of NFT smart contracts in a uplink configuration interface; the uplink customization parameters include metadata including: the method comprises the steps of author information of a CAD metafile, attribute description information of the CAD metafile and storage links of the CAD metafile, wherein the storage links are used for indicating the storage links in a decentralised distributed file storage system. The method and the device achieve the aim of rapidly acquiring the uplink basic service information and the metadata corresponding to the CAD metafile, and further achieve the technical effects of improving the storage efficiency of the CAD metafile in the computer aided design and improving the user experience.
Optionally, as an alternative, performing the uplink operation on the NFT smart contract that matches the CAD metafile generated according to the configured uplink customization parameters includes:
and under the condition that the uplink policy indication is based on the C/S architecture mode uplink, storing the NFT intelligent contract locally, and sending an interface calling instruction to a remote blockchain basic service through the CAD client, wherein the interface calling instruction is used for indicating to call a corresponding blockchain service interface to execute the uplink operation on the NFT intelligent contract.
In this embodiment, the function points are integrated into CAD software to implement the uplink policy of the C/S architecture mode.
Optionally, the storing the NFT smart contract locally and sending the interface call instruction to the remote blockchain base service through the CAD client may include, but is not limited to: when NFT casting of CAD metafiles is initiated, each set data and related data are saved to a local database or local configuration file, and then an instruction is issued to a remote blockchain basic service to call a corresponding blockchain service application programming interface (Application Programming Interface, abbreviated as API) to complete the entire casting process.
In the embodiment of the application, the NFT casting of the CAD metafile is performed by adopting the mode of linking the C/S architecture mode, so that the technical effects of improving the storage efficiency of the CAD metafile in the computer aided design and improving the experience of a user are realized.
Optionally, as an alternative, performing the uplink operation on the NFT smart contract that matches the CAD metafile generated according to the configured uplink customization parameters includes: and under the condition that the uplink policy indication is based on the B/S architecture mode uplink, sending a hyperlink request for requesting call through a CAD client micro-service component, wherein the micro-service component is used for storing the NFT intelligent contract and sending an interface call instruction to a remote blockchain basic service, and the interface call instruction is used for indicating to call a corresponding blockchain service interface to execute the uplink operation on the NFT intelligent contract.
Alternatively, where a B/S architecture mode is employed for the uplink, the NFT plug-in of the CAD requires basic data collection and instruction receiving tasks (e.g., providing API services for blockchain base Service encapsulation), and in turn requests pre-developed NFT micro-Service components (which are deployed on a Software-as-a-Service platform that is native to the kubernetes-based cloud) via a hypertext transfer protocol (Hyper Text Transfer Protocol, abbreviated as HTTP), causing the NFT micro-Service components to store data and initiate operation of the remote blockchain base Service.
It should be noted that the difference between the design of the C/S architecture and the design of the B/S architecture is that most operations on the blockchain are concentrated on the CAD side or the microservice component side, where both schemes require local preservation of the NFT smart contracts.
In the embodiment of the application, the NFT casting of the CAD metafile is performed by adopting the mode of the B/S architecture mode uplink, so that the technical effects of improving the storage efficiency of the CAD metafile in the computer aided design and improving the user experience are realized.
Optionally, as an alternative, performing the uplink operation on the NFT smart contract that matches the CAD metafile generated according to the configured uplink customization parameters includes:
connecting the CAD client with the blockchain module through a uplink adapter, wherein the blockchain module comprises a blockchain indicated by a blockchain type identifier corresponding to the uplink operation;
the NFT smart contract is passed on to the blockchain module.
Alternatively, in the present embodiment, the uplink adapter herein may be, but is not limited to, an adapter added after the CAD has been developed secondarily. Further, the uplink adapter may be used to connect all the different types of blockchain interfaces, then perform unified operations on the different types of blockchain interfaces, and provide an interface for the CAD client to interact with all the types of blockchains.
In particular, the uplink adapter may be adapted with, but is not limited to, various blockchain technologies, where various blockchain technologies or services may quickly access the uplink adapter. The uplink adapter can be used for accessing various types of blockchain infrastructures by highly abstracting a universal interface through a door surface mode in the software field. Wherein the up-link adapter may, but is not limited to, connect different functional or incompatible modules so that they may work cooperatively, and modifications to the connected modules may be made to do nothing to each other by modifying this adapter module. Specifically, a design implementation of the add-on uplink adapter in a CAD client is shown in fig. 3.
Specifically, the CAD client is connected to a ul adapter (i.e., an adapter class of CAD as shown in fig. 3), which is connected to a different technology implementation or different type of blockchain (i.e., a male chain item 1, a male chain item 2, a federation chain item 1 as shown in fig. 3).
In this embodiment, by accessing the uplink adapter in the CAD client, the engineer may choose to upload the NFT smart contract for the CAD metafile into any type of blockchain, regardless of whether the interface is adapted. And further, the technical effects of improving the storage efficiency of the CAD metafile, protecting the right of the CAD metafile and improving the experience of the user are achieved.
Alternatively, as an alternative embodiment, the method for storing the CAD metafile of the computer-aided design is explained in its entirety by the following steps as shown in fig. 4:
the preparation phase of the CAD metafile NFT casting is entered and steps S402-S408 are performed, the CAD client being started in response to a start-up operation on the CAD client. And in response to the triggering operation of the uplink configuration interface, displaying the uplink configuration interface in the CAD client. Further, when it is confirmed that the uplink customization parameters displayed in the uplink configuration interface are configured, the uplink customization parameters are stored. In response to a triggering operation on the NFT smart contract interface, NFT smart contract code included in the NFT smart contract is displayed.
Next, the authoring stage of the CAD metafile is entered, and step S410 is performed to render the CAD metafile.
Further, the casting stage of the CAD metafile NFT is entered, and step S412 is performed to save the CAD metafile and upload the NFT smart contract of the CAD metafile to the corresponding type of blockchain.
In this embodiment, by adopting a manner of casting the NFT for the CAD metafile in the CAD client, the purpose of electronically determining rights for the CAD metafile is achieved, and further, the technical effect of improving the security of storing the CAD metafile is achieved.
Taking the example that the preservation method of the CAD metafile is applied to a preservation scene of a drawing by a CAD platform, the preparation flow of the casting CAD drawing NFT is described as follows: in the case that the trigger ul configuration interface is obtained, as shown in fig. 5 (a), a ul configuration interface is displayed in the CAD client, where the ul configuration interface includes various ul customization parameters that need to be filled for the CAD drawing casting NFT, and specifically, the parameters include: parameters related to blockchain, parameters related to CAD drawings, and uplink policy parameters.
Still as shown in fig. 5 (a), when the confirmation button is clicked, the procedure jumps to the uplink configuration information confirmation interface shown in fig. 5 (b). Specifically, the uplink configuration information confirmation interface displays the filled uplink customized parameters and the uplink customized parameters automatically confirmed based on the system. Wherein the filled uplink customization parameters include: parameters related to blockchain, parameters related to CAD drawings, and uplink policy parameters. The uplink customization parameters based on the automatic confirmation of the system comprise: parameters related to an author of the CAD drawing, the authority attribute of the CAD drawing and the storage address of the CAD drawing.
Still as shown in fig. 5 (b), in the case that the confirm button displayed in the NFT smart contract configuration interface is clicked is received, the NFT smart contract interface as shown in fig. 5 (c) is displayed, in which NFT smart contract codes generated based on the uplink customization parameters are displayed. As shown in fig. 5 (c), when the save button displayed in the NFT smart contract interface is clicked, the parameter configuration of the CAD drawing NFT is completed (i.e., the preparation stage of the CAD metafile NFT casting is completed).
Further, as an alternative implementation manner, in this embodiment, the back stage of the foregoing solution includes, as shown in fig. 6: PC side 602, autoCAD client 604, uplink adapter layer 606, data layer 608, network layer 610, blockchain infrastructure 612, logging module 614, rights control module 616. Wherein, NFT adaptation layer 604-1 is also embedded in AutoCAD client 604. It should be noted that the NFT adaptation layer may be, but not limited to, embedded in a CAD client, or may be embedded in a micro-service component, which is not limited in this embodiment. Specifically, the NFT adaptation layer can realize functions of high cohesion, low coupling and the like, so that the change of the bottom technology of the blockchain has no influence on the CAD platform after secondary development. Further, the PC 602 is connected to an AutoCAD client 604, and is configured to run the AutoCAD client 604. The AutoCAD client 604 is implemented based on a variety of code types, and the NFT adaptation layer 604-1 in the AutoCAD client 604 is used to perform the preparation of casting NFT. The up-link adapter layer 606 is connected to the AutoCAD client 604 for unifying the different types of blockchain interfaces. The data layer 608 is coupled to the up-link adapter layer 606 for performing transactions, data read and write operations, and the like. The network layer 610 is connected to the data layer 608, and is configured to implement Ajax interaction (such as Post request and Get request). A blockchain infrastructure 612 is coupled to the network layer 610 for providing different types of blockchains. The logging module 614 is configured to log data generated by the AutoCAD client 604, the ul adapter layer 606, the data layer 608, and the network layer 610. The rights control module 616 is used to provide the required rights control operations for the AutoCAD client 604, the ul adapter layer 606, the data layer 608, and the network layer 610.
It should be noted that, for simplicity of description, the foregoing method embodiments are all expressed as a series of action combinations, but it should be understood by those skilled in the art that the present application is not limited by the order of actions described, as some steps may be performed in other order or simultaneously in accordance with the present application. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily required in the present application.
According to another aspect of the embodiments of the present application, there is also provided an apparatus for implementing the method for storing a CAD metafile of the above-mentioned computer-aided design. As shown in fig. 7, the apparatus includes:
a first display unit 702, configured to display a ul configuration interface in a CAD client, where ul customization parameters to be configured are displayed in the ul configuration interface;
an obtaining unit 704, configured to obtain uplink customization parameters of the configuration completion in response to the customization operation performed by the uplink configuration interface;
a second display unit 706, configured to display a CAD metafile currently drawn in an editing operation interface provided by the CAD client;
The processing unit 708 is configured to, in response to a save operation performed on the CAD metafile, invoke the in-chain storage interface to save the CAD metafile, and perform a chaining operation on a heterogeneous token NFT smart contract that matches the CAD metafile generated according to the configured chaining customization parameters.
Optionally, the first display unit includes: the first display module is used for starting the CAD client and displaying a menu bar and an editing operation interface of the CAD client; and the second display module is used for responding to the operation executed on the uplink configuration control in the menu bar and displaying the uplink configuration interface in the CAD client.
Optionally, the acquiring unit includes: the first obtaining module is configured to obtain uplink basic service information in response to a customization operation performed by the uplink configuration interface, where the uplink customization parameter includes uplink basic service information, and the uplink basic service information includes: the method comprises the steps of indicating whether to generate an indication parameter of a uplink NFT intelligent contract, a type identifier of a blockchain corresponding to a uplink operation and a uplink strategy; the second acquisition module is used for acquiring metadata for generating the NFT intelligent contract in the uplink configuration interface; the uplink customization parameters include NFT smart contract configuration parameters including: author information of the CAD metafile, attribute description information of the CAD metafile, and the storage link of the CAD metafile, wherein the storage link is used for indicating the storage link in the decentralised distributed file storage system.
Optionally, the processing unit includes: and the first processing module is used for saving the NFT intelligent contract locally and sending an interface calling instruction to the remote blockchain basic service through the CAD client side under the condition that the uplink strategy indication is based on the C/S architecture mode uplink, wherein the interface calling instruction is used for indicating to call the corresponding blockchain service interface to execute the uplink operation on the NFT intelligent contract.
Optionally, the processing unit further includes: and the second processing module is used for sending a hyperlink request for requesting call to a micro-service component deployed by the cloud native platform through the CAD client when the uplink policy indication is based on the B/S architecture mode uplink, wherein the micro-service component is used for storing the NFT intelligent contract and sending an interface call instruction to the remote blockchain basic service, and the interface call instruction is used for indicating to call the corresponding blockchain service interface to execute the uplink operation on the NFT intelligent contract.
Optionally, the processing unit further includes: the connecting module is used for connecting the CAD client and the blockchain module through the uplink adapter, wherein the blockchain module comprises a blockchain indicated by a blockchain type identifier corresponding to the uplink operation; and transferring the NFT intelligent contract to the block chain module. Alternatively, in this embodiment, the embodiments to be implemented by each unit module may refer to the embodiments of each method described above, which are not described herein again.
According to still another aspect of the embodiments of the present application, there is further provided an electronic device for implementing the method for storing a CAD metafile of a computer-aided design, where the electronic device may be a terminal device as shown in fig. 1. The present embodiment is described taking the electronic device as a terminal device as an example. As shown in fig. 8, the electronic device comprises a memory 802 and a processor 804, the memory 802 having stored therein a computer program, the processor 804 being arranged to perform the steps of any of the method embodiments described above by means of the computer program.
Alternatively, in this embodiment, the electronic device may be located in at least one network device of a plurality of network devices of the computer network.
Alternatively, in the present embodiment, the above-described processor may be configured to execute the following steps by a computer program:
s1, displaying a uplink configuration interface in a CAD client, wherein uplink customized parameters to be configured are displayed in the uplink configuration interface;
s2, responding to the customization operation executed by the uplink configuration interface, and acquiring uplink customization parameters of the configuration;
s3, displaying the CAD metafile which is currently drawn in an editing operation interface provided by the CAD client;
S4, in response to the save operation performed on the CAD metafile, invoking the under-chain storage interface to save the CAD metafile, and performing the uplink operation on the heterogeneous token NFT intelligent contract matched with the CAD metafile and generated according to the configured uplink customization parameters.
Alternatively, it will be appreciated by those of ordinary skill in the art that the configuration shown in FIG. 8 is merely illustrative, and that the electronic device may be a smart phone (e.g., an Android phone, an iOS phone, etc., a tablet, a palm top computer, and a mobile Internet device (Mobile Internet Devices, MID), PAD, etc.), the configuration of the electronic device is not limited to that shown in FIG. 8.
The memory 802 may be used to store software programs and modules, such as program instructions/modules corresponding to the method and apparatus for storing a CAD metafile of a computer-aided design in the embodiment of the present application, and the processor 804 executes the software programs and modules stored in the memory 802, thereby executing various functional applications and data processing, that is, implementing the method for storing a CAD metafile of a computer-aided design. Memory 802 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, memory 802 may further include memory remotely located relative to processor 804, which may be connected to the terminal via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof. The memory 802 may be used to store, but is not limited to, information such as uplink customization parameters. As an example, as shown in fig. 8, the memory 802 may include, but is not limited to, a first display unit 702, a first response unit 704, a second display unit 706, and a second response unit 708 in a storage device including the CAD metafile. In addition, other module units in the storage device of the CAD metafile may be included, but not limited to, and are not described in detail in this example.
Optionally, the transmission device 806 is used to receive or transmit data via a network. Specific examples of the network described above may include wired networks and wireless networks. In one example, the transmission means 806 includes a network adapter (Network Interface Controller, NIC) that can connect to other network devices and routers via a network cable to communicate with the internet or a local area network. In one example, the transmission device 806 is a Radio Frequency (RF) module for communicating wirelessly with the internet.
In addition, the electronic device further includes: a connection bus 808 for connecting the respective module components in the above-described electronic apparatus.
In other embodiments, the terminal device or the server may be a node in a distributed system, where the distributed system may be a blockchain system, and the blockchain system may be a distributed system formed by connecting the plurality of nodes through a network communication. Among them, the nodes may form a Peer-To-Peer (P2P) network, and any type of computing device, such as a server, a terminal, etc., may become a node in the blockchain system by joining the Peer-To-Peer network.
According to one aspect of the present application, there is provided a computer-readable storage medium, from which a processor of a computer device reads the computer instructions, the processor executing the computer instructions, so that the computer device performs the above-described method for saving a CAD metafile of a computer-aided design.
Alternatively, in the present embodiment, the above-described computer-readable storage medium may be configured to store a computer program for performing the steps of:
s1, displaying a uplink configuration interface in a CAD client, wherein uplink customized parameters to be configured are displayed in the uplink configuration interface;
s2, responding to the customization operation executed by the uplink configuration interface, and acquiring uplink customization parameters of the configuration;
s3, displaying the CAD metafile which is currently drawn in an editing operation interface provided by the CAD client;
s4, in response to the save operation performed on the CAD metafile, invoking the under-chain storage interface to save the CAD metafile, and performing the uplink operation on the heterogeneous token NFT intelligent contract matched with the CAD metafile and generated according to the configured uplink customization parameters.
Alternatively, in this embodiment, it will be understood by those skilled in the art that all or part of the steps in the various methods of the above embodiments may be performed by a program for instructing a terminal device to execute the hardware related thereto, and the program may be stored in a computer readable storage medium, where the storage medium may include: flash disk, read-Only Memory (ROM), random-access Memory (Random Access Memory, RAM), magnetic or optical disk, and the like.
The integrated units in the above embodiments may be stored in the above-described computer-readable storage medium if implemented in the form of software functional units and sold or used as separate products. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, including several instructions to cause one or more computer devices (which may be personal computers, servers or network devices, etc.) to perform all or part of the steps of the methods of the various embodiments of the present application.
In the foregoing embodiments of the present application, the descriptions of the embodiments are emphasized, and for a portion of this disclosure that is not described in detail in this embodiment, reference is made to the related descriptions of other embodiments.
In several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and are merely a logical functional division, and there may be other manners of dividing the apparatus in actual implementation, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interfaces, units or modules, or may be in electrical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The foregoing is merely a preferred embodiment of the present application and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present application and are intended to be comprehended within the scope of the present application.

Claims (14)

1. A method for storing a CAD metafile of a computer-aided design, comprising:
displaying a uplink configuration interface in a CAD client, wherein uplink customized parameters to be configured are displayed in the uplink configuration interface;
Responding to the customization operation executed on the uplink configuration interface, and acquiring the uplink customization parameters of which the configuration is completed;
displaying a CAD metafile which is currently drawn in an editing operation interface provided by the CAD client;
and in response to the save operation performed on the CAD metafile, invoking an under-chain storage interface to save the CAD metafile, and performing a chaining operation on a heterogeneous token NFT intelligent contract matched with the CAD metafile, which is generated according to the configured chaining customization parameters.
2. The method of claim 1, wherein displaying a ul configuration interface in a computer aided design CAD client comprises:
starting the CAD client, and displaying a menu bar of the CAD client and the editing operation interface;
and displaying the uplink configuration interface in the CAD client in response to the operation performed on the uplink configuration control in the menu bar.
3. The method of claim 1, wherein the obtaining the uplink customization parameters for completing configuration in response to the customization operations performed at the uplink configuration interface comprises:
and responding to the customization operation executed on the uplink configuration interface, and acquiring uplink basic service information, wherein the uplink customization parameters comprise the uplink basic service information, and the uplink basic service information comprises: an indication parameter for indicating whether to generate the NFT intelligent contract, a type identifier of a blockchain corresponding to the uplink operation, and a uplink policy;
Acquiring metadata for generating the NFT intelligent contract in the uplink configuration interface;
the uplink customization parameters include the metadata, the metadata including: the method comprises the steps of author information of the CAD metafile, attribute description information of the CAD metafile and storage links of the CAD metafile, wherein the storage links are used for indicating the storage links in a decentralised distributed file storage system.
4. The method of claim 3, wherein the performing a chaining operation on a heterogeneous token NFT smart contract that matches the CAD metafile generated according to configured chaining customization parameters comprises:
and under the condition that the uplink policy indication is based on C/S architecture mode uplink, saving the NFT intelligent contract locally, and sending an interface calling instruction to a remote blockchain basic service through the CAD client, wherein the interface calling instruction is used for indicating to call a corresponding blockchain service interface to execute uplink operation on the NFT intelligent contract.
5. The method of claim 3, wherein the performing a chaining operation on a heterogeneous token NFT smart contract that matches the CAD metafile generated according to configured chaining customization parameters comprises:
And under the condition that the uplink policy indication is based on the B/S architecture mode uplink, sending a hyperlink request for requesting call to a micro-service component deployed by a cloud native platform through the CAD client, wherein the micro-service component is used for storing the NFT intelligent contract and sending an interface call instruction to a remote blockchain basic service, and the interface call instruction is used for indicating to call a corresponding blockchain service interface to execute the uplink operation on the NFT intelligent contract.
6. The method of any of claims 2 to 5, wherein the performing a chaining operation on a non-homogenous token NFT smart contract that matches the CAD metafile generated in accordance with configured chaining customization parameters comprises:
connecting the CAD client with a blockchain module through a uplink adapter, wherein the blockchain module comprises a blockchain indicated by a blockchain type identifier corresponding to the uplink operation;
and transmitting the NFT intelligent contract to the blockchain module.
7. A device for storing a CAD metafile of a computer-aided design, comprising:
the first display unit is used for displaying a uplink configuration interface in the CAD client, wherein uplink customized parameters to be configured are displayed in the uplink configuration interface;
The acquisition unit is used for responding to the customization operation executed on the uplink configuration interface and acquiring the uplink customization parameters of which the configuration is completed;
the second display unit is used for displaying the CAD metafile which is currently drawn in an editing operation interface provided by the CAD client;
and the processing unit is used for responding to the save operation executed on the CAD metafile, calling a chain-down storage interface to save the CAD metafile, and executing the uplink operation on the heterogeneous token NFT intelligent contract which is generated according to the configured uplink customized parameters and matched with the CAD metafile.
8. The apparatus of claim 7, wherein the first display unit comprises:
the first display module is used for starting the CAD client and displaying a menu bar of the CAD client and the editing operation interface;
and the second display module is used for responding to the operation executed on the uplink configuration control in the menu bar and displaying the uplink configuration interface in the CAD client.
9. The apparatus of claim 7, wherein the acquisition unit comprises:
the first obtaining module is configured to obtain uplink basic service information in response to a customization operation performed on the uplink configuration interface, where the uplink customization parameter includes the uplink basic service information, and the uplink basic service information includes: an indication parameter for indicating whether to generate the NFT intelligent contract, a type identifier of a blockchain corresponding to the uplink operation, and a uplink policy;
A second obtaining module, configured to obtain metadata for generating the NFT smart contract in the uplink configuration interface;
the uplink customization parameters include the NFT smart contract configuration parameters including: the method comprises the steps of author information of the CAD metafile, attribute description information of the CAD metafile and storage links of the CAD metafile, wherein the storage links are used for indicating the storage links in a decentralised distributed file storage system.
10. The apparatus of claim 9, wherein the processing unit comprises:
the first processing module is configured to save the NFT smart contract locally and send an interface call instruction to a remote blockchain basic service through the CAD client, where the interface call instruction is configured to instruct to call a corresponding blockchain service interface to perform a chaining operation on the NFT smart contract, where the chaining policy instruction is based on a C/S architecture mode chaining.
11. The apparatus of claim 9, wherein the processing unit further comprises:
the second processing module is configured to send, by the CAD client, a hyperlink request for requesting a call to a micro-service component deployed on a cloud native platform, where the micro-service component is configured to store the NFT smart contract and send an interface call instruction to a remote blockchain basic service, where the interface call instruction is configured to instruct to call a corresponding blockchain service interface to perform a uplink operation on the NFT smart contract, if the uplink policy instruction is based on a B/S architecture mode uplink.
12. The apparatus according to any one of claims 7 to 11, wherein the processing unit further comprises:
the connecting module is used for connecting the CAD client and the blockchain module through a uplink adapter, wherein the blockchain module comprises a blockchain indicated by a blockchain type identifier corresponding to the uplink operation; and transmitting the NFT intelligent contract to the blockchain module.
13. A computer-readable storage medium, characterized in that the computer-readable storage medium comprises a stored program, wherein the program, when executed by a processor, performs the method of any one of claims 1 to 6.
14. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method according to any of the claims 1 to 6 by means of the computer program.
CN202310743576.6A 2023-06-21 2023-06-21 Method and device for saving CAD metafile of computer aided design Active CN116502272B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310743576.6A CN116502272B (en) 2023-06-21 2023-06-21 Method and device for saving CAD metafile of computer aided design

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310743576.6A CN116502272B (en) 2023-06-21 2023-06-21 Method and device for saving CAD metafile of computer aided design

Publications (2)

Publication Number Publication Date
CN116502272A true CN116502272A (en) 2023-07-28
CN116502272B CN116502272B (en) 2023-09-08

Family

ID=87325047

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310743576.6A Active CN116502272B (en) 2023-06-21 2023-06-21 Method and device for saving CAD metafile of computer aided design

Country Status (1)

Country Link
CN (1) CN116502272B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109710243A (en) * 2018-12-29 2019-05-03 百度在线网络技术(北京)有限公司 Block chain development approach, device, server and medium based on Visualization Platform
US20190347444A1 (en) * 2016-12-22 2019-11-14 Itext Group Nv Distributed Blockchain-Based Method for Maintaining the Validity of a File
CN113535669A (en) * 2021-07-23 2021-10-22 广东工业大学 File uploading method, downloading method and system
CN113901005A (en) * 2021-09-01 2022-01-07 微易签(杭州)科技有限公司 Portable file storage method, system and medium based on block chain
US20220392176A1 (en) * 2021-06-07 2022-12-08 Jadu AR Inc. Contextual control of digital files built on the blockchain & projected in augmented reality
CN115567550A (en) * 2022-09-22 2023-01-03 北京工业大学 File information data storage method based on block chain and national cryptographic algorithm
CN115766795A (en) * 2022-11-28 2023-03-07 福州大学 Intelligent service method of trusted electronic file platform based on block chain

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190347444A1 (en) * 2016-12-22 2019-11-14 Itext Group Nv Distributed Blockchain-Based Method for Maintaining the Validity of a File
CN109710243A (en) * 2018-12-29 2019-05-03 百度在线网络技术(北京)有限公司 Block chain development approach, device, server and medium based on Visualization Platform
US20220392176A1 (en) * 2021-06-07 2022-12-08 Jadu AR Inc. Contextual control of digital files built on the blockchain & projected in augmented reality
CN113535669A (en) * 2021-07-23 2021-10-22 广东工业大学 File uploading method, downloading method and system
CN113901005A (en) * 2021-09-01 2022-01-07 微易签(杭州)科技有限公司 Portable file storage method, system and medium based on block chain
CN115567550A (en) * 2022-09-22 2023-01-03 北京工业大学 File information data storage method based on block chain and national cryptographic algorithm
CN115766795A (en) * 2022-11-28 2023-03-07 福州大学 Intelligent service method of trusted electronic file platform based on block chain

Also Published As

Publication number Publication date
CN116502272B (en) 2023-09-08

Similar Documents

Publication Publication Date Title
CN106682028B (en) Method, device and system for acquiring webpage application
EP2922273A1 (en) Resource sharing method, apparatus, system, and terminal, and resource management center
US20170154017A1 (en) Web Application Management
RU2523216C2 (en) File uploading method and system for web application
CN109634619B (en) Trusted execution environment implementation method and device, terminal device and readable storage medium
CN111201754A (en) Apparatus for providing a collection of cryptographically protected and filtered and sorted transaction data sets of links of a blockchain
US20160055140A1 (en) Peer to peer spreadsheet processing
CN108353462A (en) A kind of configuration file method for down loading and relevant device, system
CN106649446B (en) Information pushing method and device
WO2017059290A1 (en) Peer-to-peer syncable storage system
WO2011162838A1 (en) Security model for workflows aggregating third party secure services
CN111935110B (en) Method and device for controlling permission of tenant to access container instance
CN105379223A (en) Validating the identity of a mobile application for mobile application management
CN110866273B (en) Inter-enterprise standard consensus method based on blockchain and interstellar file system
CN104158908B (en) Method and system based on WiFi equipment transmission file
CN105592352A (en) File-sharing method and system based on smart TV
CN116502272B (en) Method and device for saving CAD metafile of computer aided design
CN110865894B (en) Method and device for controlling application program across terminals
KR101862840B1 (en) Remotely sited execution of a software application within a network
CN111444542A (en) Data processing method, device and storage medium for copyright file
CN110177360A (en) A kind of method and apparatus for being bound with wearable device
CN106209746A (en) A kind of safety service provides method and server
CN107111635B (en) Content delivery method
CN117807157A (en) Transaction execution method, apparatus, program product, device and medium for blockchain
US20210334390A1 (en) System for on-demand capture and exchange of media items that are not recorded at the point of capture

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant