CN116567097B - Used engine oil scheduling data safety management system based on data monitoring - Google Patents

Used engine oil scheduling data safety management system based on data monitoring Download PDF

Info

Publication number
CN116567097B
CN116567097B CN202310806463.6A CN202310806463A CN116567097B CN 116567097 B CN116567097 B CN 116567097B CN 202310806463 A CN202310806463 A CN 202310806463A CN 116567097 B CN116567097 B CN 116567097B
Authority
CN
China
Prior art keywords
sequence
length
period
scheduling data
identifier
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
CN202310806463.6A
Other languages
Chinese (zh)
Other versions
CN116567097A (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.)
Guangdong Huihangwei Technology Co ltd
Original Assignee
Guangdong Huihangwei Technology 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 Guangdong Huihangwei Technology Co ltd filed Critical Guangdong Huihangwei Technology Co ltd
Priority to CN202310806463.6A priority Critical patent/CN116567097B/en
Publication of CN116567097A publication Critical patent/CN116567097A/en
Application granted granted Critical
Publication of CN116567097B publication Critical patent/CN116567097B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/04Protocols for data compression, e.g. ROHC
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Abstract

The invention relates to the technical field of data transmission, in particular to a waste engine oil scheduling data safety management system based on data monitoring, which obtains a first length and a second length according to the average length of two positive integers meeting the condition and the information entropy of a scheduling data sequence; distributing binary numbers corresponding to the first length and the second length; obtaining the average compensation quantity of different intention periods according to the first identifier compensation quantity and the second identifier compensation quantity of all the periods under different intention periods; obtaining a target period and a period distribution rule according to the average supplementing quantity; processing according to the first identifier and the second identifier to obtain a processed scheduling data sequence obeying a periodic distribution rule; and coding according to the coding table to obtain a coding result of the processed scheduling data sequence, and transmitting the coding result. The invention reduces the loss risk and the transmission error rate by reducing the data quantity, improves the integrity and the accuracy of the received scheduling data, and ensures the decodability of the coding result.

Description

Used engine oil scheduling data safety management system based on data monitoring
Technical Field
The invention relates to the technical field of data transmission, in particular to a waste engine oil scheduling data safety management system based on data monitoring.
Background
The used engine oil dispatching data contains sensitive information such as customer information, transaction details and the like, and business secrets such as supply chain information, sales strategies and the like, and the used engine oil dispatching data needs to be safely managed, so that a system for safely managing the used engine oil dispatching data based on data monitoring is provided, and the system not only relates to safe storage of dispatching data, but also relates to transmission of collected dispatching data.
In the process of transmitting the scheduling data, the larger the transmitted data quantity is, the larger the loss risk and transmission error rate of the transmitted data are, and the integrity and accuracy of the received scheduling data are further affected, and the integrity of the waste engine oil scheduling data has significance for the operation and decision of enterprises, so that the collected scheduling data are compressed, the loss risk and transmission error rate of the data are reduced by reducing the data quantity, and the integrity and accuracy of the received scheduling data are improved.
Disclosure of Invention
The invention provides a used engine oil scheduling data safety management system based on data monitoring so as to solve the existing problems.
The invention discloses a safety management system for scheduling data of used engine oil based on data monitoring, which adopts the following technical scheme:
the invention provides a safety management system for scheduling data of used engine oil based on data monitoring, which comprises:
the scheduling data acquisition module acquires a scheduling data sequence and all kinds of information source symbols;
the length acquisition module is used for acquiring a first length and a second length according to the relation between the average length of two positive integers meeting the condition and the information entropy of the scheduling data sequence;
the coding table acquisition module is used for distributing binary numbers corresponding to the first length and the second length to the first identifier, the second identifier and all the source symbols to obtain a coding table;
the period distribution rule module is used for obtaining the average supplement quantity of different intention periods according to the first identifier supplement quantity and the second identifier supplement quantity of all the periods under different intention periods; obtaining a target period and a period distribution rule of a scheduling data sequence according to the average supplementing quantity; processing the data sequence according to the first identifier and the second identifier Fu Duidiao to obtain a processed scheduling data sequence obeying a periodic distribution rule;
and the coding transmission module is used for coding the processed scheduling data sequence according to the coding table to obtain a coding result of the processed scheduling data sequence.
Further, the obtaining the first length and the second length includes the following specific steps:
counting the frequency of each information source symbol in the scheduling data sequence, obtaining the information entropy E of the scheduling data sequence according to the frequency of all the information source symbols in the scheduling data sequence, and arranging all the information source symbols in the sequence from the high frequency to the low frequency; for meeting the requirementsAnd is also provided withAny two positive integers of (2)Andcalculating the average length of two positive integers, and enabling the average length to be closest to the two positive integers of the information entropy EAndrespectively marked as a first lengthAnd a second length
Further, the calculating the average length of the two positive integers comprises the following specific steps:
two positive integersAndaverage length of (2)The calculation formula of (2) is as follows:
in the method, in the process of the invention,representing two positive integersAndis used for the length of the average of (a),andto meet the requirements ofAnd is also provided withIs a combination of two positive integers of (a),the frequency of the j-th source symbol after sorting is represented, and L represents the number of the source symbols.
Further, the obtaining the coding table comprises the following specific steps:
two identifiers are set, namely: a first identifier and a second identifier; assigning a binary number of length equal to the first length and all 0 to the first identifier, and assigning a binary number of length equal to the second length and all 0 to the second identifier; give the front after sequencingThe method comprises the steps that binary numbers with the length equal to a first length are allocated to each information source symbol and recorded as a first information source symbol; allocating binary numbers with the length equal to the second length to the rest information source symbols and marking the binary numbers as second information source symbols; wherein, the liquid crystal display device comprises a liquid crystal display device,representing a first length; the result of allocating binary numbers to all source symbols and two identifiers is recorded as a coding table。
Further, the method for acquiring the first identifier replenishment quantity and the second identifier replenishment quantity of all the periods under the different intention periods specifically comprises the following steps:
marking the sequence formed by the sequence according to the sequence in the schedule data sequence as a first position sequence number, and marking the sequence formed by the sequence according to the sequence in the schedule data sequence as a second position sequence number;
the method comprises the steps of obtaining a first identifier supplementing quantity and a second identifier supplementing quantity of all periods under different intention periods in a first position sequence number, wherein the first identifier supplementing quantity and the second identifier supplementing quantity are specifically as follows:
obtaining a first-order differential sequence of the first position sequence number, marking the same differential value in the first-order differential sequence as a period, and counting the frequency of each period in the first-order differential sequence; any one period is recorded as an intention periodFor the ith periodAccording to the periodCycle of with intentThe relation expression is constructed, specifically:
in the method, in the process of the invention,the i-th period is indicated as such,the period of the intent is represented as,a first number representing an i-th period,a second number representing an ith period; requiring a first number ofIs a positive integer and a second numberIs smaller thanObtain the first number of ith periodAnd a second number of
A first number according to the ith periodAnd a second number ofObtaining a period ofThe first identifier replenishment amount and the second identifier replenishment amount of (1) are specifically:
if it isAnd is also provided withThe number of first identifiers to be supplemented for the ith period isThe number of the second identifiers to be supplemented isThe method comprises the steps of carrying out a first treatment on the surface of the Otherwise, the number of first identifiers to be supplemented for the ith period isThe number of the second identifiers to be supplemented is
Similarly, a first and second amount of identifier supplements for all cycles in the different intent cycles in the second sequence of position numbers are obtained.
Further, the average supplement amount for obtaining different intention periods comprises the following specific steps:
according to the first identifier replenishment quantity and the second identifier replenishment quantity of all the periods under any one intention period in the first position sequence number, the average replenishment quantity of the intention period is obtained, and a specific calculation formula is as follows:
the average replenishment amount is indicated as being the average replenishment amount,the frequency of the i-th period is indicated,indicating the number of first identifiers that need to be replenished for the ith period,indicating the number of second identifiers that need to be replenished for the ith period,a first length is indicated and a second length is indicated,representing a second length;
obtaining the average supplement quantity of all intention periods in the first position sequence number;
similarly, an average replenishment amount for all intent cycles in the second sequence of position numbers is obtained.
Further, the method for obtaining the target period and the period distribution rule of the scheduling data sequence comprises the following specific steps:
the meaning period with the minimum average supplement quantity in the first position sequence number is recorded as the target period of the first position sequence numberThe method comprises the steps of carrying out a first treatment on the surface of the The meaning period with the smallest average supplement quantity in the second position sequence number is recorded as the target period of the second position sequence number
If the target period of the first sequence of position numbersThe average replenishment amount of (2) is less than or equal to the target period of the second sequence of position numbersThe periodic distribution rule of all the scheduling data belonging to the first source symbol and the second source symbol in the scheduling data sequence is as follows: a first source symbol anda second source symbol; otherwise, the periodic distribution rule of all the scheduling data belonging to the first information source symbol and the second information source symbol in the scheduling data sequence is as follows: a second source symbol anda first source symbol.
Further, the method for obtaining the processed scheduling data sequence obeying the periodic distribution rule comprises the following specific steps:
according to the number of first identifiers to be supplemented and the number of second identifiers to be supplemented in each period in the first-order differential sequence of the scheduling data sequence, the first identifiers and the second identifiers are added, so that the distribution condition of all scheduling data belonging to the first information source symbol and the second information source symbol in the scheduling data sequence obeys a period distribution rule.
The technical scheme of the invention has the beneficial effects that:
1. aiming at the problems that the integrity and the accuracy of the received scheduling data are affected because the loss risk and the transmission error rate of the data are greatly increased due to the transmitted data quantity in the scheduling data transmission process, the invention reduces the loss risk and the transmission error rate of the data by compressing the acquired scheduling data and improves the integrity and the accuracy of the received scheduling data.
2. Aiming at the problems that the optimal value of the average length of the coding result of each data in the data sequence is the information entropy of the data sequence, the average length of the fixed-length coding is an integer, and the information entropy of the data sequence is not necessarily an integer, the invention obtains the first length and the second length which correspond to binary numbers and are larger than the information source symbol condition and the average length is closest to the information entropy of the scheduling data sequence, codes the scheduling data sequence according to the binary numbers corresponding to the first length and the second length, ensures that the average length of the coding result of each scheduling data in the scheduling data sequence is closest to the information entropy of the scheduling data sequence, and improves the data compression efficiency.
3. Aiming at the problem that the coding result of the irregular length coding cannot be decoded, the method acquires the periods and the period distribution rules of the distribution of different information source symbols in the scheduling data sequence according to the hiding regularity of the first information source symbol and the second information source symbol in the scheduling data sequence, and leads all the periods of the scheduling data sequence to follow the period distribution rules by adding identifiers with different lengths at certain positions for the periods which do not follow the period distribution rules in the scheduling data sequence, thereby ensuring the decodability of the coding result of the irregular length coding of the embodiment.
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 system block diagram of a used oil scheduling data security management system based on data monitoring of the present invention;
FIG. 2 is a system block diagram of a data transmission module of the used engine oil scheduling data safety management system based on data monitoring of the present invention;
FIG. 3 is a schematic diagram of a coding table.
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 is given below of the specific implementation, structure, characteristics and effects of the system for managing the scheduling data of the used engine oil based on the data monitoring according to the invention in combination with the accompanying drawings and the preferred embodiment. 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 used engine oil scheduling data safety management system based on data monitoring provided by the invention with reference to the accompanying drawings.
Referring to fig. 1, a system block diagram of a system for managing scheduling data of used engine oil based on data monitoring according to an embodiment of the present invention is shown, where the system includes a data acquisition module, a data transmission module and a data encryption storage module, the data acquisition module is used for acquiring scheduling data in a scheduling circulation process of used engine oil, the data transmission module is used for compressing and storing the scheduling data, and specifically includes a scheduling data acquisition module, a length acquisition module, an encoding table acquisition module, a periodic distribution rule module and an encoding transmission module, and the data encryption storage module is used for decoding a received encoding result of a scheduling data sequence and encrypting and storing the decoded scheduling data sequence.
Referring to fig. 2, a system block diagram of a data transmission module of a used engine oil scheduling data safety management system based on data monitoring according to an embodiment of the present invention is shown, where the system includes the following modules:
the scheduled data acquisition module S101 is configured to acquire a scheduled data sequence and all source symbols.
Specifically, a sequence formed by the scheduling data collected in preset time according to the collection sequence is recorded as a scheduling data sequence; the same scheduling data in the scheduling data sequence is recorded as a source symbol, and all the source symbols in the scheduling data sequence are obtained.
And the length obtaining module S102 is configured to obtain a first length and a second length according to a relationship between an average length of two positive integers satisfying the condition and an information entropy of the scheduled data sequence.
It should be noted that, after any one data sequence is subjected to lossless encoding, the average length of the encoding result of each data is not necessarily smaller than the information entropy of the data sequence, which is a unit of information conveyed by the data in the data sequence, that is, the optimal value of the average length of the encoding result of each data in the data sequence is the information entropy of the data sequence, so that the closer the average length of the encoding result of each scheduling data in the scheduling data sequence is to the information entropy of the scheduling data sequence, the higher the data compression efficiency is. Since the average length of the fixed-length code is an integer and the information entropy of the data sequence is not necessarily an integer, the average length of the code result of each schedule data in the schedule data sequence cannot be made closest to the information entropy of the schedule data sequence by the fixed-length code. It is considered that the average length of the indefinite length code may not be an integer, and thus, there is an opportunity to make the average length of the code result of each schedule data in the schedule data sequence closest to the information entropy of the schedule data sequence by the indefinite length code.
It should be further noted that, in this embodiment, all kinds of source symbols in the modulation data sequence are encoded by all binary numbers corresponding to two different lengths, so that the number of binary numbers is required to be greater than or equal to the number of all kinds of source symbols; meanwhile, in order to ensure the decodability of the encoding result, one binary number needs to be randomly selected from all binary numbers corresponding to two different lengths as an identifier, so that the number of binary numbers is required to be reduced by 2 or more and is not less than the number of all source symbols; in order to make the efficiency of the final coding result best, binary numbers with different lengths are allocated to source symbols with different frequencies, so that the average length of the coding result of each scheduling data in the scheduling data sequence is closest to the information entropy of the scheduling data sequence, therefore, when a fixed-length codeword is allocated to the source symbol, a fixed-length codeword with shorter bit length allocated to the source symbol with larger frequency is required, and a fixed-length codeword with longer bit length allocated to the source symbol with smaller frequency is required.
Specifically, counting the frequency of each information source symbol in the scheduling data sequence, obtaining the information entropy E of the scheduling data sequence according to the frequency of all the information source symbols in the scheduling data sequence, and arranging all the information source symbols in the sequence from the large frequency to the small frequency; for meeting the requirementsAnd is also provided withAny two positive integers of (2)Andaccording to the principle that a fixed-length codeword with shorter bit length is allocated to a source symbol with larger frequency and a fixed-length codeword with longer bit length is allocated to a source symbol with smaller frequency, two positive integers are calculatedAndaverage length of (2)Two positive integers with average length closest to information entropy EAndrespectively marked as a first lengthAnd a second lengthThe method comprises the steps of carrying out a first treatment on the surface of the Wherein, two positive integersAndaverage length of (2)The calculation formula of (2) is as follows:
in the method, in the process of the invention,representing two positive integersAndis used for the length of the average of (a),andto meet the requirements ofAnd is also provided withIs a combination of two positive integers of (a),the frequency of the j-th source symbol after sorting is represented, and L represents the number of the source symbols.
It should be noted that, in the process of scheduling data transmission, the larger the loss risk and transmission error rate of the data are due to the greatly increased data amount of the transmitted data, the further the problem of influencing the integrity and accuracy of the received scheduling data is solved. Aiming at the problems that the optimal value of the average length of the coding result of each data in the data sequence is the information entropy of the data sequence, the average length of the fixed-length coding is an integer, and the information entropy of the data sequence is not necessarily an integer, the embodiment obtains the first length and the second length of which the number of corresponding binary numbers is larger than the information source symbol condition and the average length is closest to the information entropy of the scheduling data sequence, codes the scheduling data sequence according to the binary numbers corresponding to the first length and the second length, enables the average length of the coding result of each scheduling data in the scheduling data sequence to be closest to the information entropy of the scheduling data sequence, and improves the data compression efficiency.
And the code table obtaining module S103 is configured to assign binary numbers corresponding to the first length and the second length to the first identifier, the second identifier and all source symbols, and obtain a code table.
Specifically, two identifiers are set, which are respectively: a first identifier and a second identifier; assigning a binary number of length equal to the first length and all 0 to the first identifier, and assigning a binary number of length equal to the second length and all 0 to the second identifier; give the front after sequencingThe method comprises the steps that binary numbers with the length equal to a first length are allocated to each source symbol and recorded as a first source symbol, and the first identifier also belongs to the first source symbol; the remaining source symbols are allocated binary numbers with the length equal to the second length and marked as second source symbols, and the second identifier also belongs to the second source symbols; wherein, the liquid crystal display device comprises a liquid crystal display device,representing the first length. The result of assigning binary numbers to all source symbols and two identifiers is recorded as a code table.
The present embodiment is illustrated by the following examples, which are specifically:
the first source symbol comprises: A. b, C, the second source symbol comprises: D. k, H, L, M, N, R the first identifier isThe second identifier isReferring to fig. 3, a schematic diagram of an encoding table in the present embodiment is shown.
The period distribution rule module S104 is configured to obtain an average replenishment quantity of different intent periods according to the first identifier replenishment quantity and the second identifier replenishment quantity of all periods under different intent periods; obtaining a target period and a period distribution rule of a scheduling data sequence according to the average supplementing quantity; and processing the data sequence according to the first identifier and the second identifier Fu Duidiao to obtain a processed scheduling data sequence obeying the periodic distribution rule.
Although the average length of the coding result of each scheduling data in the scheduling data sequence is opportune to be closest to the information entropy of the scheduling data sequence by the variable length coding, the coding of the scheduling data sequence according to binary numbers with different lengths can lead to disordered connection of the binary numbers with different lengths in the coding result, the binary numbers with different lengths cannot be distinguished during decoding, and finally the coding result of the variable length coding cannot be decoded, namely the coding result of the variable length coding cannot be decoded.
It should be further noted that, in order to ensure the decodability of the encoding result of the irregular length encoding, this embodiment attempts to obtain the period and the period distribution rule of the distribution of different source symbols in the scheduling data sequence according to the hiding regularity of the first source symbol (the source symbol corresponding to the binary number of the first length) and the second source symbol (the source symbol corresponding to the binary number of the second length) in the scheduling data sequence, and for the period that does not follow the period distribution rule in the scheduling data sequence, by adding identifiers of different lengths at some positions, all the periods of the scheduling data sequence follow the period distribution rule, so as to ensure the decodability of the encoding result of the irregular length encoding of this embodiment.
1. The first and second amounts of identifier replenishment are based on all cycles under different intent cycles.
Specifically, the position serial numbers of all the scheduling data belonging to the first information source symbol in the scheduling data sequence are marked as a first position serial number sequence according to the sequence formed by the sequence, and the position serial numbers of all the scheduling data belonging to the second information source symbol in the scheduling data sequence are marked as a second position serial number sequence according to the sequence formed by the sequence;
further, in the first sequence of position numbers, the first and second amounts of identifier replenishment for all periods in the period are not agreed, specifically:
obtaining a first-order differential sequence of the first position sequence number, marking the same differential value in the first-order differential sequence as a period, and counting the frequency of each period in the first-order differential sequence; any one period is recorded as an intention periodFor the ith periodThe scheduled data sequences can be made regularly compliant by adding identifiersThe period distribution of the target period is regular, and thus, for the ith periodAccording to the periodCycle of with intentThe relation expression is constructed, specifically:
in the method, in the process of the invention,the i-th period is indicated as such,the period of the intent is represented as,a first number representing an i-th period,a second number representing an ith period; requiring a first number ofIs a positive integer and a second numberIs smaller thanObtain the first number of ith periodAnd a second number of
A first number according to the ith periodAnd a second number ofObtaining a period ofThe first identifier replenishment amount and the second identifier replenishment amount of (1) are specifically:
if it isAnd is also provided withThe number of first identifiers to be supplemented for the ith period isThe number of the second identifiers to be supplemented isThe method comprises the steps of carrying out a first treatment on the surface of the Otherwise, the number of first identifiers to be supplemented for the ith period isThe number of the second identifiers to be supplemented is
Similarly, a first and second amount of identifier supplements for all cycles in the different intent cycles in the second sequence of position numbers are obtained.
The present embodiment is illustrated by the following examples, which are specifically:
the first source symbol comprises: A. b, C, the second source symbol comprises: D. k, H, L, M, N, R the first identifier isThe second identifier isFor scheduling data sequencesThe first position sequence number sequence formed by the position sequence numbers of all the scheduling data belonging to the first information source symbol in the scheduling data sequence according to the sequence isThe first-order differential sequence of the first position sequence number isTherefore, there are 5 periods, respectively
With period 4 as the intent period, then the intent periodWhen the first identifier supplementing amount and the second identifier supplementing amount of each period are specifically:
for cycle 1At this time, the first and second electrodes are connected,and is also provided withThe number of first identifiers to be supplemented for the 1 st period isThe number of the second identifiers to be supplemented is
For cycle 2At this time, the first and second electrodes are connected,and is also provided withThe number of first identifiers to be supplemented for the 2 nd period isThe number of the second identifiers to be supplemented is
For cycle 3At this time, the first and second electrodes are connected,and is also provided withThe number of first identifiers to be supplemented for the 3 rd cycle isThe number of the second identifiers to be supplemented is
For cycle 4At this time, the first and second electrodes are connected,and is also provided withThe number of first identifiers to be supplemented in the 4 th period isThe number of the second identifiers to be supplemented is
For cycle 5At this time, the first and second electrodes are connected,and is also provided withThe number of first identifiers to be supplemented for the 5 th period isThe number of the second identifiers to be supplemented is
2. An average replenishment amount for different intent periods is obtained.
Specifically, according to the first identifier replenishment quantity and the second identifier replenishment quantity of all periods in any one intention period in the first position sequence number sequence, the average replenishment quantity of the intention period is obtained, and a specific calculation formula is as follows:
the average replenishment amount is indicated as being the average replenishment amount,the frequency of the i-th period is indicated,indicating the number of first identifiers that need to be replenished for the ith period,indicating the number of second identifiers that need to be replenished for the ith period,a first length is indicated and a second length is indicated,representing a second length.
Obtaining the average supplement quantity of all intention periods in the first position sequence number;
similarly, an average replenishment amount for all intent cycles in the second sequence of position numbers is obtained.
3. And obtaining a target period and a period distribution rule of the scheduling data sequence according to the average supplementing quantity.
Specifically, the period with the smallest average supplement amount in the first position sequence number is recorded as the target period of the first position sequence numberThe method comprises the steps of carrying out a first treatment on the surface of the The period with the minimum average supplement quantity in the second position sequence number is recorded as the target period of the second position sequence number
Further, if the target period of the first position sequence number sequenceThe average replenishment amount of (2) is less than or equal to the target period of the second sequence of position numbersThe periodic distribution rule of all the scheduling data belonging to the first source symbol and the second source symbol in the scheduling data sequence is as follows: a first source symbol anda second source symbol; otherwise, the periodic distribution rule of all the scheduling data belonging to the first information source symbol and the second information source symbol in the scheduling data sequence is as follows: a second source symbol anda first source symbol.
4. And processing the data sequence according to the first identifier and the second identifier Fu Duidiao to obtain a processed scheduling data sequence obeying the periodic distribution rule.
Specifically, according to the number of first identifiers to be supplemented and the number of second identifiers to be supplemented in each period in the first-order differential sequence of the scheduling data sequence, by adding the first identifiers and the second identifiers, the distribution conditions of all scheduling data belonging to the first information source symbol and the second information source symbol in the scheduling data sequence obey a period distribution rule, and the processed scheduling data sequence is obtained.
The present embodiment is illustrated by the following examples, which are specifically:
obtaining target period of first position sequence number sequence through calculationAnd the target period of the first position sequence numberThe average replenishment amount of (2) is less than or equal to the target period of the second sequence of position numbersThe periodic distribution rule of all the scheduling data belonging to the first source symbol and the second source symbol in the scheduling data sequence is as follows: a first source symbol anda second source symbol; for scheduling data sequencesBy adding the first identifier to beAnd the second identifier isThe distribution conditions of all the dispatching data belonging to the first information source symbol and the second information source symbol in the dispatching data sequence obey the periodic distribution rule, and the dispatching data sequence after processing is that
It should be noted that, for the problem that the encoding result of the irregular length encoding cannot be decoded, in this embodiment, according to the hiding regularity of the first source symbol and the second source symbol in the scheduled data sequence, the period and the period distribution rule of different source symbol distributions in the scheduled data sequence are obtained, and for the period that does not obey the period distribution rule in the scheduled data sequence, by adding identifiers with different lengths at some positions, all the periods of the scheduled data sequence obey the period distribution rule, so as to further ensure that the encoding result of the irregular length encoding in this embodiment has decodability.
And the code transmission module S105 is configured to encode the processed scheduled data sequence according to a code table, obtain a code result of the processed scheduled data sequence, and transmit the code result.
Specifically, each data in the processed scheduling data sequence is encoded according to the encoding table, a sequence formed by encoding results of all the data according to sequence is used as the encoding result of the processed scheduling data sequence, and the encoding result is transmitted.
The present embodiment is illustrated by the following examples, which are specifically: the processed dispatch data sequence is processed according to the coding tableThe encoding result of the encoding is: 0100000000010000101110110111000111100111011100000100011010100100100010010111010.
further, when decoding the coding result of the processed scheduling data sequence, firstly dividing the length of the coding result of the processed scheduling data sequence according to the periodic distribution rule, decoding each binary number after division according to the coding table to obtain a sequence composed of all decoding results, and taking the first identifier in the sequence asAnd the second identifier isAnd removing, namely taking the rest sequence as the scheduling data sequence.
The present embodiment is illustrated by the following examples, which are specifically: when decoding the coding result of the scheduling data sequence, firstly, according to the periodic distribution rule: a first source symbol anda second source symbol for dividing the length of the coding result of the modulated data sequence, the binary length corresponding to the first source symbol beingThe length of the binary corresponding to the second source symbol isLength divisionThe result of (2) is:decoding the length-divided result according to the coding table, wherein the decoding result is thatThe first identifier is defined asAnd the second identifier isRemoving, obtaining decoding results, i.e. scheduling data sequences
Aiming at the problems that the integrity and the accuracy of the received dispatching data are affected because the loss risk and the transmission error rate of the data are greatly increased due to the transmitted data quantity in the dispatching data transmission process, the invention reduces the loss risk and the transmission error rate of the data by compressing the collected dispatching data and improves the integrity and the accuracy of the received dispatching data; aiming at the problems that the optimal value of the average length of the coding result of each data in the data sequence is the information entropy of the data sequence, the average length of the fixed-length coding is an integer, and the information entropy of the data sequence is not necessarily an integer, the invention obtains the first length and the second length which correspond to binary numbers and are larger than the information source symbol condition and the average length is closest to the information entropy of the scheduling data sequence, codes the scheduling data sequence according to the binary numbers corresponding to the first length and the second length, ensures that the average length of the coding result of each scheduling data in the scheduling data sequence is closest to the information entropy of the scheduling data sequence, and improves the data compression efficiency; aiming at the problem that the coding result of the irregular length coding cannot be decoded, the method acquires the periods and the period distribution rules of the distribution of different information source symbols in the scheduling data sequence according to the hiding regularity of the first information source symbol and the second information source symbol in the scheduling data sequence, and leads all the periods of the scheduling data sequence to follow the period distribution rules by adding identifiers with different lengths at certain positions for the periods which do not follow the period distribution rules in the scheduling data sequence, thereby ensuring the decodability of the coding result of the irregular length coding of the embodiment.
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 (8)

1. The system for safely managing the scheduling data of the used engine oil based on the data monitoring is characterized by comprising the following components:
the scheduling data acquisition module acquires a scheduling data sequence and all kinds of information source symbols;
the length acquisition module is used for acquiring a first length and a second length according to the relation between the average length of two positive integers meeting the condition and the information entropy of the scheduling data sequence;
the coding table acquisition module is used for distributing binary numbers corresponding to the first length and the second length to the first identifier, the second identifier and all the source symbols to obtain a coding table;
the period distribution rule module is used for obtaining the average supplement quantity of different intention periods according to the first identifier supplement quantity and the second identifier supplement quantity of all the periods under different intention periods; obtaining a target period and a period distribution rule of a scheduling data sequence according to the average supplementing quantity; processing the data sequence according to the first identifier and the second identifier Fu Duidiao to obtain a processed scheduling data sequence obeying a periodic distribution rule;
and the coding transmission module is used for coding the processed scheduling data sequence according to the coding table to obtain a coding result of the processed scheduling data sequence and transmitting the coding result.
2. The system for managing the safety of the scheduling data of the used engine oil based on the data monitoring as set forth in claim 1, wherein the obtaining the first length and the second length comprises the specific steps of:
counting the frequency of each information source symbol in the scheduling data sequence, obtaining the information entropy E of the scheduling data sequence according to the frequency of all the information source symbols in the scheduling data sequence, and arranging all the information source symbols in the sequence from the high frequency to the low frequency; for meeting the requirementsAnd->Is +.>And->Calculating the average length of two positive integers, and enabling the average length to be closest to the two positive integers of the information entropy E>And->Respectively marked as first length->And a second length->
3. The system for managing safety of scheduling data of used engine oil based on data monitoring according to claim 2, wherein the calculating of the average length of two positive integers comprises the following specific steps:
two positive integersAnd->Average length of>The calculation formula of (2) is as follows:
in the method, in the process of the invention,representing two positive integers +.>And->Average length of>And->To meet->And is also provided withIs>The frequency of the j-th source symbol after sorting is represented, and L represents the number of the source symbols.
4. The used engine oil scheduling data safety management system based on data monitoring according to claim 1, wherein the obtaining the coding table comprises the following specific steps:
two identifiers are set, namely: first oneAn identifier and a second identifier; assigning a binary number of length equal to the first length and all 0 to the first identifier, and assigning a binary number of length equal to the second length and all 0 to the second identifier; give the front after sequencingThe method comprises the steps that binary numbers with the length equal to a first length are allocated to each information source symbol and recorded as a first information source symbol; allocating binary numbers with the length equal to the second length to the rest information source symbols and marking the binary numbers as second information source symbols; wherein (1)>Representing a first length; the result of assigning binary numbers to all source symbols and two identifiers is recorded as a code table.
5. The system for managing safety of scheduling data of used engine oil based on data monitoring as set forth in claim 1, wherein the method for acquiring the first and second amounts of replenishment of identifiers for all periods under the different intention periods is specifically as follows:
marking the sequence formed by the sequence according to the sequence in the schedule data sequence as a first position sequence number, and marking the sequence formed by the sequence according to the sequence in the schedule data sequence as a second position sequence number;
the method comprises the steps of obtaining a first identifier supplementing quantity and a second identifier supplementing quantity of all periods under different intention periods in a first position sequence number, wherein the first identifier supplementing quantity and the second identifier supplementing quantity are specifically as follows:
obtaining a first-order differential sequence of the first position sequence number, marking the same differential value in the first-order differential sequence as a period, and counting the frequency of each period in the first-order differential sequence; any one period is recorded as an intention periodFor the i-th period->According to the period->And meaning period->The relation expression is constructed, specifically:
in the method, in the process of the invention,indicating the i-th period,/, for>Representing the intent cycle->Represents a first number of i-th cycles, < >>A second number representing an ith period; requiring a first quantity +.>Is a positive integer and a second number +.>Is less than->To obtain a first number of i-th cycles +.>And a second number->
A first number according to the ith periodAnd a second number->Obtain period->The first identifier replenishment amount and the second identifier replenishment amount of (1) are specifically:
if it isAnd->The number of first identifiers to be added in the ith period is +.>The number of second identifiers to be added is +.>The method comprises the steps of carrying out a first treatment on the surface of the Otherwise, the number of first identifiers to be supplemented for the ith period is +.>The number of second identifiers to be added is +.>
Similarly, a first and second amount of identifier supplements for all cycles in the different intent cycles in the second sequence of position numbers are obtained.
6. The system for managing the safety of the scheduling data of the used engine oil based on the data monitoring according to claim 1, wherein the average replenishment amount for obtaining different intention periods comprises the following specific steps:
according to the first identifier replenishment quantity and the second identifier replenishment quantity of all the periods under any one intention period in the first position sequence number, the average replenishment quantity of the intention period is obtained, and a specific calculation formula is as follows:
representing the average replenishment amount, +.>Frequency representing the i-th period, +.>Indicating the number of first identifiers that need to be replenished for the ith cycle, +.>Representing the number of second identifiers to be supplemented for the ith period, < >>Representing a first length, ++>Representing a second length;
obtaining the average supplement quantity of all intention periods in the first position sequence number;
similarly, an average replenishment amount for all intent cycles in the second sequence of position numbers is obtained.
7. The system for safely managing the scheduling data of the used engine oil based on the data monitoring according to claim 1, wherein the target period and the period distribution rule of the obtained scheduling data sequence comprise the following specific steps:
the meaning period with the minimum average supplement quantity in the first position sequence number is recorded as the target period of the first position sequence numberThe method comprises the steps of carrying out a first treatment on the surface of the The meaning period with the smallest average supplement quantity in the second position sequence number is recorded as the target period +.>
If the target period of the first sequence of position numbersThe average replenishment amount of (2) is equal to or less than the target period of the second position number sequence>The periodic distribution rule of all the scheduling data belonging to the first source symbol and the second source symbol in the scheduling data sequence is as follows: a first source symbol and +.>A second source symbol; otherwise, the periodic distribution rule of all the scheduling data belonging to the first information source symbol and the second information source symbol in the scheduling data sequence is as follows: a second source symbol and +.>A first source symbol.
8. The system for safely managing the scheduling data of the used engine oil based on the data monitoring according to claim 1, wherein the step of obtaining the processed scheduling data sequence obeying the periodic distribution rule comprises the following specific steps:
according to the number of first identifiers to be supplemented and the number of second identifiers to be supplemented in each period in the first-order differential sequence of the scheduling data sequence, the first identifiers and the second identifiers are added, so that the distribution condition of all scheduling data belonging to the first information source symbol and the second information source symbol in the scheduling data sequence obeys a period distribution rule.
CN202310806463.6A 2023-07-04 2023-07-04 Used engine oil scheduling data safety management system based on data monitoring Active CN116567097B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310806463.6A CN116567097B (en) 2023-07-04 2023-07-04 Used engine oil scheduling data safety management system based on data monitoring

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310806463.6A CN116567097B (en) 2023-07-04 2023-07-04 Used engine oil scheduling data safety management system based on data monitoring

Publications (2)

Publication Number Publication Date
CN116567097A CN116567097A (en) 2023-08-08
CN116567097B true CN116567097B (en) 2023-09-01

Family

ID=87486448

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310806463.6A Active CN116567097B (en) 2023-07-04 2023-07-04 Used engine oil scheduling data safety management system based on data monitoring

Country Status (1)

Country Link
CN (1) CN116567097B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104904123A (en) * 2013-01-03 2015-09-09 国际商业机器公司 High bandwidth compression to encoded data streams
WO2016107160A1 (en) * 2014-12-31 2016-07-07 中兴通讯股份有限公司 Data packet processing method and apparatus in ofdma system, and storage medium
CN107667530A (en) * 2015-05-29 2018-02-06 高通股份有限公司 Advanced mathematical decoder
DE102018219175A1 (en) * 2018-04-05 2019-10-10 Hyundai Motor Company SIGNAL COMPRESSION METHOD, SIGNAL COMPRESSION EQUIPMENT, VEHICLE AND LIGHT DETECTION AND RANGING SYSTEM
CN112181869A (en) * 2020-09-11 2021-01-05 中国银联股份有限公司 Information storage method, device, server and medium
CN114915295A (en) * 2022-05-09 2022-08-16 重庆邮电大学 Symbol coding method for exceeding entropy limit under specific condition
CN115965096A (en) * 2023-02-08 2023-04-14 广东慧航天唯科技有限公司 Machine oil monitoring operation circulation system for data transmission of Internet of things

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104904123A (en) * 2013-01-03 2015-09-09 国际商业机器公司 High bandwidth compression to encoded data streams
WO2016107160A1 (en) * 2014-12-31 2016-07-07 中兴通讯股份有限公司 Data packet processing method and apparatus in ofdma system, and storage medium
CN107667530A (en) * 2015-05-29 2018-02-06 高通股份有限公司 Advanced mathematical decoder
DE102018219175A1 (en) * 2018-04-05 2019-10-10 Hyundai Motor Company SIGNAL COMPRESSION METHOD, SIGNAL COMPRESSION EQUIPMENT, VEHICLE AND LIGHT DETECTION AND RANGING SYSTEM
CN112181869A (en) * 2020-09-11 2021-01-05 中国银联股份有限公司 Information storage method, device, server and medium
CN114915295A (en) * 2022-05-09 2022-08-16 重庆邮电大学 Symbol coding method for exceeding entropy limit under specific condition
CN115965096A (en) * 2023-02-08 2023-04-14 广东慧航天唯科技有限公司 Machine oil monitoring operation circulation system for data transmission of Internet of things

Also Published As

Publication number Publication date
CN116567097A (en) 2023-08-08

Similar Documents

Publication Publication Date Title
CN110175212B (en) Block chain distributed storage method, data reading method, device and storage medium
CN105684316B (en) Polar code encoding method and device
CN104077420B (en) Method and device for importing data into HBase database
CN109120272B (en) RFID tag data compression method for discrete manufacturing workshop
CN104980752A (en) Method for realizing multipath self-adaptive parallel transcoding through CPU and GPU and system thereof
CN116016606B (en) Sewage treatment operation and maintenance data efficient management system based on intelligent cloud
KR20130126823A (en) Method and apparatus for data management of advanced metering infrastructure network
CN105225297A (en) Mobile terminal photonic data transmission method, transmitting device and photonic data receiving trap
CN116567097B (en) Used engine oil scheduling data safety management system based on data monitoring
CN103312458B (en) Hybrid coding method
CN116541828B (en) Intelligent management method for service information data
CN116151740A (en) Inventory transaction data process safety management system and cloud platform
CN116610731B (en) Big data distributed storage method and device, electronic equipment and storage medium
EP2381579A1 (en) Method for compressing/decompressing data
CN106600206B (en) Method for realizing unidirectional transmission of dosage data of nuclear power plant from management network to industrial network
CN105580366A (en) Method of adaptive broadcasting of multimedia streams by using an energy index
CN115175023A (en) Photovoltaic inverter-based method, system and device for reading meter of internet of things
CN1964496A (en) A coder and method and device to realize adaptive arithmetic code
CN103138881A (en) Encoding and decoding method and encoding and decoding equipment
CN103297182A (en) Sending method and device of spectrum sensing measurement data
CN102761487B (en) data flow processing method and system
CN105553625A (en) Remote channel message compression method and system for electricity consumption collection system
CN117254819B (en) Medical waste intelligent supervision system
CN106533628A (en) Huffman parallel decoding method and apparatus thereof
CN109581999A (en) A kind of aircraft utilities system busway status data processing method

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