CN116738492B - Valve sales data safety management system - Google Patents

Valve sales data safety management system Download PDF

Info

Publication number
CN116738492B
CN116738492B CN202311020652.7A CN202311020652A CN116738492B CN 116738492 B CN116738492 B CN 116738492B CN 202311020652 A CN202311020652 A CN 202311020652A CN 116738492 B CN116738492 B CN 116738492B
Authority
CN
China
Prior art keywords
marking
segment
encryption
sequence
segments
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202311020652.7A
Other languages
Chinese (zh)
Other versions
CN116738492A (en
Inventor
张文利
赵波
张雪
蒋家磊
邵婷
宋洪伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Elite Machinery Manufacture Co ltd
Original Assignee
Qingdao Elite Machinery Manufacture Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Elite Machinery Manufacture Co ltd filed Critical Qingdao Elite Machinery Manufacture Co ltd
Priority to CN202311020652.7A priority Critical patent/CN116738492B/en
Publication of CN116738492A publication Critical patent/CN116738492A/en
Application granted granted Critical
Publication of CN116738492B publication Critical patent/CN116738492B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6209Protecting access to data via a platform, e.g. using keys or access control rules to a single file or object, e.g. in a secure envelope, encrypted and accessed using a key, or with access control rules appended to the object itself
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Storage Device Security (AREA)

Abstract

The invention relates to the technical field of data security storage, in particular to a valve sales data security management system, which comprises: the system comprises a valve sales data acquisition module, a marking set acquisition module, an encryption iteration number acquisition module, an adaptive encryption iteration number acquisition module and a valve sales data safety management module; judging the characters according to valve sales data to obtain a marking set and marking segments; obtaining an encryption level according to the repetition times of the marking segments; obtaining the encryption iteration times according to the encryption level; the occurrence number of the marked segments in all marked sets is marked as the marked number; obtaining a marking sequence according to the marking times; obtaining self-adaptive encryption iteration times according to the encryption iteration times and the marking sequence; and carrying out data encryption storage according to the self-adaptive encryption iteration times to finish the safety management of valve sales data. The invention reduces the calculated amount of data encryption and improves the applicability to valve sales data.

Description

Valve sales data safety management system
Technical Field
The invention relates to the technical field of data safety storage, in particular to a valve sales data safety management system.
Background
The valve sales data safety management means that the valve sales data is encrypted or the access authority is controlled, so that the valve sales data is prevented from being revealed, and the privacy protection of the valve sales data is realized. In the existing processing mode, the valve sales data is generally encrypted by adopting a data encryption algorithm, but because the existing data encryption algorithm has more general applicability, the indiscriminate encryption method is used for all data, the data encryption calculation amount cannot be reduced, the high efficiency of data management cannot be realized, the existing data encryption algorithm cannot reduce the calculation amount of data encryption according to the data characteristics of the valve sales data, and the applicability to the valve sales data is improved.
Disclosure of Invention
The invention provides a valve sales data safety management system, which aims to solve the existing problems.
The valve sales data safety management system adopts the following technical scheme:
one embodiment of the invention provides a valve sales data security management system, which comprises the following modules:
the valve sales data acquisition module is used for acquiring valve sales data;
the marking set acquisition module is used for carrying out data conversion on valve sales data to obtain a plurality of conversion character sequences; judging the characters according to the converted data sequence to obtain a plurality of mark sets, mark segments and middle segments;
the encryption iteration number acquisition module is used for recording the occurrence number of each marking segment in each marking set as the repetition number of each marking segment in each marking set; obtaining the encryption level of each marking segment according to the repetition times of the marking segments in the marking set; obtaining the encryption iteration number of each marking segment according to the encryption level of the marking segment;
the self-adaptive encryption iteration number acquisition module is used for marking the number of marking sets respectively comprising each marking segment as the marking number of each marking segment; acquiring the marking times of all marking segments in each marking set, arranging the marking segments in the sequence from small to large, and marking the arranged sequence as a marking sequence of each marking set; obtaining the distance between the marking segments according to the marking set; obtaining the self-adaptive encryption iteration times of the mark segments according to the encryption iteration times, the mark sequences and the distances among the mark segments;
and the valve sales data safety management module acquires the self-adaptive encryption iteration times of the middle section, and performs data encryption storage according to the self-adaptive encryption iteration times of the marking section and the middle section to complete the safety management of the valve sales data.
Preferably, the data conversion is performed on the valve sales data to obtain a plurality of conversion character sequences, which comprises the following specific methods:
for any valve sales data table, performing binary data conversion on all valve sales data in the valve sales data table, and marking the valve sales data table after data conversion as a valve sales data conversion table; each valve sales data in the valve sales data conversion table is recorded as conversion data of the valve sales data conversion table;
for all the conversion data of the ith row of the valve sales data conversion table, marking a sequence formed by all the conversion data of the ith row as a conversion data sequence of the ith row; ordering the binary character strings corresponding to each conversion data of the ith row according to the arrangement sequence of the conversion data sequences of the ith row, and marking the formed sequence as the character sequence of the ith row; connecting the last character of the ith row of character sequence with the first character of the (i+1) th row of character sequence to obtain a new character sequence, and marking the new character sequence as the (i+1) th row of character sequence; until the character sequence of the last line is obtained, and the character sequence is recorded as a conversion character sequence of the valve sales data conversion table.
Preferably, the method for judging the character according to the converted data sequence to obtain a plurality of mark sets, mark segments and intermediate segments includes the following specific steps:
for any two valve sales data tables, in the conversion character sequences of the two valve sales data tables, marking any one conversion character sequence as a reference conversion character sequence and marking the other conversion character sequence as a target conversion character sequence; character matching is carried out on the reference conversion character sequence and the target conversion character sequence, if continuous identical characters exist in the reference conversion character sequence and the target conversion character sequence, and the number of the continuous identical characters is larger than or equal to a preset character number threshold value, a character segment formed by the continuous identical characters is marked as a marking segment; marking the set formed by all the marking sections as a marking set of two valve sales data tables;
and obtaining a plurality of intermediate segments according to the marked segments in the converted character sequence.
Preferably, the method for obtaining a plurality of intermediate segments according to the mark segments in the converted character sequence includes the following specific steps:
for any two marking segments, marking the marking segment with the front sequence as a first reference marking segment and marking the marking segment with the rear sequence as a second reference marking segment in the conversion character sequence of the two marking segments; and marking a character segment formed by the contained characters between the last binary number of the first reference mark segment and the first binary number of the second reference mark segment as an intermediate segment.
Preferably, the encryption level of each marking segment is obtained according to the repetition times of the marking segments in the marking set, and the specific method comprises the following steps:
for any one marker segment of any one marker set, where,representing an initial encryption level of the marker segment;representing the number of encryption levels; />Representing the number of valve sales data conversion tables; />Representing the number of marker sets containing marker segments; />Representing an initial iteration number; />Is indicated at +.>The number of repetition times of the marking segments in the marking set containing the marking segments; />Representing a downward rounding; />Representing the number of repetitions of the marked segment in all marked sets containing marked segments, noted as a second number of repetitions of the marked segment; the initial encryption level of the marked segment is +.>Function processing, will be->The initial encryption level number of the marked segments after the function processing is recorded as the encryption level number of each marked segment.
Preferably, the number of encryption iterations of each marker segment is obtained according to the number of encryption stages of the marker segment, including the following specific methods:
for any one of the marker segments, the number of marker segments, in the formula,representing the number of encryption iterations of the marker segment; />Representing the number of encryption levels;representing an initial iteration number; />Representing the number of encryption stages of the marker segment; />Representing a rounding down.
Preferably, the distance between the marking segments is obtained according to the marking set, which comprises the following specific steps:
for any two adjacent mark segments in any one mark set, in the conversion character sequences of the two mark segments, marking the mark segment with the front sequence as a first mark segment, and marking the mark segment with the rear sequence as a second mark segment; recording the number of characters contained between the last binary number of the first marking section and the first binary number of the second marking section as the distance between the first marking section and the second marking section; the numbers 0 and 1 in the binary number are marked as characters;
the distance between any two adjacent marker segments in each marker set is acquired.
Preferably, the adaptive encryption iteration number of the marking segment is obtained according to the encryption iteration number, the marking sequence and the distance between the marking segments, and the specific method includes:
for any one marker segment within any one marker set, where,representing the number of adaptive encryption iterations of the marker segment; />Representing the number of valve sales data conversion tables; />Representing a second number of repetitions of the marked segment; />Representing the number of encryption iterations of the marker segment; />Representation ofThe number of marker segments contained in the marker set; />Expressed in the tag sequence to which the tag fragment belongs +.>The central binary number of each marking section is the ordinal number of two conversion character sequences corresponding to the marking set corresponding to the marking sequence; />Expressed in the tag sequence to which the tag fragment belongs +.>The central binary number of each marking section is the ordinal number of two conversion character sequences corresponding to the marking set corresponding to the marking sequence; />Representing a variance of distances between adjacent marker segments within the marker set; />Representing absolute value; />Representing a rounding down.
Preferably, the method for obtaining the adaptive encryption iteration number of the intermediate section includes the following specific steps:
and taking the maximum value of the adaptive encryption iteration times of all the marked segments as the adaptive encryption iteration times of the middle segment.
Preferably, the data encryption storage is performed according to the number of self-adaptive encryption iterations of the marking section and the intermediate section, and the specific method comprises the following steps:
performing DES encryption processing on all valve sales data according to the self-adaptive encryption iteration times of all the marking sections and the middle section, and recording corresponding keys; storing the marking section and the middle section with the same adaptive encryption iteration number into the same storage unit to obtain a plurality of storage units; sequencing all the storage units according to the sequence from the large number of the adaptive encryption iterations, and marking the sequenced sequence as a storage unit sequence; in the memory cell sequence, the first memory cell is used as a starting point to start traversing, and the serial number of each memory cell is preset as the access authority of each memory cell until the last memory cell is traversed.
The technical scheme of the invention has the beneficial effects that: the number of times of the occurrence of characters in valve sales data is analyzed to obtain the number of repetition of a marking section, so that the number of encryption stages of the marking section is obtained, the number of encryption iterations of the marking section is obtained, a marking sequence and a distance are obtained according to the number of the marking section, the number of self-adaptive encryption iterations of the marking section is obtained, and further data encryption storage is carried out according to the number of self-adaptive encryption iterations, so that safety management of valve sales data is completed; compared with the prior art, the method can not reduce the calculated amount of data encryption according to the data characteristics of the valve sales data, and improves the applicability of the valve sales data; the invention reduces the calculated amount of data encryption and improves the applicability to valve sales data.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a block diagram of a valve sales data security management system of the present invention.
Detailed Description
In order to further describe the technical means and effects adopted by the invention to achieve the preset aim, the following detailed description refers to the specific implementation, structure, characteristics and effects of a valve sales data safety management system according to the invention with reference to the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" means that the embodiments are not necessarily the same. Furthermore, the particular features, structures, or characteristics of one or more embodiments may be combined in any suitable manner.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
The following specifically describes a specific scheme of the valve sales data security management system provided by the invention with reference to the accompanying drawings.
Referring to fig. 1, a block diagram of a valve sales data security management system according to an embodiment of the present invention is shown, where the system includes the following modules:
the valve sales data acquisition module 101 acquires valve sales data.
It should be noted that, because the existing data encryption algorithm has a relatively general applicability, the method of indiscriminate encryption is used for all data, so that the data encryption calculation amount cannot be reduced, the high efficiency of data management cannot be realized, the existing data encryption algorithm cannot reduce the calculation amount of data encryption according to the data characteristics of the valve sales data, and the applicability of the valve sales data is improved. Based on this, the embodiment provides a valve sales data security management system, which analyzes the occurrence times of characters in valve sales data to obtain the repetition times of a marking section, thereby obtaining the encryption technology of the marking section and further obtaining the encryption iteration times of the marking section; and obtaining a marking sequence and a distance according to the marking times of the marking segments, obtaining the self-adaptive encryption iteration times of the marking segments, and further carrying out data encryption storage according to the self-adaptive encryption iteration times to finish the safety management of valve sales data.
Specifically, in order to implement the valve sales data security management system provided in this embodiment, valve sales data needs to be collected first, and the specific process is as follows: and acquiring data tables storing valve sales data in a week through a valve sales database, and recording the data tables as valve sales data tables, wherein each valve sales data table contains a plurality of valve sales data, and each valve sales data table corresponds to a plurality of values.
So far, a plurality of valve sales data are obtained through the method.
The tag set obtaining module 102 performs data conversion on the valve sales data to obtain a plurality of converted character sequences, and determines the characters according to the converted character sequences to obtain a plurality of tag sets.
It should be noted that, since the valve sales data is generally stored by using a relational database, the column number represents the type of the valve sales data, and the line number represents the corresponding value of the valve sales data of different types, the obtained valve sales data of different types is easy to distinguish; when the data conversion is carried out on the valve sales data of different types, a plurality of data of the same valve sales data can be clearly converted into a group of encrypted values, all the encrypted data can be compared to obtain a plurality of mark sets, and then the encrypted values are blocked and encrypted according to the occurrence times of the encrypted values in the mark sets.
It should be further noted that, for the same valve sales data, the data of different values may have a similar problem, and since the type of the valve sales data of the data is not clearly defined in the calculation process of the data label set in this example, the data conversion needs to be performed on the valve sales data, and the calculation rule of the label set is not limited. For example: transaction amounts are regarded as valve sales data, "1200" and "2001" are regarded as two transaction amounts, respectively, and although the two data are each constituted by one "1", one "2" and two "0", the two transaction amounts differ greatly in meaning of semantically expressed amounts.
Specifically, taking any valve sales data table as an example, performing binary data conversion on all valve sales data in the valve sales data table, and recording the valve sales data table after data conversion as a valve sales data conversion table; each valve sales data in the valve sales data conversion table is recorded as conversion data of the valve sales data conversion table; taking all conversion data of the ith row of the valve sales data conversion table as an example, and marking a sequence formed by all conversion data of the ith row as a conversion data sequence of the ith row; ordering the binary character strings corresponding to each conversion data of the ith row according to the arrangement sequence of the conversion data sequences of the ith row, and marking the formed sequence as the character sequence of the ith row; acquiring character sequences of all lines, taking the character sequence of the ith line as an example, connecting the last character of the character sequence of the ith line with the first character in the (i+1) th line to obtain a new character sequence, and marking the new character sequence as the character sequence of the (i+1) th line; and the same goes to the last line to obtain the character sequence of the last line, which is recorded as the conversion character sequence of the valve sales data conversion table, and the conversion character sequences of all the valve sales data conversion tables are obtained. Each valve sales data table corresponds to one valve sales data conversion table, in each valve sales data conversion table, a plurality of conversion data are contained, each conversion data corresponds to one valve sales data, each conversion data corresponds to one binary character string, and each binary character string contains a plurality of characters. For example: for example, binary 10011 is considered a binary string and either the number 0 or the number 1 is considered a character in the binary string.
Further, taking any two valve sales data tables as an example, in the conversion character sequences of the two valve sales data tables, any one conversion character sequence is recorded as a reference conversion character sequence, and the other conversion character sequence is recorded as a target conversion character sequence; presetting a threshold T1 for the number of characters, wherein the present embodiment is described by taking t1=32 as an example, and the present embodiment is not particularly limited, wherein T1 may be determined according to the specific implementation situation; character matching is carried out on the reference conversion character sequence and the target conversion character sequence, and if continuous identical characters are adopted in the reference conversion character sequence and the target conversion character sequence, and the number of the continuous identical characters is greater than or equal to T1, a character segment formed by the continuous identical characters is marked as a marking segment; acquiring all marking segments, and marking a set formed by all marking segments as a marking set of the two valve sales data tables; acquiring a marking set of any two valve sales data tables; wherein the number of characters contained in each marker segment is not necessarily the same.
Further, taking any two marking segments as an example, in the conversion character sequences to which the two marking segments belong, marking the marking segment with the front sequence as a first reference marking segment, and marking the marking segment with the rear sequence as a second reference marking segment; the character segment formed by the contained characters between the last binary number of the first reference mark segment and the first binary number of the second reference mark segment is marked as an intermediate segment; all intermediate segments are acquired. Wherein the converted character sequence only comprises a plurality of marked segments and an intermediate segment.
So far, all the mark sets are obtained through the method.
The encryption iteration number acquisition module 103 obtains the encryption number of the marked section according to the repetition number of the marked section in the marked set; and obtaining the encryption iteration times of the marked section according to the encryption level of the marked section.
It should be noted that, after all the marker sets are acquired, for any one marker segment in any one marker set, if the number of occurrences of the marker segment in all the marker sets is greater, the less important the marker segment is, the lower the encryption level of the marker segment is, and the fewer the iterative encryption number is when the marker segment performs encryption calculation; if the number of occurrences of the marker segment in all marker sets is smaller, which means that the marker segment is more important, the higher the encryption level of the marker segment is, the more iterative encryption is performed on the marker segment.
Specifically, taking any one of the marking segments in any one of the marking sets as an example, and counting the occurrence number of the marking segment in the marking set as the repetition number of the marking segment in the marking set; acquiring the repetition times of all mark segments in all mark sets; taking any one mark segment of any one mark set as an example, obtaining the encryption level of the mark segment according to the repetition times of the mark segment; the encryption level of the marking section is calculated by the following steps:
in the method, in the process of the invention,representing an initial encryption level for the marked segment; />Indicating the number of encryption levels is a super parameter, preset ++in this embodiment>;/>Representing the number of valve sales data conversion tables; />Representing the number of marker sets containing the marker segment; />Representing the initial iteration number, is a super-parameter, preset in this embodiment>;/>Is indicated at +.>A number of repetitions of the marker segment in a marker set comprising the marker segment; />Representing a downward rounding; />Representing the number of repetitions of the marked segment in all marked sets containing the marked segment, and marking as a second number of repetitions of the marked segment; wherein the greater the number of marked sets containing the marked segments, the greater the number of repetitions of the marked segments in the marked sets, the greater the number of initial encryption levels of the marked segments, indicating thatThe more iterative encryption times the marker segment performs the encryption computation. Acquiring initial encryption levels of all mark segments in the mark set; and obtaining the initial encryption stages of all the mark segments in all the mark sets according to the method.
Further, the initial encryption level of each marked segment is inputThe function is processed byThe initial encryption level number after the function processing is recorded as the encryption level number of each marking segment; taking any one mark segment in any one mark set as an example, obtaining the encryption iteration number of the mark segment according to the initial encryption level of the mark segment; wherein the method comprises the steps ofFunctions are well known and not described in this embodiment; the method for calculating the encryption iteration times of the marked section comprises the following steps:
in the method, in the process of the invention,representing the number of encryption iterations of the marker segment; />Indicating the number of encryption levels is a super parameter, preset ++in this embodiment>;/>Representing the initial iteration number, is a super-parameter, preset in this embodiment>;/>An encryption level representing the marked segment; />Representing a rounding down. Acquiring the encryption iteration times of all the mark segments in the mark set; and obtaining the encryption iteration times of all the mark segments in all the mark sets. In addition, for the marked section to be encrypted, firstly, the encryption level number under the initial iteration number is calculated; for the initial iteration number, it disregards the importance level of the marked segment, thus the number of encryption steps of the marked segment is +>As a first influencing factor, determining the final encryption iteration number by taking the ratio of the initial iteration number to the encryption level number as a coefficient.
So far, the encryption iteration times of all the mark segments in all the mark sets are obtained through the method.
The adaptive encryption iteration number obtaining module 104 obtains a distance between the marking sequence and the marking segments according to the marking set, and obtains the adaptive encryption iteration number of the marking segments according to the encryption iteration number, the marking sequence and the distance between the marking segments.
In the marking set, the final self-adaptive encryption iteration times of the valve sales data are acquired, the importance degree analysis of the valve sales data is needed on the basis of the encryption grade, the occurrence times of the character segments corresponding to the valve sales data in the marking set are acquired, and if the occurrence times are larger, the encryption grade of the valve sales data is lower; when the recording time of the valve sales data is close, the valve sales data in a single data table is not limited to the number of occurrences, since the valve sales data is recorded in the same data table separately.
It should be further noted that, in order to determine the final number of adaptive encryption iterations, the frequency concentration and frequency fluctuation of the occurrence of the marker set may be considered: for any valve sales data, if the frequency concentration is higher, the probability that the valve sales data is continuously recorded is higher, transaction information represented by the valve sales data is more common, and the number of self-adaptive encryption iterations is smaller when the final encryption level is lower; the lower the frequency concentration degree is, the smaller the frequency fluctuation of the valve sales data is, the smaller the fluctuation of the marking section of the marking set is, the higher the corresponding encryption level is, and the more the number of self-adaptive encryption iterations of the valve sales data is.
Specifically, taking any one marking segment in any marking set as an example, marking the number of marking sets containing the marking segment as the marking times of the marking segment; the marking times of all marking segments in the marking set are obtained, the marking segments are arranged according to the sequence from the small marking times to the large marking times, the arranged sequence is marked as the marking sequence of the marking set, and the marking sequences of all marking sets are obtained.
Further, taking any two adjacent marking segments in any marking set as an example, in the conversion character sequences to which the two marking segments belong, marking the marking segment with the front sequence as a first marking segment and marking the marking segment with the rear sequence as a second marking segment; recording the number of characters contained between the last binary number of the first marking section and the first binary number of the second marking section as the distance between the first marking section and the second marking section; the distance between any two adjacent marker segments in the marker set is obtained.
Further, taking any one of the marking segments in any one marking set as an example, according to the encryption iteration times of the marking segment and the marking sequence to which the marking segment belongs, obtaining the self-adaptive encryption iteration times of the marking segment; the method for calculating the self-adaptive encryption iteration times of the marking section comprises the following steps:
in the method, in the process of the invention,adaptation of the representation of the marker segmentThe number of encryption iterations; />Representing the number of valve sales data conversion tables; />Representing a second number of repetitions of the marked segment; />Representing the number of encryption iterations of the marker segment; />Representing the number of marker segments contained in the marker set; />Expressed in the tag sequence to which the tag fragment belongs +.>The method comprises the steps that the number of the central binary numbers of the mark segments is the ordinal number of two conversion character sequences corresponding to a mark set corresponding to the mark sequence, the central binary numbers represent the binary numbers of the central positions of the mark segments, and if the number of the binary numbers of the mark segments is even, the binary number of the previous central position of the two central positions is taken as the central binary number; and because of being the marking section, the ordinal number of the central binary number of the marking section in two conversion character sequences is the same; />Expressed in the tag sequence to which the tag fragment belongs +.>The central binary number of each marking section is the ordinal number of two conversion character sequences corresponding to the marking set corresponding to the marking sequence; />Representing a variance of distances between adjacent marker segments within the marker set; />Representing absolute value; />Representing a downward rounding;the frequency concentration degree is represented, if the frequency concentration degree is lower, the frequency fluctuation of the valve sales data is smaller, the fluctuation of a marking section of the marking set is smaller, the corresponding encryption level is higher, and the number of self-adaptive encryption iterations of the valve sales data is more; if the frequency concentration is higher, the valve sales data is more likely to be continuously recorded, transaction information represented by the valve sales data is more common, and the final encryption level is lower, so that the number of self-adaptive encryption iterations is smaller. And obtaining the self-adaptive encryption iteration times of all the marked segments. And giving the maximum value of the adaptive encryption iteration times of all the marked segments to the adaptive encryption iteration times of the middle segment.
And the valve sales data safety management module 105 performs data encryption storage according to the self-adaptive encryption iteration times to complete safety management of valve sales data.
Further, performing DES encryption processing on all valve sales data according to the self-adaptive encryption iteration times of all the marking sections and the middle section, and recording corresponding keys; storing the marking section and the middle section with the same adaptive encryption iteration number into the same storage unit, thereby obtaining a plurality of storage units; sequencing all the storage units according to the sequence from the large number of the adaptive encryption iterations, and marking the sequenced sequence as a storage unit sequence; in the memory cell sequence, the first memory cell is used as a starting point to start traversing, and the serial number of each memory cell is preset as the access authority of each memory cell until the last memory cell is traversed. And then when the valve sales data is required to be called, decrypting the valve sales data by using the secret key, thereby completing the safety management of the valve sales data. Wherein each storage unit corresponds to an adaptive encryption iteration number, DES encryption algorithm is a well-known technique, and this embodiment is not described.
This embodiment is completed.
The foregoing description of the preferred embodiments of the invention is not intended to be limiting, but rather is intended to cover all modifications, equivalents, alternatives, and improvements that fall within the spirit and scope of the invention.

Claims (3)

1. A valve sales data security management system, comprising the following modules:
the valve sales data acquisition module is used for acquiring valve sales data;
the marking set acquisition module is used for carrying out data conversion on valve sales data to obtain a plurality of conversion character sequences; judging the characters according to the converted data sequence to obtain a plurality of mark sets, mark segments and middle segments;
the encryption iteration number acquisition module is used for recording the occurrence number of each marking segment in each marking set as the repetition number of each marking segment in each marking set; obtaining the encryption level of each marking segment according to the repetition times of the marking segments in the marking set; obtaining the encryption iteration number of each marking segment according to the encryption level of the marking segment;
the self-adaptive encryption iteration number acquisition module is used for marking the number of marking sets respectively comprising each marking segment as the marking number of each marking segment; acquiring the marking times of all marking segments in each marking set, arranging the marking segments in the sequence from small to large, and marking the arranged sequence as a marking sequence of each marking set; obtaining the distance between the marking segments according to the marking set; obtaining the self-adaptive encryption iteration times of the mark segments according to the encryption iteration times, the mark sequences and the distances among the mark segments;
the valve sales data safety management module acquires the self-adaptive encryption iteration times of the middle section, and performs data encryption storage according to the self-adaptive encryption iteration times of the marking section and the middle section to complete safety management of valve sales data;
the character is judged according to the converted data sequence to obtain a plurality of mark sets, mark segments and intermediate segments, and the specific method comprises the following steps:
for any two valve sales data tables, in the conversion character sequences of the two valve sales data tables, marking any one conversion character sequence as a reference conversion character sequence and marking the other conversion character sequence as a target conversion character sequence; character matching is carried out on the reference conversion character sequence and the target conversion character sequence, if continuous identical characters exist in the reference conversion character sequence and the target conversion character sequence, and the number of the continuous identical characters is larger than or equal to a preset character number threshold value, a character segment formed by the continuous identical characters is marked as a marking segment; marking the set formed by all the marking sections as a marking set of two valve sales data tables;
obtaining a plurality of intermediate segments according to the marked segments in the converted character sequence;
the method for obtaining a plurality of intermediate segments according to the mark segments in the converted character sequence comprises the following specific steps:
for any two marking segments, marking the marking segment with the front sequence as a first reference marking segment and marking the marking segment with the rear sequence as a second reference marking segment in the conversion character sequence of the two marking segments; the character segment formed by the contained characters between the last binary number of the first reference mark segment and the first binary number of the second reference mark segment is marked as an intermediate segment;
the encryption level of each marking segment is obtained according to the repetition times of the marking segments in the marking set, and the specific method comprises the following steps:
for any one marker segment of any one marker set, where,representing an initial encryption level of the marker segment; />Representing the number of encryption levels; />Representing the number of valve sales data conversion tables; />Representing the number of marker sets containing marker segments; />Representing an initial iteration number; />Is indicated at +.>The number of repetition times of the marking segments in the marking set containing the marking segments; />Representing a downward rounding; />Representing the number of repetitions of the marked segment in all marked sets containing marked segments, noted as a second number of repetitions of the marked segment; the initial encryption level of the marked segment is +.>Function processing, will be->The initial encryption level number of the marking segments after the function processing is recorded as the encryption level number of each marking segment;
the encryption iteration number of each marking segment is obtained according to the encryption level number of the marking segment, and the method comprises the following specific steps:
for any one of the marker segments, the number of marker segments, in the formula,representing the number of encryption iterations of the marker segment; />Representing the number of encryption levels; />Representing an initial iteration number; />Representing the number of encryption stages of the marker segment; />Representing a downward rounding;
the method for obtaining the distance between the marking segments according to the marking set comprises the following specific steps:
for any two adjacent mark segments in any one mark set, in the conversion character sequences of the two mark segments, marking the mark segment with the front sequence as a first mark segment, and marking the mark segment with the rear sequence as a second mark segment; recording the number of characters contained between the last binary number of the first marking section and the first binary number of the second marking section as the distance between the first marking section and the second marking section; the numbers 0 and 1 in the binary number are marked as characters;
acquiring the distance between any two adjacent mark segments in each mark set;
the self-adaptive encryption iteration number of the mark segment is obtained according to the encryption iteration number, the mark sequence and the distance between the mark segments, and the method comprises the following specific steps:
for any one marker segment within any one marker set, where,representing the number of adaptive encryption iterations of the marker segment; />Representing the number of valve sales data conversion tables; />Representing a second number of repetitions of the marked segment; />Representing the number of encryption iterations of the marker segment; />Representing the number of marker segments contained in the marker set; />Expressed in the tag sequence to which the tag fragment belongs +.>The central binary number of each marking section is the ordinal number of two conversion character sequences corresponding to the marking set corresponding to the marking sequence; />Expressed in the tag sequence to which the tag fragment belongs +.>The central binary number of each marking section is the ordinal number of two conversion character sequences corresponding to the marking set corresponding to the marking sequence; />Representing the sameVariance of distance between adjacent marker segments within a marker set; />Representing absolute value; />Representing a downward rounding;
the method for obtaining the self-adaptive encryption iteration times of the intermediate section comprises the following specific steps:
and taking the maximum value of the adaptive encryption iteration times of all the marked segments as the adaptive encryption iteration times of the middle segment.
2. The valve sales data security management system according to claim 1, wherein the data conversion of the valve sales data to obtain a plurality of converted character sequences comprises the following specific methods:
for any valve sales data table, performing binary data conversion on all valve sales data in the valve sales data table, and marking the valve sales data table after data conversion as a valve sales data conversion table; each valve sales data in the valve sales data conversion table is recorded as conversion data of the valve sales data conversion table;
for all the conversion data of the ith row of the valve sales data conversion table, marking a sequence formed by all the conversion data of the ith row as a conversion data sequence of the ith row; ordering the binary character strings corresponding to each conversion data of the ith row according to the arrangement sequence of the conversion data sequences of the ith row, and marking the formed sequence as the character sequence of the ith row; connecting the last character of the ith row of character sequence with the first character of the (i+1) th row of character sequence to obtain a new character sequence, and marking the new character sequence as the (i+1) th row of character sequence; until the character sequence of the last line is obtained, and the character sequence is recorded as a conversion character sequence of the valve sales data conversion table.
3. The valve sales data security management system according to claim 1, wherein the data encryption storage according to the number of adaptive encryption iterations of the marking section and the intermediate section comprises the following specific methods:
performing DES encryption processing on all valve sales data according to the self-adaptive encryption iteration times of all the marking sections and the middle section, and recording corresponding keys; storing the marking section and the middle section with the same adaptive encryption iteration number into the same storage unit to obtain a plurality of storage units; sequencing all the storage units according to the sequence from the large number of the adaptive encryption iterations, and marking the sequenced sequence as a storage unit sequence; in the memory cell sequence, the first memory cell is used as a starting point to start traversing, and the serial number of each memory cell is preset as the access authority of each memory cell until the last memory cell is traversed.
CN202311020652.7A 2023-08-15 2023-08-15 Valve sales data safety management system Active CN116738492B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311020652.7A CN116738492B (en) 2023-08-15 2023-08-15 Valve sales data safety management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311020652.7A CN116738492B (en) 2023-08-15 2023-08-15 Valve sales data safety management system

Publications (2)

Publication Number Publication Date
CN116738492A CN116738492A (en) 2023-09-12
CN116738492B true CN116738492B (en) 2023-10-31

Family

ID=87904752

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311020652.7A Active CN116738492B (en) 2023-08-15 2023-08-15 Valve sales data safety management system

Country Status (1)

Country Link
CN (1) CN116738492B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117195006B (en) * 2023-11-06 2024-03-05 南通双和食品有限公司 Veterinary drug residue data management system for chicken

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106874401A (en) * 2016-12-30 2017-06-20 中安威士(北京)科技有限公司 A kind of ciphertext index method of data base-oriented encrypted fields fuzzy search
CN113810174A (en) * 2021-09-16 2021-12-17 金蝶软件(中国)有限公司 Data processing method and related equipment
CN115617814A (en) * 2022-11-11 2023-01-17 浙江斯奈普科技有限公司 Intelligent management method for ballistic calculation data
CN115664827A (en) * 2022-10-29 2023-01-31 易胜燕 Data encryption method, device and medium based on front-bit key
CN115659409A (en) * 2022-12-27 2023-01-31 深圳迅策科技有限公司 Financial asset transaction data safe storage method
CN116013488A (en) * 2023-03-27 2023-04-25 中国人民解放军总医院第六医学中心 Intelligent security management system for medical records with self-adaptive data rearrangement function
CN116545771A (en) * 2023-07-05 2023-08-04 上海伯镭智能科技有限公司 Intelligent storage method and system for intelligent driving system test data
CN116582263A (en) * 2023-07-12 2023-08-11 深圳中天云联科技发展有限公司 Security protection system for enterprise digital management platform

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106874401A (en) * 2016-12-30 2017-06-20 中安威士(北京)科技有限公司 A kind of ciphertext index method of data base-oriented encrypted fields fuzzy search
CN113810174A (en) * 2021-09-16 2021-12-17 金蝶软件(中国)有限公司 Data processing method and related equipment
CN115664827A (en) * 2022-10-29 2023-01-31 易胜燕 Data encryption method, device and medium based on front-bit key
CN115617814A (en) * 2022-11-11 2023-01-17 浙江斯奈普科技有限公司 Intelligent management method for ballistic calculation data
CN115659409A (en) * 2022-12-27 2023-01-31 深圳迅策科技有限公司 Financial asset transaction data safe storage method
CN116013488A (en) * 2023-03-27 2023-04-25 中国人民解放军总医院第六医学中心 Intelligent security management system for medical records with self-adaptive data rearrangement function
CN116545771A (en) * 2023-07-05 2023-08-04 上海伯镭智能科技有限公司 Intelligent storage method and system for intelligent driving system test data
CN116582263A (en) * 2023-07-12 2023-08-11 深圳中天云联科技发展有限公司 Security protection system for enterprise digital management platform

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于商用数据库管理系统的字符串数据的加密存储与查询;王正飞, 汪卫, 施伯乐;小型微型计算机系统(第11期);全文 *
基于字符熵的JavaScript代码混淆自动检测方法;宣以广;周华;;计算机应用与软件(第01期);全文 *

Also Published As

Publication number Publication date
CN116738492A (en) 2023-09-12

Similar Documents

Publication Publication Date Title
CN116738492B (en) Valve sales data safety management system
US11335435B2 (en) Identifying ancestral relationships using a continuous stream of input
CN107562865A (en) Multivariate time series association rule mining method based on Eclat
CN105930862A (en) Density peak clustering algorithm based on density adaptive distance
CN111651736B (en) Watermark tracing method for desensitization of identity card data
CN111510286B (en) Error code negotiation method of quantum key distribution system
CN116865950B (en) Detection kit quality inspection data safety storage system
CN113515540A (en) Query rewriting method for database
CN110290101B (en) Deep trust network-based associated attack behavior identification method in smart grid environment
Shi et al. Incremental learning Bayesian network structures efficiently
Aleb et al. An improved K-means algorithm for DNA sequence clustering
Chen et al. SEME: a fast mapper of Illumina sequencing reads with statistical evaluation
CN113516199A (en) Image data generation method based on differential privacy
CN110909335A (en) Binary biological characteristic identification method for privacy protection
CN113159137A (en) Gas load clustering method and device
CN110796546A (en) Distributed clustering algorithm based on block chain
CN115941419B (en) Generalized constellation modulation mapping method, device and communication system
CN115499103B (en) Blind identification method for convolutional codes
CN114550820B (en) WFA algorithm-based third-generation sequencing RNA-seq comparison method
CN117112513B (en) Intelligent storage method for dynamic key of electronic seal
CN117459322B (en) Computer software data encryption method based on Internet of things
CN104794235B (en) Financial time series are segmented distribution characteristics computational methods and system
CN117560233B (en) Method and system based on data interaction encryption
CN116707803B (en) Private data crushing method based on data encryption
CN117880762B (en) Short message data security encryption method based on wireless communication

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant