CN115665119B - Method and device for transmitting 3D printing data based on web service - Google Patents

Method and device for transmitting 3D printing data based on web service Download PDF

Info

Publication number
CN115665119B
CN115665119B CN202211681728.6A CN202211681728A CN115665119B CN 115665119 B CN115665119 B CN 115665119B CN 202211681728 A CN202211681728 A CN 202211681728A CN 115665119 B CN115665119 B CN 115665119B
Authority
CN
China
Prior art keywords
client
printing
cloud server
user
characteristic information
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.)
Active
Application number
CN202211681728.6A
Other languages
Chinese (zh)
Other versions
CN115665119A (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.)
Shenzhen Intelligent Technology Co ltd
Original Assignee
Shenzhen Intelligent Technology 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 Shenzhen Intelligent Technology Co ltd filed Critical Shenzhen Intelligent Technology Co ltd
Priority to CN202211681728.6A priority Critical patent/CN115665119B/en
Publication of CN115665119A publication Critical patent/CN115665119A/en
Application granted granted Critical
Publication of CN115665119B publication Critical patent/CN115665119B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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

Abstract

The invention discloses a method for transmitting 3D printing data based on web service, which comprises the steps of obtaining characteristic information of a client carried by a first access data packet of a 3D printing cloud server sent by a user through the client; after the verification is passed, checking whether the registered client information in the 3D printing cloud server contains the characteristic information of the corresponding client; if the random number exists, a transmission channel of the 3D printing data is constructed, the 3D printing cloud server sends the random number to the client through the transmission channel, and the client of the user splices the characteristic information of the client and the random number to serve as an encryption key to encrypt the 3D printing data to be transmitted; and sending the encrypted data to the 3D printing cloud server, and simultaneously adding a current session ID, wherein the 3D printing cloud server correspondingly stores the received encrypted data, the session ID and the generated corresponding random number.

Description

Method and device for transmitting 3D printing data based on web service
Technical Field
The invention relates to the technical field of 3D printing, in particular to a method and a device for transmitting 3D printing data based on web service.
Background
The 3D printing technology is gradually changing the life style of people, and the 3D printer is also gradually entering the families of common people and becoming a daily life tool of people. The 3D printing technology has a revolutionary effect on product design, manufacture and sale modes, the product sale in the future is mainly designed and sold, and a user directly uses a self or a substitute 3D printer to manufacture the product after purchasing the product design. The change of the product delivery mode not only greatly reduces the investment risk of a product designer, but also can reduce the social resource waste. However, the existing 3D printer and the system thereof are difficult to use and operate, and require a user to have a certain professional knowledge, which is a major obstacle to popularization of 3D printing. The application of the 3D printer relates to 3D modeling design, 3D printing process design, slicing processing, control of the 3D printer and the like, and all the related professional knowledge is needed.
For example, the concept of the prior art chinese patent CN105025046A is to provide a "cloud platform for 3D printing" remote monitoring network-enabled 3D printer group, and does not consider how a user processes a 3D design file (3D model) into a 3D print data file, which is necessary for printing process design and configuration. In a plurality of commercial 3D printing cloud service platforms which have been online in recent years, a business target is to construct a transaction platform between a 3D modeling designer and a 3D printer user and provide 3D printing work-substituting service for an ordinary user without a 3D printer. These business platforms and various types of 3D printers offer many benefits to product design, manufacturing and sales patterns, while also potentially incurring a high risk of patent infringement.
Before that, there is a technical problem to be solved urgently, that is, for the secure transmission of 3D printing data, for a general user, since the production of a 3D model requires a special data processing tool, such as modeling software, layering software, and the like, the production of a 3D model is performed only by the same device by more than 95% of users statistically.
Disclosure of Invention
The present invention is directed to solving at least one of the problems of the prior art. To this end, the present invention discloses a method for transmitting 3D printing data based on a web service, the method for transmitting comprising the steps of:
step 1, acquiring characteristic information of a client carried by a first access data packet of a 3D printing cloud server sent by a user through the client;
step 2, after the verification is passed, checking whether the registered client information in the 3D printing cloud server contains the characteristic information of the corresponding client;
step 3, if the random number is not the same as the feature information of the 3D printing data, terminating the current session, if the random number is the same as the feature information of the 3D printing data, constructing a transmission channel of the 3D printing data, sending a random number to the client through the transmission channel by the 3D printing cloud server, and splicing the feature information of the client and the random number by the client of the user to serve as an encryption key to encrypt the 3D printing data to be transmitted;
and 4, sending the encrypted data to the 3D printing cloud server, and simultaneously adding the current session ID, wherein the 3D printing cloud server correspondingly stores the received encrypted data, the session ID and the generated corresponding random number.
Further, the characteristic information is a unique hardware identifier of the user client.
Furthermore, the acquiring the characteristic information of the client carried by the first access data packet of the 3D printing cloud server sent by the user through the client further includes analyzing the first access data packet, wherein the characteristic information of the client is encrypted by using an account ID of the user as a key to generate a symmetric ciphertext, and the server decrypts the ciphertext data of the characteristic information of the client in the first access data packet according to the account ID of the user to obtain the device unique hardware identification code of the plaintext.
Further, the checking whether the registered client information in the 3D printing cloud server includes the feature information of the corresponding client after the authentication is passed further includes: and obtaining an account ID of the user and a device unique hardware identification code of a plaintext after the first access data packet is disassembled, and judging that the account ID of the user passes the verification when the account ID of the user corresponds to the device unique hardware identification code of the client according to the mapping relation stored in the 3D printing cloud server.
Furthermore, the step of splicing the characteristic information of the user and the random number by the client of the user to serve as an encryption key to encrypt the 3D printing data to be transmitted further comprises the step of splicing the characteristic information of the user and the random number in a preset splicing mode in the 3D printing cloud server or splicing the characteristic information in a front-back splicing mode according to the unique hardware identification code of the characteristic information and the random number to obtain a character string, wherein the splicing modes of the client and the server are the same.
The invention also discloses a device for transmitting the 3D printing data based on the web service, which comprises the following modules:
the access module is used for acquiring the characteristic information of the client carried by the first access data packet which is sent by the user through the client and is sent to the 3D printing cloud server;
the verification module is used for checking whether the registered client information in the 3D printing cloud server contains the characteristic information of the corresponding client after the verification is passed;
the safety transmission module is used for terminating the current session if the current session does not exist, sending a random number to the client through the 3D printing cloud server by constructing a transmission channel of the 3D printing data if the current session exists, and splicing the characteristic information of the client and the random number by the client of the user to serve as an encryption key to encrypt the 3D printing data to be transmitted;
and the storage module is used for sending the encrypted data to the 3D printing cloud server and simultaneously adding the current session ID, and the 3D printing cloud server correspondingly stores the received encrypted data, the session ID and the generated corresponding random number.
Further, the characteristic information is a unique hardware identification of the user client.
Further, the acquiring the characteristic information of the client carried by the first access data packet of the 3D printing cloud server sent by the user through the client further includes analyzing the first access data packet, wherein the characteristic information of the client is encrypted by using an account ID of the user as a key to generate a symmetric ciphertext, and the server decrypts the ciphertext data of the characteristic information of the client in the first access data packet according to the account ID of the user to obtain the unique hardware identification code of the plaintext.
Further, the checking whether the registered client information in the 3D printing cloud server includes the feature information of the corresponding client after the authentication is passed further includes: and obtaining an account ID of the user and a device unique hardware identification code of a plaintext after the first access data packet is disassembled, and judging that the account ID of the user passes the verification when the account ID of the user corresponds to the device unique hardware identification code of the client according to the mapping relation stored in the 3D printing cloud server.
Furthermore, the step of splicing the characteristic information of the user and the random number by the client of the user to serve as an encryption key to encrypt the 3D printing data to be transmitted further comprises the step of splicing the characteristic information and the random number by the client of the user in a preset splicing mode in the 3D printing cloud server or splicing the characteristic information and the random number in a front-back mode to obtain a character string, wherein the splicing modes of the client and the server are the same.
Compared with the prior art, the invention has the beneficial effects that: for a general user, as the 3D model needs a special data processing tool, such as modeling software, layered software, etc., and more than 95 percent of users statistically perform the 3D model only through the same device, the invention designs a simple front-end information transmission mode to protect the security of the 3D model data of the user from being stochastically stolen, i.e., the encryption transmission is performed by combining the session ID, the user account and the client, and meanwhile, a special secure transmission channel is set in the transmission process to ensure the transmission security of important data, so that the invention can ensure that the user transmitting or requesting data is a correct user without a complex encryption process.
Drawings
The invention will be further understood from the following description in conjunction with the accompanying drawings. The components in the figures are not necessarily to scale, emphasis instead being placed upon illustrating the principles of the embodiments. In the drawings, like reference numerals designate corresponding parts throughout the different views.
Fig. 1 is a flowchart of a method of transmission of web service based 3D print data of the present invention.
Detailed Description
The technical solution of the present invention will be described in more detail with reference to the accompanying drawings and examples.
A mobile terminal implementing various embodiments of the present invention will now be described with reference to the accompanying drawings. In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in themselves. Thus, "module" and "component" may be used in a mixture.
The mobile terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a navigation device, and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. In the following, it is assumed that the terminal is a mobile terminal. However, it will be understood by those skilled in the art that the configuration according to the embodiment of the present invention can be applied to a fixed type terminal in addition to elements particularly used for moving purposes.
A method for transmission of 3D print data based on a web service as shown in fig. 1, the method for transmission comprising the steps of:
the method comprises the steps that 1, according to a first access data packet which is sent by a user through a client and is used for a 3D printing cloud server, characteristic information of the client carried by the first access data packet is obtained;
step 2, after passing the verification, checking whether the registered client information in the 3D printing cloud server contains the characteristic information of the corresponding client;
step 3, if the current session does not exist, terminating the current session, if the current session exists, sending a random number to the client through the 3D printing cloud server by constructing a transmission channel of the 3D printing data, and splicing the characteristic information of the client and the random number by the client of the user to be used as an encryption key to encrypt the 3D printing data to be transmitted;
and 4, sending the encrypted data to the 3D printing cloud server, and simultaneously adding the current session ID, wherein the 3D printing cloud server correspondingly stores the received encrypted data, the session ID and the generated corresponding random number.
Further, the characteristic information is a unique hardware identifier of the user client.
Furthermore, the acquiring the characteristic information of the client carried by the first access data packet of the 3D printing cloud server sent by the user through the client further includes analyzing the first access data packet, wherein the characteristic information of the client is encrypted by using an account ID of the user as a key to generate a symmetric ciphertext, and the server decrypts the ciphertext data of the characteristic information of the client in the first access data packet according to the account ID of the user to obtain the device unique hardware identification code of the plaintext.
Further, the checking whether the registered client information in the 3D printing cloud server includes the feature information of the corresponding client after the authentication is passed further includes: and obtaining an account ID of the user and a device unique hardware identification code of a plaintext after disassembling the first access data packet, and judging that the account ID of the user passes verification when the account ID of the user corresponds to the device unique hardware identification code of the client according to the mapping relation stored in the 3D printing cloud server.
Furthermore, the step of splicing the characteristic information of the user and the random number by the client of the user to serve as an encryption key to encrypt the 3D printing data to be transmitted further comprises the step of splicing the characteristic information and the random number by the client of the user in a preset splicing mode in the 3D printing cloud server or splicing the characteristic information and the random number in a front-back mode to obtain a character string, wherein the splicing modes of the client and the server are the same.
The invention also discloses a device for transmitting the 3D printing data based on the web service, which comprises the following modules:
the access module is used for acquiring the characteristic information of the client carried by the first access data packet which is sent by a user through the client and is used for the 3D printing cloud server;
the verification module is used for checking whether the registered client information in the 3D printing cloud server contains the characteristic information of the corresponding client after the verification is passed;
the safety transmission module is used for terminating the current session if the current session does not exist, sending a random number to the client through the 3D printing cloud server by constructing a transmission channel of the 3D printing data if the current session exists, and splicing the characteristic information of the client by the client of the user with the random number to be used as an encryption key to encrypt the 3D printing data to be transmitted;
and the storage module is used for sending the encrypted data to the 3D printing cloud server and simultaneously adding the current session ID, and the 3D printing cloud server correspondingly stores the received encrypted data, the session ID and the generated corresponding random number.
Further, the characteristic information is a unique hardware identification of the user client.
Furthermore, the acquiring the characteristic information of the client carried by the first access data packet of the 3D printing cloud server sent by the user through the client further includes analyzing the first access data packet, wherein the characteristic information of the client is encrypted by using an account ID of the user as a key to generate a symmetric ciphertext, and the server decrypts the ciphertext data of the characteristic information of the client in the first access data packet according to the account ID of the user to obtain the device unique hardware identification code of the plaintext.
Further, the checking whether the registered client information in the 3D printing cloud server includes the feature information of the corresponding client after the authentication is passed further includes: and obtaining an account ID of the user and a device unique hardware identification code of a plaintext after disassembling the first access data packet, and judging that the account ID of the user passes verification when the account ID of the user corresponds to the device unique hardware identification code of the client according to the mapping relation stored in the 3D printing cloud server.
Furthermore, the step of splicing the characteristic information of the user and the random number by the client of the user to serve as an encryption key to encrypt the 3D printing data to be transmitted further comprises the step of splicing the characteristic information of the user and the random number in a preset splicing mode in the 3D printing cloud server or splicing the characteristic information in a front-back splicing mode according to the unique hardware identification code of the characteristic information and the random number to obtain a character string, wherein the splicing modes of the client and the server are the same.
In this embodiment, when a server needs to acquire user upload data, the server queries corresponding metadata of corresponding encrypted data, where the metadata stores a session ID constructed during communication at that time, and the session ID may be associated with a transmission channel ID, and then the server retrieves a database according to the session ID to acquire a device identifier of a corresponding user and a correspondingly generated random number, and acquires a correct decryption key according to a preset splicing manner, and decrypts the encrypted data to acquire 3D model data to be printed.
In the implementation, the invention can realize the safe data transmission method only by adopting a general symmetric encryption algorithm without waiting for a multi-resource asymmetric algorithm.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a," "...," or "comprising" does not exclude the presence of other like elements in a process, method, article, or apparatus comprising the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer-usable program code embodied therein.
Although the invention has been described above with reference to various embodiments, it should be understood that many changes and modifications may be made without departing from the scope of the invention. It is therefore intended that the foregoing detailed description be regarded as illustrative rather than limiting, and that it be understood that it is the following claims, including all equivalents, that are intended to define the spirit and scope of this invention. The above examples are to be construed as merely illustrative and not limitative of the remainder of the disclosure. After reading the description of the invention, the skilled person can make various changes or modifications to the invention, and these equivalent changes and modifications also fall into the scope of the invention defined by the claims.

Claims (2)

1. A method for transmitting 3D printing data based on a web service, the method comprising the steps of:
step 1, analyzing a first access data packet of a 3D printing cloud server according to the first access data packet sent by a user through a client and characteristic information carried by the first access data packet, wherein the characteristic information is a unique hardware identifier of equipment of the user client, the first access data packet is analyzed, the characteristic information of the client is encrypted by taking an account ID of the user as a secret key to generate a symmetric ciphertext, and the server decrypts ciphertext data of the characteristic information of the client in the first access data packet according to the account ID of the user to obtain a unique hardware identifier of the equipment in a plaintext;
step 2, after the verification is passed, checking whether registered client information in the 3D printing cloud server contains the characteristic information of a corresponding client or not, wherein an account ID of a user and a device unique hardware identification code of a plaintext are obtained after a first access data packet is disassembled, and when the account ID of the user corresponds to the device unique hardware identification code of the client, judging that the verification is passed according to a mapping relation stored in the 3D printing cloud server;
step 3, if the current session does not exist, terminating the current session, if the current session exists, sending a random number to the client through the 3D printing cloud server by constructing a transmission channel of the 3D printing data, splicing the characteristic information of the client with the random number by using the client of the user as an encryption key to encrypt the 3D printing data to be transmitted, wherein the splicing mode is a splicing mode preset in the 3D printing cloud server or a character string obtained according to a mode of splicing the unique hardware identification code of the characteristic information and the random number in the front and back directions, and the splicing modes of the client and the server are the same;
and 4, sending the encrypted data to the 3D printing cloud server, and simultaneously adding the current session ID, wherein the 3D printing cloud server correspondingly stores the received encrypted data, the session ID and the generated corresponding random number.
2. An apparatus for transmitting 3D printing data based on web service, the apparatus for transmitting comprising the following modules:
the access module is used for analyzing a first access data packet of the 3D printing cloud server, which is sent by a user through a client, according to the characteristic information of the client carried by the first access data packet, wherein the characteristic information of the client is encrypted by taking an account ID of the user as a secret key to generate a symmetric ciphertext, and the server decrypts the ciphertext data of the characteristic information of the client in the first access data packet according to the user account ID to obtain an equipment unique hardware identification code of the plaintext;
the verification module checks whether the registered client information in the 3D printing cloud server contains the corresponding client characteristic information or not after the verification is passed, wherein an account ID of a user and a plain-text equipment unique hardware identification code are obtained after a first access data packet is disassembled, and the verification module judges that the verification is passed when the account ID of the user corresponds to the equipment unique hardware identification code of the client according to a mapping relation stored in the 3D printing cloud server;
the safety transmission module is used for terminating the current session if the current session does not exist, sending a random number back to the client through the 3D printing cloud server by constructing a transmission channel of the 3D printing data if the current session exists, splicing the characteristic information of the client with the random number by the client of the user to serve as an encryption key to encrypt the 3D printing data to be transmitted, wherein the splicing mode is a splicing mode preset in the 3D printing cloud server or a character string obtained by splicing a device unique hardware identification code of the characteristic information and the random number in the front and back directions, and the splicing modes of the client and the server are the same;
and the storage module is used for sending the encrypted data to the 3D printing cloud server and simultaneously adding the current session ID, and the 3D printing cloud server correspondingly stores the received encrypted data, the session ID and the generated corresponding random number.
CN202211681728.6A 2022-12-27 2022-12-27 Method and device for transmitting 3D printing data based on web service Active CN115665119B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211681728.6A CN115665119B (en) 2022-12-27 2022-12-27 Method and device for transmitting 3D printing data based on web service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211681728.6A CN115665119B (en) 2022-12-27 2022-12-27 Method and device for transmitting 3D printing data based on web service

Publications (2)

Publication Number Publication Date
CN115665119A CN115665119A (en) 2023-01-31
CN115665119B true CN115665119B (en) 2023-04-18

Family

ID=85022968

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211681728.6A Active CN115665119B (en) 2022-12-27 2022-12-27 Method and device for transmitting 3D printing data based on web service

Country Status (1)

Country Link
CN (1) CN115665119B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105291440A (en) * 2015-11-30 2016-02-03 浙江工业大学 3D printing system supporting cloud service
CN113928031A (en) * 2021-10-26 2022-01-14 深圳市链科网络科技有限公司 Cloud printing method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109426462A (en) * 2017-09-05 2019-03-05 北京立思辰计算机技术有限公司 A kind of method for managing user right for network printing
CN112965674B (en) * 2021-03-24 2023-02-24 拉扎斯网络科技(上海)有限公司 Printing control method and device
CN114501431A (en) * 2021-12-16 2022-05-13 珠海格力电器股份有限公司 Message transmission method and device, storage medium and electronic equipment
CN114826789B (en) * 2022-06-29 2022-09-16 北京辰光融信技术有限公司 Printing control method and system for ensuring data safe transmission

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105291440A (en) * 2015-11-30 2016-02-03 浙江工业大学 3D printing system supporting cloud service
CN113928031A (en) * 2021-10-26 2022-01-14 深圳市链科网络科技有限公司 Cloud printing method and device

Also Published As

Publication number Publication date
CN115665119A (en) 2023-01-31

Similar Documents

Publication Publication Date Title
US11743041B2 (en) Technologies for private key recovery in distributed ledger systems
US8843745B2 (en) Methods of authorizing a computer license
US9270447B2 (en) Demand based encryption and key generation and distribution systems and methods
JP2007102778A (en) User authentication system and method therefor
US9118622B2 (en) Method and server for sending and lending digital service content
CN103685255B (en) File encryption method based on two-dimension code scanning
EP3937040B1 (en) Systems and methods for securing login access
CN105827582B (en) A kind of communication encrypting method, device and system
CN103237010B (en) The server end of digital content is cryptographically provided
CN104283686A (en) Digital right management method and system
CN113645226B (en) Data processing method, device, equipment and storage medium based on gateway layer
JP4594078B2 (en) Personal information management system and personal information management program
CN117375986A (en) Application access method, device and server
CN115665119B (en) Method and device for transmitting 3D printing data based on web service
CN110855753A (en) Bank operation system, method and server
CN109889342A (en) Interface testing method for authenticating, device, electronic equipment and storage medium
CN115567271A (en) Authentication method and device, page skip method and device, electronic equipment and medium
CN111885510B (en) Attendance checking method, attendance checking client and attendance checking system
KR101679183B1 (en) Server and method for electronic signature
CN106446713A (en) Encryption method and system for database content
CN112214771A (en) Information analysis method and device based on big data and computer readable storage medium
CN107172106B (en) Security information interaction method and system
CN117522417B (en) Transaction security verification method and device based on quantum encryption
CN206672135U (en) A kind of Quick Response Code generates display device
CN113642016A (en) Safety encryption method for multimedia advertisement system

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