CN110989945B - 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 PDF

Info

Publication number
CN110989945B
CN110989945B CN201911211473.5A CN201911211473A CN110989945B CN 110989945 B CN110989945 B CN 110989945B CN 201911211473 A CN201911211473 A CN 201911211473A CN 110989945 B CN110989945 B CN 110989945B
Authority
CN
China
Prior art keywords
service platform
cloud service
printing
printer
model file
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
CN201911211473.5A
Other languages
Chinese (zh)
Other versions
CN110989945A (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.)
Jinan University
Original Assignee
Jinan University
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 Jinan University filed Critical Jinan University
Priority to CN201911211473.5A priority Critical patent/CN110989945B/en
Publication of CN110989945A publication Critical patent/CN110989945A/en
Application granted granted Critical
Publication of CN110989945B publication Critical patent/CN110989945B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1203Improving or facilitating administration, e.g. print management
    • 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/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1275Print workflow management, e.g. defining or changing a workflow, cross publishing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1278Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
    • G06F3/1285Remote printer device, e.g. being remote from client or server
    • 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/02Total 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 an APP, and can be connected with a cloud service platform through a network, and the cloud service platform is connected with a 3D printer and a connection database through the network; the remote control terminal can access and connect the cloud service platform through the login APP, encrypt the 3D model file to be printed and then transmit the encrypted 3D model file to the cloud service platform, and remotely control the 3D printer to print and query 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 the database or the 3D printer after verifying the identity of the remote control terminal; the 3D printer can download and print the 3D model file transmitted by the cloud service platform, and feed back printing status information of the 3D printer.

Description

3D remote printing control system and control method based on Internet of things
Technical Field
The invention relates to the field of Internet of things, in particular to a 3D remote printing control system and method based on the Internet of things.
Background
As early as 1988, a company in the united states utilized the earliest proposed 3D printer principle, and the first commercial model developed by liquid photosensitive resin curing technology was directed to the mass, making the mass aware of 3D printing technology. The concept of "3D printing technology" in 1992 was proposed by two professors of the american milpa, which pushed 3D printing to the public and began to be of interest. With the development of the rapid prototyping technology, more than ten 3D printing technologies such as three-dimensional printing technology, fused deposition modeling technology, laser selective area fusion modeling technology, selective laser sintering technology, electron beam fused deposition modeling technology, layering solid modeling technology and the like are gradually developed along with the continuous development of technology.
Along with the development of the age, the demand of the rapid prototyping technology is larger and larger, the 3D printing cloud platform collects various data of the printer through the Internet on the basis of 3D printing, the data are transmitted back to the Internet, people with printing demands can participate in the production of the model without being influenced by time and region, and various information of the printing progress and the printer can be checked.
But existing 3D printing systems exist: the printer has the defects of difficult interaction with a user, inconvenient detection of a printing device, complex printing structure, high printing cost, complex installation of the printer and difficult operation.
In the related art, there is no better technical solution for solving the above problems.
Disclosure of Invention
Aiming at the defects in the prior art, the invention provides the 3D remote printing control system and the control method based on the Internet of things, which can remotely control the 3D printer to print and interact with the 3D printer in real time, check the printing progress and the printing state in real time and improve the printing efficiency.
According to a first aspect of the invention, a 3D remote printing control system based on the Internet of things is provided, and comprises a remote control terminal, a cloud service platform and a 3D printer; the remote control terminal is loaded with a 3D printing APP, and can be connected with the cloud service platform through a network, and the cloud service platform 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 by logging in a 3D printing APP, encrypt a 3D model file to be printed and then transmit the encrypted 3D model file to the cloud service platform, and can remotely control the 3D printer to print and query 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 the database or the 3D printer after verifying the identity of the remote control terminal; after decrypting the corresponding 3D model file, the cloud service platform stores the decrypted 3D model file in the database connected with the cloud service platform, and when the 3D printer needs to download the 3D model file, the cloud service platform encrypts the 3D model file for the second time and then transmits the encrypted 3D model file to the 3D printer;
the 3D printer can download and print the 3D model file transmitted by the cloud service platform, and feed back the printing status information of the 3D printer 300; and the 3D printer transmits the printing state information to the cloud service platform through a network and then to the remote control terminal.
As a further explanation of the above technical solution:
in the above technical solution, a remote print control website is disposed on a cloud server of the cloud service platform, the cloud server is further connected to the database through an ethernet, and print services cached by the remote print control website and stored in the database can be accessed by a remote control terminal connected to the cloud service platform through a network; the database is a MySQL-based relational data management system.
According to the technical scheme, the remote control terminal is a smart phone, a tablet personal 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.
According to the technical scheme, the 3D printer is a 3D printer based on Marlin firmware, the 3D printer is connected with a position sensor for reading the position of the spray head and a temperature acquisition module for acquiring the temperature of the spray head and the temperature of a hot bed through a serial port, and the 3D printer is also connected with a network module which enables the 3D printer to be connected with the cloud service platform.
According to the 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 a single or a plurality of 3D printers by remotely monitoring and controlling the 3D printers, can remotely send and receive instructions on line and control the plurality of 3D printers, can safely transmit files, and ensures that the information safety is not stolen. The control system has the advantages of improving printing efficiency, along with convenient interaction between the printer and a user, convenient monitoring of the printing device, simple structure, simple installation, easy operation and 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 3D remote printing control system based on the internet of things according to the first aspect of the present invention, and further includes the following steps:
step A, a user establishes connection with the cloud service platform through a 3D printing APP logging in the remote control terminal, and uploads a 3D model file encrypted based on an encryption protocol to the cloud service platform;
step B, the cloud service platform decrypts the received 3D model file based on an encryption protocol and stores the decrypted 3D model file into the database, and the decrypted 3D model file is secondarily encrypted based on the encryption protocol and transmitted to the 3D printer;
step C, the 3D printer decrypts the 3D model file which is secondarily encrypted and transmitted by the cloud service platform based on an encryption protocol and prints the 3D model file, 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 the steps of suspending printing and stopping printing;
and D, the remote control terminal and the cloud service platform inquire the printing state information in real time and remotely terminate printing in the printing process of the 3D printer.
As a further explanation of the above technical solution:
in the above technical scheme, in step a, after a user logs in the 3D printing APP of the remote control terminal, the remote control terminal establishes connection with a 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 for establishing connection with the cloud service platform by using the remote control terminal, and the user identity information comprises a user name and a secret key;
e, the remote control terminal verifies the received digital certificate, wherein the verification comprises matching of a secret key and a user name, accessing of the user name of the cloud service platform, logging in of the user name of the remote control terminal and whether user information is 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 the codebook mode; in the step B, the cloud service platform decrypts the received 3D model file and the decrypted 3D model file based on the electric codebook mode; in the step C, the 3D printer decrypts the secondarily encrypted 3D model file based on the electric codebook mode.
In the above technical solution, in the step D, the printing control for matching the Marlin firmware of the 3D printer according to the printing status information detected by the position sensor and the temperature detection module in the printing process further includes:
step i, the Marlin firmware acquires the position parameters of the spray head of the 3D printer acquired by the position sensor, and acquires the temperature parameters of the spray head and the temperature parameters of the hot bed acquired by the temperature detection module in real time;
step ii), the Marlin firmware compares the acquired nozzle coordinates in the nozzle position parameters, the nozzle temperatures in the nozzle temperature parameters and the hot bed temperatures 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 coordinates exceed the nozzle coordinate boundary values, stopping printing and zeroing the nozzle coordinates;
stopping the heating of the spray head/hot bed when the spray head temperature is greater than the spray head temperature threshold or the hot bed temperature is greater than the hot bed temperature threshold;
and when the temperature of the spray head is not greater than the threshold of the temperature of the spray head or the temperature of the hot bed is not greater than the threshold of the temperature 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 invention;
fig. 2 is a network frame 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 frame diagram of a 3D remote printing control system based on the Internet of things according to an embodiment of the 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 invention is described in further detail below with reference to the accompanying drawings.
The embodiments described by referring to the drawings are exemplary and intended for purposes of illustrating 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 drawings in conjunction with embodiments. It should be noted that, in the case of no conflict, the embodiments and features in the embodiments may be combined with each other.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order.
Before explaining the specific embodiments, the following concepts are explained herein to facilitate explanation of the specific embodiments below.
3D printing (3 DP), which is a rapid prototyping technique, is a technique that builds objects by printing layer by layer, using a bondable material such as powdered metal or plastic, based on digital model files. The 3D printing technology has emerged in the mid 90 s of the 20 th century, and is actually the latest rapid prototyping apparatus using techniques such as photocuring and paper lamination. The printing machine has the same basic working principle as that of common printing, and the printing machine is filled with liquid or powder and other printing materials, and after being connected with a computer, the printing materials are overlapped layer by layer under the control of the computer, so that a blueprint on the computer is finally changed into a real object.
The operation of the 3D printer is accomplished through embedded firmware. And the firmware is responsible for interpreting the G-code instructions from the application and then letting the machine execute the commands. Common 3D print firmware is Sprinter, marlin, teacup, salifish, etc.
Marlin firmware is a 3D printer firmware which is widely applied in the prior art. Marlin is an advantage of fusing Sprinter and Grbl firmware, and is an open source hybrid version based on Arduino. The Marlin firmware drives a control board, reads a G-code to execute printing work, controls a stepper motor to print out an entity, controls the temperature of an extruder and a 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 an SD card, and supports LCD to display and print information. Meanwhile, the versions of Marlin firmware are mainly distinguished according to the supported control boards, and RAMPS, sanguinololu, ultimaker, gen series are common.
Arduino is a convenient and flexible open source electronic prototype platform convenient for the user to get on hand. It contains hardware (Arduino boards of various models) and software (Arduino IDE). It is built on an open original code simple I/O interface and has a Processing/Wiring development environment using Java-like, C language. It mainly comprises 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, and feedback and influence the environment through controlling lights, motors and other devices. The microcontroller on the circuit board can write a program through the programming language of Arduino, compile into a binary file and burn into the microcontroller.
The digital certificate is an electronic document, is a series of numbers capable of indicating the identity information of the network user, and provides a way for verifying the identity of the network user on a computer network.
The codebook mode (Electronic Codebook Book (ECB)) is one of the five encryption modes of AES. The codebook mode is a basic encryption mode, the ciphertext is divided into blocks with equal group lengths (insufficient padding), then the blocks are encrypted individually, the ciphertext is formed by outputting the blocks individually, namely, the whole plaintext is divided into a plurality of identical small segments, and then each small segment is encrypted. At the same time, 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 invention; fig. 2 is a network frame 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 frame diagram of a 3D remote printing control system based on the internet of things according to an embodiment of the present invention. The invention relates to a 3D remote printing control system based on an Internet of things network, which 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, and the remote control terminal 100 can be connected with the cloud service platform 200 through a network, and the cloud service platform 200 is also connected with the 3D printer 300 and the database 400 through the network; wherein,,
the remote control terminal 100 can access and connect the cloud service platform 200 by logging in a 3D printing APP, encrypt a 3D model file to be printed and then transmit the encrypted 3D model file to the cloud service platform 200, and the remote control terminal 100 can remotely control the 3D printer 300 to print and query 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 it to the database 400 or the 3D printer 300 after verifying the identity of the remote control terminal 100; in practice, after decrypting the corresponding 3D model file, the cloud service platform 300 may optionally store the decrypted 3D model file in the database 400 connected thereto, and when the 3D printer 300 needs to download the 3D model file, the cloud service platform 200 encrypts the 3D model file and 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 printing status information of the 3D printer 300; the 3D printer 300 transmits the printing status information to the cloud service platform 200 via the network, and then to the remote control terminal 100, so that the remote control terminal 100 can query the printing status of the 3D printer 300 in real time and control the printing process of the 3D printer 300.
It should be noted that, the 3D printing APP assembled on the remote control terminal 100 is not only an existing common application APP, but also a client presented in a web form, so long as the application APP or the web is satisfied 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, the registered account number (including the user name, the contact way, the address information, etc.) is used to log in, and when logging in, the remote control terminal 100 performs traversal matching on the user name and the key of the logger and the user data table stored in the database 400 associated with the cloud service platform 200, and if the 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 palm top computers, and 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 cellular network), an ethernet network, or a WiFi communication network.
In this embodiment, a remote print 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 print services cached by the remote print control website and stored in the database 400 can be accessed by the remote control terminal 100 connected to the cloud service platform 200 through a network; the database 400 is a MySQL-based relational data management system, 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 built on the ali cloud server, and the remote printing control website is deployed on the cloud server, the information data of the remote printing control website is saved by using the cache service provided by the cloud service platform 200, the important data is saved in the database connected to the cloud service platform 200, and the data in the save database 400 can be accessed by any remote control terminal 100 connected to the control system.
The database 400 is a MySQL-based relational data management system, which organizes, stores and manages data by adopting a structure of data, and can be used for conveniently managing the 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 saving 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 user name and password, and may be empty. The field ID is set as an int type and is set as a primary key, the fields Name and the Password are set as a varchar type, the user Name and the key are stored, and the first_time and the last_time are set as a datetime mode. The registration time and the time of the last login are recorded.
The user login information table may refer to the following table:
login interface parameter table
Figure GDA0004103869490000071
/>
Figure GDA0004103869490000081
2. Equipment data acquisition table
The equipment data acquisition table is mainly used for storing the temperature of the spray nozzle and the hot bed acquired by the sensor and the position of the spray nozzle. The device data acquisition table has seven fields, wherein the field ID is a primary key, so that the uniqueness is ensured, and the time for acquiring the data is stored by a field Date, and the type is datetime. The fields temper_a, temper_b, x_axis, y_axis, z_axis are all set to the varchar type, representing the showerhead temperature, the hot bed temperature, and the X, Y, Z three axis positions, respectively. Setting a data acquisition table of equipment according to actual conditions by acquisition time
Name of the name Type(s) Size and dimensions of Null value Remarks
ID int Defaults to NO (Main key) Field order
Date Datetime Defaults to Is that Acquisition time
Temper a Float 32 Is that Shower nozzle temperature
Temper b Float 32 Is that Hot bed temperature
X axis Float 32 Is that X-axis position
Y axis Float 32 Is that Y-axis position
Z axis Float 32 Is that Z-axis position
In this embodiment, the 3D printer 300 is a 3D printer based on Marlin firmware, in this embodiment, the 3D printer is a 3D printer controlled by Marlin firmware based on Arduino control board adaptation, the 3D printer 300 is connected with a position sensor (actually, the position of a stepper motor for reading X, Y, Z three axes) for reading the position of the spray head and a temperature acquisition module for acquiring the temperature of the spray head and the hot bed through serial ports, and the 3D printer 300 is further connected with a network module, and the network module enables the 3D printer 300 to be connected with the 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 wireless network module in this embodiment may be an ESP8266 wireless network module. It should be noted that the network module may provide functions such as remote long-period network connection, communication port maintenance, disconnection reconnection, etc. between the remote control terminal 100/cloud service platform 200 and the 3D printer 300. The network module is selected to avoid communication confusion caused by simultaneous operation of a plurality of terminals when the network with 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. The method also comprises the following steps:
step S101, a user establishes a 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, then stores the decrypted 3D model file in the database 400, and encrypts the decrypted 3D model file based on the encryption protocol for the second time and transmits the encrypted 3D model file to the 3D printer 300;
step S103, the 3D printer 300 decrypts the 3D model file secondarily encrypted and transmitted by the cloud service platform 200 based on the encryption protocol and prints, and the Marlin firmware of the 3D printer 300 performs matched printing control according to the printing status information detected by the position sensor and the temperature detection module during 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 the steps of suspending printing and stopping printing;
in step S104, the remote control terminal 100 and the cloud service platform 200 query the printing status information in real time and remotely terminate printing in 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 the TCP handshake protocol. Specifically, after the user successfully logs in the app of the remote control terminal 100, the user first connects with the cloud service platform 200 through a TCP three-way handshake, and then the remote control terminal 200 sends a connection packet to the cloud service platform 200, and the cloud service platform 200 responds to a connection packet to successfully establish a connection.
In an optional implementation manner of this embodiment, before the uploading the 3D model file encrypted 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 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, where the verification includes matching the key with the user name, accessing the user name of the cloud service platform, logging in the user name of the remote control terminal, and whether the user information is logged out; specifically, the cloud service platform 200 sends a digital certificate to the remote control terminal 100 for identity verification, and the remote control terminal 100 verifies whether the digital certificate is in the revoked certificate list by verifying whether the digital certificate is true or false (whether a user account is matched with a secret key), verifying whether a main body (user name) of the digital certificate is consistent with an accessed main body (the main body using the remote control terminal 100) after the digital certificate transmitted by the cloud service platform 200 is obtained;
step S107, generating an encryption protocol with the cloud service platform 100 after the remote control terminal 100 completes the verification, that is, negotiating an encryption algorithm with the cloud service platform 200 if the verification is completely passed.
In an alternative implementation of the present embodiment, in step S101, the remote control terminal 100 encrypts a 3D model file using an electric codebook-based mode (ECB); in step S102, the cloud service platform 200 decrypts the received 3D model file and the decrypted 3D model file based on the codebook pattern; in step S103, the 3D printer 300 decrypts the secondarily encrypted 3D model file based on the electric codebook pattern.
In an optional implementation manner of this embodiment, the printing control of the Marlin firmware of the 3D printer in step 104 according to the printing status information detected by the position sensor and the temperature detection module during the printing process further includes:
104-1, acquiring a nozzle position parameter of a 3D printer acquired by a position sensor, and acquiring a nozzle temperature parameter and a hot bed temperature parameter acquired by a temperature detection module by Marlin firmware in real time;
step 104-2, the Marlin firmware compares the obtained 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, and executes:
when the nozzle coordinates exceed the nozzle coordinate boundary values, stopping printing and zeroing the nozzle coordinates;
stopping the heating of the spray head/hot bed when the spray head temperature is greater than the spray head temperature threshold or the hot bed temperature is greater than the hot bed temperature threshold;
and when the temperature of the spray head is not greater than the threshold of the temperature of the spray head or the temperature of the hot bed is not greater than the threshold of the temperature of the hot bed, continuing to heat the spray head/the hot bed.
Specifically, a specific control procedure in practice is as follows: setting the temperature threshold of the hot bed to 55 ℃ and the temperature threshold of the spray head to 220 ℃, monitoring the temperature of the hot bed and the temperature of the spray head in real time through two temperature acquisition modules of the 3D printer, processing the data acquired by the temperature acquisition modules on the hot bed, judging whether the temperature is within 45-55 ℃, continuing heating if the temperature is not reached, and stopping heating if the temperature is exceeded. And processing the temperature data acquired by the temperature acquisition module at the nozzle, judging whether the temperature is within 210-220 ℃, if not, continuing heating, and if so, stopping heating. And uploading the real-time state information and the temperature information to a server and displaying the information and the temperature information in a remote control end. If printing is 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 shower nozzle position coordinate exceeds the coordinate scope, stop printing and return the shower nozzle position to zero, so, accomplish the monitoring to the shower nozzle position.
The above description should not be taken as limiting the scope of the invention, and any modifications, equivalent changes and modifications made to the above embodiments according to the technical principles of the present invention still fall within the scope of the technical solutions 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, and can be connected with the cloud service platform through a network, and the cloud service platform 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 by logging in a 3D printing APP, encrypt a 3D model file to be printed and then transmit the encrypted 3D model file to the cloud service platform, and can remotely control the 3D printer to print and query 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 the database or the 3D printer after verifying the identity of the remote control terminal; after decrypting the corresponding 3D model file, the cloud service platform stores the decrypted 3D model file in the database connected with the cloud service platform, and when the 3D printer needs to download the 3D model file, the cloud service platform encrypts the 3D model file for the second time and then transmits the encrypted 3D model file to the 3D printer;
the 3D printer can download and print the 3D model file transmitted by the cloud service platform, and feed back the printing status information of the 3D printer 300; and the 3D printer transmits the printing state information to the cloud service platform through a network and then to the remote control terminal.
2. The internet of things-based 3D remote printing control system of 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 to the database through 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 to the cloud service platform through a network; the database is a MySQL-based relational data management system.
3. The 3D remote printing control system based on the internet of things 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 3D remote printing control system based on the internet of things according to any one of claims 1 to 3, wherein the 3D printer is a 3D printer based on Marlin firmware, the 3D printer is connected with a position sensor for reading a position of a spray head and a temperature acquisition module for acquiring the temperature of the spray head and a hot bed through a serial port, and 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 of claim 4, wherein the network module is an ethernet network card module connected to the 3D printer through a serial port or a wireless network module connected to the 3D printer through a USB terminal.
6. The control method for 3D remote printing, which is applied to the 3D remote printing control system based on the Internet of things as claimed in claim 5, is characterized by comprising the following steps:
step A, a user establishes connection with the cloud service platform through a 3D printing APP logging in the remote control terminal, and uploads a 3D model file encrypted based on an encryption protocol to the cloud service platform;
step B, the cloud service platform decrypts the received 3D model file based on an encryption protocol and stores the decrypted 3D model file into the database, and the decrypted 3D model file is secondarily encrypted based on the encryption protocol and transmitted to the 3D printer;
step C, the 3D printer decrypts the 3D model file which is secondarily encrypted and transmitted by the cloud service platform based on an encryption protocol and prints the 3D model file, 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 the steps of suspending printing and stopping printing;
and D, the remote control terminal and the cloud service platform inquire the printing state information in real time and remotely terminate printing in the printing process of the 3D printer.
7. The control method according to claim 6, wherein,
in the step A, after a user logs in the 3D printing APP of the remote control terminal, the remote control terminal establishes connection with a cloud service platform based on a TCP handshake protocol.
8. The control method according to claim 6, wherein the uploading the 3D model file encrypted 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 for establishing connection with the cloud service platform by using the remote control terminal, and the user identity information comprises a user name and a secret key;
e, the remote control terminal verifies the received digital certificate, wherein the verification comprises matching of a secret key and a user name, accessing of the user name of the cloud service platform, logging in of the user name of the remote control terminal and whether user information is 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 a 3D model file based on a codebook pattern; in the step B, the cloud service platform decrypts the received 3D model file and the decrypted 3D model file based on the electric codebook mode; in the step C, the 3D printer decrypts the secondarily encrypted 3D model file based on the electric 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 status information detected by the position sensor and the temperature detection module during the printing process further includes:
step i, the Marlin firmware acquires the position parameters of the spray head of the 3D printer acquired by the position sensor, and acquires the temperature parameters of the spray head and the temperature parameters of the hot bed acquired by the temperature detection module in real time;
step ii), the Marlin firmware compares the acquired nozzle coordinates in the nozzle position parameters, the nozzle temperatures in the nozzle temperature parameters and the hot bed temperatures 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 coordinates exceed the nozzle coordinate boundary values, stopping printing and zeroing the nozzle coordinates;
stopping the heating of the spray head/hot bed when the spray head temperature is greater than the spray head temperature threshold or the hot bed temperature is greater than the hot bed temperature threshold;
and when the temperature of the spray head is not greater than the threshold of the temperature of the spray head or the temperature of the hot bed is not greater than the threshold of the temperature of the hot bed, continuing to heat the spray head/the hot bed.
CN201911211473.5A 2019-12-02 2019-12-02 3D remote printing control system and control method based on Internet of things Active CN110989945B (en)

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 CN110989945A (en) 2020-04-10
CN110989945B true 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)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113306291B (en) * 2021-05-28 2022-06-10 曲阜市玉樵夫科技有限公司 Intelligent printing method, printing device, printer and intelligent printing system
CN113419691B (en) * 2021-07-01 2023-03-24 山东白令三维科技有限公司 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
CN114706540A (en) * 2022-03-31 2022-07-05 深圳市茗升科技有限公司 Print control method, print control apparatus, computer device, and storage medium
CN114953465B (en) * 2022-05-17 2023-04-21 成都信息工程大学 3D printing method based on Marlin firmware
CN114741672B (en) * 2022-06-10 2023-05-12 深圳市智能派科技有限公司 Internet-based 3D printing model management method and system
CN116403342B (en) * 2022-12-12 2023-11-21 珠海芯烨电子科技有限公司 Bluetooth-based pos terminal printing method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
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

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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)

* Cited by examiner, † Cited by third party
Title
3D打印机网络服务的智能云平台设计;万伟康;赵康;王文博;陈卫峰;邓小颖;;单片机与嵌入式系统应用(03);全文 *

Also Published As

Publication number Publication date
CN110989945A (en) 2020-04-10

Similar Documents

Publication Publication Date Title
CN110989945B (en) 3D remote printing control system and control method based on Internet of things
CA3121023C (en) Wireless access credential system
CN108762791B (en) Firmware upgrading method and device
CA2953148C (en) System, method and apparatus for providing enrollment of devices in a network
US20150350278A1 (en) Secure streaming method in a numerically controlled manufacturing system, and a secure numerically controlled manufacturing system
US20230394162A1 (en) Information processing device, information processing method, and distributed component
EP3365825B1 (en) Secure access control to an embedded device through a networked computer
CN105392134A (en) method for the authentication of at least one first unit on at least one second unit
CN109597633B (en) Software management system, software updating device, software updating method, and storage medium
CN110376990B (en) Safe industrial control system
CN105637915A (en) Method for assigning an agent device from a first device registry to a second device registry
TWI636373B (en) Method and device for authorizing between devices
RU2013140972A (en) NETWORK SYSTEM, INTERFACE BOARD, METHOD FOR PRINT MANAGEMENT IN A NETWORK SYSTEM AND PROGRAM
US20210005331A1 (en) Management device, management method, and program
CA2979016A1 (en) System and method for controlling manufacturing of an item
WO2013149296A1 (en) Digital rights management for three dimensional object production
CN105337408B (en) The quick defect elimination system in acquiring electric energy information scene
CN111680330A (en) Traceability system and traceability method based on block chain data exchange
JP4833745B2 (en) Data protection method for sensor node, computer system for distributing sensor node, and sensor node
CN111480125B (en) Method for protecting production data for manufacturing products
CN113573856A (en) Machine learning model operation management system and machine learning model operation management method
CN104991748A (en) Remote three-dimensional printing system and method thereof
CN109218290A (en) Industrial product quality management platform and its working method based on big data
CN102661487B (en) Mobile data collection method of pipeline gas internet of things (IOT)
CN109190361A (en) A kind of method, apparatus, system and readable storage medium that sequence number generates

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