A method for encrypting and processing logistics data
Through keyword analysis and iterative screening of cold chain logistics information, a topological connectivity graph is constructed to generate encryption keys, which solves the problems of information leakage and high encryption complexity in cold chain logistics information management, and achieves secure encryption of information.
Patent Information
- Application Number
- CN202411092623.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-09
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2044-08-09
AI Technical Summary
Existing cold chain logistics information management methods result in logistics information being kept in the open, user privacy leaked, and commonly used chaotic encryption algorithms are highly complex and difficult to encrypt effectively.
By obtaining keywords of commodity logistics information, analysis, processing and iterative screening are performed, a topological connected graph is constructed to generate a logistics information matrix, and an encryption key is generated using the processing identifier and text length to encrypt the logistics information.
It achieves precise screening and encryption of logistics information, ensuring the security and privacy of information interaction and preventing information leakage.
Smart Images

Figure CN118586023B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of information encryption, and in particular relates to an encryption processing method for logistics data. Background Art
[0002] With the rapid development of e-commerce, the way people buy cold chain goods has gradually changed from traditional offline physical shopping to online shopping, which has led to the growing cold chain logistics business. Cold chain logistics is the process of combining transportation, storage, procurement, loading and unloading, packaging and distribution information processing to meet user requirements according to actual needs during the physical flow of cold chain goods from the supply chain to the receiving place. Existing cold chain logistics information management methods may cause logistics information to be in the open, resulting in user privacy being leaked, and the chaotic encryption algorithm often used in the logistics field has a high complexity. Therefore, how to encrypt cold chain logistics information has become an urgent problem to be solved. Summary of the invention
[0003] In order to solve the above problems, the present invention proposes an encryption processing method for logistics data.
[0004] The technical solution of the present invention is: a method for encrypting and processing logistics data comprises the following steps:
[0005] S1. Obtain the logistics information of the goods and extract several keywords of the logistics information;
[0006] S2. Analyze and process several keywords to obtain processing identifiers of logistics information;
[0007] S3. Use the processing identifier to encrypt the logistics information, and upload the encrypted logistics information to the terminal.
[0008] Furthermore, S2 includes the following sub-steps:
[0009] S21, taking the number of keywords of the logistics information as the final number of iterations;
[0010] S22, iteratively process the logistics information using the information iteration model to obtain an iteration value of the logistics information, and remove words whose word vector values are smaller than the iteration value;
[0011] S23, repeat S22 until the final number of iterations is reached to obtain selected logistics information;
[0012] S24. Obtain a processing mark based on the selected logistics information.
[0013] The beneficial effect of the above further scheme is: in the present invention, the logistics information contains many redundant parameters and text descriptions, and not all the recorded logistics information is useful. Therefore, before generating the processing identifier, the present invention first iteratively screens the logistics information to eliminate some unimportant data and prevent it from participating in the generation of the processing identifier, so that the final processing identifier is more reasonable and standardized.
[0014] Furthermore, in S22, the iteration value M of the logistics information after the i-th iteration is i The expression is: ; Where N represents the number of words contained in the logistics information at the i-th iteration, M i-1 The iteration value of logistics information after the i-1th iteration, γ i_n represents the word vector of the nth word contained in the logistics information at the i-th iteration, and ||·||2 represents the two-norm operation.
[0015] Further, S24 includes the following sub-steps:
[0016] S241, construct a topological connectivity graph for accurate logistics information;
[0017] S242, generating a connection value for the topological connectivity graph;
[0018] S243, using the connection values of the topological connectivity graph to generate a logistics information matrix for accurate logistics information;
[0019] S244. Obtain a processing identifier according to the logistics information matrix.
[0020] The beneficial effect of the above further scheme is that: in the present invention, natural language processing technology is used to identify entities in the text and the relationships between them. The identified entities are used as nodes, and the extracted relationships are used as edges to construct a connected graph. The adjacency matrix, connection value, and connectivity parameters of the connected graph are used to generate a logistics information matrix for the precise logistics information, and the eigenvalues of the logistics information matrix are used as processing identifiers, so that the entities of the precise logistics information fully participate in the generation of the processing identifiers.
[0021] Furthermore, in S242, the method for generating the connection value is: obtaining the adjacency matrix of the topologically connected graph, and using the rank of the adjacency matrix as the connection value of the topologically connected graph.
[0022] The beneficial effect of the above further scheme is: in the present invention, the adjacency matrix of the connected graph is a representation method in graph theory, which is used to describe the relationship between each vertex and edge in the graph, avoiding the inefficiency of recording information of all vertices and edges of the graph.
[0023] Furthermore, in S243, the expression of the logistics information matrix J is: ; In the formula, j1 represents the connection value of the topological connected graph, and j2 represents the connectivity of the topological connected graph.
[0024] Furthermore, in S244, the maximum eigenvalue of the logistics information matrix is used as a processing identifier.
[0025] Furthermore, S3 includes the following sub-steps:
[0026] S31, performing rounding operation on the processing flag to obtain an upward processing flag;
[0027] S32, performing a rounding operation on the ratio between the length of the logistics information and the processing identifier to obtain a downward processing identifier;
[0028] S33. Combine the upward processing identifier and the downward processing identifier to generate an encryption key, encrypt the logistics information, and upload the encrypted logistics information to the terminal.
[0029] The beneficial effect of the above further scheme is that in the present invention, two parameters of the encryption key are generated according to the size of the processing identifier parameter itself and the size of the text length of the logistics information, and participate in the encryption process. The expression of the encryption key A is: A=(a1,a2); where a1 represents the upward processing identifier and a2 represents the downward processing identifier.
[0030] The beneficial effects of the present invention are as follows: the encryption processing method of the logistics data analyzes and processes the logistics information of the goods, extracts accurate logistics information, and generates a processing identifier through information iteration models and connectivity graphs, and then generates a final encryption key based on the processing identifier's own parameters and the text length of the logistics information to complete the encryption processing, thereby ensuring the security and privacy of the logistics information interaction and preventing the user's logistics information from being stolen and leaked. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 The figure is a flow chart of the encryption processing method for logistics data. DETAILED DESCRIPTION
[0032] The embodiments of the present invention will be further described below in conjunction with the accompanying drawings.
[0033] like Figure 1 As shown, the present invention provides a method for encrypting and processing logistics data, comprising the following steps:
[0034] S1. Obtain the logistics information of the goods and extract several keywords of the logistics information;
[0035] S2. Analyze and process several keywords to obtain processing identifiers of logistics information;
[0036] S3. Use the processing identifier to encrypt the logistics information, and upload the encrypted logistics information to the terminal.
[0037] In this embodiment of the present invention, S2 includes the following sub-steps:
[0038] S21, taking the number of keywords of the logistics information as the final number of iterations;
[0039] S22, iteratively process the logistics information using the information iteration model to obtain an iteration value of the logistics information, and remove words whose word vector values are smaller than the iteration value;
[0040] S23, repeat S22 until the final number of iterations is reached to obtain selected logistics information;
[0041] S24. Obtain a processing mark based on the selected logistics information.
[0042] In the present invention, the logistics information contains many redundant parameters and text descriptions, and not all the recorded logistics information is useful. Therefore, before generating the processing identifier, the present invention first iteratively screens the logistics information to eliminate some unimportant data and prevent it from participating in the generation of the processing identifier, so that the final processing identifier is more reasonable and standardized.
[0043] In the embodiment of the present invention, in S22, the iteration value M of the logistics information after the i-th iteration i The expression is: ; Where N represents the number of words contained in the logistics information at the i-th iteration, M i-1 The iteration value of logistics information after the i-1th iteration, γ i_n represents the word vector of the nth word contained in the logistics information at the i-th iteration, and ||·||2 represents the two-norm operation.
[0044] In this embodiment of the present invention, S24 includes the following sub-steps:
[0045] S241, construct a topological connectivity graph for accurate logistics information;
[0046] S242, generating a connection value for the topological connectivity graph;
[0047] S243, using the connection values of the topological connectivity graph to generate a logistics information matrix for accurate logistics information;
[0048] S244. Obtain a processing identifier according to the logistics information matrix.
[0049] In the present invention, natural language processing technology is used to identify entities in text and their relationships. The identified entities are used as nodes, and the extracted relationships are used as edges to construct a connectivity graph. The adjacency matrix, connection value, and connectivity parameters of the connectivity graph are used to generate a logistics information matrix for precise logistics information, and the eigenvalues of the logistics information matrix are used as processing identifiers, so that the entities of the precise logistics information fully participate in the generation of processing identifiers.
[0050] In the embodiment of the present invention, in S242, the method for generating the connection value is: obtaining the adjacency matrix of the topologically connected graph, and using the rank of the adjacency matrix as the connection value of the topologically connected graph.
[0051] In the present invention, the adjacency matrix of a connected graph is a representation method in graph theory, which is used to describe the relationship between each vertex and edge in the graph, avoiding the inefficiency of recording information of all vertices and edges of the graph.
[0052] In the embodiment of the present invention, in S243, the expression of the logistics information matrix J is: ; In the formula, j1 represents the connection value of the topological connected graph, and j2 represents the connectivity of the topological connected graph.
[0053] In the embodiment of the present invention, in S244, the maximum eigenvalue of the logistics information matrix is used as a processing identifier.
[0054] In this embodiment of the present invention, S3 includes the following sub-steps:
[0055] S31, performing rounding operation on the processing flag to obtain an upward processing flag;
[0056] S32, performing a rounding operation on the ratio between the length of the logistics information and the processing identifier to obtain a downward processing identifier;
[0057] S33. Combine the upward processing identifier and the downward processing identifier to generate an encryption key, encrypt the logistics information, and upload the encrypted logistics information to the terminal.
[0058] The beneficial effect of the above further scheme is that in the present invention, two parameters of the encryption key are generated according to the size of the processing identifier parameter itself and the size of the text length of the logistics information, and participate in the encryption process. The expression of the encryption key A is: A=(a1,a2); where a1 represents the upward processing identifier and a2 represents the downward processing identifier.
[0059] 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 method for encrypting and processing logistics data, characterized in that: The following steps are involved: S1. Obtain the logistics information of the goods and extract several keywords of the logistics information; S2. Analyze and process several keywords to obtain processing identifiers of logistics information; S3. Encrypt the logistics information using the processing identifier, and upload the encrypted logistics information to the terminal; The S2 comprises the following sub-steps: S21, taking the number of keywords of the logistics information as the final number of iterations; S22, iteratively process the logistics information using the information iteration model to obtain an iteration value of the logistics information, and remove words whose word vector values are smaller than the iteration value; S23, repeat S22 until the final number of iterations is reached to obtain selected logistics information; S24, obtaining a processing mark according to the selected logistics information; In S22, the iteration value M of the logistics information after the i-th iteration i The expression is: ; Where N represents the number of words contained in the logistics information at the i-th iteration, M i-1 The iteration value of logistics information after the i-1th iteration, γ i_n represents the word vector of the nth word contained in the logistics information at the i-th iteration, and ||·||2 represents the two-norm operation; The S24 comprises the following sub-steps: S241, construct a topological connectivity graph for accurate logistics information; S242, generating a connection value for the topological connectivity graph; S243, using the connection values of the topological connectivity graph to generate a logistics information matrix for accurate logistics information; S244, obtaining a processing identifier according to the logistics information matrix; In the S242, the method for generating the connection value is: obtaining an adjacency matrix of the topologically connected graph, and using the rank of the adjacency matrix as the connection value of the topologically connected graph; In S243, the expression of the logistics information matrix J is: ; In the formula, j1 represents the connection value of the topological connected graph, and j2 represents the connectivity of the topological connected graph; In the S244, the maximum eigenvalue of the logistics information matrix is used as a processing identifier; The S3 comprises the following sub-steps: S31, performing rounding operation on the processing flag to obtain an upward processing flag; S32, performing a rounding operation on the ratio between the length of the logistics information and the processing identifier to obtain a downward processing identifier; S33. Combine the upward processing identifier and the downward processing identifier to generate an encryption key, encrypt the logistics information, and upload the encrypted logistics information to the terminal.
Citation Information
Patent Citations
Method for realizing express privacy protection in the logistics process
CN106453268A
Multi-keyword ciphertext retrieval method based on iterative encryption in cloud environment
CN109213731A
Sensor data processing method and system
CN110519722A
Information optimization display method and device for e-commerce platform, equipment and medium
CN114398675A
Foreign trade logistics platform based on improved deep learning algorithm model
CN116562740A
