A cream supply chain management method based on data processing

By generating specific supply signs and encryption sequences based on cream -based supply chain contracts to generate encryption passwords for the contract, the traditional encrypted method is solved by the loopholes of the data security of the cream supply chain contract, and more efficient data protection has been achieved.

CN118821234BActive Publication Date: 2025-01-24QINGDAO KESONG FOOD CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411298660.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-18
Publication Date
2025-01-24
Estimated Expiration
2044-09-18

AI Technical Summary

Technical Problem

Cream supply chain contract data is easily stolen and tampered during transmission and storage. The traditional supply chain data encryption method is not targeted and has security loopholes, making it difficult to effectively resist the risk of data leakage.

Method used

By obtaining the timestamp, contract name and contract number of the supply chain contract, a specific supply logo and encrypted sequence are generated. These logo and sequences are used as the supply chain contract to generate encrypted passwords to ensure that only the correct encryption password can access the supply chain contract.

Benefits of technology

It realizes the generation of unique and targeted encryption passwords for the cream supply chain contract, improves data security, prevents unauthorized access and tampering, and ensures the data security of the cream supply chain.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118821234B_ABST
    Figure CN118821234B_ABST
Patent Text Reader

Abstract

The invention discloses a cream supply chain management method based on data processing, which belongs to the technical field of supply chain management and includes the following steps: S1, obtaining a cream supply chain contract, and generating a supply identification according to the timestamp of the supply chain contract; S2, generating an encryption sequence; S3, using the supply identification and the encryption sequence to generate an encryption password for the supply chain contract. The invention can generate an encryption password for the supply chain contract, so that when accessing the supply chain contract, the corresponding encryption password needs to be input to obtain the access right, and the complexity of the encryption password is moderate, so as to protect the cream supply chain contract information from unauthorized access and tampering, and ensure the data security of the cream supply chain.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of supply chain management, and in particular relates to a cream supply chain management method based on data processing. Background Art

[0002] As an important raw material in the food industry, cream's supply chain involves a lot of information, such as production formula, inventory, and logistics track. With the continuous expansion of the cream market and the complexity of the supply chain, the supply chain contract, as an important document to ensure the rights and interests of all parties, has become increasingly problematic in terms of information security. Supply chain contract data is vulnerable to theft and tampering during transmission and storage. Traditional supply chain data encryption methods are not targeted and may have security vulnerabilities, making it difficult to effectively resist data leakage risks. Therefore, a more secure and efficient encryption method is urgently needed. Summary of the invention

[0003] In order to solve the above problems, the present invention proposes a cream supply chain management method based on data processing.

[0004] The technical solution of the present invention is: a cream supply chain management method based on data processing comprises the following steps:

[0005] S1. Obtain the supply chain contract of cream and generate a supply identifier based on the timestamp of the supply chain contract;

[0006] S2. Generate an encryption sequence according to the contract number and contract name of the supply chain contract;

[0007] S3, using the supply identifier and encryption sequence, generating an encryption password for the supply chain contract;

[0008] S1 includes the following sub-steps:

[0009] S11. Obtain the supply chain contract of cream and determine the timestamp of the supply chain contract;

[0010] S12, splitting the timestamp of the supply chain contract into a first time value, a second time value and a third time value;

[0011] S13, converting the first time value, the second time value and the third time value into ASCII codes to obtain a first identification code, a second identification code and a third identification code respectively;

[0012] S14. Generate a supply identification according to the first identification code, the second identification code and the third identification code.

[0013] In S11, the timestamp can accurately record the specific time when the contract is signed, and is mainly used to prove the authenticity and accuracy of the contract signing time.

[0014] In S12, the timestamp of the supply chain contract includes the hour, minute, and second of the contract signing, so the first time value obtained by splitting is the hour, the second time value is the minute, and the third time value is the second.

[0015] In S13, the ASCII code uses a specified 7-bit or 8-bit binary number combination to represent 128 or 256 possible characters. Taking the first time value as an example, the first time value is composed of two numbers from 0 to 9 (such as 01 o'clock, 11 o'clock, 21 o'clock, etc.), taking 01 o'clock as an example, 0 and 1 are ASCII encoded respectively to obtain corresponding 8-bit binary numbers, and the two 8-bit binary numbers are combined to obtain the first identification code.

[0016] Further, S14 includes the following sub-steps:

[0017] S141, construct a coding control model;

[0018] S142, using the coding control model to determine the control values ​​corresponding to the first identification code, the second identification code, and the third identification code;

[0019] S143: Generate a supply identifier according to the control values ​​corresponding to the first identifier code, the second identifier code, and the third identifier code.

[0020] The beneficial effect of the above further scheme is: in the present invention, the identification code is composed of 16-bit 0 or 1 numbers, and the control value of each identification code is calculated using the coding control model. All identification codes and corresponding control values ​​are combined to obtain a specific supply identification. The supply identification contains the characteristic parameters of the timestamp (i.e., the supply identification), and a specific identification can be generated for the supply chain contract.

[0021] Furthermore, in S141, the calculation formula of the coding control model β is: Where b 1 Indicates the first digit of the identification code, b 2 Indicates the second digit of the identification code, b 3 Indicates the first digit of the identification code, b i-1 Indicates the i-1th digit of the identification code, b i Indicates the i-th digit of the identification code, b i+1 Indicates the i+1th digit of the identification code, b 15 Indicates the fifteenth digit of the identification code, b 16 Indicates the sixteenth digit of the identification code.

[0022] Further, in S143, the expression of the supply identifier M is: Where B 1 Indicates the first identification code, B 2 Indicates the second identification code, B 3Indicates the third identification code, β 1 represents the control value of the first identification code, β 2 represents the control value of the second identifier code, β 3 Indicates the control value of the third identification code.

[0023] Furthermore, S2 includes the following sub-steps:

[0024] S21. Generate a specific name value according to the contract name of the supply chain contract;

[0025] S22. Determine the latest contract sequence according to the specific name value;

[0026] S23. Eliminate the letters of the latest contract sequence and generate an encrypted sequence.

[0027] The beneficial effect of the above further scheme is: in the present invention, in addition to the timestamp having representative significance, the contract name and contract number of the supply chain contract are unique, so the present invention reuses the contract number and contract name as elements involved in generating the encryption sequence to generate a specific and targeted encryption sequence for the supply chain contract, so that the encryption password is unique and accurate.

[0028] Furthermore, in S21, the calculation formula of the specific name value NAME is: Where, J 1 represents the word vector of the yth word in the contract name, J y represents the word vector of the yth word in the contract name, J Y Represents the word vector of the Yth word in the contract name, where Y represents the number of words in the contract name, c represents a constant, and e represents an exponent.

[0029] Furthermore, in S22, the contract number of the supply chain contract is obtained, and the characteristic name value is rounded up and inserted into the first and last digits of the contract number as the latest contract sequence.

[0030] In S22, the expression of the latest contract sequence is: ; In the formula, Indicates rounding up operation, and xxx indicates the contract number.

[0031] Furthermore, S3 includes the following sub-steps:

[0032] S31, generating a corresponding identification value for the supply identification;

[0033] S32. Combine the identification value and the encryption sequence as an encryption password.

[0034] Put the identification value first and the encryption sequence second to get the encrypted password.

[0035] Furthermore, in S31, the calculation formula of the identification value P corresponding to the supply identification is: Where A 1 Represents the sum of all numbers in the first identification code, A 2 Represents the sum of all numbers in the second identification code, A 3 represents the sum of all numbers in the third identifier code, max(·) represents the maximum value function, MAX represents the maximum element value of the supply identifier, MIN represents the minimum element value of the supply identifier, Indicates a round-up operation.

[0036] The supply identifier contains four elements: B 1 , B 2 , B 3 and ; MAX means B 1 , B 2 , B 3 and MIN represents the maximum value in B 1 , B 2 , B 3 and The minimum value in .

[0037] The beneficial effects of the present invention are as follows: the present invention generates a unique supply identification and encryption sequence for the contract according to the parameters of the supply chain contract itself, such as the timestamp, contract name and contract number; the identification and sequence are determined in combination with the characteristics of the supply chain contract itself, and are more targeted; the present invention can generate an encryption password for the supply chain contract, so that when accessing the supply chain contract, the corresponding encryption password needs to be entered to obtain access rights, and the complexity of the encryption password is moderate, so as to protect the cream supply chain contract information from unauthorized access and tampering, and ensure the data security of the cream supply chain. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 Flow chart of the cream supply chain management method based on data processing. DETAILED DESCRIPTION

[0039] The embodiments of the present invention will be further described below in conjunction with the accompanying drawings.

[0040] like Figure 1 As shown, the present invention provides a cream supply chain management method based on data processing, comprising the following steps:

[0041] S1. Obtain the supply chain contract of cream and generate a supply identifier based on the timestamp of the supply chain contract;

[0042] S2. Generate an encryption sequence according to the contract number and contract name of the supply chain contract;

[0043] S3, using the supply identifier and encryption sequence, generating an encryption password for the supply chain contract;

[0044] S1 includes the following sub-steps:

[0045] S11. Obtain the supply chain contract of cream and determine the timestamp of the supply chain contract;

[0046] S12, splitting the timestamp of the supply chain contract into a first time value, a second time value and a third time value;

[0047] S13, converting the first time value, the second time value and the third time value into ASCII codes to obtain a first identification code, a second identification code and a third identification code respectively;

[0048] S14. Generate a supply identification according to the first identification code, the second identification code and the third identification code.

[0049] In S11, the timestamp can accurately record the specific time when the contract is signed, and is mainly used to prove the authenticity and accuracy of the contract signing time.

[0050] In S12, the timestamp of the supply chain contract includes the hour, minute, and second of the contract signing, so the first time value obtained by splitting is the hour, the second time value is the minute, and the third time value is the second.

[0051] In S13, the ASCII code uses a specified 7-bit or 8-bit binary number combination to represent 128 or 256 possible characters. Taking the first time value as an example, the first time value is composed of two numbers from 0 to 9 (such as 01 o'clock, 11 o'clock, 21 o'clock, etc.), taking 01 o'clock as an example, 0 and 1 are ASCII encoded respectively to obtain corresponding 8-bit binary numbers, and the two 8-bit binary numbers are combined to obtain the first identification code.

[0052] In this embodiment of the present invention, S14 includes the following sub-steps:

[0053] S141, construct a coding control model;

[0054] S142, using the coding control model to determine the control values ​​corresponding to the first identification code, the second identification code, and the third identification code;

[0055] S143: Generate a supply identifier according to the control values ​​corresponding to the first identifier code, the second identifier code, and the third identifier code.

[0056] In the present invention, the identification code is composed of 16-bit 0 or 1 numbers. The control value of each identification code is calculated using the coding control model. All identification codes and corresponding control values ​​are combined to obtain a specific supply identification. The supply identification includes the characteristic parameters of the timestamp (i.e., the supply identification), and a specific identification can be generated for the supply chain contract.

[0057] In the embodiment of the present invention, in S141, the calculation formula of the coding control model β is: Where b 1 Indicates the first digit of the identification code, b 2 Indicates the second digit of the identification code, b 3 Indicates the first digit of the identification code, b i-1 Indicates the i-1th digit of the identification code, b i Indicates the i-th digit of the identification code, b i+1 Indicates the i+1th digit of the identification code, b 15 Indicates the fifteenth digit of the identification code, b 16 Indicates the sixteenth digit of the identification code.

[0058] In the embodiment of the present invention, in S143, the expression of the supply identifier M is: Where B 1 Indicates the first identification code, B 2 Indicates the second identification code, B 3 Indicates the third identification code, β 1 represents the control value of the first identifier code, β 2 represents the control value of the second identifier code, β 3 Indicates the control value of the third identification code.

[0059] In this embodiment of the present invention, S2 includes the following sub-steps:

[0060] S21. Generate a specific name value according to the contract name of the supply chain contract;

[0061] S22. Determine the latest contract sequence according to the specific name value;

[0062] S23. Eliminate the letters of the latest contract sequence and generate an encrypted sequence.

[0063] In the present invention, in addition to the timestamp that is representative, the contract name and contract number of the supply chain contract are unique. Therefore, the present invention reuses the contract number and contract name as elements involved in generating an encryption sequence to generate a specific and targeted encryption sequence for the supply chain contract, making the encryption password unique and accurate.

[0064] In the embodiment of the present invention, in S21, the calculation formula of the specific name value NAME is: Where, J 1 represents the word vector of the yth word in the contract name, J y represents the word vector of the yth word in the contract name, J Y Represents the word vector of the Yth word in the contract name, where Y represents the number of words in the contract name, c represents a constant, and e represents an exponent.

[0065] In an embodiment of the present invention, in S22, the contract number of the supply chain contract is obtained, and the characteristic name value is rounded up and inserted into the first and last digits of the contract number as the latest contract sequence.

[0066] In S22, the expression of the latest contract sequence is: ; In the formula, Indicates rounding up operation, and xxx indicates the contract number.

[0067] In this embodiment of the present invention, S3 includes the following sub-steps:

[0068] S31, generating a corresponding identification value for the supply identification;

[0069] S32. Combine the identification value and the encryption sequence as an encryption password.

[0070] Put the identification value first and the encryption sequence second to get the encrypted password.

[0071] In the embodiment of the present invention, in S31, the calculation formula of the identification value P corresponding to the supply identification is: Where A 1 Represents the sum of all numbers in the first identification code, A 2 Represents the sum of all numbers in the second identification code, A 3 represents the sum of all numbers in the third identifier code, max(·) represents the maximum value function, MAX represents the maximum element value of the supply identifier, MIN represents the minimum element value of the supply identifier, Indicates a round-up operation.

[0072] The supply identifier contains four elements: B 1 , B 2 , B 3 and ; MAX means B 1 , B 2 , B 3 and MIN represents the maximum value in B 1 , B 2 , B 3 and The minimum value in .

[0073] The following describes the invention in conjunction with specific embodiments.

[0074] The timestamp of a supply chain contract is split into the first time value (01), the second time value (02) and the third time value (03); the three time values ​​are converted into ASCII codes, for example, 01 corresponds to 0011000000110001. 0011000000110001 is input into the coding control model to obtain the control value corresponding to the first time value. Similarly, the control values ​​of the second and third time values ​​are obtained. The three identification codes and the corresponding control values ​​are combined to obtain the supply identification. Next, the contract name of a supply chain contract is input into the calculation formula of the specific name value to obtain the corresponding specific name value, such as 8.9; if the code of the supply chain contract is 2894UD79980, the expression of the encryption sequence is 92894799809. Finally, the final encryption password is determined based on the supply identification and encryption sequence.

[0075] Those skilled in the art will appreciate that the embodiments described herein are intended to help readers understand the principles of the present invention, and should be understood that the protection scope of the present invention is not limited to such specific statements and embodiments. Those skilled in the art can make various other specific variations and combinations that do not deviate from the essence of the present invention based on the technical revelations disclosed by the present invention, and these variations and combinations are still within the protection scope of the present invention.

Claims

1. A cream supply chain management method based on data processing, characterized in that: The following steps are involved: S1. Obtain the supply chain contract of cream and generate a supply identifier based on the timestamp of the supply chain contract; S2. Generate an encryption sequence according to the contract number and contract name of the supply chain contract; S3, using the supply identifier and encryption sequence, generating an encryption password for the supply chain contract; The S1 comprises the following sub-steps: S11. Obtain the supply chain contract of cream and determine the timestamp of the supply chain contract; S12, splitting the timestamp of the supply chain contract into a first time value, a second time value and a third time value; S13, converting the first time value, the second time value and the third time value into ASCII codes to obtain a first identification code, a second identification code and a third identification code respectively; S14, generating a supply identification according to the first identification code, the second identification code and the third identification code; The S14 comprises the following sub-steps: S141, construct a coding control model; S142, using the coding control model to determine the control values ​​corresponding to the first identification code, the second identification code, and the third identification code; S143, generating a supply identifier according to control values ​​corresponding to the first identifier code, the second identifier code, and the third identifier code; In S141, the calculation formula of the coding control model β is: ; In the formula, b1 represents the first digit of the identification code, b2 represents the second digit of the identification code, b3 represents the third digit of the identification code, and b i-1 Indicates the i-1th digit of the identification code, b i Indicates the i-th digit of the identification code, b i+1 Indicates the i+1th digit of the identification code, b 15 Indicates the fifteenth digit of the identification code, b 16 Indicates the sixteenth digit of the identification code; In S143, the expression of the supply identifier M is: ; Wherein, B1 represents the first identification code, B2 represents the second identification code, B3 represents the third identification code, β1 represents the control value of the first identification code, β2 represents the control value of the second identification code, and β3 represents the control value of the third identification code; The S2 comprises the following sub-steps: S21. Generate a specific name value according to the contract name of the supply chain contract; S22. Determine the latest contract sequence according to the specific name value; S23, removing the letters of the latest contract sequence, and generating an encrypted sequence; In S21, the calculation formula of the specific name value NAME is: ; In the formula, J1 represents the word vector of the first word in the contract name, J y represents the word vector of the yth word in the contract name, J Y represents the word vector of the Yth word in the contract name, where Y represents the number of words in the contract name, c represents a constant, and e represents an exponent; In S22, the contract number of the supply chain contract is obtained, and the characteristic name value is rounded up and inserted into the first and last digits of the contract number as the latest contract sequence; The S3 comprises the following sub-steps: S31, generating a corresponding identification value for the supply identification; S32, combining the identification value and the encryption sequence as an encryption password; In S31, the calculation formula of the identification value P corresponding to the supply identification is: ; In the formula, A1 represents the sum of all numbers in the first identification code, A2 represents the sum of all numbers in the second identification code, A3 represents the sum of all numbers in the third identification code, max(·) represents the maximum value function, MAX represents the maximum element value of the supply identification, MIN represents the minimum element value of the supply identification, Indicates rounding up operation; The supply identification contains four elements, namely B1, B2, B3 and ; MAX means B1, B2, B3 and MIN represents the maximum value among B1, B2, B3 and The minimum value in .

Citation Information

Patent Citations

  • Electronic contract data encryption storage method and signing client

    CN110096901A