Merchant information management method

By generating information loop groups and feature salts, and encrypting merchant information using salt-added encryption algorithm, the problem of insufficient security of merchant information management in the existing technology is solved, and a higher level of data protection is achieved.

CN119067702AActive Publication Date: 2024-12-03CHENGDU BLUE BROTHERS NETWORK TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411562006.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-05
Publication Date
2024-12-03
Estimated Expiration
2044-11-05

AI Technical Summary

Technical Problem

The existing merchant information management methods are insecurity in the face of complex cyber attacks and data leakage risks, making it difficult to effectively protect merchant information and customer privacy.

Method used

By obtaining the transaction information corresponding to the merchant's account ID, a message cycle group and characteristic salt is generated, and the transaction information is encrypted using the salt-added encryption algorithm to ensure that only by entering the correct encryption password can this information be accessed.

Benefits of technology

Improve the security of transaction information, prevent unauthorized access and disclosure, and protect customer privacy and merchants' business secrets.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119067702A_ABST
    Figure CN119067702A_ABST
Patent Text Reader

Abstract

The invention discloses a merchant information management method, and belongs to the technical field of information processing, and the method comprises the following steps: S1, obtaining transaction information corresponding to an account ID of a merchant, and generating an information circulation group for the transaction information; s2, generating characteristic salt for the transaction information according to the information circulation group; and S3, based on the characteristic salt, encrypting the transaction information by using a salting encryption algorithm. The method comprises the following steps: extracting a generator from transaction information of an account ID, and carrying out repeated operation on the generator to obtain an information circulation group; two random numbers are obtained by using an information cycle group, so that the characteristic salt of the salting encryption algorithm is determined; according to the process, personalized processing can be carried out on transaction information, unauthorized access and leakage can be prevented by encrypting the information, and the privacy of customers and the commercial secret of merchants are protected.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of information processing, and in particular relates to a merchant information management method. Background Art

[0002] With the booming development of e-commerce, virtual goods trading has become an important field that cannot be ignored. Virtual goods are favored by consumers because of their convenience, immediacy and the fact that they do not require logistics. The merchant information generated during the commodity trading process includes a series of important information such as basic information, customer settlement records and purchase records. However, the existing merchant information management methods still need to be improved in terms of security. Although certain measures have been taken, they still need to be further strengthened in the face of increasingly complex network attacks and data leakage risks. Summary of the invention

[0003] In order to solve the above problems, the present invention proposes a merchant information management method.

[0004] The technical solution of the present invention is: a merchant information management method comprises the following steps: S1. Obtain transaction information corresponding to the merchant's account ID and generate an information cycle group for the transaction information; S2. Generate characteristic salt for transaction information according to the information cycle group; S3. Based on the characteristic salt, the transaction information is encrypted using the salt encryption algorithm.

[0005] In S3, salt encryption is a way to encrypt login passwords. It is implemented by associating each password with an n-bit random number, which is called "salt". After encrypting the transaction information, the user needs to enter the correct encrypted password to view the transaction information.

[0006] Furthermore, S1 includes the following sub-steps: S11, obtaining the transaction information corresponding to the merchant's account ID, removing stop words from the transaction information, and extracting the TF-IDF value of each word in the transaction information; S12, obtaining a number of weighted values ​​according to the context vector of each word in the transaction information; S13, determining a generator according to the TF-IDF value of each word in the transaction information; S14. Taking each weighted value as an integer power of a generator, an information cycle group is generated.

[0007] The beneficial effect of the above further scheme is: in the present invention, the TF-IDF value is a commonly used weighting technique for information retrieval and data mining, which is used to evaluate the importance of a word to one of the documents in a corpus, and the context vector of a word is a representation that captures the semantic information of the word in a specific context (i.e., a sentence or text paragraph). Therefore, the present invention uses the context vector of the word to form a three-dimensional vector, performs a dot product operation on the three-dimensional vector to obtain a weighted value, and then combines the TF-IDF value of each word to determine a specific generator, thereby generating a cyclic group. (A cyclic group is a group in which all elements are generated by a generator through repeated operations).

[0008] Furthermore, S12 includes the following sub-steps: S121, grouping every six words in the transaction information into word pairs, and generating a first weighted vector and a second weighted vector for each word pair; S122, performing a dot product operation on the first weighted vector and the second weighted vector of each word pair to obtain an initial weighted value of the word pair; S123, rounding up the weighted values ​​of all word pairs to obtain a number of weighted values.

[0009] In S121, if the number of words in the transaction information is not a multiple of 6, the unused elements of the first weighted vector and the second weighted vector of the last word pair are repeatedly filled with the context vector of the last word.

[0010] Furthermore, in S121, the first weighted vector of the word pair Z The expression of 1 is: Z 1=[ x 1: x 3: x 5]; where x 1 represents the context vector of the first word in a word pair, x 3 represents the context vector of the third word in the word pair, x 5 represents the context vector of the fifth word in the word pair, and [:] represents the vector concatenation operation; In S121, the second weighted vector of the word pair Z The expression of 2 is: Z 2=[ x 2: x 4: x 6]; where x 2 represents the context vector of the second word in the word pair, x 4 represents the context vector of the fourth word in the word pair, x 6 represents the context vector of the sixth word in the word pair.

[0011] Furthermore, in S13, the method for determining the generator is: rounding up the ratio between the sum of the TF-IDF values ​​of all words and the number of words to obtain the generator.

[0012] Furthermore, S2 includes the following sub-steps: S21, taking the minimum value and the median of the information cycle group as the two ends of the information interval respectively, to generate the information interval; S22. Determine a first random number and a second random number of the transaction information based on the information interval; S23. Determine a characteristic salt according to the first random number and the second random number.

[0013] The beneficial effect of the above further scheme is: in the present invention, two random numbers are generated according to the context word vectors belonging to the information interval and not belonging to the information interval, and the final feature salt is generated by using the two random numbers and their mean to participate in the salt encryption algorithm, thereby improving the practicality of the encryption algorithm.

[0014] Further, in S22, the first random number R The calculation formula for 1 is: ; In the formula, I Represents the number of words in the context vector value in the message interval, X i Represents the context vector value of the word in the information interval, Indicates a round-up operation.

[0015] Further, in S22, the second random number R The calculation formula for 2 is: ; In the formula, J The number of words that represent context vector values ​​that are not in the message interval, Indicates floor operation. X j Represents the context vector value of the word that is not in the information interval, Furthermore, in S23, the method for determining the characteristic salt is: arranging the first random number, the second random number, and the average of the first random number and the second random number in ascending order as the characteristic salt of the transaction information.

[0016] The beneficial effects of the present invention are as follows: the present invention extracts generators from the transaction information of the account ID, performs repeated operations on the generators, and obtains an information cycle group; uses the information cycle group to obtain two random numbers, thereby determining the characteristic salt of the salted encryption algorithm; the above process can perform personalized processing on the transaction information, and encrypting this information can prevent unauthorized access and leakage, thereby protecting customer privacy and merchant business secrets. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 The present invention is a flowchart of a merchant information management method. DETAILED DESCRIPTION

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

[0019] like Figure 1 As shown, the present invention provides a merchant information management method, comprising the following steps: S1. Obtain transaction information corresponding to the merchant's account ID and generate an information cycle group for the transaction information; S2. Generate characteristic salt for transaction information according to the information cycle group; S3. Based on the characteristic salt, the transaction information is encrypted using the salt encryption algorithm.

[0020] In S3, salt encryption is a way to encrypt login passwords. It is implemented by associating each password with an n-bit random number, which is called "salt". After encrypting the transaction information, the user needs to enter the correct encrypted password to view the transaction information.

[0021] In this embodiment of the present invention, S1 includes the following sub-steps: S11, obtaining the transaction information corresponding to the merchant's account ID, removing stop words from the transaction information, and extracting the TF-IDF value of each word in the transaction information; S12, obtaining a number of weighted values ​​according to the context vector of each word in the transaction information; S13, determining a generator according to the TF-IDF value of each word in the transaction information; S14. Taking each weighted value as an integer power of a generator, an information cycle group is generated.

[0022] In the present invention, the TF-IDF value is a commonly used weighting technique for information retrieval and data mining, which is used to evaluate the importance of a word to one of the documents in a corpus. The context vector of a word is a representation that captures the semantic information of the word in a specific context (i.e., a sentence or text paragraph). Therefore, the present invention uses the context vector of the word to form a three-dimensional vector, performs a dot product operation on the three-dimensional vector to obtain a weighted value, and then combines the TF-IDF value of each word to determine a specific generator, thereby generating a cyclic group. (A cyclic group is a group in which all elements are generated by a generator through repeated operations).

[0023] In this embodiment of the present invention, S12 includes the following sub-steps: S121, grouping every six words in the transaction information into word pairs, and generating a first weighted vector and a second weighted vector for each word pair; S122, performing a dot product operation on the first weighted vector and the second weighted vector of each word pair to obtain an initial weighted value of the word pair; S123, rounding up the weighted values ​​of all word pairs to obtain a number of weighted values.

[0024] In S121, if the number of words in the transaction information is not a multiple of 6, the unused elements of the first weighted vector and the second weighted vector of the last word pair are repeatedly filled with the context vector of the last word.

[0025] In the embodiment of the present invention, in S121, the first weighted vector of the word pair Z The expression of 1 is: Z 1=[ x 1: x 3: x 5]; where x 1 represents the context vector of the first word in a word pair, x 3 represents the context vector of the third word in the word pair, x 5 represents the context vector of the fifth word in the word pair, and [:] represents the vector concatenation operation; In S121, the second weighted vector of the word pair Z The expression of 2 is: Z 2=[ x 2: x 4: x 6]; where x 2 represents the context vector of the second word in the word pair, x 4 represents the context vector of the fourth word in the word pair, x 6 represents the context vector of the sixth word in the word pair.

[0026] In the embodiment of the present invention, in S13, the method for determining the generator is: rounding up the ratio between the sum of the TF-IDF values ​​of all words and the number of words to obtain the generator.

[0027] In S13, the sum of the TF-IDF values ​​of all words is first divided by the number of words to obtain a ratio, and then the ratio is rounded up to obtain a generator.

[0028] In this embodiment of the present invention, S2 includes the following sub-steps: S21, taking the minimum value and the median of the information cycle group as the two ends of the information interval respectively, to generate the information interval; S22. Determine a first random number and a second random number of the transaction information based on the information interval; S23. Determine a characteristic salt according to the first random number and the second random number.

[0029] In the present invention, two random numbers are generated according to the context word vectors belonging to the information interval and not belonging to the information interval, and the two random numbers and their mean are used to generate the final feature salt to participate in the salt encryption algorithm to improve the practicality of the encryption algorithm.

[0030] In the embodiment of the present invention, in S22, the first random number R The calculation formula for 1 is: ; In the formula, I Represents the number of words in the context vector value in the message interval, X i Represents the context vector value of the word in the information interval, Indicates a round-up operation.

[0031] In the embodiment of the present invention, in S22, the second random number R The calculation formula for 2 is: ; In the formula, J The number of words that represent context vector values ​​that are not in the message interval, Indicates floor operation. X j Represents the context vector value of the word that is not in the information interval, In the embodiment of the present invention, in S23, the method for determining the characteristic salt is: arranging the first random number, the second random number, and the average of the first random number and the second random number in ascending order as the characteristic salt of the transaction information.

[0032] 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 merchant information management method, characterized in that: The following steps are involved: S1. Obtain transaction information corresponding to the merchant's account ID and generate an information cycle group for the transaction information; S2. Generate characteristic salt for transaction information according to the information cycle group; S3. Based on the characteristic salt, the transaction information is encrypted using the salt encryption algorithm.

2. The merchant information management method according to claim 1, characterized in that: The S1 comprises the following sub-steps: S11, obtaining the transaction information corresponding to the merchant's account ID, removing stop words from the transaction information, and extracting the TF-IDF value of each word in the transaction information; S12, obtaining a number of weighted values ​​according to the context vector of each word in the transaction information; S13, determining a generator according to the TF-IDF value of each word in the transaction information; S14. Taking each weighted value as an integer power of a generator, an information cycle group is generated.

3. The merchant information management method according to claim 2, characterized in that: The S12 comprises the following sub-steps: S121, grouping every six words in the transaction information into word pairs, and generating a first weighted vector and a second weighted vector for each word pair; S122, performing a dot product operation on the first weighted vector and the second weighted vector of each word pair to obtain an initial weighted value of the word pair; S123, rounding up the weighted values ​​of all word pairs to obtain a number of weighted values.

4. The merchant information management method according to claim 3, characterized in that: In S121, the first weighted vector of the word pair Z The expression of 1 is: Z 1=[ x 1: x 3: x 5]; where x 1 represents the context vector of the first word in a word pair, x 3 represents the context vector of the third word in the word pair, x 5 represents the context vector of the fifth word in the word pair, and [:] represents the vector concatenation operation; In S121, the second weighted vector of the word pair Z The expression of 2 is: Z 2=[ x 2: x 4: x 6]; where x 2 represents the context vector of the second word in the word pair, x 4 represents the context vector of the fourth word in the word pair, x 6 represents the context vector of the sixth word in the word pair.

5. The merchant information management method according to claim 2, characterized in that: In S13, the method for determining the generator is: rounding up the ratio between the sum of the TF-IDF values ​​of all words and the number of words to obtain the generator.

6. The merchant information management method according to claim 1, characterized in that: The S2 comprises the following sub-steps: S21, taking the minimum value and the median of the information cycle group as the two ends of the information interval respectively, to generate the information interval; S22. Determine a first random number and a second random number of the transaction information based on the information interval; S23. Determine a characteristic salt according to the first random number and the second random number.

7. The merchant information management method according to claim 6, characterized in that: In S22, the first random number R The calculation formula for 1 is: ; In the formula, I Represents the number of words in the context vector value in the message interval, X i Represents the context vector value of the word in the information interval, Indicates a round-up operation.

8. The merchant information management method according to claim 6, characterized in that: In S22, the second random number R The calculation formula for 2 is: ; In the formula, J The number of words that represent context vector values ​​that are not in the message interval, Indicates floor operation. X j The context vector value representing the word that is not in the information interval.

9. The merchant information management method according to claim 6, characterized in that: In S23, the method for determining the characteristic salt is: arranging the first random number, the second random number, and the average of the first random number and the second random number in ascending order as the characteristic salt of the transaction information.

Citation Information

Patent Citations

  • Data transmission encryption and decryption method and device, equipment and storage medium

    CN114417382A

  • Hospital transaction data encryption management system

    CN115859322A

  • Intelligent police human intelligence studying and judging system

    CN118229479A

  • Block encryption

    US20130136256A1