CN117034310B - Configuration method of reliable record label based on container cloud factory material data - Google Patents

Configuration method of reliable record label based on container cloud factory material data Download PDF

Info

Publication number
CN117034310B
CN117034310B CN202310990009.0A CN202310990009A CN117034310B CN 117034310 B CN117034310 B CN 117034310B CN 202310990009 A CN202310990009 A CN 202310990009A CN 117034310 B CN117034310 B CN 117034310B
Authority
CN
China
Prior art keywords
label
information
labels
current
application
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310990009.0A
Other languages
Chinese (zh)
Other versions
CN117034310A (en
Inventor
王发华
彭程
王喜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenlang Information Technology Jiangsu Co ltd
Original Assignee
Suzhou Shenlang Information 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 Shenlang Information Technology Co ltd filed Critical Suzhou Shenlang Information Technology Co ltd
Priority to CN202310990009.0A priority Critical patent/CN117034310B/en
Publication of CN117034310A publication Critical patent/CN117034310A/en
Application granted granted Critical
Publication of CN117034310B publication Critical patent/CN117034310B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Bioethics (AREA)
  • General Factory Administration (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a configuration method of a reliable record label based on container cloud factory material data, which comprises the following steps: acquiring current material related information, configuring labels for the current material related information, and acquiring a first part of labels; acquiring current material application information, configuring labels for the current material application information, and acquiring second part labels; acquiring material related information after a current material treatment application, configuring a label for the material related information after the current material treatment application, and acquiring a third part of label; and combining the first part of labels, the second part of labels and the third part of labels to obtain reliable record labels of the material data, and completing configuration of the reliable record labels of the material data of the container cloud factory. The invention can effectively protect the safety and the completeness of the material use record by the encryption of the BASE64 and can safely and effectively record the problem of the material use information of the factory.

Description

Configuration method of reliable record label based on container cloud factory material data
Technical Field
The invention belongs to the technical field of cloud computing containers, and particularly relates to a configuration method of a reliable record label based on container cloud factory material data.
Background
Cloud computing is an information processing mode for uniformly organizing and flexibly calling various information resources through a network and realizing large-scale computing. The rapid development of cloud computing technology has also promoted the development of the industrial internet to some extent. The industrial Internet realizes comprehensive interconnection of people, machines and objects by deeply fusing new generation information technology with manufacturing industry. In realizing cloud computing and factory building intelligent industrial workshops, intelligent equipment can apply for multiple materials for use many times. These application material requests are not recorded in detail, but are stored in a plaintext manner even if the application material requests are recorded, and the usage record of the material data is also sensitive information, and needs to be recorded and protected.
Therefore, the invention provides a configuration method for reliably recording labels based on material data of a container cloud factory, which aims to solve the defects in the prior art.
Disclosure of Invention
The invention aims to provide a configuration method of a reliable recording label based on container cloud factory material data, so as to solve the problems and enable factory material usage records to be recorded safely.
In order to achieve the above purpose, the invention provides a configuration method of a reliable record label based on container cloud factory material data, which comprises the following steps:
acquiring current material related information, configuring labels for the current material related information, and acquiring a first part of labels;
acquiring current material application information, configuring labels for the current material application information, and acquiring second part labels;
acquiring material related information after a current material treatment application, configuring a label for the material related information after the current material treatment application, and acquiring a third part of label;
and combining the first part of labels, the second part of labels and the third part of labels to obtain reliable record labels of the material data, and completing configuration of the reliable record labels of the material data of the container cloud factory.
Optionally, the current material related information and the material related information after the current material processing application all include material national standard format codes, material abbreviations and material quantity information.
Optionally, the current material related information and the material related information after the current material treatment application are encoded according to a preset rule, and material names and quantity information are added.
Optionally, the current material related information and the material related information after the current material processing application are encoded according to a preset rule, and after adding the material name and the quantity information, the method further includes: and if the current material related information and the material related information after the current material processing application are not matched with the corresponding international information, recording by using a defined material code.
Optionally, the current material application information includes an operation type and an operand.
Optionally, the step of combining the first part of tag, the second part of tag and the third part of tag to obtain the reliable record tag of the material data includes:
judging the operation type of the current material application information;
if the current material application information is a material extraction request or a material adding request or a material moving request, the operation type is normal, and the operand of the current material application information is continuously judged;
if the current material application information is not a material extraction request or a material adding request or a material moving request, judging whether the current tag main body stores the last total tag information.
Optionally, determining the operand of the current material application information includes:
if the operand of the current material application information is smaller than or equal to the total number of the current material application information, the current material application information is reasonable, the second part of the label is encrypted, and a separator is added to the head part of the second part of the label;
if the operand of the current material application information is larger than the total number of the current material application information, the current material application information is unreasonable, and whether the total label information is stored in the current label main body or not is judged.
Optionally, determining whether the total tag information is stored in the current tag body last time includes:
if the total label information does not exist in the current label main body, the current material application information is a first material extraction application, zero padding processing is carried out on the current material application information, and a separator is added to the head of the second part of label;
and if the total label information exists in the current label main body, the first part of labels, the second part of labels and the third part of labels record labels along with the last material data.
Optionally, combining the first part of tag, the second part of tag and the third part of tag, and obtaining the reliable record tag of the material data includes: and the first part of labels, the second part of labels and the third part of labels are respectively encrypted by BASE64 and are connected by using separators to obtain the reliable record labels of the material data.
Optionally, if a new material application request exists, continuing to iterate information on the reliable record label of the material data, taking the third part label as a new first part label, and adding a separator; taking the new application material request as a new second part label, and adding a separator; and acquiring a new third part label through the new first part label and the new second part label.
The invention has the following beneficial effects:
according to the configuration method of the reliable record label based on the container cloud factory material data, the record label is obtained through BASE64 encryption, so that the safety and completeness of material use records can be effectively protected, and the problem of factory material use information can be safely and effectively recorded.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application, illustrate and explain the application and are not to be construed as limiting the application. In the drawings:
FIG. 1 is a flow chart of a configuration method of a reliable record label based on container cloud factory material data according to an embodiment of the invention;
FIG. 2 is a block diagram of a configuration method of a reliable record label based on container cloud factory material data according to an embodiment of the present invention;
FIG. 3 is a flow chart of a material application judging logic according to an embodiment of the present invention;
fig. 4 is an iteration overview of tag information according to an embodiment of the present invention.
Detailed Description
It should be noted that, without conflict, the embodiments of the present invention and features of the embodiments may be combined with each other. The present application will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer executable instructions, and that although a logical order is illustrated in the flowcharts, in some cases the steps illustrated or described may be performed in an order other than that illustrated herein.
As shown in fig. 1, the present embodiment provides a configuration method based on a reliable record label of material data of a container cloud factory, and the configuration method is deployed in the container cloud to realize a record function of the record material data. The material data record label divide into the three-layer, comprises 2 bits '-' sign and 3 partial information label, as shown in fig. 2, and the configuration should be carried out in proper order from right to left to the label of fig. 2.
In this embodiment, the previous layer of the material label is a strong entity of the next layer, and the current material related information is recorded first, so that the material result information is obtained through the material application information, which is simply summarized as: current situation + condition→result.
S1, acquiring current material related information, configuring a label for the material information, and acquiring a first part of labels of a material data record label;
the current material related information is encoded according to national standard codes of the people's republic of China, and material names and quantity information are added, namely, the current material related information at least comprises three parts of information including material national standard format codes, material short names and material quantity information; and performing BASE 64-bit encryption on the obtained first part of the tag, and adding a separator '-' to the head of the first part of the tag.
S2, acquiring a current material application message, configuring a label for the material application message, and acquiring a second part of labels of the material data record label;
the current material application message at least comprises information such as an operation type and an operand, and the material application message should firstly judge whether the operation type and the operand are normal or not. Judging whether the application request is a material extraction request or not; judging whether the object application is a material adding request or not; judging whether the application is a mobile material request, determining the operation type, and judging whether the request is reasonable, if so: it is unreasonable to extract material request operands greater than the current total number of materials, and the judgment logic is shown in fig. 3. If the second part of the label is normal, the obtained second part of the label is encrypted by BASE64 bits, a separator is added to the head of the second part of the label, otherwise, whether the total label information of the last time is stored in the current label main body is checked. If the last total label information exists in the label, all three parts of the labels use the last material data record label; if the last total label information does not exist in the label, the material application message is a first material extraction application, zero padding treatment is adopted for the material application message, and a separator '-' is added at the head of the label of the second part.
S3, acquiring material related information after the current material processing application, configuring a label for the material information, and acquiring a label of a third part of the material data record label;
the related information of the materials after the current material treatment application is coded according to the national standard code of the people's republic of China, and material names and quantity information are added, namely the related information of the materials after the current material treatment application at least comprises three parts of information of the national standard format code of the materials, the material abbreviation and the quantity information of the materials, and the quantity information is changed along with the application information; and performing BASE64 bit encryption on the obtained third part of labels.
S4, combining the first part of labels, the second part of labels and the third part of labels to obtain reliable record labels of industrial material data, and completing configuration of the reliable record labels of the material data of the container cloud-based factory;
after the material data record label is configured, if a new material application request exists, the material data record label needs information iteration. The overall outline of the information iteration is that the third part of the old label is taken as a new first part, and a segmenter '-'; taking the new application material request as a second part of the new label, and adding a separator '-'; and calculating a third part of the material label through the first part and the second part of the new label. An iterative overview of the material tag information is shown in fig. 4. The information iteration also needs to judge whether the operation type and the operand are normal or not for the new material application request, and the judgment logic is the same as that of S2.
And recording the material information of the first part and the material information of the third part by using national standard codes, and if the material information is not matched with the corresponding national standard information, recording the material information by customizing the material codes.
In order to further verify the configuration method of the reliable record label based on the container cloud factory material data provided in this embodiment, the following analysis and verification are performed on the obtained label "R0IvVCA0MDAwNi4xLShSRUMpQjEtRzItMywsLCw66buR6Imy5YaN55Sf5aGR paZOj U2 mddlkkg= -5aKe5re777yMNjAw5ZCo-R0IvVCA0MDAwNi4xLShSRUMpQjEtRzItMyws LCw66buR6Imy5YaN55Sf5aGR5 pazojuwrmddlkkg=":
step 1,
"R0IvVCA0MDAwNi4 xlshsrumpqetrzitmywslcw 66buR6Imy5YaN55Sf5aGR5paZOj uwmmddllkkg=" decrypted by using BASE 64: "GB/T40006.1- (REC) B1-G2-3,, black recycled plastic: 5000 tons. For the parsed plaintext 'GB/T40006.1- (REC) B1-G2-3,' by inquiring national standard number ',' is shown as follows: GB/T40006.1-2021 literature can obtain that the material is black lamellar renewable plastic for daily necessities; the plaintext black regenerated plastic is the material for short; the plain text is 5000 tons, which is the mass of the material.
Step 2, "5aKe5re777yMNjAw5ZCo" was decrypted using BASE 64: "add, 600 tons";
step 3,
"R0IvVCA0MDAwNi4 xlshsrumpqetrzitmywslcw 66buR6Imy5YaN55Sf5aGR5paZOjU2 mddlkkg=" decrypted by using BASE 64: "GB/T40006.1- (REC) B1-G2-3,,: black recycled plastic: 5600 tons". For the parsed plaintext 'GB/T40006.1- (REC) B1-G2-3,' by inquiring national standard number ',' is shown as follows: GB/T40006.1-2021 literature can obtain that the material is black lamellar renewable plastic for daily necessities; the plaintext black regenerated plastic is the material for short; the plain text "5600 tons" is the mass of the material.
The data storage structure inside the tag uses a lightweight, easy to read and write by a person, easy to parse by a program and easy to produce. The JSON format accords with the characteristics, and the JSON internal data structure is Object and Array, and the basic type is string, number, true, false, null. The JSON internally contains material usage time stamp, after-application (after_application), application (apply), before-application (before_application), remarks (remarks).
The overall format is { "timestamp": [ { "after_applying": "post-application label", "apply": "Material application Label", "before_applying": "pre-application label", "remark": "remarks" }). Taking the JSON format for recording recyclable material labels as an example.
Step 1, recording a time stamp of the material, wherein the format is 1686823802;
step 2, recording an information label after the material application is used, wherein the format is 'after_applying': "R0IVVCA0MDAwnI4 xLShSRUMpQEtRzItMywsLCw 66buR6Imy5YaN55Sf5aGR5paZOj U2 MDDlkKg=";
step 3, recording a material application label with the format of "apply": "5aKe re777yMNjAw5ZCo";
step 4, recording a pre-use information label of the material application, wherein the format is 'before_applying': R0IVVCA0MDAwnI4xLShSRUMpQjEtRzItMywsLCw66buR6Imy5YaN55Sf5aGR5paZOj UwmmdDlkKKg= ";
step 5, recording the remarks of the material application of the application, wherein the format is 'remark': "for manufacturing disposable plastic drinking cups".
Therefore, the material data recording label obtained by the configuration method based on the reliable recording label of the material data of the container cloud factory can safely and effectively record the material use information of the factory, and the intellectualization of an industrial workshop is further improved.
The foregoing is merely a preferred embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions easily contemplated by those skilled in the art within the technical scope of the present application should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (7)

1. The configuration method of the reliable record label based on the material data of the container cloud factory is characterized by comprising the following steps:
acquiring current material related information, configuring labels for the current material related information, and acquiring a first part of labels;
acquiring current material application information, configuring labels for the current material application information, and acquiring second part labels; the current material application information comprises an operation type and an operand;
acquiring material related information after a current material treatment application, configuring a label for the material related information after the current material treatment application, and acquiring a third part of label;
combining the first part of labels, the second part of labels and the third part of labels to obtain reliable record labels of material data, and completing configuration of the reliable record labels of the material data of the container cloud factory;
combining the first part of labels, the second part of labels and the third part of labels, and before acquiring the reliable record label of the material data, comprising:
judging the operation type of the current material application information;
if the current material application information is a material extraction request or a material adding request or a material moving request, the operation type is normal, and the operand of the current material application information is continuously judged;
if the current material application information is not a material extraction request or a material adding request or a material moving request, judging whether the current tag main body stores the last total tag information or not;
the judging of the operand of the current material application information comprises the following steps:
if the operand of the current material application information is smaller than or equal to the total number of the current material application information, the current material application information is reasonable, the second part of the label is encrypted, and a separator is added to the head part of the second part of the label;
if the operand of the current material application information is larger than the total number of the current material application information, the current material application information is unreasonable, and whether the total label information is stored in the current label main body or not is judged.
2. The configuration method based on the reliable record label of the material data of the container cloud factory according to claim 1, wherein the current material related information and the material related information after the current material processing application all comprise material national standard format codes, material abbreviations and material quantity information.
3. The configuration method based on the reliable record label of the material data of the container cloud factory according to claim 2, wherein the current material related information and the material related information after the current material processing application are encoded according to a preset rule, and material names and quantity information are added.
4. The configuration method based on the reliable record label of the material data of the container cloud factory according to claim 3, wherein the current material related information and the material related information after the current material processing application are encoded according to a preset rule, and the configuration method further comprises the steps of: and if the current material related information and the material related information after the current material processing application are not matched with the corresponding international information, recording by using a defined material code.
5. The method for configuring a reliable record label based on container cloud factory material data according to claim 1, wherein determining whether the total label information is stored last time inside the current label body comprises:
if the total label information does not exist in the current label main body, the current material application information is a first material extraction application, zero padding processing is carried out on the current material application information, and a separator is added to the head of the second part of label;
and if the total label information exists in the current label main body, the first part of labels, the second part of labels and the third part of labels record labels along with the last material data.
6. The method of claim 1, wherein combining the first partial tag, the second partial tag, and the third partial tag to obtain the reliable record of material data tag comprises: and the first part of labels, the second part of labels and the third part of labels are respectively encrypted by BASE64 and are connected by using separators to obtain the reliable record labels of the material data.
7. The configuration method based on the reliable record label of the material data of the container cloud factory according to claim 1, wherein the configuration method further comprises the steps of continuing to iterate information on the reliable record label of the material data if a new material application request exists, taking the third part label as a new first part label, and adding a separator; taking the new application material request as a new second part label, and adding a separator; and acquiring a new third part label through the new first part label and the new second part label.
CN202310990009.0A 2023-08-08 2023-08-08 Configuration method of reliable record label based on container cloud factory material data Active CN117034310B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310990009.0A CN117034310B (en) 2023-08-08 2023-08-08 Configuration method of reliable record label based on container cloud factory material data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310990009.0A CN117034310B (en) 2023-08-08 2023-08-08 Configuration method of reliable record label based on container cloud factory material data

Publications (2)

Publication Number Publication Date
CN117034310A CN117034310A (en) 2023-11-10
CN117034310B true CN117034310B (en) 2024-01-26

Family

ID=88644138

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310990009.0A Active CN117034310B (en) 2023-08-08 2023-08-08 Configuration method of reliable record label based on container cloud factory material data

Country Status (1)

Country Link
CN (1) CN117034310B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116028732A (en) * 2022-11-02 2023-04-28 苏州工业职业技术学院 Public place security information label configuration method based on cloud service
CN116187886A (en) * 2023-03-06 2023-05-30 苏州工业职业技术学院 Configuration method of industrial workshop material tracking label based on container cloud

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6557727B2 (en) * 2014-12-03 2019-08-07 ナグラビジョン エス アー Block encryption method for encrypting / decrypting messages and encryption device for implementing this method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116028732A (en) * 2022-11-02 2023-04-28 苏州工业职业技术学院 Public place security information label configuration method based on cloud service
CN116187886A (en) * 2023-03-06 2023-05-30 苏州工业职业技术学院 Configuration method of industrial workshop material tracking label based on container cloud

Also Published As

Publication number Publication date
CN117034310A (en) 2023-11-10

Similar Documents

Publication Publication Date Title
CN109829726B (en) Block chain-based drug information management method and system
CN104486075B (en) A kind of verification method of intelligent substation ICD model file digital signature
EP2357857B1 (en) Method and apparatus for generating phone bill
CN110597814B (en) Structured data serialization and deserialization method and device
KR20190020105A (en) Method and device for distributing streaming data
CN109510686B (en) Universal binary stream data conversion processing method
CN102799815B (en) A kind of method and apparatus of safe loading procedure storehouse
CN109242666A (en) Personal reference method, apparatus and computer equipment are obtained based on block chain
CN106599115A (en) Data protection method and device and terminal
CN110134646B (en) Knowledge platform service data storage and integration method and system
CN117034310B (en) Configuration method of reliable record label based on container cloud factory material data
CN114490302B (en) Threat behavior analysis method based on big data analysis and server
JP5966053B1 (en) Information management method and information management system
GB2287814B (en) Method and apparatus for converting data between abstract syntax format and transfer syntax format
CN106780280B (en) Digital watermarking encryption method and device
CN113590551A (en) Material digital extended format system, method, medium and equipment
CN110992039B (en) Transaction processing method, device and equipment
CN111490870B (en) Seal registration method, verification method and anti-counterfeiting system based on blockchain
CN113438216B (en) Access control method based on security marker
CN106503197B (en) A method of extracting android system Baidu map base station data
CN108845995A (en) Data processing method, device, storage medium and electronic device
CN109542904A (en) Business data processing method, device, server and medium
CN107436728B (en) Rule analysis result storage method, rule backtracking method and device
CN108920302A (en) A kind of method of Android device backup application data
CN112785275A (en) Industrial APP identification method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: Room 307, No. 11, changjingmiao street, Suzhou, Jiangsu 215008

Patentee after: Shenlang Information Technology (Jiangsu) Co.,Ltd.

Country or region after: China

Address before: Room 308, Lighting Building, No. 11 Changjingmiao Street, Gusu District, Suzhou City, Jiangsu Province, 215000

Patentee before: Suzhou shenlang Information Technology Co.,Ltd.

Country or region before: China