CN110989945A - 3D remote printing control system and control method based on Internet of things - Google Patents
3D remote printing control system and control method based on Internet of things Download PDFInfo
- Publication number
- CN110989945A CN110989945A CN201911211473.5A CN201911211473A CN110989945A CN 110989945 A CN110989945 A CN 110989945A CN 201911211473 A CN201911211473 A CN 201911211473A CN 110989945 A CN110989945 A CN 110989945A
- Authority
- CN
- China
- Prior art keywords
- printing
- service platform
- cloud service
- printer
- control terminal
- 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
Links
- 238000007639 printing Methods 0.000 title claims abstract description 111
- 238000000034 method Methods 0.000 title claims abstract description 30
- 239000007921 spray Substances 0.000 claims description 30
- 238000010146 3D printing Methods 0.000 claims description 26
- 241001125831 Istiophoridae Species 0.000 claims description 21
- 230000008569 process Effects 0.000 claims description 10
- 238000004891 communication Methods 0.000 claims description 9
- 238000001514 detection method Methods 0.000 claims description 9
- 238000010438 heat treatment Methods 0.000 claims description 9
- 238000012795 verification Methods 0.000 claims description 8
- 238000013523 data management Methods 0.000 claims description 4
- 239000000725 suspension Substances 0.000 claims description 3
- 238000005516 engineering process Methods 0.000 description 17
- 238000010586 diagram Methods 0.000 description 6
- 238000011161 development Methods 0.000 description 4
- 238000012544 monitoring process Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 239000000463 material Substances 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 230000008021 deposition Effects 0.000 description 2
- 239000007788 liquid Substances 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 239000000853 adhesive Substances 0.000 description 1
- 230000001070 adhesive effect Effects 0.000 description 1
- 238000001723 curing Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000010894 electron beam technology Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000003475 lamination Methods 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000008018 melting Effects 0.000 description 1
- 238000002844 melting Methods 0.000 description 1
- 238000000016 photochemical curing Methods 0.000 description 1
- 239000000843 powder Substances 0.000 description 1
- 239000012255 powdered metal Substances 0.000 description 1
- 239000011347 resin Substances 0.000 description 1
- 229920005989 resin Polymers 0.000 description 1
- 238000000110 selective laser sintering Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1202—Dedicated interfaces to print systems specifically adapted to achieve a particular effect
- G06F3/1203—Improving or facilitating administration, e.g. print management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/602—Providing cryptographic facilities or services
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1223—Dedicated interfaces to print systems specifically adapted to use a particular technique
- G06F3/1275—Print workflow management, e.g. defining or changing a workflow, cross publishing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1278—Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
- G06F3/1285—Remote printer device, e.g. being remote from client or server
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
Abstract
The invention discloses a 3D remote printing control system and a control method based on the Internet of things, wherein the control system comprises a remote control terminal, a cloud service platform and a 3D printer; the remote control terminal is loaded with the APP, the remote control terminal can be connected with a cloud service platform through a network, and the cloud service platform is connected with the 3D printer and the database through the network; the remote control terminal can access and connect the cloud service platform through the login APP and encrypt the 3D model file to be printed and then transmit the encrypted file to the cloud service platform, and the remote control terminal can remotely control the 3D printer to print and inquire the printing state information of the 3D printer in real time through the cloud service platform; the cloud service platform can encrypt and/or decrypt the encrypted 3D model file transmitted by the remote control terminal and transmit the encrypted 3D model file to a database or a 3D printer after the identity of the remote control terminal is verified; the 3D printer can download and print the 3D model file transmitted by the cloud service platform and feed back the printing state information of the 3D printer.
Description
Technical Field
The invention relates to the field of Internet of things, in particular to a 3D remote printing control system and a control method based on the Internet of things.
Background
With the earliest proposed 3D printer principle, a first counter top introduced by liquid photosensitive resin curing technology, was the most popular model for commercial use, and made 3D printing technology a bit more known to the public, as early as 1988. The concept of "3D printing technology" in 1992 was proposed by two professors of the american massachusetts to bring 3D printing to the public and has begun to be of interest. With the development of rapid prototyping technology, more than ten 3D printing technologies, such as three-dimensional printing technology, fused deposition modeling technology, selective laser melting modeling technology, selective laser sintering technology, electron beam fused deposition modeling technology, and layered solid modeling technology, are gradually developed with the continuous development of science and technology.
Along with the development of the times, the demand of the rapid prototyping technology is more and more large, the 3D printing cloud platform collects various data of the printer through the internet and transmits the data back to the internet on the basis of 3D printing, people with printing requirements can participate in the manufacturing of the model without being influenced by time and regions, and various information of printing progress and the printer can be checked.
However, existing 3D printing systems exist: the printer is difficult to interact with a user, the printing device is inconvenient to detect, the printing structure is complex, the printing cost is high, and the printer is complex to install and is not easy to operate.
In the related art, a better technical solution for solving the above problems is still lacking.
Disclosure of Invention
The technical problem to be solved by the invention is to provide the 3D remote printing control system and the control method based on the Internet of things, aiming at the defects in the prior art, the 3D printer can be remotely controlled to print and interact with the 3D printer in real time, the printing progress and the printing state can be checked in real time, and the printing efficiency is improved.
According to a first aspect of the invention, a 3D remote printing control system based on the Internet of things is provided, which comprises a remote control terminal, a cloud service platform and a 3D printer; the remote control terminal is loaded with a 3D printing APP, can be connected with the cloud service platform through a network, and is also connected with the 3D printer and a database through the network; wherein,
the remote control terminal can access and connect the cloud service platform through logging in the 3D printing APP, encrypts a 3D model file to be printed and transmits the encrypted 3D model file to the cloud service platform, and can remotely control the 3D printer to print and inquire the printing state information of the 3D printer transmitted by the cloud service platform in real time through the cloud service platform;
the cloud service platform can encrypt and/or decrypt the encrypted 3D model file transmitted by the remote control terminal and transmit the encrypted 3D model file to a database or a 3D printer after the identity of the remote control terminal is verified;
the 3D printer can download and print the 3D model file transmitted by the cloud service platform and feed back the printing state information of the 3D printer.
As a further elaboration of the above technical solution:
in the technical scheme, a remote printing control website is deployed on a cloud server of the cloud service platform, the cloud server is further connected with the database through an Ethernet, and printing services cached by the remote printing control website and stored in the database can be accessed by a remote control terminal connected with the cloud service platform through a network; the database is a relational data management system based on MySQL.
In the technical scheme, the remote control terminal is a smart phone, a tablet computer or a computer; the remote control terminal is connected with the cloud service platform through a 4G/5G communication network, an Ethernet or a WiFi communication network.
In the technical scheme, the 3D printer is a Marlin firmware-based 3D printer, the 3D printer is connected with a position sensor used for reading the position of the spray head and a temperature acquisition module used for acquiring the temperature of the spray head and the temperature of the hot bed through serial ports, the 3D printer is further connected with a network module, and the network module enables the 3D printer to be connected with the cloud service platform.
In the above technical scheme, the network module is an ethernet network card module connected with the 3D printer through a serial port or a wireless network module connected with the 3D printer through a USB terminal.
The control system can comprehensively monitor the running condition of one or more 3D printers by remotely monitoring and controlling the 3D printers, remotely receive and send instructions on line and control the plurality of 3D printers. The control system has the advantages of improving the printing efficiency, facilitating the interaction between the printer and the user, facilitating the monitoring of the printing device, simplifying the structure, being simple to install, being easy to operate and having low printing cost.
According to another aspect of the present invention, the present invention provides a control method for 3D remote printing, where the control method includes the internet of things-based 3D remote printing control system according to the first aspect of the present invention, and further includes the following steps:
a, a user establishes connection with the cloud service platform through a 3D printing APP which logs in the remote control terminal, and uploads a 3D model file encrypted based on an encryption protocol to the cloud service platform;
b, the cloud service platform decrypts the received 3D model file based on an encryption protocol, stores the decrypted 3D model file in the database and/or encrypts the decrypted 3D model file based on the encryption protocol for a second time and transmits the encrypted 3D model file to the 3D printer;
step C, the 3D printer decrypts and prints the 3D model file secondarily encrypted and transmitted by the cloud service platform based on an encryption protocol, and the Marlin firmware of the 3D printer performs matched printing control according to the printing state information detected by the position sensor and the temperature detection module in the printing process; the printing state information comprises a nozzle temperature parameter, a hot bed temperature parameter, a nozzle position parameter and a printing progress, and the printing control comprises printing suspension and printing termination;
and D, the remote control terminal and the cloud service platform inquire the printing state information in real time and terminate printing remotely in the printing process of the 3D printer.
As a further elaboration of the above technical solution:
in the technical scheme, in the step A, after a user logs in the 3D printing APP of the remote control terminal, the remote control terminal is connected with the cloud service platform based on a TCP handshake protocol.
In the above technical solution, before uploading the 3D model file encrypted based on the encryption protocol to the cloud service platform, the method includes:
step D, the cloud service platform sends a digital certificate to the remote control terminal, wherein the digital certificate comprises user identity information which is used for establishing connection between the remote control terminal and the cloud service platform, and the user identity information comprises a user name and a secret key;
step E, the remote control terminal verifies the received digital certificate, wherein the verification comprises whether a secret key is matched with a user name, the user name accessing a cloud service platform, the user name logging in the remote control terminal and user information are logged out or not;
and F, generating an encryption protocol with the cloud service platform after the remote control terminal completes the verification.
In the above technical solution, in step a, the remote control terminal encrypts the 3D model file based on a codebook mode; in the step B, the cloud service platform decrypts the received 3D model file and the decrypted 3D model file after secondary encryption based on the codebook mode; and in the step C, the 3D printer decrypts the secondarily encrypted 3D model file based on the codebook mode.
In the above technical solution, in the step D, the performing, by the Marlin firmware of the 3D printer, matched printing control according to the printing state information detected by the position sensor and the temperature detection module during the printing process includes:
the Marlin firmware acquires the nozzle position parameters of the 3D printer acquired by the position sensor in real time and acquires the nozzle temperature parameters and the hot bed temperature parameters acquired by the temperature detection module;
and step ii, the Marlin firmware compares the acquired nozzle coordinates in the nozzle position parameters, the nozzle temperature in the nozzle temperature parameters and the hot bed temperature in the hot bed temperature parameters with preset nozzle coordinate boundary values, nozzle temperature thresholds and hot bed temperature thresholds respectively, and executes:
when the nozzle coordinate exceeds the nozzle coordinate boundary value, stopping printing and enabling the nozzle coordinate to return to zero;
when the temperature of the spray head is greater than the temperature threshold of the spray head or the temperature of the hot bed is greater than the temperature threshold of the hot bed, stopping heating the spray head/the hot bed;
and when the temperature of the spray head is not greater than the temperature threshold of the spray head or the temperature of the hot bed is not greater than the temperature threshold of the hot bed, continuing to heat the spray head/the hot bed.
Drawings
Fig. 1 is a schematic block diagram of a 3D remote printing control system based on the internet of things according to an embodiment of the present invention;
fig. 2 is a network framework diagram of a 3D remote printing control system based on the internet of things according to an embodiment of the present invention;
fig. 3 is another network framework diagram of the internet of things-based 3D remote printing control system according to an embodiment of the present invention;
fig. 4 is a flowchart of a control method of 3D remote printing according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings.
The embodiments described by referring to the drawings are exemplary and intended to be used for explaining the present application and are not to be construed as limiting the present application. The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
Before describing the embodiments again, the following concepts are described herein to facilitate the following description of the embodiments.
3D printing (3DP), one of the rapid prototyping technologies, is a technology that constructs an object by printing layer by layer using an adhesive material such as powdered metal or plastic based on a digital model file. The 3D printing technology is present in the mid-90 s of the 20 th century and is actually the latest rapid prototyping device using technologies such as photocuring and paper lamination. The printing machine is basically the same as the common printing working principle, the printing machine is filled with liquid or powder and other printing materials, the printing materials are overlapped layer by layer under the control of a computer after being connected with the computer, and finally, a blueprint on the computer is changed into a real object.
The operation of the 3D printer is completed through embedded firmware. And the firmware is responsible for interpreting G-code instructions from the application and then having the machine execute the commands. Common 3D printing firmware is spring, Marlin, teaup, saliphish, etc.
The Marlin firmware is a 3D printer firmware which is widely applied in the prior art. Marlin is an open source hybrid based on Arduino, which combines the advantages of spring and Grbl firmware. The Marlin firmware drives the control panel, reads the G-code to execute printing, controls the stepping motor to print out an entity, controls the temperature of the extruder and the heating plate, detects the temperature of the extruder and the heating plate as feedback of the control temperature, has the function of reading and writing the SD card, and supports the LCD to display printed information. Meanwhile, versions of the Marlin firmware are mainly distinguished according to the supported control boards, and the RAMPS, Sanguinololu, Ultimaker and Gen series are common.
Arduino is a convenient, flexible and convenient open-source electronic prototype platform. It contains hardware (various models of Arduino boards) and software (Arduino IDE). It is constructed in open source code simple I/O interface version and has Processing/Wiring development environment using Java and C-like languages. It mainly consists of two main parts: the hardware part is an Arduino circuit board which can be used for circuit connection; the other is Arduino IDE. Arduino can sense the environment through various sensors, feedback through control of lights, motors and other devices, and affect the environment. The microcontroller on the circuit board can write a program through Arduino's programming language, compile the program into a binary file, burn into microcontroller.
A digital certificate, an electronic document, is a string of numbers that can indicate the identity information of a network user, and provides a way to verify the identity of a network user on a computer network.
An Electronic Codebook Book (ECB) mode is one of the five encryption modes of AES. The codebook mode is a basic encryption mode, and a ciphertext is divided into blocks with equal block length (insufficient padding), then the blocks are encrypted individually and output individually to form the ciphertext, namely, the whole plaintext is divided into a plurality of sections with the same length, and then each section is encrypted. Meanwhile, the encryption mode is also a way of slice encryption.
Example 1
Fig. 1 is a schematic block diagram of a 3D remote printing control system based on the internet of things according to an embodiment of the present invention; fig. 2 is a network framework diagram of a 3D remote printing control system based on the internet of things according to an embodiment of the present invention; fig. 3 is another network framework diagram of the 3D remote printing control system based on the internet of things according to an embodiment of the present invention. The 3D remote printing control system based on the Internet of things comprises a remote control terminal 100, a cloud service platform 200 and a 3D printer 300; the remote control terminal 100 is loaded with a 3D printing APP, the remote control terminal 100 can be connected with the cloud service platform 200 through a network, and the cloud service platform 200 is further connected with the 3D printer 300 and a database 400 through a network; wherein,
the remote control terminal 100 can access and connect with the cloud service platform 200 by logging in a 3D printing APP, encrypt a 3D model file to be printed and transmit the encrypted file to the cloud service platform 200, and the remote control terminal 100 can also remotely control the 3D printer 300 to print and inquire the printing state information of the 3D printer transmitted by the cloud service platform 200 in real time through the cloud service platform 200;
the cloud service platform 200 can encrypt and/or decrypt the encrypted 3D model file transmitted by the remote control terminal and transmit the encrypted 3D model file to the database 400 or the 3D printer 300 after verifying the identity of the remote control terminal 100; in practice, the cloud service platform 300 decrypts the corresponding 3D model file and then optionally stores the decrypted 3D model file in the database 400 connected to the cloud service platform, and when the 3D printer 300 needs to download the 3D model file, the cloud service platform 200 encrypts the 3D model file and then transmits the encrypted 3D model file to the 3D printer 300;
the 3D printer 300 can download and print the 3D model file transmitted by the cloud service platform 300, and feed back the printing status information of the 3D printer 300; the 3D printer 300 transmits the printing state information thereof to the cloud service platform 200 through the network, and then transmits the printing state information to the remote control terminal 100, so that the remote control terminal 100 queries the printing state of the 3D printer 300 in real time and controls the printing process of the 3D printer 300.
It should be noted that the 3D printing APP installed on the remote control terminal 100 is not only an existing common APP, but also a client presented in the form of a web, as long as the APP or the web is used to log in the remote control terminal 100 and establish a connection with the cloud service platform 200. And the user logs in the APP or the web, and logs in by using the registered account (including the user name, the contact way, the address information, and the like), and when logging in, the remote control terminal 100 performs traversal matching on the user name and the key of the login user and the user data table stored in the database 400 associated with the cloud service platform 200, and if matching is successful, the user is allowed to log in the system, that is, log in the cloud service platform 200.
In this embodiment, the remote control terminal 100 may be a portable remote control terminal, for example: smart phones, tablet computers, and palmtop computers, and in addition, the remote control terminal 100 may also be a computer.
In order to realize that the remote control terminal 100 can perform a remote control function, it is understood that the remote control terminal 100 may be connected to the cloud service platform 200 through a 4G/5G communication network (a mobile phone network), an ethernet network, or a WiFi communication network.
In this embodiment, a remote printing control website is deployed on a cloud server of the cloud service platform 200, the cloud server is further connected to the database 400 through an ethernet, and the printing services cached by the remote printing control website and stored in the database 400 can be accessed by a remote control terminal 100 connected to the cloud service platform 200 through a network; the database 400 is a relational data management system based on MySQL, and in practice, the database 400 may also be a local computer connected to the cloud service platform 200. It should be noted that the cloud server is constructed on an ari cloud server, and the remote printing control website is deployed on the cloud server, information data of the remote printing control website is stored by using a cache service provided by the cloud service platform 200, important data is stored in a database connected to the cloud service platform 200, and data stored in the database 400 can be accessed by any remote control terminal 100 connected to the control system.
The database 400 is a relational data management system based on MySQL, which organizes, stores and manages data by using a data structure, and can conveniently manage data. In this embodiment, according to the specific requirements of the control system, the database 400 establishes two data tables according to the cloud platform requirements and the data acquisition requirements:
1. user login information table
And storing the account information of the user through the user information table, and verifying the account through the user table to ensure normal use. Each piece of user information includes fields such as a username and password, and may be null. The field ID is set to be int type and set to be primary key, the fields Name and Password are set to be varchar type, the user Name and the key are stored, and the First _ time and the Last _ time are set to be datatime mode. The registration time and the time of the most recent login are recorded.
The user login information table may refer to the following table:
login interface parameter table
Name (R) | Type (B) | Size and breadth | Null value | Remarks for note |
ID | int | By default | No (Main key) | User ID |
Name | varchar | 16 | Is that | User name |
Password | varchar | 32 | Is that | Secret key |
First time | datetime | By default | Is that | Recent time |
Last time | datetime | By default | Is that | Last time |
2. Equipment data acquisition meter
The equipment data acquisition meter is mainly used for storing the temperature of the spray head and the hot bed acquired by the sensor and the position of the spray head. The total number of the device data acquisition table is seven fields, the field ID is a main key, the uniqueness is ensured, the time for acquiring data is stored by using a field Date, and the type is Date time. The fields temp _ a, temp _ b, X _ axis, Y _ axis, and Z _ axis are all set to varchar type, representing the showerhead temperature, the hot bed temperature, and the position of the three axes X, Y, and Z, respectively. The acquisition time is set according to the actual situation to set the data acquisition table of the equipment
Name (R) | Type (B) | Size and breadth | Null value | Remarks for note |
ID | int | By default | No (Main key) | Order of fields |
Date | Datetime | By default | Is that | Time of acquisition |
Temper a | Float | 32 | Is that | Temperature of the spray head |
Temper b | Float | 32 | Is that | Temperature of hot bed |
X axis | Float | 32 | Is that | Position of X axis |
Y axis | Float | 32 | Is that | Y-axis position |
Z axis | Float | 32 | Is that | Z-axis position |
In this embodiment mode, 3D printer 300 is the 3D printer based on Marlin firmware, in this embodiment, the 3D printer is the 3D printer based on Arduino control panel adaptation Marlin firmware is controlled, 3D printer 300 is used for reading the position sensor of shower nozzle position (for reading X, Y, Z triaxial step motor's position in the reality) and the temperature acquisition module who gathers shower nozzle and hot bed temperature through serial ports connection, 3D printer 300 still is connected with network module, network module enables 3D printer 300 connects cloud service platform 200. In this embodiment, the network module is an ethernet network card module connected to the 3D printer 300 through a serial port or a wireless network module connected to the 3D printer through a USB terminal. Specifically, the ESP8266 wireless network module may be used as the wireless network module in this embodiment. It should be noted that the network module may provide functions of remote long-term network connection, communication port maintenance, disconnection reconnection and the like between the remote control terminal 100/cloud service platform 200 and the 3D printer 300. The network module is selected for use, so that the communication chaos caused by simultaneous operation of a plurality of terminals can be avoided when the network with a complex communication environment is used for connection.
Example 2
Fig. 4 is a flowchart of a 3D printing control method according to an embodiment of the present invention. A 3D printing control method of the present invention includes the control system of embodiment 1. Also comprises the following steps:
step S101, a user establishes connection with the cloud service platform 200 through a 3D printing APP logged in the remote control terminal 100, and uploads a 3D model file encrypted based on an encryption protocol to the cloud service platform 200;
step S102, the cloud service platform 200 decrypts the received 3D model file based on the encryption protocol, stores the decrypted 3D model file in the database 400, and/or encrypts the decrypted 3D model file based on the encryption protocol for a second time and transmits the encrypted 3D model file to the 3D printer 300;
step S103, the 3D printer 300 decrypts and prints the 3D model file secondarily encrypted and transmitted by the cloud service platform 200 based on an encryption protocol, and the Marlin firmware of the 3D printer 300 also performs matched printing control according to the printing state information detected by the position sensor and the temperature detection module in the printing process; the printing state information comprises a nozzle temperature parameter, a hot bed temperature parameter, a nozzle position parameter and a printing progress, and the printing control comprises printing suspension and printing termination;
step S104, the remote control terminal 100 and the cloud service platform 200 perform real-time query and remote termination of printing on the printing state information during the printing process of the 3D printer 300.
In an optional implementation manner of this embodiment, in step S101, after the user logs in the 3D printing APP of the remote control terminal 100, the remote control terminal 100 establishes a connection with the cloud service platform 200 based on a TCP handshake protocol. Specifically, after the user successfully logs in the app of the remote control terminal 100, the user connects to the cloud service platform 200 through TCP three-way handshake, then the remote control terminal 200 sends a connection packet to the cloud service platform 200, and the cloud service platform 200 responds to the connection packet to successfully establish connection.
In an optional implementation manner of this embodiment, before uploading the encrypted 3D model file based on the encryption protocol to the cloud service platform 200 in step S101, the control method further includes the following steps:
step S105, the cloud service platform 200 sends a digital certificate to the remote control terminal 100, where the digital certificate includes user identity information for establishing a connection with the cloud service platform 200 by using the remote control terminal 100, and the user identity information includes a user name and a key;
step S106, the remote control terminal 100 verifies the received digital certificate, wherein the verification includes whether the key is matched with the user name, the user name accessing the cloud service platform, the user name logging in the remote control terminal and the user information are logged off; specifically, the cloud service platform 200 sends a digital certificate to the remote control terminal 100 for identity verification, and after obtaining the digital certificate transmitted by the cloud service platform 200, the remote control terminal 100 verifies whether the digital certificate is in a revocation certificate list by verifying whether the digital certificate is authentic (whether a user account is matched with a secret key), whether a main body (a user name) of the digital certificate is consistent with an accessed main body (a main body using the remote control terminal 100);
step S107, after the remote control terminal 100 completes the verification, an encryption protocol is generated with the cloud service platform 100, that is, if all the verifications pass, an encryption algorithm is negotiated with the cloud service platform 200.
In an optional implementation manner of this embodiment, in step S101, the remote control terminal 100 encrypts the 3D model file by using an electronic code book based mode (ECB); in step S102, the cloud service platform 200 also decrypts the received 3D model file based on the codebook mode and the decrypted 3D model file after the secondary encryption is completed; in step S103, the 3D printer 300 decrypts the secondarily encrypted 3D model file based on the codebook mode.
In an optional implementation manner of this embodiment, the performing, by the Marlin firmware of the 3D printer in step 104, matched printing control according to the printing state information detected by the position sensor and the temperature detection module during the printing process further includes:
104-1, acquiring a spray head position parameter of the 3D printer acquired by a position sensor and acquiring a spray head temperature parameter and a hot bed temperature parameter acquired by a temperature detection module in real time by the Marlin firmware;
and step 104-2, the Marlin firmware compares the acquired nozzle coordinates in the nozzle position parameters, the nozzle temperature in the nozzle temperature parameters and the hot bed temperature in the hot bed temperature parameters with preset nozzle coordinate boundary values, nozzle temperature thresholds and hot bed temperature thresholds respectively, and executes:
when the nozzle coordinate exceeds the nozzle coordinate boundary value, stopping printing and enabling the nozzle coordinate to return to zero;
when the temperature of the spray head is greater than the temperature threshold of the spray head or the temperature of the hot bed is greater than the temperature threshold of the hot bed, stopping heating the spray head/the hot bed;
and when the temperature of the spray head is not greater than the temperature threshold of the spray head or the temperature of the hot bed is not greater than the temperature threshold of the hot bed, continuing to heat the spray head/the hot bed.
Specifically, one specific control procedure in practice is as follows: the method comprises the steps of setting a hot bed temperature threshold value to be 55 ℃, setting a spray head temperature threshold value to be 220 ℃, monitoring the hot bed temperature and the spray head temperature in real time through two temperature acquisition modules of a 3D printer, processing data acquired by the temperature acquisition modules on the hot bed, judging whether the data are within 45-55 ℃, continuing heating if the data are not obtained, and stopping heating if the data exceed the threshold value. And similarly, processing the temperature data acquired by the temperature acquisition module at the spray head, judging whether the temperature data is within 210-220 ℃, continuing heating if the temperature data is not within the range of 210-220 ℃, and stopping heating if the temperature data exceeds a threshold value. And then uploading the real-time state information and the temperature information to a server and displaying the real-time state information and the temperature information to a remote control terminal. If the printing needs to be continued, the remote control end needs to issue an execution instruction. In addition, through reading the step motor position information of 3D printer, if the shower nozzle position coordinate exceedes the coordinate scope, stop printing and return the shower nozzle position to zero, so, accomplish the monitoring to the shower nozzle position.
The technical scope of the present invention is not limited to the above embodiments, and any modifications, equivalent variations and modifications made to the above embodiments according to the technical spirit of the present invention still fall within the technical scope of the present invention.
Claims (10)
1. The 3D remote printing control system based on the Internet of things is characterized by comprising a remote control terminal, a cloud service platform and a 3D printer; the remote control terminal is loaded with a 3D printing APP, can be connected with the cloud service platform through a network, and is also connected with the 3D printer and a database through the network; wherein,
the remote control terminal can access and connect the cloud service platform through logging in the 3D printing APP, encrypts a 3D model file to be printed and transmits the encrypted 3D model file to the cloud service platform, and can remotely control the 3D printer to print and inquire the printing state information of the 3D printer transmitted by the cloud service platform in real time through the cloud service platform;
the cloud service platform can encrypt and/or decrypt the encrypted 3D model file transmitted by the remote control terminal and transmit the encrypted 3D model file to a database or a 3D printer after the identity of the remote control terminal is verified;
the 3D printer can download and print the 3D model file transmitted by the cloud service platform and feed back the printing state information of the 3D printer.
2. The internet of things-based 3D remote printing control system according to claim 1, wherein a remote printing control website is deployed on a cloud server of the cloud service platform, the cloud server is further connected with the database through an Ethernet, and printing services cached by the remote printing control website and stored in the database can be accessed by a remote control terminal connected with the cloud service platform through a network; the database is a relational data management system based on MySQL.
3. The internet of things-based 3D remote printing control system according to claim 2, wherein the remote control terminal is a smart phone, a tablet computer or a computer; the remote control terminal is connected with the cloud service platform through a 4G/5G communication network, an Ethernet or a WiFi communication network.
4. The Internet of things-based 3D remote printing control system according to any one of claims 1 to 3, wherein the 3D printer is a Marlin firmware-based 3D printer, the 3D printer is connected with a position sensor for reading the position of a spray head and a temperature acquisition module for acquiring the temperature of the spray head and a hot bed through serial ports, the 3D printer is further connected with a network module, and the network module enables the 3D printer to be connected with the cloud service platform.
5. The Internet of things-based 3D remote printing control system according to claim 4, wherein the network module is an Ethernet network card module connected with the 3D printer through a serial port or a wireless network module connected with the 3D printer through a USB terminal.
6. A control method for 3D remote printing, comprising the Internet of things-based 3D remote printing control system of claim 5, wherein the control method comprises the following steps:
a, a user establishes connection with the cloud service platform through a 3D printing APP which logs in the remote control terminal, and uploads a 3D model file encrypted based on an encryption protocol to the cloud service platform;
b, the cloud service platform decrypts the received 3D model file based on an encryption protocol, stores the decrypted 3D model file in the database and/or encrypts the decrypted 3D model file based on the encryption protocol for a second time and transmits the encrypted 3D model file to the 3D printer;
step C, the 3D printer decrypts and prints the 3D model file secondarily encrypted and transmitted by the cloud service platform based on an encryption protocol, and the Marlin firmware of the 3D printer performs matched printing control according to the printing state information detected by the position sensor and the temperature detection module in the printing process; the printing state information comprises a nozzle temperature parameter, a hot bed temperature parameter, a nozzle position parameter and a printing progress, and the printing control comprises printing suspension and printing termination;
and D, the remote control terminal and the cloud service platform inquire the printing state information in real time and terminate printing remotely in the printing process of the 3D printer.
7. The control method according to claim 6,
in the step A, after a user logs in the 3D printing APP of the remote control terminal, the remote control terminal is connected with the cloud service platform based on a TCP handshake protocol.
8. The control method according to claim 6, wherein the uploading the encrypted 3D model file based on the encryption protocol to the cloud service platform comprises:
step D, the cloud service platform sends a digital certificate to the remote control terminal, wherein the digital certificate comprises user identity information which is used for establishing connection between the remote control terminal and the cloud service platform, and the user identity information comprises a user name and a secret key;
step E, the remote control terminal verifies the received digital certificate, wherein the verification comprises whether a secret key is matched with a user name, the user name accessing a cloud service platform, the user name logging in the remote control terminal and user information are logged out or not;
and F, generating an encryption protocol with the cloud service platform after the remote control terminal completes the verification.
9. The control method according to claim 6, wherein in step a, the remote control terminal encrypts the 3D model file based on a codebook mode; in the step B, the cloud service platform decrypts the received 3D model file and the decrypted 3D model file after secondary encryption based on the codebook mode; and in the step C, the 3D printer decrypts the secondarily encrypted 3D model file based on the codebook mode.
10. The control method according to claim 6, wherein in the step D, the printing control of the Marlin firmware of the 3D printer according to the printing state information detected by the position sensor and the temperature detection module during the printing process comprises:
the Marlin firmware acquires the nozzle position parameters of the 3D printer acquired by the position sensor in real time and acquires the nozzle temperature parameters and the hot bed temperature parameters acquired by the temperature detection module;
and step ii, the Marlin firmware compares the acquired nozzle coordinates in the nozzle position parameters, the nozzle temperature in the nozzle temperature parameters and the hot bed temperature in the hot bed temperature parameters with preset nozzle coordinate boundary values, nozzle temperature thresholds and hot bed temperature thresholds respectively, and executes:
when the nozzle coordinate exceeds the nozzle coordinate boundary value, stopping printing and enabling the nozzle coordinate to return to zero;
when the temperature of the spray head is greater than the temperature threshold of the spray head or the temperature of the hot bed is greater than the temperature threshold of the hot bed, stopping heating the spray head/the hot bed;
and when the temperature of the spray head is not greater than the temperature threshold of the spray head or the temperature of the hot bed is not greater than the temperature threshold of the hot bed, continuing to heat the spray head/the hot bed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911211473.5A CN110989945B (en) | 2019-12-02 | 2019-12-02 | 3D remote printing control system and control method based on Internet of things |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911211473.5A CN110989945B (en) | 2019-12-02 | 2019-12-02 | 3D remote printing control system and control method based on Internet of things |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110989945A true CN110989945A (en) | 2020-04-10 |
CN110989945B CN110989945B (en) | 2023-05-02 |
Family
ID=70088960
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911211473.5A Active CN110989945B (en) | 2019-12-02 | 2019-12-02 | 3D remote printing control system and control method based on Internet of things |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110989945B (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113306291A (en) * | 2021-05-28 | 2021-08-27 | 曲阜市玉樵夫科技有限公司 | Intelligent printing method, printing device, printer and intelligent printing system |
CN113419691A (en) * | 2021-07-01 | 2021-09-21 | 山东白令三维科技有限公司 | 3D printing method and device and 3D printing Internet of things system |
CN113641412A (en) * | 2021-08-13 | 2021-11-12 | 成都掠食鸟科技有限公司 | Computer remote control system and control method based on Internet of things technology |
CN114285887A (en) * | 2021-12-29 | 2022-04-05 | 北方民族大学 | 3D printing system of solar cell device based on block chain and using method thereof |
CN114713859A (en) * | 2022-03-29 | 2022-07-08 | 上海汉邦联航激光科技有限公司 | Metal 3D printer process monitoring system |
CN114741672A (en) * | 2022-06-10 | 2022-07-12 | 深圳市智能派科技有限公司 | Internet-based 3D printing model management method and system |
CN114953465A (en) * | 2022-05-17 | 2022-08-30 | 成都信息工程大学 | 3D printing method based on Marlin firmware |
CN116403342A (en) * | 2022-12-12 | 2023-07-07 | 珠海芯烨电子科技有限公司 | Bluetooth-based pos terminal printing method |
WO2023184586A1 (en) * | 2022-03-31 | 2023-10-05 | 深圳市茗升科技有限公司 | Printing control method, printing control apparatus, computer device and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150134955A1 (en) * | 2013-11-12 | 2015-05-14 | Alberto Daniel Lacaze | Method for Using Cryptography to Protect Deployable Rapid On-Site Manufacturing 3D Printing Systems and Enable a Single Time Printing Protocol |
CN105025102A (en) * | 2015-07-17 | 2015-11-04 | 中国海洋大学 | Network storage and calling method and storage system of 3D printing model file |
CN106933522A (en) * | 2017-03-06 | 2017-07-07 | 武汉中天元科技有限公司 | A kind of long-range 3D printing method and system |
CN108509162A (en) * | 2018-02-27 | 2018-09-07 | 宁波阿祖拉信息技术有限公司 | A kind of intelligent remote print system and operation method |
-
2019
- 2019-12-02 CN CN201911211473.5A patent/CN110989945B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150134955A1 (en) * | 2013-11-12 | 2015-05-14 | Alberto Daniel Lacaze | Method for Using Cryptography to Protect Deployable Rapid On-Site Manufacturing 3D Printing Systems and Enable a Single Time Printing Protocol |
CN105025102A (en) * | 2015-07-17 | 2015-11-04 | 中国海洋大学 | Network storage and calling method and storage system of 3D printing model file |
CN106933522A (en) * | 2017-03-06 | 2017-07-07 | 武汉中天元科技有限公司 | A kind of long-range 3D printing method and system |
CN108509162A (en) * | 2018-02-27 | 2018-09-07 | 宁波阿祖拉信息技术有限公司 | A kind of intelligent remote print system and operation method |
Non-Patent Citations (1)
Title |
---|
万伟康;赵康;王文博;陈卫峰;邓小颖;: "3D打印机网络服务的智能云平台设计", 单片机与嵌入式系统应用 * |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113306291A (en) * | 2021-05-28 | 2021-08-27 | 曲阜市玉樵夫科技有限公司 | Intelligent printing method, printing device, printer and intelligent printing system |
CN113419691A (en) * | 2021-07-01 | 2021-09-21 | 山东白令三维科技有限公司 | 3D printing method and device and 3D printing Internet of things system |
CN113641412A (en) * | 2021-08-13 | 2021-11-12 | 成都掠食鸟科技有限公司 | Computer remote control system and control method based on Internet of things technology |
CN114285887A (en) * | 2021-12-29 | 2022-04-05 | 北方民族大学 | 3D printing system of solar cell device based on block chain and using method thereof |
CN114713859A (en) * | 2022-03-29 | 2022-07-08 | 上海汉邦联航激光科技有限公司 | Metal 3D printer process monitoring system |
WO2023184586A1 (en) * | 2022-03-31 | 2023-10-05 | 深圳市茗升科技有限公司 | Printing control method, printing control apparatus, computer device and storage medium |
CN114953465A (en) * | 2022-05-17 | 2022-08-30 | 成都信息工程大学 | 3D printing method based on Marlin firmware |
CN114741672A (en) * | 2022-06-10 | 2022-07-12 | 深圳市智能派科技有限公司 | Internet-based 3D printing model management method and system |
CN114741672B (en) * | 2022-06-10 | 2023-05-12 | 深圳市智能派科技有限公司 | Internet-based 3D printing model management method and system |
CN116403342A (en) * | 2022-12-12 | 2023-07-07 | 珠海芯烨电子科技有限公司 | Bluetooth-based pos terminal printing method |
CN116403342B (en) * | 2022-12-12 | 2023-11-21 | 珠海芯烨电子科技有限公司 | Bluetooth-based pos terminal printing method |
Also Published As
Publication number | Publication date |
---|---|
CN110989945B (en) | 2023-05-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110989945A (en) | 3D remote printing control system and control method based on Internet of things | |
CA2953148C (en) | System, method and apparatus for providing enrollment of devices in a network | |
CN107113315B (en) | Identity authentication method, terminal and server | |
AU2023202028A1 (en) | Wireless access credential system | |
US20210224407A1 (en) | Information processing device, information processing method, and distributed component | |
CN107070863A (en) | Local device certification | |
US20210005331A1 (en) | Management device, management method, and program | |
CN105637915A (en) | Method for assigning an agent device from a first device registry to a second device registry | |
RU2013140972A (en) | NETWORK SYSTEM, INTERFACE BOARD, METHOD FOR PRINT MANAGEMENT IN A NETWORK SYSTEM AND PROGRAM | |
JP2004171107A5 (en) | Software providing system, software providing apparatus and method, and program | |
CN107925573A (en) | The method and apparatus that secure communication between constrained devices is provided | |
CN108712246B (en) | Intelligent household equipment and system and visitor password acquisition method | |
WO2013185713A2 (en) | Industrial control system and management device | |
CN109981312A (en) | intelligent device configuration method, device and system | |
CN113433831A (en) | Control method and module of intelligent household equipment and storage medium | |
JP6264626B2 (en) | Certificate issuing system, communication method and management apparatus | |
CN103208043A (en) | Method and system for providing hotel services | |
CN105608354A (en) | Authentication method and system, terminal and server | |
CN109190361A (en) | A kind of method, apparatus, system and readable storage medium that sequence number generates | |
CN102661487B (en) | Mobile data collection method of pipeline gas internet of things (IOT) | |
JP2005141414A5 (en) | ||
CN111459425A (en) | Printing method based on consumable chip, consumable chip and printing consumable | |
CN104537768B (en) | IC card intelligent heat meter information security management module | |
TW202001642A (en) | Access control method with multi-level authorization, apparatus and system thereof | |
CN107209506B (en) | The product identification of safety and verification |
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 |