A method for processing online bidding auction information
By encrypting auction information during the compression process of the LZ77 algorithm, and using preset keys and chaotic sequences to enhance data security, the problem of the independence of encryption and compression affecting data security in the existing technology is solved, and efficient data transmission is achieved. and security protection.
Patent Information
- Application Number
- CN202410889954.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-04
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-07-04
AI Technical Summary
In the existing technology, the two steps of encryption and compression are independent of each other, which affects the compression effect and encryption effect of the data, causing the data to be easily cracked and tampered during the transmission process, affecting user privacy and transaction security.
In the process of compressing the auction information using the LZ77 algorithm, the matching length and distance are encrypted through the preset first key and function library, and the chaotic sequence and combination function are used for data encryption. Combined with the dictionary area characteristics of the sliding window, it is generated Encryption results, enhancing data redundancy and security.
It improves data transmission efficiency and security, prevents data leakage and illegal access, protects user privacy and transaction security, increases the difficulty of data cracking, and achieves comprehensive optimization of data processing.
Smart Images

Figure CN118449679B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of auction information encryption, and more specifically, to an online bidding auction information processing method. Background Art
[0002] In online auction platforms, bidding means that suppliers use the spot bidding function of the platform to publish invitations for a certain number of commodity resources, and qualified demanders bid according to the starting price and quantity of the commodity resources. In principle, the bidding rules follow the principle of price priority, and the transaction mode is completed with the highest bid within the specified time.
[0003] The auction process involves a large amount of user identity information, auction item information, auction record information and transaction information. In order to complete the bidding transaction within the specified time, it is necessary to compress the data to reduce the data transmission time, improve transmission efficiency, and speed up the auction process. At the same time, the data involved in the auction process is the target of attack by hackers or malicious users. By encrypting the data, unauthorized persons can be prevented from stealing sensitive information and protect the privacy and security of users.
[0004] In the related technology, for example, the Chinese patent application document with application publication number CN114862393A discloses a secure transaction matching method and system under a delivery service platform, in which the submitted bidding data packet is encrypted based on a dynamic public key, and the delivery service platform compresses and stores multiple bidding data packets in a buyer list unit and a seller list unit respectively, waiting for decryption processing. When a specific time arrives, the dynamic private key corresponding to the current time period is obtained, and the encrypted bidding data packets are decrypted using the dynamic private key, thereby obtaining the bidding data, and finally completing the transaction matching based on the bidding data.
[0005] Among them, the two steps of encryption and compression are independent of each other. Compression usually relies on the redundancy of data to achieve compression effect. Encrypting the data first will destroy the redundancy of the data, which will lead to poor compression effect of the encrypted data. At the same time, directly encrypting the data will cause the characteristics of the data to be hidden in the encryption result, which will affect the encryption effect. Summary of the invention
[0006] In order to solve the technical problem that the above-mentioned encryption and compression steps are independent of each other, which affects the compression effect and encryption effect of data, the present invention provides solutions in the following aspects.
[0007] The present invention provides an online bidding auction information processing method, comprising: collecting auction information generated in the online bidding process, in the process of compressing the auction information through the LZ77 algorithm, encrypting the matching length and distance output in each encoding process according to a preset first key and a preset function library to obtain an encryption result, comprising: generating a chaotic sequence through a preset first key and a chaotic map; in the i-th encoding process, obtaining a first index and the second index , where , They represent the number of times the first character and the last character in the dictionary area of the sliding window of the i-th encoding process appear in all the encoded characters, S represents the preset number, Represents a division remainder function; selects two chaotic values from the chaotic sequence according to the first index and the second index, and selects two combination functions from the function library according to the two chaotic values as the first objective function and the second objective function; inputs the matching length and distance into the first objective function and the second objective function respectively, and uses the output values of the first objective function and the second objective function as the encryption results of the matching length and distance.
[0008] In the process of compressing auction information through the LZ77 algorithm, the matching length and distance output in each encoding process are encrypted according to the preset first key and the preset function library. The compression algorithm will identify and remove redundant information in the data, making the encrypted data more difficult to crack, thereby enhancing the encryption effect and making it difficult for unauthorized persons to access and decrypt during transmission. It can prevent data leakage, tampering and illegal access, and protect user privacy and transaction security.
[0009] Each time the first index and the second index are obtained, the number of times the first character and the last character in the dictionary area of the sliding window of each encoding process appear in all the encoded characters is combined, that is, the distribution characteristics of the data in the compression process are utilized to realize the encryption of the auction information. When cracking, any error in the decryption of any encryption result will affect the decryption of subsequent data, which not only protects the security of the data, but also improves the data transmission efficiency, thereby realizing the comprehensive optimization of data processing.
[0010] In one embodiment, the process of compressing the auction information by the LZ77 algorithm includes multiple encoding processes, each encoding process includes: searching the dictionary area of the sliding window for the longest character string that matches the area to be encoded of the sliding window, recording the length of the character string as the matching length, recording the position of the first character of the character string in the dictionary area as the distance, and outputting the matching length and distance.
[0011] In one embodiment, each encoding process also includes: when a character string matching the character in the to-be-encoded area of the sliding window cannot be found in the dictionary area of the sliding window, the first character in the to-be-encoded area of the sliding window is represented by a matching length and a distance, wherein the matching length is 0 and the distance is the serial number of the character in the initial dictionary, and the initial dictionary contains all characters.
[0012] When no character string matching the character in the area to be encoded of the sliding window is found in the dictionary area of the sliding window, the first character in the area to be encoded of the sliding window is represented by the matching length and distance, thereby ensuring the encryption effect and data integrity of the present invention.
[0013] In one embodiment, the method for obtaining the preset first key includes: the sender and the receiver select an initial value and a control parameter from a range of initial values and control parameters of the chaotic map in an agreed manner, and use them as the first key.
[0014] The uncertainty and non-periodicity of chaotic mapping increase the difficulty of cracking the rules and logic of information encryption. At the same time, the first key is agreed upon in advance by the sender and the receiver and does not need to be transmitted, which enhances the security of the key and thus the security of the auction information.
[0015] In one embodiment, the method for obtaining the preset function library includes: obtaining S combination functions by combining basic functions, requiring that each combination function has an inverse function, and forming the S combination functions into a function library, where S represents a preset number.
[0016] It is required that each combined function has an inverse function to ensure the decryptability of the encryption result and ensure the integrity and security of the data.
[0017] In one embodiment, the basic functions include: linear function, power function, trigonometric function, inverse trigonometric function, exponential function and logarithmic function.
[0018] In one embodiment, the combination method refers to one or more of addition, subtraction, multiplication, division, weighting and function nesting.
[0019] In one embodiment, the method of selecting two combination functions from a function library according to the two chaotic values as the first objective function and the second objective function includes: respectively taking the integer result of the product of the two chaotic values and the preset number S as the third index and the fourth index ; The function library The combination function and The combined functions are recorded as the first objective function and the second objective function respectively.
[0020] The present invention selects a corresponding combination function in a function library according to a chaotic value in a chaotic sequence. For the same data, different encryption results are obtained by mapping through different combination functions due to the different combination functions selected. Conversely, the same encryption result, because it is obtained by using different combination functions, its corresponding original data will also be different, which further increases the difficulty of cracking the auction information and thereby improves the security of the auction information.
[0021] The beneficial effects of the present invention are:
[0022] In the process of compressing auction information by LZ77 algorithm, the present invention encrypts the matching length and distance output in each encoding process according to the preset first key and the preset function library. The compression algorithm can identify and remove redundant information in the data, making the encrypted data more difficult to be cracked, thereby enhancing the encryption effect, making it difficult for unauthorized persons to access and decrypt during transmission, preventing data leakage, tampering and illegal access, and protecting the privacy of users and the security of transactions;
[0023] Furthermore, each time the first index and the second index are obtained, the number of times the first character and the last character in the dictionary area of the sliding window of each encoding process appear in all the encoded characters is combined, that is, the distribution characteristics of the data in the compression process are utilized to realize the encryption of the auction information. When cracking, an error in the decryption of any encryption result will affect the decryption of subsequent data, which not only protects the security of the data, but also improves the data transmission efficiency, thereby realizing the comprehensive optimization of data processing;
[0024] Furthermore, the present invention selects a corresponding combination function in a function library according to the chaotic value in the chaotic sequence. For the same data, different encryption results are obtained by mapping through different combination functions due to the different combination functions selected. Conversely, the same encryption result, because it is obtained by using different combination functions, its corresponding original data will also be different, which further increases the difficulty of cracking the auction information and thereby improves the security of the auction information. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] By reading the following detailed description with reference to the accompanying drawings, the above and other objects, features and advantages of the exemplary embodiments of the present invention will become readily understood. In the accompanying drawings, several embodiments of the present invention are shown in an exemplary and non-limiting manner, and the same or corresponding reference numerals represent the same or corresponding parts, wherein:
[0026] Figure 1 is a flow chart schematically illustrating an online bidding auction information processing method in the present invention;
[0027] Figure 2is a flow chart schematically showing step S2 in the present invention. DETAILED DESCRIPTION
[0028] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0029] The specific embodiments of the present invention are described in detail below with reference to the accompanying drawings.
[0030] The embodiment of the present invention discloses an online bidding auction information processing method, referring to Figure 1 , comprising steps S1 to S3:
[0031] S1. Collect auction information generated during online bidding.
[0032] It should be noted that during the online bidding process, various auction information including user identity information, auction item information, auction record information and transaction information will be generated. This information involves the user's personal privacy and the fairness of the auction process. Therefore, this information needs to be encrypted to ensure the security and confidentiality of the data.
[0033] Specifically, the auction information generated during the online auction process is collected, including but not limited to user identity information, auction item information, auction record information and transaction information.
[0034] Among them, the user identity information includes the identity information of the users participating in the auction, such as: user name, email address, telephone number, etc.; the auction item information includes the description, picture, specification, starting price, current bid and other information of the auction item; the auction record information includes the user's bidding record for the auction item, auction time, auction results and other information; the transaction information includes payment information and logistics information after the auction is successful.
[0035] The auction information needs to be converted into hexadecimal form using encoding rules, which include but are not limited to UTF-8 encoding rules, ANSI encoding rules and ASCII encoding rules.
[0036] The hexadecimal system is usually represented by the numbers 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 and the letters A, B, C, D, E, F.
[0037] S2. Encrypt the auction information.
[0038] It should be noted that in the online bidding process, the bidding rules are in principle based on the principle of price priority, and the transaction mode is to complete the transaction with the highest bid within the specified time. The bidding process involves a large amount of user identity information, auction item information, auction record information and transaction information. In order to complete the bidding transaction within the specified time, it is necessary to compress the data to reduce the data transmission time, improve the transmission efficiency, and speed up the bidding process; at the same time, during the data transmission process, the data is easily intercepted and modified by hackers, which in turn damages the interests of the supplier and the demander. Therefore, the data needs to be encrypted to make it difficult for unauthorized persons to access and decrypt it during the transmission and storage process.
[0039] In the prior art, the two steps of encryption and compression are independent of each other. Therefore, more computing resources and time are needed to complete these two steps, which affects the transmission efficiency during the auction process. This embodiment considers encrypting the auction information during the process of compressing the auction information, increasing the correlation between the two steps of encryption and compression, and increasing the security of the auction information while ensuring the transmission efficiency.
[0040] It should be further explained that the LZ77 algorithm is a conventional data compression algorithm, which mainly achieves compression by replacing matched repeated character strings with matching lengths and distances; therefore, this embodiment compresses the auction information using the LZ77 algorithm.
[0041] Specifically, in the process of compressing the auction information through the LZ77 algorithm, the matching length and distance output in each encoding process are encrypted according to a preset first key and a preset function library to obtain an encryption result, including: generating a chaotic sequence through a preset first key and a chaotic map; in each encoding process, obtaining a first index and a second index according to the number of times the first character and the last character in the dictionary area of the sliding window of each encoding process appear in all the encoded characters; selecting two chaotic values from the chaotic sequence according to the first index and the second index, and selecting two combination functions from the function library according to the two chaotic values as the first objective function and the second objective function; respectively inputting the matching length and distance into the first objective function and the second objective function, and using the output values of the first objective function and the second objective function as the encryption results of the matching length and distance, respectively.
[0042] Furthermore, each encoding process will obtain two encryption results, namely, the encryption result of the matching length and the encryption result of the distance. The encryption results of the matching length and the encryption results of the distance obtained in all encoding processes constitute the encryption result of the auction information.
[0043] Among them, each encoding process includes: searching the dictionary area of the sliding window for the longest character string that matches the area to be encoded in the sliding window, recording the length of the character string as the matching length, and the distance refers to the distance between the first character of the character string and the first character of the area to be encoded in the sliding window, and outputting the matching length and distance.
[0044] It should be noted that in the conventional LZ77 algorithm, when a character string matching the character in the to-be-encoded area of the sliding window cannot be found in the dictionary area of the sliding window, the first character matching the to-be-encoded area of the sliding window is output; and in order to achieve the encryption effect, in this embodiment, when a character string matching the character in the to-be-encoded area of the sliding window cannot be found in the dictionary area of the sliding window, the first character in the to-be-encoded area of the sliding window is represented by the matching length and distance, wherein the matching length is 0, and the distance is the serial number of the character in the initial dictionary, thereby ensuring the encryption effect and data integrity of the present invention.
[0045] Among them, the initial dictionary contains all characters. Since the auction information is in hexadecimal form, hexadecimal is usually represented by numbers 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 and letters A, B, C, D, E, F. Therefore, the initial dictionary contains 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E and F, and the order of these characters is agreed upon in advance by the sender and the receiver.
[0046] It should be noted that the LZ77 algorithm is a well-known data compression algorithm, in which the length of the dictionary area of the sliding window and the length of the area to be encoded of the sliding window are parameters that need to be set. In this embodiment, the dictionary area of the sliding window is set to 100, and the length of the area to be encoded of the sliding window is set to 50.
[0047] Exemplarily, when the auction information is {A, B, A, B, D, E, C, A, B, D} and the initial dictionary is {A, B, C, D, E}, in the process of compressing the auction information through the LZ77 algorithm, the matching length and distance output by the first encoding process are 0 and 1, the matching length and distance output by the second encoding process are 0 and 2, the matching length and distance output by the third encoding process are 2 and 2, the matching length and distance output by the fourth encoding process are 0 and 4, the matching length and distance output by the fifth encoding process are 0 and 5, the matching length and distance output by the sixth encoding process are 0 and 3, and the matching length and distance output by the seventh encoding process are 5 and 3.
[0048] It should be noted that in the process of compressing the auction information through the LZ77 algorithm, the matching length and distance output in each encoding process are encrypted according to the preset first key and the preset function library. The compression algorithm will identify and remove redundant information in the data, making the encrypted data more difficult to crack, thereby enhancing the encryption effect and making it difficult for unauthorized persons to access and decrypt during transmission. It can prevent data leakage, tampering and illegal access, and protect user privacy and transaction security.
[0049] It should be further explained that each time the first index and the second index are obtained, the number of times the first character and the last character in the dictionary area of the sliding window of each encoding process appear in all the encoded characters is combined, that is, the distribution characteristics of the data in the compression process are utilized to realize the encryption of the auction information. When cracking, any error in the decryption of any encryption result will affect the decryption of subsequent data, which not only protects the security of the data, but also improves the data transmission efficiency, thereby realizing the comprehensive optimization of data processing.
[0050] This embodiment discloses a flowchart of step S2, refer to Figure 2 , including steps S201 to S205:
[0051] S201. Generate a chaotic sequence using a preset first key and a chaotic map.
[0052] It should be noted that in order to ensure the security of encrypted data, during the information encryption process, it is necessary to prevent the cracker from cracking the rules and logic of information encryption. The uncertainty and non-periodicity of chaotic mapping increase the difficulty of cracking the rules and logic of information encryption. Therefore, this embodiment generates a chaotic sequence through chaotic mapping.
[0053] In this embodiment, the Logistic chaotic map is a type of chaotic map. The Logistic chaotic map includes an initial value and a control parameter. The initial value ranges from [0, 1], and the control parameter ranges from The sender and the receiver select the initial value and the control parameter in the range of the initial value and the control parameter in an agreed manner and use them as the first key.
[0054] Further, according to the initial value and control parameter in the first key, the Logistic chaotic map is iterated K+A times, and the values generated after the A+1th iteration are composed into a chaotic sequence, where K+A represents the number of iterations, K is equal to the preset number, and A represents the preset value, wherein the first The first iteration The values satisfy the expression:
[0055] ;
[0056] In the formula, is the k-th value obtained at the k-th iteration, is the k-1th value obtained in the k-1th iteration. When k is 0, is equal to the initial value in the first key, and r represents the control parameter in the first key.
[0057] Among them, since the chaotic sequence composed of the values generated by the Logistic map after 30 iterations will show an obvious chaotic state without periodicity and regularity, the preset value A is required to be an integer greater than 30.
[0058] The specific value of the preset number can be set according to the actual application scenario and requirements. The preset number is required to be an integer greater than 800. In this embodiment, the preset number is set to 1000.
[0059] In other embodiments, implementers may select any chaotic mapping to determine the first key and generate a chaotic sequence according to actual conditions. The chaotic mapping includes Sine chaotic mapping, Tent chaotic mapping, Henon chaotic mapping, Cubic chaotic mapping and other chaotic mappings.
[0060] It should be noted that the uncertainty and non-periodicity of chaotic mapping increase the difficulty of cracking the rules and logic of information encryption. At the same time, the first key is agreed upon in advance by the sender and the receiver and does not need to be transmitted, which enhances the security of the key and thus the security of the auction information.
[0061] S202. Build a function library by combining basic functions.
[0062] It should be noted that in order to encrypt the matching length and distance generated in the compression process of the LZ77 algorithm, this embodiment uses a combination function in the function library to map the matching length and distance. Since people other than the data sender and receiver do not have the function library and do not know the parameters used to generate the chaotic sequence, they cannot easily crack the values of the matching length and distance before mapping, thereby increasing the difficulty of decrypting the auction information and improving the security of the auction information.
[0063] Specifically, by combining basic functions, S combination functions are obtained, and each combination function obtained is required to have an inverse function, and the S combination functions are composed into a function library; wherein the basic functions include but are not limited to linear functions, power functions, trigonometric functions, inverse trigonometric functions, exponential functions and logarithmic functions, and the combination method refers to one or more of addition, subtraction, multiplication, division, weighting and function nesting.
[0064] Wherein, the linear function is as follows , the power function is as follows The trigonometric functions include sine function, cosine function, tangent function, cotangent function, secant function, cosecant function, etc. The sine function is as follows: , the exponential function is as follows , the logarithmic function is as follows ; Among them, x and y represent the input value and output value of the function respectively, and a and b represent the parameters of the function.
[0065] Among them, the function and function They are inverse functions of each other. The domain and range of the inverse function are the range and domain of the function respectively; for example, the logarithmic function and the exponential function are inverse functions of each other.
[0066] Exemplarily, combining the exponential function and the trigonometric function includes: combining the exponential function and the trigonometric function by addition, and obtaining a combined function as follows: , and the inverse function of the combined function is , represents the inverse sine function; the exponential function and the trigonometric function are combined by addition and weighting, and the combined function obtained is , k1 and k2 represent weights; by nesting functions, the exponential function and trigonometric function are combined to obtain the combined function: .
[0067] Among them, the function library is agreed upon in advance by the sender and the receiver and does not need to be transmitted.
[0068] It should be noted that each combination function is required to have an inverse function, which can ensure the decryptability of the encryption result and ensure the integrity and security of the data.
[0069] S203. In each encoding process, a first index and a second index are obtained according to the number of times the first character and the last character in the dictionary area of the sliding window of each encoding process appear in all encoded characters.
[0070] Specifically, the first index and the second index satisfy the expression:
[0071] ;
[0072] ;
[0073] In the formula, , Respectively represent the first index and the second index obtained in the i-th encoding process, , They represent the number of times the first character and the last character in the dictionary area of the sliding window of the i-th encoding process appear in all the encoded characters, S represents the preset number, Represents the division remainder function.
[0074] It should be noted that due to and It is determined based on the characters in the encoded characters, not a fixed value, so it is generated during each encoding process. and are different, and at the same time, the power function is used to and The result of the power function is usually a large value, which cannot be directly mapped in the chaotic sequence. Therefore, the remainder method is used to determine the chaotic value in the chaotic sequence. and Therefore, the first index and the second index also change dynamically, maintaining the disorder of the data, making it difficult for people other than the sender and the receiver to easily find the method for determining the first index and the second index, thereby improving the security of the bidding auction information to a certain extent.
[0075] For example, in the 10th encoding, the first character in the dictionary area of the sliding window is "A", the last character in the dictionary area of the sliding window is "M", the number of times the character "A" appears in all the encoded characters is 17, and the number of times the character "M" appears in all the encoded characters is 9, then , , then the first index , the second index .
[0076] S204. Select two chaotic values from the chaotic sequence according to the first index and the second index, and select two combination functions from the function library according to the two chaotic values as the first objective function and the second objective function.
[0077] Specifically, according to the first index and the second index , select the first The chaos value and chaotic values are respectively used as the first chaotic value and the second chaotic value; the integer result of the product of the two chaotic values and the preset number S is recorded as the third index and the fourth index ; The function library The combination function and The combined functions are recorded as the first objective function and the second objective function respectively.
[0078] The rounding method is rounding up or rounding off.
[0079] For example, according to the first index and the second index , select the 570th chaotic value "0.37653402" and the 498th chaotic value "0.93170122" from the chaotic sequence as the first chaotic value and the second chaotic value, respectively, and take the integer result of the product of the two chaotic values and the preset number S=1000 as the third index and the fourth index , the 377th combination function and the 932nd combination function in the function library are recorded as the first objective function and the second objective function respectively.
[0080] S205. According to the two objective functions, the matching length and distance output in each encoding process are encrypted.
[0081] Specifically, the matching length output in each encoding process is input into the first objective function, and the output result of the first objective function is used as the encryption result of the matching length; the distance output in each encoding process is input into the second objective function, and the output result of the second objective function is used as the encryption result of the distance.
[0082] Exemplarily, the 377th combination function in the function library is , the 932nd combination function is , then the first objective function is , the second objective function is ; In the 10th encoding, the output matching length and distance are 5 and 33 respectively. Then the matching length "5" output in the 10th encoding process is input into the first objective function, and the output result of the first objective function is , the encryption result of the corresponding matching length "5" is 70; the distance "33" output in the 10th encoding process is input into the second objective function, and the output result of the second objective function is , the corresponding encryption result of the distance "33" is 3.1524.
[0083] It should be noted that the present invention selects the corresponding combination function in the function library according to the chaotic value in the chaotic sequence. For the same data, different encryption results are obtained by mapping through different combination functions due to the different combination functions selected. Conversely, the same encryption result, because it is obtained by using different combination functions, its corresponding original data will also be different, further increasing the difficulty of cracking the auction information, and thereby improving the security of the auction information.
[0084] S3. Send the encrypted result of the auction information to the recipient.
[0085] Specifically, the sender sends the encrypted result of the auction information to the receiver; the receiver decrypts the received encrypted result, decompresses the decrypted result through the LZ77 algorithm, and obtains the auction information.
[0086] Each decryption decodes two encryption results, and the decryption steps include: determining two target functions according to steps S201 to S204, inputting the first encryption result of the two encryption results into the inverse function of the first target function, and the output result obtained is the matching length, and inputting the second encryption result of the two encryption results into the inverse function of the second target function, and the output result obtained is the distance.
[0087] It should be noted that the decompression process of the LZ77 algorithm is a well-known technology and will not be described in detail here; it should be specially noted that during the decompression process, when the matching length is 0, the Lth data in the initial dictionary is used as the decompression result, and L is equal to the distance.
[0088] In the description of this specification, "plurality" or "several" means at least two, such as two, three or more, etc., unless otherwise clearly and specifically defined.
[0089] Although this specification has shown and described a number of embodiments of the present invention, it will be apparent to those skilled in the art that such embodiments are provided by way of example only. Those skilled in the art will conceive of many modifications, changes and alternatives without departing from the ideas and spirit of the present invention. It should be understood that in the practice of the present invention, alternatives to the embodiments of the present invention described herein may be employed.
Claims
1. A method for processing online bidding auction information, It is characterized in that include: Collecting auction information generated during the online auction process, and in the process of compressing the auction information through the LZ77 algorithm, encrypting the matching length and distance output in each encoding process according to a preset first key and a preset function library to obtain an encryption result, including: Generate a chaotic sequence by using a preset first key and a chaotic map; The process of compressing the auction information by using the LZ77 algorithm includes multiple encoding processes, each encoding process includes: Search the longest character string that matches the area to be encoded in the sliding window in the dictionary area of the sliding window, record the length of the character string as the matching length, record the position of the first character of the character string in the dictionary area as the distance, and output the matching length and distance; when no character string matching the character in the area to be encoded in the sliding window is found in the dictionary area of the sliding window, the first character in the area to be encoded in the sliding window is represented by the matching length and distance, wherein the matching length is 0 and the distance is the serial number of the character in the initial dictionary, and the initial dictionary contains all characters; In the i-th encoding process, the first index is obtained and the second index , where , They represent the number of times the first character and the last character in the dictionary area of the sliding window of the i-th encoding process appear in all the encoded characters, S represents the preset number, Represents the division remainder function; Select two chaotic values from the chaotic sequence according to the first index and the second index, and select two combination functions from the function library according to the two chaotic values as the first objective function and the second objective function; including, respectively taking the integer result of the product of the two chaotic values and the preset number S as the third index and the fourth index ; The function library The combination function and Combination functions are recorded as the first objective function and the second objective function respectively; The matching length and distance are input into the first objective function and the second objective function respectively, and the output values of the first objective function and the second objective function are used as the encryption results of the matching length and distance.
2. The online bidding auction information processing method according to claim 1, It is characterized in that The method for obtaining the preset first key includes: The sender and the receiver select an initial value and a control parameter from a range of values of the initial value and the control parameter of the chaotic map in an agreed manner, and use the initial value and the control parameter as the first key.
3. The online bidding auction information processing method according to claim 1, It is characterized in that The method for obtaining the preset function library includes: By combining basic functions, S combination functions are obtained. It is required that each combination function has an inverse function. The S combination functions are combined into a function library, where S represents a preset number.
4. The online bidding auction information processing method according to claim 3, It is characterized in that The basic functions include: linear function, power function, trigonometric function, inverse trigonometric function, exponential function and logarithmic function.
5. The online bidding auction information processing method according to claim 3, It is characterized in that The combination method refers to one or more of addition, subtraction, multiplication, division, weighting and function nesting.
