CN112241542A - Material manufacturing data encryption method and system - Google Patents

Material manufacturing data encryption method and system Download PDF

Info

Publication number
CN112241542A
CN112241542A CN202011136745.2A CN202011136745A CN112241542A CN 112241542 A CN112241542 A CN 112241542A CN 202011136745 A CN202011136745 A CN 202011136745A CN 112241542 A CN112241542 A CN 112241542A
Authority
CN
China
Prior art keywords
encryption
material manufacturing
data
material making
test
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.)
Withdrawn
Application number
CN202011136745.2A
Other languages
Chinese (zh)
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.)
Suzhou Zhirui Photoelectric Material Technology Co ltd
Original Assignee
Suzhou Zhirui Photoelectric Material Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Zhirui Photoelectric Material Technology Co ltd filed Critical Suzhou Zhirui Photoelectric Material Technology Co ltd
Priority to CN202011136745.2A priority Critical patent/CN112241542A/en
Priority to PCT/CN2020/126799 priority patent/WO2022082873A1/en
Publication of CN112241542A publication Critical patent/CN112241542A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/23Clustering techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Artificial Intelligence (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Storage Device Security (AREA)

Abstract

The embodiment of the invention provides a material making data encryption method and system, which are used for obtaining a plurality of material making data pieces, clustering each material making data piece according to an authority interval and processing each clustered material making data piece to obtain a material making data piece partition. When a first encryption instruction for partitioning the material manufacturing data piece is detected, determining a material manufacturing data encryption instruction corresponding to the first encryption instruction, then obtaining an encryption feature vector set according to the material manufacturing data encryption instruction, obtaining material manufacturing classification information corresponding to the encryption feature vector set by adopting a pre-configured encryption execution model, determining an encryption strategy selection instruction corresponding to a second encryption instruction when a second encryption instruction for partitioning the material manufacturing data piece is detected, and finally dividing the material manufacturing data piece corresponding to the encryption strategy selection instruction into an encryption strategy execution queue containing the material manufacturing classification information. Thus, the reliability of the encryption of the material manufacturing data can be improved.

Description

Material manufacturing data encryption method and system
Technical Field
The invention relates to the technical field of material manufacturing data encryption, in particular to a material manufacturing data encryption method and system.
Background
How to improve the reliability of material manufacturing data encryption is a technical problem to be solved urgently in the field.
Disclosure of Invention
In view of the above, an object of the embodiments of the present invention is to provide a method and a system for encrypting material manufacturing data, which can improve the reliability of encrypting the material manufacturing data.
According to an aspect of the embodiments of the present invention, there is provided a material manufacturing data encryption method applied to a server, the method including:
obtaining a plurality of material manufacturing data pieces, wherein each material manufacturing data piece comprises material manufacturing contents and a corresponding authority interval;
clustering each material manufacturing data sheet according to the authority interval, and processing each clustered material manufacturing data sheet to obtain a material manufacturing data sheet partition;
when a first encryption instruction for partitioning the material manufacturing data slice is detected, determining a material manufacturing data encryption instruction corresponding to the first encryption instruction;
acquiring an encrypted feature vector set according to the material manufacturing data encryption instruction, acquiring material manufacturing classification information corresponding to the encrypted feature vector set by adopting a pre-configured encryption execution model, and determining an encryption strategy selection instruction corresponding to a second encryption instruction when the second encryption instruction for partitioning the material manufacturing data slice is detected;
and dividing the material manufacturing data sheet corresponding to the encryption strategy selection instruction into an encryption strategy execution queue containing the material manufacturing classification information.
In a possible example, the step of processing each clustered material manufacturing data slice to obtain a material manufacturing data slice partition includes:
generating a corresponding partition object for each material manufacturing data sheet;
obtaining the first material manufacturing data sheet according to the sequence of manufacturing data sheets by each material;
taking the most previous material making data sheet as a global partition object of the material making data sheet partition;
clustering the partition objects according to the sequence of the authority intervals from front to back, and connecting each partition object in a mode of adding the authority interval of the previous partition object in each partition object to obtain the material manufacturing data slice partition.
In one possible example, the step of generating a corresponding partition object for each of the material production data pieces includes:
respectively calculating a hash value corresponding to the material making content of each material making data sheet through a hash algorithm;
and respectively encrypting the hash value corresponding to the material making content of each material making data piece obtained by calculation through a private key in an asymmetric encryption algorithm to obtain a partition object corresponding to the material making content of each material making data piece.
In one possible example, the step of dividing the material production data piece corresponding to the encryption policy selection instruction into an encryption policy execution queue containing the material production classification information includes:
obtaining a material making data sheet corresponding to the encryption policy selection instruction and basic material making data associated with the material making data sheet, wherein the basic material making data includes a plurality of material making classifications and a plurality of first matrix representations corresponding to the plurality of material making classifications;
matching a plurality of material making classifications corresponding to the first matrix representations with a plurality of preset material making classifications in a classification information table in sequence according to the sequence represented by the first matrix representations;
under the condition of successful matching, acquiring second matrix representations of the preset material manufacturing classifications, sequentially arranging the second matrix representations according to the sequence of the first matrix representations, and generating material manufacturing division matrix representations;
and dividing the material making data sheet corresponding to the encryption strategy selection instruction into an encryption strategy execution queue containing the material making classification information according to the material making division matrix representation.
In one possible example, the cryptographic execution model is configured by:
acquiring all encryption strategy material manufacturing libraries, and marking the material manufacturing classification of each encryption strategy material in the encryption strategy material manufacturing libraries;
labeling and characteristic distribution are carried out on the encryption strategy material;
dividing the encryption strategy material manufacturing into two groups according to the added labels, wherein the added labels are odd-numbered one group which is a configuration group, and the added labels are even-numbered one group which is a test group, wherein the encryption strategy material manufacturing in the configuration group is a configuration file, and the encryption strategy material manufacturing in the test group is a test file;
extracting all the encrypted nodes of the configuration file and forming an encrypted grid sequence;
respectively extracting the encrypted nodes of each configuration file;
calculating a configuration hash value of an encryption node of each configuration file;
clustering according to the position of the configuration hash value in the encryption grid sequence to obtain a configuration feature vector of each configuration file;
clustering all the configuration files according to the material manufacturing classification to obtain a plurality of clusters;
calculating to obtain a cluster characteristic vector of each cluster by taking all the configuration files in each cluster as a whole;
respectively extracting the encrypted nodes of each test file;
calculating the test hash value of the encryption node of each test file;
clustering according to the position of the test hash value in the encrypted grid sequence to obtain a test feature vector of each test file;
respectively calculating cosine values between the clustering feature vectors and the testing feature vectors of each cluster aiming at each test file;
judging whether the test file belongs to the cluster corresponding to the cosine value or not according to the size of the cosine value;
comparing the clustering results of all the test files with the actual clusters to which the test files belong, and calculating to obtain the confidence coefficient of the encryption execution model;
and if the confidence coefficient is greater than or equal to a preset value, outputting the configured encryption execution model.
According to another aspect of the embodiments of the present invention, there is provided a material production data encryption system applied to a server, the apparatus including:
the system comprises an acquisition module, a storage module and a processing module, wherein the acquisition module is used for acquiring a plurality of material manufacturing data pieces, and each material manufacturing data piece comprises material manufacturing content and a corresponding authority interval;
the clustering module is used for clustering each material making data sheet according to the authority interval and processing each clustered material making data sheet to obtain a material making data sheet partition;
the determining module is used for determining a material manufacturing data encryption instruction corresponding to a first encryption instruction when the first encryption instruction for partitioning the material manufacturing data slice is detected;
the classification module is used for acquiring an encrypted feature vector set according to the material manufacturing data encryption instruction, acquiring material manufacturing classification information corresponding to the encrypted feature vector set by adopting a pre-configured encryption execution model, and determining an encryption strategy selection instruction corresponding to a second encryption instruction when the second encryption instruction for partitioning the material manufacturing data slice is detected;
and the dividing module is used for dividing the material manufacturing data sheet corresponding to the encryption strategy selection instruction into an encryption strategy execution queue containing the material manufacturing classification information.
According to another aspect of the embodiments of the present invention, there is provided a readable storage medium, on which a computer program is stored, the computer program being executed by a processor to perform the steps of the above-mentioned material manufacturing data encryption method.
Compared with the prior art, the material making data encryption method and system provided by the embodiment of the invention have the advantages that the material making data piece partitions are obtained by obtaining the plurality of material making data pieces, clustering each material making data piece according to the authority interval, and processing each clustered material making data piece. When a first encryption instruction for partitioning the material manufacturing data piece is detected, determining a material manufacturing data encryption instruction corresponding to the first encryption instruction, then obtaining an encryption feature vector set according to the material manufacturing data encryption instruction, obtaining material manufacturing classification information corresponding to the encryption feature vector set by adopting a pre-configured encryption execution model, determining an encryption strategy selection instruction corresponding to a second encryption instruction when a second encryption instruction for partitioning the material manufacturing data piece is detected, and finally dividing the material manufacturing data piece corresponding to the encryption strategy selection instruction into an encryption strategy execution queue containing the material manufacturing classification information. Thus, the reliability of the encryption of the material manufacturing data can be improved.
In order to make the aforementioned objects, features and advantages of the embodiments of the present invention comprehensible, embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
FIG. 1 illustrates a component diagram of a server provided by an embodiment of the invention;
FIG. 2 is a flow chart illustrating a method for encrypting material manufacturing data according to an embodiment of the present invention;
fig. 3 shows a functional block diagram of a material manufacturing data encryption system according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood by the scholars in the technical field, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," "third," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are, for example, capable of operation in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Fig. 1 shows an exemplary component schematic of a server 100. The server 100 may include one or more processors 104, such as one or more Central Processing Units (CPUs), each of which may implement one or more hardware threads. The server 100 may also include any storage media 106 for storing any of a variety of information such as code, settings, data, and the like. For example, and without limitation, storage medium 106 may include any one or more of the following in combination: any type of RAM, any type of ROM, flash memory devices, hard disks, optical disks, etc. More generally, any storage medium may use any technology to store information. Further, any storage medium may provide volatile or non-volatile retention of information. Further, any storage medium may represent a fixed or removable component of server 100. In one case, when the processor 104 executes the associated instructions stored in any storage medium or combination of storage media, the server 100 may perform any of the operations of the associated instructions. The server 100 further comprises one or more drive units 108 for interacting with any storage medium, such as a hard disk drive unit, an optical disk drive unit, etc.
The server 100 also includes input/output 110 (I/O) for receiving various inputs (via input unit 112) and for providing various outputs (via output unit 114)). One particular output mechanism may include a presentation device 116 and an associated Graphical User Interface (GUI) 118. The server 100 may also include one or more network interfaces 120 for exchanging data with other devices via one or more communication units 122. One or more communication buses 124 couple the above-described components together.
The communication unit 122 may be implemented in any manner, such as over a local area network, a wide area network (e.g., the internet), a point-to-point connection, etc., or any combination thereof. The communication unit 122 may include any combination of hardwired links, wireless links, routers, gateway functions, name servers 100, and so forth, governed by any protocol or combination of protocols.
Fig. 2 is a flowchart illustrating a material production data encryption method according to an embodiment of the present invention, which can be executed by the server 100 shown in fig. 1, and the detailed steps of the material production data encryption method are described as follows.
Step S110, a plurality of material making data pieces are obtained, and each material making data piece comprises material making contents and a corresponding authority interval.
And step S120, clustering each material making data sheet according to the authority interval, and processing each clustered material making data sheet to obtain a material making data sheet partition.
Step S130, when a first encryption command for partitioning the material production data piece is detected, determining a material production data encryption command corresponding to the first encryption command.
Step S140, obtaining an encrypted feature vector set according to the material making data encryption instruction, obtaining material making classification information corresponding to the encrypted feature vector set by adopting a pre-configured encryption execution model, and determining an encryption strategy selection instruction corresponding to a second encryption instruction when the second encryption instruction for partitioning the material making data slice is detected.
Step S150, dividing the material production data slice corresponding to the encryption policy selection instruction into an encryption policy execution queue including the material production classification information.
Based on the design, the material making data piece partition is obtained by obtaining a plurality of material making data pieces, clustering each material making data piece according to the authority interval, and processing each clustered material making data piece. When a first encryption instruction for partitioning the material manufacturing data piece is detected, determining a material manufacturing data encryption instruction corresponding to the first encryption instruction, then obtaining an encryption feature vector set according to the material manufacturing data encryption instruction, obtaining material manufacturing classification information corresponding to the encryption feature vector set by adopting a pre-configured encryption execution model, determining an encryption strategy selection instruction corresponding to a second encryption instruction when a second encryption instruction for partitioning the material manufacturing data piece is detected, and finally dividing the material manufacturing data piece corresponding to the encryption strategy selection instruction into an encryption strategy execution queue containing the material manufacturing classification information. Thus, the reliability of the encryption of the material manufacturing data can be improved.
Optionally, in step S120, first, a corresponding partition object is generated for each material making data piece, then a first material making data piece is obtained according to a sequence of each material making data piece, then the first material making data piece is used as a global partition object of the material making data piece partition, then the partition objects are clustered according to a sequence of the permission intervals from front to back, and each partition object is connected by adding the permission interval of a previous partition object to each partition object, so as to obtain the material making data piece partition. Therefore, the problem that data is illegally tampered can be avoided.
Optionally, the manner of generating the corresponding partition object from each material manufacturing data piece may be: and respectively calculating a hash value corresponding to the material making content of each material making data sheet through a hash algorithm, and then respectively encrypting the hash value corresponding to the material making content of each material making data sheet through a private key in an asymmetric encryption algorithm to obtain a partition object corresponding to the material making content of each material making data sheet.
Optionally, for step S140, the encryption execution model is configured by:
acquiring all encryption strategy material manufacturing libraries, and marking the material manufacturing classification of each encryption strategy material in the encryption strategy material manufacturing libraries;
labeling and characteristic distribution are carried out on the encryption strategy material;
dividing the encryption strategy material manufacturing into two groups according to the added labels, wherein the added labels are odd-numbered one group which is a configuration group, and the added labels are even-numbered one group which is a test group, wherein the encryption strategy material manufacturing in the configuration group is a configuration file, and the encryption strategy material manufacturing in the test group is a test file;
extracting all the encrypted nodes of the configuration file and forming an encrypted grid sequence;
respectively extracting the encrypted nodes of each configuration file;
calculating a configuration hash value of an encryption node of each configuration file;
clustering according to the position of the configuration hash value in the encryption grid sequence to obtain a configuration feature vector of each configuration file;
clustering all the configuration files according to the material manufacturing classification to obtain a plurality of clusters;
calculating to obtain a cluster characteristic vector of each cluster by taking all the configuration files in each cluster as a whole;
respectively extracting the encrypted nodes of each test file;
calculating the test hash value of the encryption node of each test file;
clustering according to the position of the test hash value in the encrypted grid sequence to obtain a test feature vector of each test file;
respectively calculating cosine values between the clustering feature vectors and the testing feature vectors of each cluster aiming at each test file;
judging whether the test file belongs to the cluster corresponding to the cosine value or not according to the size of the cosine value;
comparing the clustering results of all the test files with the actual clusters to which the test files belong, and calculating to obtain the confidence coefficient of the encryption execution model;
and if the confidence coefficient is greater than or equal to a preset value, outputting the configured encryption execution model.
Optionally, for step S150, a material production data piece corresponding to the encryption policy selection instruction and basic material production data associated with the material production data piece may be obtained, where the basic material production data includes a plurality of material production classifications and a plurality of first matrix representations corresponding to the plurality of material production classifications. And then, matching the plurality of material making classifications corresponding to the plurality of first matrix representations with a plurality of preset material making classifications in a classification information table in sequence according to the sequence represented by the first matrix representations. And under the condition of successful matching, acquiring a second matrix representation of the preset material manufacturing classification, sequentially arranging the second matrix representation according to the sequence of the first matrix representation, and generating a material manufacturing division matrix representation. And finally, dividing the material making data sheet corresponding to the encryption strategy selection instruction into an encryption strategy execution queue containing the material making classification information according to the material making division matrix representation. Thus, the reliability of the encryption of the material manufacturing data can be improved.
Fig. 3 is a functional block diagram of a material manufacturing data encryption system 200 according to an embodiment of the present invention, where the functions implemented by the material manufacturing data encryption system 200 may correspond to the steps executed by the method described above. The material manufacturing data encryption system 200 may be understood as the server 100 or a processor of the server 100, or may be understood as a component that is independent from the server 100 or the processor and implements the functions of the present invention under the control of the server 100, as shown in fig. 3, and the functions of the functional modules of the material manufacturing data encryption system 200 are described in detail below.
The obtaining module 210 is configured to obtain a plurality of material manufacturing data pieces, where each material manufacturing data piece includes material manufacturing content and a corresponding permission interval.
And the clustering module 220 is configured to cluster each material making data piece according to the permission interval, and process each clustered material making data piece to obtain a material making data piece partition.
The determining module 230 is configured to determine, when a first encryption instruction for partitioning the material production data slice is detected, a material production data encryption instruction corresponding to the first encryption instruction.
The classification module 240 is configured to obtain an encrypted feature vector set according to the material manufacturing data encryption instruction, obtain material manufacturing classification information corresponding to the encrypted feature vector set by using a pre-configured encryption execution model, and determine an encryption policy selection instruction corresponding to a second encryption instruction when the second encryption instruction for partitioning the material manufacturing data slice is detected.
A dividing module 250, configured to divide the material making data slice corresponding to the encryption policy selecting instruction into an encryption policy execution queue including the material making classification information.
Optionally, the clustering module 220 is specifically configured to:
generating a corresponding partition object for each material manufacturing data sheet;
obtaining the first material manufacturing data sheet according to the sequence of manufacturing data sheets by each material;
taking the most previous material making data sheet as a global partition object of the material making data sheet partition;
clustering the partition objects according to the sequence of the authority intervals from front to back, and connecting each partition object in a mode of adding the authority interval of the previous partition object in each partition object to obtain the material manufacturing data slice partition.
Optionally, the manner of generating the corresponding partition object from each material manufacturing data piece includes:
respectively calculating a hash value corresponding to the material making content of each material making data sheet through a hash algorithm;
and respectively encrypting the hash value corresponding to the material making content of each material making data piece obtained by calculation through a private key in an asymmetric encryption algorithm to obtain a partition object corresponding to the material making content of each material making data piece.
Optionally, the dividing module 250 is specifically configured to:
obtaining a material making data sheet corresponding to the encryption policy selection instruction and basic material making data associated with the material making data sheet, wherein the basic material making data includes a plurality of material making classifications and a plurality of first matrix representations corresponding to the plurality of material making classifications;
matching a plurality of material making classifications corresponding to the first matrix representations with a plurality of preset material making classifications in a classification information table in sequence according to the sequence represented by the first matrix representations;
under the condition of successful matching, acquiring second matrix representations of the preset material manufacturing classifications, sequentially arranging the second matrix representations according to the sequence of the first matrix representations, and generating material manufacturing division matrix representations;
and dividing the material making data sheet corresponding to the encryption strategy selection instruction into an encryption strategy execution queue containing the material making classification information according to the material making division matrix representation.
Optionally, the encryption execution model is configured by:
acquiring all encryption strategy material manufacturing libraries, and marking the material manufacturing classification of each encryption strategy material in the encryption strategy material manufacturing libraries;
labeling and characteristic distribution are carried out on the encryption strategy material;
dividing the encryption strategy material manufacturing into two groups according to the added labels, wherein the added labels are odd-numbered one group which is a configuration group, and the added labels are even-numbered one group which is a test group, wherein the encryption strategy material manufacturing in the configuration group is a configuration file, and the encryption strategy material manufacturing in the test group is a test file;
extracting all the encrypted nodes of the configuration file and forming an encrypted grid sequence;
respectively extracting the encrypted nodes of each configuration file;
calculating a configuration hash value of an encryption node of each configuration file;
clustering according to the position of the configuration hash value in the encryption grid sequence to obtain a configuration feature vector of each configuration file;
clustering all the configuration files according to the material manufacturing classification to obtain a plurality of clusters;
calculating to obtain a cluster characteristic vector of each cluster by taking all the configuration files in each cluster as a whole;
respectively extracting the encrypted nodes of each test file;
calculating the test hash value of the encryption node of each test file;
clustering according to the position of the test hash value in the encrypted grid sequence to obtain a test feature vector of each test file;
respectively calculating cosine values between the clustering feature vectors and the testing feature vectors of each cluster aiming at each test file;
judging whether the test file belongs to the cluster corresponding to the cosine value or not according to the size of the cosine value;
comparing the clustering results of all the test files with the actual clusters to which the test files belong, and calculating to obtain the confidence coefficient of the encryption execution model;
and if the confidence coefficient is greater than or equal to a preset value, outputting the configured encryption execution model.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus and method embodiments described above are illustrative only, as the flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, the functional modules in the embodiments of the present invention may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
Alternatively, all or part of the implementation may be in software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned.

Claims (10)

1. A material manufacturing data encryption method, applied to a server, the method comprising:
obtaining a plurality of material manufacturing data pieces, wherein each material manufacturing data piece comprises material manufacturing contents and a corresponding authority interval;
clustering each material manufacturing data sheet according to the authority interval, and processing each clustered material manufacturing data sheet to obtain a material manufacturing data sheet partition;
when a first encryption instruction for partitioning the material manufacturing data slice is detected, determining a material manufacturing data encryption instruction corresponding to the first encryption instruction;
acquiring an encrypted feature vector set according to the material manufacturing data encryption instruction, acquiring material manufacturing classification information corresponding to the encrypted feature vector set by adopting a pre-configured encryption execution model, and determining an encryption strategy selection instruction corresponding to a second encryption instruction when the second encryption instruction for partitioning the material manufacturing data slice is detected;
and dividing the material manufacturing data sheet corresponding to the encryption strategy selection instruction into an encryption strategy execution queue containing the material manufacturing classification information.
2. The material production data encryption method according to claim 1, wherein the step of processing each clustered material production data piece to obtain a material production data piece partition includes:
generating a corresponding partition object for each material manufacturing data sheet;
obtaining the first material manufacturing data sheet according to the sequence of manufacturing data sheets by each material;
taking the most previous material making data sheet as a global partition object of the material making data sheet partition;
clustering the partition objects according to the sequence of the authority intervals from front to back, and connecting each partition object in a mode of adding the authority interval of the previous partition object in each partition object to obtain the material manufacturing data slice partition.
3. The material production data encryption method according to claim 1, wherein the step of generating a corresponding partitioned object for each piece of the material production data includes:
respectively calculating a hash value corresponding to the material making content of each material making data sheet through a hash algorithm;
and respectively encrypting the hash value corresponding to the material making content of each material making data piece obtained by calculation through a private key in an asymmetric encryption algorithm to obtain a partition object corresponding to the material making content of each material making data piece.
4. The material production data encryption method according to claim 1, wherein the step of dividing the material production data piece corresponding to the encryption policy selection instruction into the encryption policy execution queue including the material production classification information includes:
obtaining a material making data sheet corresponding to the encryption policy selection instruction and basic material making data associated with the material making data sheet, wherein the basic material making data includes a plurality of material making classifications and a plurality of first matrix representations corresponding to the plurality of material making classifications;
matching a plurality of material making classifications corresponding to the first matrix representations with a plurality of preset material making classifications in a classification information table in sequence according to the sequence represented by the first matrix representations;
under the condition of successful matching, acquiring second matrix representations of the preset material manufacturing classifications, sequentially arranging the second matrix representations according to the sequence of the first matrix representations, and generating material manufacturing division matrix representations;
and dividing the material making data sheet corresponding to the encryption strategy selection instruction into an encryption strategy execution queue containing the material making classification information according to the material making division matrix representation.
5. The material production data encryption method according to claim 1, wherein the encryption execution model is configured by:
acquiring all encryption strategy material manufacturing libraries, and marking the material manufacturing classification of each encryption strategy material in the encryption strategy material manufacturing libraries;
labeling and characteristic distribution are carried out on the encryption strategy material;
dividing the encryption strategy material manufacturing into two groups according to the added labels, wherein the added labels are odd-numbered one group which is a configuration group, and the added labels are even-numbered one group which is a test group, wherein the encryption strategy material manufacturing in the configuration group is a configuration file, and the encryption strategy material manufacturing in the test group is a test file;
extracting all the encrypted nodes of the configuration file and forming an encrypted grid sequence;
respectively extracting the encrypted nodes of each configuration file;
calculating a configuration hash value of an encryption node of each configuration file;
clustering according to the position of the configuration hash value in the encryption grid sequence to obtain a configuration feature vector of each configuration file;
clustering all the configuration files according to the material manufacturing classification to obtain a plurality of clusters;
calculating to obtain a cluster characteristic vector of each cluster by taking all the configuration files in each cluster as a whole;
respectively extracting the encrypted nodes of each test file;
calculating the test hash value of the encryption node of each test file;
clustering according to the position of the test hash value in the encrypted grid sequence to obtain a test feature vector of each test file;
respectively calculating cosine values between the clustering feature vectors and the testing feature vectors of each cluster aiming at each test file;
judging whether the test file belongs to the cluster corresponding to the cosine value or not according to the size of the cosine value;
comparing the clustering results of all the test files with the actual clusters to which the test files belong, and calculating to obtain the confidence coefficient of the encryption execution model;
and if the confidence coefficient is greater than or equal to a preset value, outputting the configured encryption execution model.
6. A material manufacturing data encryption system for use with a server, the apparatus comprising:
the system comprises an acquisition module, a storage module and a processing module, wherein the acquisition module is used for acquiring a plurality of material manufacturing data pieces, and each material manufacturing data piece comprises material manufacturing content and a corresponding authority interval;
the clustering module is used for clustering each material making data sheet according to the authority interval and processing each clustered material making data sheet to obtain a material making data sheet partition;
the determining module is used for determining a material manufacturing data encryption instruction corresponding to a first encryption instruction when the first encryption instruction for partitioning the material manufacturing data slice is detected;
the classification module is used for acquiring an encrypted feature vector set according to the material manufacturing data encryption instruction, acquiring material manufacturing classification information corresponding to the encrypted feature vector set by adopting a pre-configured encryption execution model, and determining an encryption strategy selection instruction corresponding to a second encryption instruction when the second encryption instruction for partitioning the material manufacturing data slice is detected;
and the dividing module is used for dividing the material manufacturing data sheet corresponding to the encryption strategy selection instruction into an encryption strategy execution queue containing the material manufacturing classification information.
7. The material production data encryption system of claim 6, wherein the clustering module is specifically configured to:
generating a corresponding partition object for each material manufacturing data sheet;
obtaining the first material manufacturing data sheet according to the sequence of manufacturing data sheets by each material;
taking the most previous material making data sheet as a global partition object of the material making data sheet partition;
clustering the partition objects according to the sequence of the authority intervals from front to back, and connecting each partition object in a mode of adding the authority interval of the previous partition object in each partition object to obtain the material manufacturing data slice partition.
8. The material production data encryption system of claim 7, wherein the means for generating a corresponding partition object for each of the material production data pieces comprises:
respectively calculating a hash value corresponding to the material making content of each material making data sheet through a hash algorithm;
and respectively encrypting the hash value corresponding to the material making content of each material making data piece obtained by calculation through a private key in an asymmetric encryption algorithm to obtain a partition object corresponding to the material making content of each material making data piece.
9. The material production data encryption system of claim 6, wherein the partitioning module is specifically configured to:
obtaining a material making data sheet corresponding to the encryption policy selection instruction and basic material making data associated with the material making data sheet, wherein the basic material making data includes a plurality of material making classifications and a plurality of first matrix representations corresponding to the plurality of material making classifications;
matching a plurality of material making classifications corresponding to the first matrix representations with a plurality of preset material making classifications in a classification information table in sequence according to the sequence represented by the first matrix representations;
under the condition of successful matching, acquiring second matrix representations of the preset material manufacturing classifications, sequentially arranging the second matrix representations according to the sequence of the first matrix representations, and generating material manufacturing division matrix representations;
and dividing the material making data sheet corresponding to the encryption strategy selection instruction into an encryption strategy execution queue containing the material making classification information according to the material making division matrix representation.
10. The material production data encryption system of claim 6, wherein the encryption execution model is configured by:
acquiring all encryption strategy material manufacturing libraries, and marking the material manufacturing classification of each encryption strategy material in the encryption strategy material manufacturing libraries;
labeling and characteristic distribution are carried out on the encryption strategy material;
dividing the encryption strategy material manufacturing into two groups according to the added labels, wherein the added labels are odd-numbered one group which is a configuration group, and the added labels are even-numbered one group which is a test group, wherein the encryption strategy material manufacturing in the configuration group is a configuration file, and the encryption strategy material manufacturing in the test group is a test file;
extracting all the encrypted nodes of the configuration file and forming an encrypted grid sequence;
respectively extracting the encrypted nodes of each configuration file;
calculating a configuration hash value of an encryption node of each configuration file;
clustering according to the position of the configuration hash value in the encryption grid sequence to obtain a configuration feature vector of each configuration file;
clustering all the configuration files according to the material manufacturing classification to obtain a plurality of clusters;
calculating to obtain a cluster characteristic vector of each cluster by taking all the configuration files in each cluster as a whole;
respectively extracting the encrypted nodes of each test file;
calculating the test hash value of the encryption node of each test file;
clustering according to the position of the test hash value in the encrypted grid sequence to obtain a test feature vector of each test file;
respectively calculating cosine values between the clustering feature vectors and the testing feature vectors of each cluster aiming at each test file;
judging whether the test file belongs to the cluster corresponding to the cosine value or not according to the size of the cosine value;
comparing the clustering results of all the test files with the actual clusters to which the test files belong, and calculating to obtain the confidence coefficient of the encryption execution model;
and if the confidence coefficient is greater than or equal to a preset value, outputting the configured encryption execution model.
CN202011136745.2A 2020-10-22 2020-10-22 Material manufacturing data encryption method and system Withdrawn CN112241542A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011136745.2A CN112241542A (en) 2020-10-22 2020-10-22 Material manufacturing data encryption method and system
PCT/CN2020/126799 WO2022082873A1 (en) 2020-10-22 2020-11-05 Material fabrication data encryption method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011136745.2A CN112241542A (en) 2020-10-22 2020-10-22 Material manufacturing data encryption method and system

Publications (1)

Publication Number Publication Date
CN112241542A true CN112241542A (en) 2021-01-19

Family

ID=74169605

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011136745.2A Withdrawn CN112241542A (en) 2020-10-22 2020-10-22 Material manufacturing data encryption method and system

Country Status (2)

Country Link
CN (1) CN112241542A (en)
WO (1) WO2022082873A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116305222A (en) * 2023-05-22 2023-06-23 武汉惠强新能源材料科技有限公司 Intelligent regulation and control method for safety authority of lithium battery diaphragm production data

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101071460A (en) * 2006-05-10 2007-11-14 北京中青凯诚网络电视传媒有限公司 File safety classification and protection method
CN103593859A (en) * 2012-08-13 2014-02-19 中国商用飞机有限责任公司 A method for generating airplane panel pictures in aviation training
CN103107992B (en) * 2013-02-04 2015-06-17 杭州师范大学 Multistage authority management method for cloud storage enciphered data sharing
US10291401B1 (en) * 2016-09-26 2019-05-14 Amazon Technologies, Inc. Stateless service-mediated security module
CN109934002A (en) * 2019-03-13 2019-06-25 淮北师范大学 A kind of multipath identity identifying method of OA office system
CN111191288B (en) * 2019-12-30 2023-10-13 中电海康集团有限公司 Block chain data access right control method based on proxy re-encryption

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116305222A (en) * 2023-05-22 2023-06-23 武汉惠强新能源材料科技有限公司 Intelligent regulation and control method for safety authority of lithium battery diaphragm production data
CN116305222B (en) * 2023-05-22 2023-09-05 武汉惠强新能源材料科技有限公司 Intelligent regulation and control method for safety authority of lithium battery diaphragm production data

Also Published As

Publication number Publication date
WO2022082873A1 (en) 2022-04-28

Similar Documents

Publication Publication Date Title
US20200356901A1 (en) Target variable distribution-based acceptance of machine learning test data sets
CN112153085B (en) Data processing method, node and block chain system
US20220327122A1 (en) Performing data mining operations within a columnar database management system
AU2014262240B2 (en) Entity resolution from documents
CN112241542A (en) Material manufacturing data encryption method and system
JP2022100232A (en) System and method for over-time cross reference of forensic snap shot for root cause analysis
CN111695880A (en) Production process monitoring method and system
US7127446B1 (en) File system based task queue management
CN112100844B (en) Internet of vehicles information configuration simulation method and system
CN113810356A (en) Cloud server encryption management method and system
CN111948967B (en) Power data acquisition method and system based on big data
CN106547626B (en) Method for balancing server in peer-to-peer architecture and server
CN113904591A (en) Control method and system for brushless motor with built-in drive
CN113282312A (en) Software package updating method and system
CN113904782A (en) Online cloud platform management method and system
CN111898030A (en) Intelligent recommendation method and system for science and technology project object
US20190377722A1 (en) Array structures
CN112215527A (en) Logistics management method and device
CN111767437B (en) Enterprise science and technology project management method and system
CN112287099A (en) Supply chain management method and device
CN113157546B (en) Virtual simulation test method and system based on video stream
CN114143018B (en) Intelligent operation platform information encryption method and system
CN112667659B (en) Feature processing method and related equipment
US11936668B2 (en) Identifying credential attacks on encrypted network traffic
US11403461B2 (en) System and method for redacting data from within a digital file

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20210119

WW01 Invention patent application withdrawn after publication