Invention content
An embodiment of the present invention provides the data guard methods and system of threedimensional model under a kind of cloud manufacturing environment, it is intended to solve
The problem of data that certainly server is transmitted to 3D printing equipment are easily revealed.
In order to the embodiment to disclosure some aspects there are one basic understanding, simple summary is shown below.It should
Summarized section is not extensive overview, nor to determine key/critical component or describe the protection domain of these embodiments.
Its sole purpose is that some concepts are presented with simple form, in this, as the preamble of following detailed description.
According to a first aspect of the embodiments of the present invention, a kind of data protection side of threedimensional model under cloud manufacturing environment is provided
Method is applied to server, including:
It is that manufacture executes code by 3D model data transformations;
The first identity information that the manufacture executes code and 3D printing equipment is bound, encrypted manufacture is formed and executes generation
Code;
It sends encrypted manufacture and executes code to the 3D printing equipment;
Release cache is sent to instruct to the 3D printing equipment.
Technical solution in the present embodiment can ensure that the data that server is sent to 3D printing equipment are not easy to reveal.Server
Primary 3D printing device fabrication can only be printed by, which being provided to 3D printing equipment, executes code, without putting forward original 3D model datas
Supply user or manufacturing service quotient;3D printing equipment is sent the data directly to control print procedure, by adding to data
Secret emissary obtains data and is protected in transmission process, which can only use in the 3D printing equipment of mandate.Once having printed
Cheng Hou, the technological means by discharging cache automatically ensure that associated documents will not be retained in 3D printing equipment.Server
During 3D printing equipment transmission data, in 3D printing equipment print procedure and after 3D printing equipment prints, all
It is less prone to the phenomenon that data are leaked, design document can be prevented to be stolen, by infinite copy, or modification etc., effective protection
The intellectual property of works designed by designer.
In a kind of optional embodiment, described by 3D model data transformations is after manufacture executes code, to bind the system
It makes and executes code with before the first identity information of 3D printing equipment, further include:
Manufacture is executed into code and is decomposed into two or more data packets, wherein described two or multiple data packets are according to system
The sequence for making execution code is arranged in order;
The binding manufacture executes the first identity information of code and 3D printing equipment, including:
Described two or multiple data packets bind the first identity information of the 3D printing equipment, form encrypted manufacture and hold
Line code;
Alternatively, using the first identity information of the 3D printing equipment as one or more data packets, it is arranged in described two
Before a or multiple data packets, forms encrypted manufacture and execute code.
It is described to send encrypted manufacture execution code to the 3D printing equipment in a kind of optional embodiment, including:
Send one or more data packets of the beginning part in described two or multiple data packets;
Receive the successful message of 3D printing device authentication;
Send includes manufacturing the data packet for executing code.
In a kind of optional embodiment, the data guard method of threedimensional model is applied to target 3D printing under cloud manufacturing environment
Equipment, including:
It receives encrypted manufacture and executes code;
Code is executed to the encrypted manufacture to be decrypted;
Code, which is executed, according to the manufacture of decryption carries out printing;
Release cache instruction is received, cache is discharged.
It is described code is executed to the encrypted manufacture to be decrypted in a kind of optional embodiment, including:
Obtain the first identity information that encrypted manufacture executes the 3D printing equipment bound in code;
Obtain the second identity information of target 3D printing equipment;
Judge whether first identity information and second identity information are identical;
If so, the message being proved to be successful to server feedback.
In a kind of optional embodiment, the manufacture according to decryption executes code and starts printing, including:
It receives and decrypts manufacture and execute code;
Code is executed according to the manufacture after decryption to be printed.
According to a second aspect of the embodiments of the present invention, a kind of data protection system of threedimensional model under cloud manufacturing environment is provided
System is applied to server, including:
Conversion module, for being that manufacture executes code by 3D model data transformations;
Encrypting module executes the first identity information of code and 3D printing equipment for binding the manufacture, forms encryption
Manufacture execute code;
First sending module executes code to the 3D printing equipment for sending encrypted manufacture;Send release caching
Memory is instructed to the 3D printing equipment.
Further include the first decomposing module and the first receiving module in a kind of optional embodiment;
The decomposing module for will manufacture execution code be decomposed into two or more data packets, wherein it is described two or
The sequence that multiple data packets execute code according to manufacture is arranged in order;
The encrypting module, the first identity information for binding two or more data packets and the 3D printing equipment,
It forms encrypted manufacture and executes code;Or for using the first identity information of the 3D printing equipment as one or more numbers
It according to packet, is arranged in before described two or multiple data packets, forms encrypted manufacture and execute code;
First sending module, one or more numbers for sending the beginning part in described two or multiple data packets
According to packet;Send includes manufacturing the data packet for executing code;
First receiving module, for receiving the successful message of 3D printing device authentication.
In a kind of optional embodiment, the data protection system of threedimensional model is applied to target 3D printing under cloud manufacturing environment
Equipment, including:
Second receiving module executes code for receiving encrypted manufacture;Receive the instruction of release cache;
Deciphering module is decrypted for executing code to the encrypted manufacture;
Print module carries out printing for executing code according to the manufacture of decryption;
Removing module, for discharging cache.
Further include the second sending module, the message for being proved to be successful to server feedback in a kind of optional embodiment;
Second deciphering module further includes:
First acquisition unit executes the first identity letter of the 3D printing equipment bound in code for obtaining encrypted manufacture
Breath;
Second acquisition unit, the second identity information for obtaining target 3D printing equipment;
First judging unit, for judging whether first identity information and second identity information are identical.
It should be understood that above general description and following detailed description is only exemplary and explanatory, not
It can the limitation present invention.
Specific implementation mode
The following description and drawings fully show specific embodiments of the present invention, to enable those skilled in the art to
Put into practice them.Embodiment only represents possible variation.Unless explicitly requested, otherwise individual components and functionality is optional, and
And the sequence of operation can change.The part of some embodiments and feature can be included in or replace other embodiments
Part and feature.The range of embodiment of the present invention includes the entire scope of claims and the institute of claims
There is obtainable equivalent.Herein, each embodiment can individually or generally be indicated that this is only with term " invention "
It is merely for convenience, and if in fact disclosing the invention more than one, be not meant to automatically limit the range of the application
For any single invention or inventive concept.Herein, relational terms such as first and second and the like are used only for one
Entity, which either operates to distinguish with another entity or operation, to be existed without requiring or implying between these entities or operation
Any actual relationship or sequence.Moreover, the terms "include", "comprise" or its any other variant be intended to it is non-exclusive
Property include, so that process, method or equipment including a series of elements include not only those elements, but also to include
Other elements that are not explicitly listed.Each embodiment herein is described by the way of progressive, and each embodiment stresses
Be all difference from other examples, just to refer each other for identical similar portion between each embodiment.For implementing
For structure, product etc. disclosed in example, since it is corresponding with part disclosed in embodiment, so fairly simple, the phase of description
Place is closed referring to method part illustration.
According to a first aspect of the embodiments of the present invention, a kind of data protection side of threedimensional model under cloud manufacturing environment is provided
Method is applied to server, as shown in Figure 1, including the following steps:
S101,3D (3Dimensions, three-dimensional) model data transformation is executed into code for manufacture;
S102, binding manufacture execute the first identity information of code and 3D printing equipment, form encrypted manufacture and execute generation
Code;
S103, encrypted manufacture execution code is sent to 3D printing equipment;
S104, transmission release cache are instructed to 3D printing equipment.
Technical solution in the present embodiment can ensure that the data that server is sent to 3D printing equipment are not easy to reveal.
Server provides to 3D printing equipment and can only print primary 3D printing device fabrication and execute code, without will be former
Beginning 3D model data is supplied to user or manufacturing service quotient;3D printing equipment is sent the data directly to control print procedure, is led to
It crosses and data is encrypted so that data are protected in transmission process, which can only make in the 3D printing equipment of mandate
With.Once after the completion of printing, the technological means by discharging cache automatically ensures that phase will not be retained in 3D printing equipment
Close file.Server is to during 3D printing equipment transmission data, in 3D printing equipment print procedure and 3D printing equipment
After printing, it is all less prone to the phenomenon that data are leaked, design document can be prevented to be stolen, by infinite copy, or is repaiied
Change, the intellectual property of works designed by effective protection designer.
It should be understood that before the first identity information that server binds 3D printing equipment, server or takes mesh
Mark the first identity information of 3D printing equipment.Before server sends encrypted manufacture execution code to 3D printing equipment, clothes
Business device has obtained the 3D model datas designed by designer.
In the present embodiment, manufacture executes code and refers to the code that 3D printing equipment can be executed directly, such as G code
Deng.
Optionally, the first identity information of 3D printing equipment is 3D printing equipment ID number, device mac address, device IP
One or more combinations in location and network port number.
Under application scenarios of the user oneself for 3D printing equipment, user can be by selecting on 3D printing cloud service platform
Attached works ingenious, payment is primary, and server sends primary manufacture to 3D printing equipment and executes code, prints and completes in works
Afterwards, cache is discharged, the trace of 3D printing equipment local work data is removed, avoids revealing.To in primary feelings of paying
Under condition, user can not carry out second of printing.Be conducive to preferably play the value of Design Works, Maintenance Design teacher and 3D
The market income of cloud service platform is printed, understanding of the user to intellectual property is promoted.
It is after manufacture executes code by 3D model data transformations, binding manufacture executes generation in a kind of optional embodiment
Code with before the first identity information of 3D printing equipment, further include:
Manufacture is executed into code and is decomposed into two or more data packets, wherein two or more data packets are held according to manufacture
The sequence of line code is arranged in order;
Binding manufacture executes the first identity information of code and 3D printing equipment, including:
First identity information of two or more data packet binding 3D printing equipment;
Alternatively, using the first identity information of 3D printing equipment as one or more data packets, it is arranged in two or more
Before data packet, forms encrypted manufacture and execute code.
Data packet in the present embodiment is different from the data unit in communications.It is equivalent to and holds a complete manufacture
If line code is split as stem portion, substep is sent later, and when facing emergency situations, such as 3D printing equipment is attacked,
Convenient for stopping transmission data in time, effectively to be protected to data.
In the present embodiment, the first identity information of two or more data packet binding 3D printing equipment, including it is following two
Binding mode:Two or more data packets bind the first identity information of 3D printing equipment respectively;In two or more data packets
One or more data packets of the beginning part bind the first identity information of 3D printing equipment respectively, that is, two or more numbers
According to the first identity information for only having the data packet of the beginning part to be bundled with 3D printing equipment in packet, remaining data packet is simultaneously unbound
First identity information of 3D printing equipment.
In the present embodiment, using the first identity information of 3D printing equipment as one or more data packets, it is arranged in two
Or before multiple data packets, forms encrypted manufacture and execute code.Wherein, " one or more data packets " is by 3D printing equipment
The first identity information constitute, the first identity information of 3D printing equipment is only included in the one or more data packet, not
It is manufactured including part and executes code.Wherein, " two or more data packets " is to be executed code decomposition by manufacture and formed, this two
All or part of manufacture is only included in a or multiple data packets and executes code, does not include the first identity letter of 3D printing equipment
Breath.
In a kind of optional embodiment, manufacture is executed into code and is decomposed into two or more data packets, including:
3D model datas are subjected to layered shaping and obtain several level of data;
Merge two or more level of data and forms a data packet.
In the present embodiment, if since irresistible factor interrupt the server is to target 3D printing equipment transmission data, in
It has no progeny, ensures what last layer of not printed works was generally flush with.When between recovery server and target 3D printing equipment
After communication, convenient for continuing to print.
In a kind of optional embodiment, merges two or more level of data and form a data packet, including:
The level of data for merging identical quantity forms a data packet.
In a kind of optional embodiment, manufacture is executed after code is decomposed into two or more data packets, binding manufacture
Code is executed with before the first identity information of 3D printing equipment, further includes:
Compress two or more data packets.
In a kind of optional embodiment, is formed after encrypted manufacture executes code, send encrypted manufacture execution code
To before 3D printing equipment, further include:
Connection request is sent to 3D printing equipment;
Receive the connection feedback of 3D printing equipment;
Judge whether and 3D printing equipment successful connection;
If so, sending encrypted manufacture executes code to 3D printing equipment.
In a kind of optional embodiment, judge whether with 3D printing equipment successful connection, set to 3D printing if otherwise recording
Preparation send the connection number of attempt of connection request;
Judge to connect whether number of attempt reaches the first preset times;
If so, prompt connection failure or 3D printing equipment is not online;
Otherwise connection request is sent to 3D printing equipment.
Both examples above is the process that server establishes connection with 3D printing equipment, and specific steps are as shown in Figure 2:
S201, connection request is sent to 3D printing equipment;
S202, the connection feedback for receiving 3D printing equipment;
S203, judge whether and 3D printing equipment successful connection;If so, thening follow the steps S204;It is no to then follow the steps
S205;
S204, encrypted manufacture execution code is sent to 3D printing equipment;
S205, the connection number of attempt that connection request is sent to 3D printing equipment is recorded;
S206, judge to connect whether number of attempt reaches the first preset times;If so, thening follow the steps S207;Otherwise it holds
Row step S201;
S207, prompt connection failure or 3D printing equipment is not online.
In a kind of optional embodiment, encrypted manufacture execution code is sent to 3D printing equipment, as shown in figure 3, including:
S301, the one or more data packets for sending the beginning part in two or more data packets;
S302, the successful message of 3D printing device authentication is received;
S303, transmission include the data packet that manufacture executes code.
Because manufacture before encrypting executes code and is decomposed into two or more data packets, and the of binding 3D printing equipment
During one identity, two or more data packets are not merged, so, encrypted manufacture executes code also with two
Or the form of multiple data packets exists.Again because the present embodiment is to send encrypted manufacture to execute code to 3D printing equipment, institute
With two or more data packets in step S301, refer to that executing code by encrypted manufacture is formed by two or more
A data packet.
In different binding ciphering process, encrypted manufacture executes included in each data packet that code is formed
Content is different, as follows:
(1) two or more data packets bind the first identity information of 3D printing equipment respectively.Two or more data
Each data packet in packet includes that the first identity information of 3D printing equipment and part manufacture execute code.In the present embodiment
During middle server authentication 3D printing device authorization situation, if the 3D printing equipment of verification is not the 3D printing authorized
Equipment, then the manufacture of loss part is executed code, it is beginning portion in two or more data packets that part manufacture, which executes code,
Partly manufacture executes code, but not the manufacture execution generation of whole leakage works included in the one or more data packets divided
Code, other illegal winners can not still manufacture according to the part and execute the manufacture execution code that code obtains complete works.This
Technical solution still ensures that the works designed by designer are not revealed.
(2) one or more data packets of the beginning part in two or more data packets bind 3D printing equipment respectively
First identity information.The effect of this binding cipher mode is identical as the binding effect of cipher mode in above-mentioned (1).
(3) using the first identity information of 3D printing equipment as one or more data packets, two or more numbers are arranged in
Before packet, forms encrypted manufacture and execute code.The one or more data packet only includes the first identity of 3D printing equipment
Information does not include that part manufacture executes code.The two or more data packets being arranged in after the one or more data packet
In, it only includes partly or entirely manufacture and executes code, do not include the first identity information of 3D printing equipment.It takes in the present embodiment
During device verification 3D printing device authorization situation of being engaged in, send only include one of the first identity information of 3D printing equipment or
Multiple data packets.If the 3D printing equipment of verification is not the 3D printing equipment authorized, held then part manufacture will not be lost
Line code, and manufacture execution code representative and the works designed by designer, therefore, this binding cipher mode can be protected preferably and be set
Works designed by meter teacher do not leak.
The present embodiment sends encrypted manufacture to 3D printing equipment for server and executes code, in the manufacture for sending core
Before executing code, first determines that the 3D printing equipment is the printing device authorized, manufacture is avoided to execute code by other unauthorizeds
Equipment receive, steal.Ensure that the data that server is sent to 3D printing equipment are not revealed, is effectively protected set by designer
It is counted as the intellectual property of product.
It is putting in order according to data packet during it includes executing the data packet of code to send in the present embodiment
It sends, data packet is according to the tactic of execution code again.
Will manufacture execute code be decomposed into data packet number it is enough in the case of, it is one or more in the present embodiment
Data packet is preferably 2~3 data packets.
In a kind of optional embodiment, after receiving the successful message of 3D printing device authentication, transmission includes manufacture execution
Before the data packet of code, further include:Print command is sent to 3D printing equipment.
In a kind of optional embodiment, encrypted manufacture execution code is sent to 3D printing equipment with streaming technology.
Encrypted manufacture is sent in a manner of data flow executes code to 3D printing equipment.
In the present embodiment, 3D printing equipment is before receiving all complete data packets, you can starts to print.Server to
After the transmission manufacture of 3D printing equipment executes code, 3D printing equipment realizes real time print.
In a kind of optional embodiment, after 3D printing equipment successful connection, encrypted manufacture execution code is sent to 3D
Before printing device, as shown in figure 4, including:
S401, self-checking command is sent to 3D printing equipment;
S402, the self-checking feedback information for receiving 3D printing equipment;
S403, judge 3D printing equipment whether information security;If so, thening follow the steps S404;It is no to then follow the steps S405;
S404, encrypted manufacture execution code is sent to 3D printing equipment;
S405, it is disconnected with 3D printing equipment.
In the present embodiment, server sends self-checking command to 3D printing equipment, to ensure 3D printing equipment in information security
Aspect meets safety condition, and after to ensure in print procedure and print, manufacture executes code and do not leak, and further protects
Protect the intellectual property of works designed by designer.
In a kind of optional embodiment, which is applied to target 3D printing equipment, as shown in figure 5, including:
S501, encrypted manufacture execution code is received;
S502, encrypted manufacture execution code is decrypted;
S503, code progress printing is executed according to the manufacture of decryption;
S504, release cache instruction is received;
S505, release cache.
Technical solution in the present embodiment can ensure that the data that 3D printing equipment receives are not easy to reveal, and be not easy unlimited
Printing.
In the present embodiment, target 3D printing equipment, which receives, can only print primary manufacture execution code, and server is sent out
The data sent can only be decrypted and be printed in the target 3D printing equipment of the mandate.Once after the completion of printing, the mandate
Target 3D printing equipment receives the order of release cache, discharges related with this printing in the cache of its control chip
Content, it is ensured that will not retain associated documents in the target 3D printing equipment of the mandate.Technical solution ensures in the present embodiment
Be not in leaking data in target 3D printing equipment the phenomenon that, design document can be prevented to be stolen, by infinite copy, or
Modification etc., the intellectual property of works designed by effective protection designer.
In a kind of preferred embodiment, encrypted manufacture execution code is received with streaming technology.
In a kind of optional embodiment, before receiving encrypted manufacture execution code, including:
Receive the connection request that server is sent;
It attempts to be attached with the server for sending connection request;
Judge whether and server successful connection;
If so, sending connection feedback to server.
In a kind of optional embodiment, judge whether with server successful connection, sent if it is not, then recording and receiving server
Connection request connection request number;
Judge whether connection request number reaches the second preset times;
If so, prompt connection failure;
It otherwise waits for receiving the connection request that server is sent.
Above-mentioned two embodiment is that 3D printing equipment establishes the step of connecting with server, specifically as shown in Figure 6:
S601, the connection request that server is sent is received;
S602, trial are attached with the server for sending connection request;
S603, judge whether and server successful connection;If so, thening follow the steps S604;It is no to then follow the steps S605;
S604, connection feedback is sent to server;
S605, record receive the connection request number for the connection request that server is sent;
S606, judge whether connection request number reaches the second preset times;If so then execute step S607;Otherwise it executes
Step S601;
S607, prompt connection failure.
For the protection to Design Works, server only sends primary manufacture to target 3D printing equipment and executes code.
Before sending manufacture execution code to target 3D printing equipment, need to ensure that server has been successfully connected with 3D printing equipment, with
Ensure that target 3D printing equipment can successful data reception.So-called target 3D printing equipment can be the 3D that user oneself is possessed
Printing device, the original works that user selects oneself favorite in 3D cloud print service platforms, after payment under
It carries data and is printed.The present embodiment can ensure that target 3D printing equipment successful data reception, that is, ensure user in payment
Afterwards, chosen works can be successfully downloaded and print, to which the present embodiment can be effectively protected user's right.
Judge whether with server successful connection, if so, receiving encrypted manufacture execution code.
In a kind of optional embodiment, after server successful connection, receive before encrypted manufacture executes code, such as figure
Shown in 7, including:
S701, self-checking command is received;
S702, information security detection is carried out to target 3D printing equipment itself according to self-checking command;
Whether S703, to judge target 3D printing equipment itself eligible in terms of information security;If so, thening follow the steps
S704;
S704, the self-checking feedback information for indicating safety is sent to server.
In the present embodiment, the condition of target 3D printing equipment self-inspection includes but not limited to:Whether it is ravesdropping;With the presence or absence of wood
Horse program;Whether illegal opinion is connected with;Whether refusal service etc..By the information security self-test of target 3D printing equipment, protect
Card manufacture executes code and is not easy to reveal, the protection of cooperation 3D cloud print services platform complete paired data jointly.
In a kind of optional embodiment, code is executed to encrypted manufacture and is decrypted, as shown in figure 8, including:
S801, the first identity information that encrypted manufacture executes the 3D printing equipment bound in code is obtained;
S802, the second identity information for obtaining target 3D printing equipment;
S803, judge whether the first identity information is identical as the second identity information;If so, thening follow the steps S804;
S804, the message being proved to be successful is sent to server.
In a kind of optional embodiment, encrypted manufacture execution code is received, including:Receive the of binding 3D printing equipment
One or more data packets of one identity information;
Code is executed to encrypted manufacture to be decrypted, including:
The first identity information of 3D printing equipment is obtained in one or more data packets;
Obtain the second identity information of target 3D printing equipment;
Judge whether the first identity information is identical as the second identity information;
If so, sending the message being proved to be successful to server.
For the protection to Design Works, server only sends primary manufacture to target 3D printing equipment and executes code.
In the case that user possesses the 3D printing equipment of oneself, before printing works, user needs the 3D printing equipment of oneself
Identity information uploads to 3D cloud print platforms, and 3D cloud platforms confirm the 3D printing equipment of user according to the identity information, avoid
The data of the works of user oneself purchase are received by the 3D printing equipment of other unauthorizeds, are stolen.Ensure server to target 3D
The data that printing device is sent will not be revealed, and the intellectual property of the designed works of design is effectively protected, while also protecting
The equity of user.
After server is proved to be successful the second identity information of target 3D printing equipment, server, which is sent, starts printing
Instruction, corresponding, target 3D printing equipment executes following action:
Start target 3D printing equipment.
In a kind of optional embodiment, executes code according to the manufacture of decryption and start printing, including:
It receives and decrypts manufacture and execute code;
Code is executed according to the manufacture after decryption to be printed.
In the case where server executes and compresses two or more data packets, in the present embodiment, receives and decrypt manufacture and hold
After line code, before being printed according to the manufacture execution code after decryption, further include:Code is executed to manufacture to decompress
Contracting.
As shown in figure 9, in a kind of optional embodiment, target 3D printing equipment executes following steps:
S901, the connection request that server is sent is received;
S902, trial are attached with the server for sending connection request;
S903, judge whether and server successful connection;If so, thening follow the steps S904;It is no to then follow the steps S901;
S904, connection feedback is sent to server;
S905, one or more data packets that the beginning part is received in the form of data flow;
S906, the first identity information that 3D printing equipment is obtained in one or more data packets;
S907, the second identity information for obtaining target 3D printing equipment;
S908, judge whether the first identity information is identical as the second identity information;If so, thening follow the steps S909;Otherwise
Execute step S910;
S909, the message being proved to be successful is sent to server;
S910, the message that authentication failed is sent to server, and terminate connection;
S911, encrypted manufacture execution code is received;
S912, encrypted manufacture execution code is decrypted and is decompressed;
S913, the manufacture of decryption and decompression is executed to code deposit memory;
S914, enabled instruction is received;
S915, start target 3D printing equipment;
S916, code progress printing is executed according to the manufacture in memory;
S917, judge whether that printing finishes;If so then execute step S921;It is no to then follow the steps S918;
S918, encrypted manufacture execution code is received;
S919, encrypted manufacture execution code is decrypted and is decompressed;
S920, the manufacture of decryption and decompression is executed to code deposit memory;
S921, release cache instruction is received;
S922, release cache.
Corresponding to Fig. 9, as shown in Figure 10, server executes following steps:
S1001, it is that manufacture executes code by 3D model data transformations;
S1002, manufacture execution code is decomposed into two or more data packets;
S1003, the two or more data packets of compression;
The first identity information of S10041, two or more data packets binding 3D printing equipment;
S10042, using the first identity information of 3D printing equipment as one or more data packets, be arranged in two or more
Before a data packet, forms encrypted manufacture and execute code;
S1005, connection request is sent to 3D printing equipment;
S1006, the connection feedback for receiving 3D printing equipment;
S1007, judge whether and 3D printing equipment successful connection;If so, thening follow the steps S1008;It is no to then follow the steps
S1005;
S1008, one or more data packets that the beginning part in two or more data packets is sent in the form of data flow;
S1009, the successful message of 3D printing device authentication is received;
S1010, hair compression, the encrypted data packet that code is executed including manufacture in the form of data flow;
S1011, print command is sent to 3D printing equipment;
S1012, judge whether data packet is sent;If so, thening follow the steps S1013;It is no to then follow the steps S1010;
S1013, transmission release cache are instructed to 3D printing equipment.
According to a second aspect of the embodiments of the present invention, a kind of data protection system of threedimensional model under cloud manufacturing environment is provided
System is applied to server, including:
Conversion module, for being that manufacture executes code by 3D model data transformations;
Encrypting module executes the first identity information of code and 3D printing equipment for binding manufacture, forms encrypted system
Make execution code;
First sending module executes code to 3D printing equipment for sending encrypted manufacture;Send release cache
It instructs to 3D printing equipment.
Further include the first decomposing module and the first receiving module in a kind of optional embodiment;
Decomposing module is decomposed into two or more data packets for that will manufacture execution code, wherein two or more data
The sequence that packet executes code according to manufacture is arranged in order;
Encrypting module, the first identity information for binding two or more data packets and 3D printing equipment form encryption
Manufacture execute code;Or for using the first identity information of 3D printing equipment as one or more data packets, being arranged in
Before two or more data packets, forms encrypted manufacture and execute code;
First sending module, one or more data packets for sending the beginning part in two or more data packets;Hair
Send the data packet that code is executed including manufacture;
First receiving module, for receiving the successful message of 3D printing device authentication.
In a kind of optional embodiment, decomposing module is used to 3D model datas carrying out layered shaping to obtain several sublayer numbers
According to;Merge two or more level of data and forms a data packet.
In a kind of optional embodiment, the level of data that decomposing module is used to merge identical quantity forms a data packet.
In a kind of optional embodiment, server further includes compression module, for compressing two or more data packets.
In a kind of optional embodiment, server further includes the first judgment module;
First sending module is additionally operable to send connection request to 3D printing equipment;First receiving module is additionally operable to receive printing
The feedback link of equipment.
First judgment module is for judging whether and 3D printing equipment successful connection.
In a kind of optional embodiment, further include:
First counting module, for recording the connection number of attempt for sending connection request to 3D printing equipment;
Second judgment module connects whether number of attempt reaches the first preset times for judging;
First reminding module, for prompting connection failure or 3D printing equipment not online.
In a kind of optional embodiment, the first sending module is additionally operable to send print command to 3D printing equipment.
In a kind of optional embodiment, the first sending module is used to send encrypted manufacture execution generation with streaming technology
Code is to 3D printing equipment.
Further include third judgment module in a kind of optional embodiment;
First sending module is additionally operable to send self-checking command to 3D printing equipment;
First receiving module is additionally operable to receive the self-checking feedback information of 3D printing equipment;
Third judgment module for judge 3D printing equipment whether information security;
In a kind of optional embodiment, the data protection system of threedimensional model is applied to target 3D printing under cloud manufacturing environment
Equipment, including:
Second receiving module executes code for receiving encrypted manufacture;Receive the instruction of release cache;
Deciphering module is decrypted for executing code to encrypted manufacture;
Print module carries out printing for executing code according to the manufacture of decryption;
Removing module, for discharging cache.
In a kind of optional embodiment, the second receiving module is used to receive encrypted manufacture execution generation with streaming technology
Code.
Further include link block and the 4th judgment module in a kind of optional embodiment,
Second receiving module is additionally operable to receive the connection request that server is sent;
The server that link block is used to attempt and send connection request is attached;
4th judgment module is for judging whether and server successful connection;
Second sending module is used to send connection feedback to server.
Further include the second counting module, the 5th judgment module and the second reminding module in a kind of optional embodiment;
Second counting module, which is used to record, receives the connection request number that server is put;
5th judgment module is for judging whether connection request number reaches the second preset times;
Second reminding module is for prompting connection failure.
Further include selftest module and the 6th judgment module in a kind of optional embodiment;
Second receiving module is for receiving self-checking command;
Selftest module is used to carry out information security detection to target 3D printing equipment according to self-checking command;
6th judgment module is for judging whether target 3D printing equipment is eligible in terms of information security;
Second sending module is additionally operable to send the self-checking feedback information for indicating safety to server.
In a kind of optional embodiment, the second sending module, the message for being proved to be successful to server feedback;
Second deciphering module further includes:
First acquisition unit executes the first identity letter of the 3D printing equipment bound in code for obtaining encrypted manufacture
Breath;
Second acquisition unit, the second identity information for obtaining target 3D printing equipment;
First judging unit, for judging whether the first identity information is identical as the second identity information.
In a kind of optional embodiment, the second receiving module is used to receive the first identity information for binding 3D printing equipment
One or more data packets;
First identity information of the first acquisition unit for obtaining 3D printing equipment in one or more data packets.
Further include starting module, for starting target 3D printing equipment in a kind of optional embodiment.
It should be understood that the invention is not limited in the flow and structure that are described above and are shown in the accompanying drawings,
And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is only limited by the attached claims
System.