Subway onboard PIS information security transmission system based on blockchain technology

By using blockchain technology and chaotic mapping functions to generate keys in the subway vehicle-mounted PIS system, chaotic and polynomial encryption of vehicle group monitoring video information, the problem that image encryption in the existing technology cannot resist statistical analysis attacks is solved, and the problem of image encryption in the existing technology is improved. The security of information transmission.

CN118784208BActive Publication Date: 2024-12-03吉林省北联显示技术有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411239884.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-05
Publication Date
2024-12-03
Estimated Expiration
2044-09-05

AI Technical Summary

Technical Problem

When the existing chaos mapping function encrypts the image, it only destroys the position correlation of pixel points and cannot effectively resist statistical analysis attacks, resulting in poor transmission security of the transmission of video information by vehicle crew monitoring.

Method used

The subway vehicle-mounted PIS information security transmission system based on blockchain technology is adopted to generate three keys through the chaos mapping function, generate chaotic sequences, and chaotic images in the vehicle group monitoring video information are chaotic, and the grayscale value and The run length is set to polynomial, encrypt the plaintext sequence, and change the statistical characteristics of the image to resist statistical analysis attacks.

Benefits of technology

The transmission security of the vehicle crew monitoring video information is improved, and the statistical characteristics of the image can be resistant to statistical analysis attacks, enhancing the security of information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118784208B_ABST
    Figure CN118784208B_ABST
Patent Text Reader

Abstract

The present invention belongs to the field of secure transmission technology, and specifically relates to a subway vehicle-mounted PIS information secure transmission system based on blockchain technology, the system comprising: a first module, a second module, a third module and a fourth module, all grayscale values ​​after scrambling of an I frame image in the vehicle group monitoring video information form a plaintext sequence, and a polynomial is set for each grayscale value and run length, and the plaintext sequence is encrypted according to the polynomial corresponding to the grayscale value and the run length, including: taking any data point in the polynomial corresponding to the grayscale value as the encryption result of the grayscale value, taking the intersection of the polynomial corresponding to the first grayscale value and the polynomial corresponding to the second grayscale value in the grayscale value pair as the encryption result of the grayscale value pair, and taking the intersection of the polynomial corresponding to the run length equal to the length of the grayscale value sequence and the polynomial corresponding to the grayscale value as the encryption result of the grayscale value sequence. The present invention can resist statistical analysis attacks and enhance the transmission security of vehicle group monitoring video information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of secure transmission technology. More specifically, the present invention relates to a subway vehicle PIS information secure transmission system based on blockchain technology. Background Art

[0002] The subway on-board PIS (Passenger Information System) is a comprehensive platform that integrates subway operation information and multimedia services. In normal operation, it provides passengers with real-time information such as train timetables, arrival information, and announcements; in emergency situations, it gives priority to important information such as evacuation instructions. The system uses advanced multimedia network technology and blockchain technology to ensure the fast and accurate transmission of information, and provides passengers with clear and intuitive displays through station and on-board display terminals.

[0003] By transmitting the on-board data, the operation center can monitor the train operation status in real time, and promptly discover and resolve faults and abnormal situations. In order to ensure the transmission security of the on-board data, the on-board data needs to be encrypted. The on-board data includes train operation data information and train monitoring video information, wherein the train operation data information is numerical data and the train monitoring video information is image data. The train operation data information is usually encrypted using a dynamic information encryption algorithm such as the RSA encryption algorithm, but this encryption algorithm is not suitable for directly encrypting large blocks of data such as images, and the computational overhead is very high.

[0004] The chaotic mapping function is suitable for encrypting images with large data volumes and strong correlations. However, this encryption method only scrambles the positions of pixels, which can only destroy the strong correlation of the image without destroying the statistical characteristics of the image. At this time, the encryption result of the vehicle monitoring video information cannot resist statistical analysis attacks, and the transmission security is poor. Summary of the invention

[0005] In order to solve the technical problem that the conventional chaotic mapping function only scrambles the positions of the pixels in the image, which can only destroy the strong correlation of the image but does not destroy the statistical characteristics of the image, resulting in the encryption result of the vehicle group monitoring video information being unable to resist statistical analysis attacks and having poor transmission security, the present invention provides solutions in the following multiple aspects.

[0006] The present invention provides a subway vehicle-mounted PIS information security transmission system based on blockchain technology, and the system includes the following modules: a first module is used to generate three chaotic sequences according to a chaotic mapping function and three keys; a second module is used to scramble all pixel points in an I-frame image in vehicle group monitoring video information through the first chaotic sequence, and form a plaintext sequence with the grayscale values ​​of all the scrambled pixel points; a third module is used to set a polynomial for each grayscale value and each run length within a preset range, respectively, and the polynomial is composed of a plurality of monomials, the degree of each monomial is the second chaotic value in the second chaotic sequence, and the coefficient of each monomial is the third chaotic value in the third chaotic sequence; a fourth module is used to encrypt each grayscale value in the plaintext sequence in sequence according to the polynomial corresponding to the grayscale value and the run length, and obtain the encryption result of the plaintext sequence. The method includes: when the grayscale value is greater than the next grayscale value of the grayscale value, the grayscale value is used as the object to be encrypted, and any data point in the polynomial corresponding to the grayscale value is used as the encryption result of the object to be encrypted; when the grayscale value is less than the next grayscale value of the grayscale value, the grayscale value and the next grayscale value of the grayscale value are combined into a grayscale value pair, the grayscale value pair is used as the object to be encrypted, and the intersection of the polynomial corresponding to the first grayscale value and the polynomial corresponding to the second grayscale value in the grayscale value pair is used as the encryption result of the object to be encrypted; when the grayscale value is equal to the next grayscale value of the grayscale value, a plurality of grayscale values ​​that are equal to and continuous with the grayscale value are combined into a grayscale value sequence, the grayscale value sequence is used as the object to be encrypted, and the intersection of the polynomial corresponding to the run length equal to the length of the grayscale value sequence and the polynomial corresponding to the grayscale value is used as the encryption result of the object to be encrypted.

[0007] Preferably, the step of setting a polynomial for each grayscale value and each run length within a preset range comprises: taking all grayscale values ​​and all run lengths within a preset range as objects, and sequentially obtaining the polynomial corresponding to each object, comprising: determining the number of monomials constituting the polynomial corresponding to the object according to the size relationship of a plurality of adjacent second chaotic values ​​in the second chaotic sequence. ; The first The second chaos value is respectively used as the front The degree of the monomial, The first monomial is a constant term, that is, The degree of the monomial is equal to 0; the first The third chaotic value is used as the coefficient of each monomial; The second chaotic value is deleted from the second chaotic sequence, and the previous The third chaos value is deleted from the third chaos sequence.

[0008] Preferably, the number of monomials of the polynomial corresponding to the object is determined according to the size relationship of the adjacent second chaotic values ​​in the second chaotic sequence. , including: in response to the magnitude relationship of the first three second chaotic values ​​in the second chaotic sequence being: , then the number of monomials that make up the polynomial corresponding to the object ; , , They represent the first second chaotic value, the second second chaotic value and the third second chaotic value in the second chaotic sequence respectively; the magnitude relationship of the first three second chaotic values ​​in the second chaotic sequence is: and , then the number of monomials that make up the polynomial corresponding to the object ; The magnitude relationship of the first two second chaotic values ​​in response to the second chaotic sequence is: , then the number of monomials that make up the polynomial corresponding to the object .

[0009] Preferably, the polynomial corresponding to the object is specifically: ;in, represents the dependent variable of the polynomial corresponding to the object, represents the independent variable of the polynomial corresponding to the object, Indicates the polynomial corresponding to this object. Monomials, Indicates the The coefficients of the monomial, and , represents the first chaotic sequence in the The third chaos value, Indicates The degree of a monomial, and , represents the first chaotic sequence The second chaos value, Indicates The coefficients of the monomials are , represents the first chaotic sequence in the The third chaos value.

[0010] Preferably, obtaining the encryption result of the object to be encrypted also includes: taking the intersection of the polynomials corresponding to any two grayscale values ​​and the intersection of the polynomials corresponding to each grayscale value and the polynomials corresponding to each run length as target data points; in response to the existence of an intersection between the polynomial corresponding to the first grayscale value and the polynomial corresponding to the second grayscale value in the grayscale value pair, and there are at least two target data points (including the intersection itself) that are identical to the intersection among all the target data points, or there is no intersection between the polynomial corresponding to the first grayscale value and the polynomial corresponding to the second grayscale value in the grayscale value pair, then taking any data point in the polynomial corresponding to the first grayscale value in the grayscale value pair as the encryption result of the first grayscale value, taking any data point in the polynomial corresponding to the second grayscale value in the grayscale value pair as the encryption result of the second grayscale value, and combining the encryption result of the first grayscale value and the encryption result of the second grayscale value to form the encryption result of the object to be encrypted.

[0011] Preferably, obtaining the encryption result of the object to be encrypted further comprises: taking the intersection of any two polynomials corresponding to grayscale values ​​and the intersection of the polynomial corresponding to each grayscale value and the polynomial corresponding to each run length as the target data point; in response to the existence of an intersection between the polynomial corresponding to the run length equal to the length of the grayscale value sequence and the polynomial corresponding to the grayscale value, and at least two target data points identical to the intersection (including the intersection itself) exist among all the target data points, or there is no intersection between the polynomial corresponding to the run length equal to the length of the grayscale value sequence and the polynomial corresponding to the grayscale value, The gray value sequence is split into multiple gray value subsequences, requiring that the sum of the lengths of all gray value subsequences is equal to the length of the gray value sequence, and that the polynomial corresponding to the run length equal to the length of each gray value subsequence and the polynomial corresponding to the gray value both have intersections, and that among all target data points, there is no target data point identical to the intersection except the intersection itself, and the intersection of the polynomial corresponding to the run length equal to the length of each gray value subsequence and the polynomial corresponding to the gray value is used as the encryption result of each gray value subsequence, and the encryption results of all gray value subsequences constitute the encryption result of the object to be encrypted.

[0012] Preferably, the method for obtaining the three keys is: randomly generating three different initial values ​​within the value range [0,1] of the initial value of the one-dimensional Logistic chaotic mapping function, randomly generating three different parameters within the value range (3.57,4] of the parameter, forming the first key with the first initial value and the first parameter, forming the second key with the second initial value and the second parameter, and forming the third key with the third initial value and the third parameter.

[0013] Preferably, the method for obtaining the first chaotic sequence includes: using the first key as the initial value and parameter of the one-dimensional Logistic chaotic mapping function, iterating the one-dimensional Logistic chaotic mapping function times, obtained The first value, Indicates the length of the I frame image. represents the width of the I frame image; then the first chaotic sequence First Chaos Value , The value range is , Indicates obtaining The first value, Indicates rounding down.

[0014] Preferably, the method for obtaining the second chaotic sequence includes: using the second key as the initial value and parameter of the one-dimensional Logistic chaotic mapping function, iterating the one-dimensional Logistic chaotic mapping function times, obtained The second value, represents the preset value; then the first Second Chaos Value , The value range is , Indicates obtaining The second value, Represents a polynomial with significant digits after the decimal point. Represents a numerical value Keep 1 significant digit after the decimal point.

[0015] Preferably, the method for obtaining the third chaotic sequence includes: using the third key as the initial value and parameter of the one-dimensional Logistic chaotic mapping function, iterating the one-dimensional Logistic chaotic mapping function times, obtained The third value in the third chaotic sequence The third chaos value , The value range is , Indicates obtaining The third value, Represents a polynomial with significant digits after the decimal point. Represents a numerical value Keep 1 significant digit after the decimal point.

[0016] The beneficial effects of the present invention are:

[0017] In the process of encrypting a plaintext sequence, the present invention uses corresponding grayscale values, grayscale value pairs and grayscale value sequences as objects to be encrypted according to the size relationship of adjacent grayscale values. Since the distribution of the size relationship of adjacent grayscale values ​​in different plaintext sequences is different, the number of objects to be encrypted is different, so that the lengths of the encryption results of different plaintext sequences finally obtained are different. At the same time, any data point in the polynomial corresponding to the grayscale value is used as the encryption result of the object to be encrypted, so that the encryption results of the same grayscale value in the plaintext sequence will also be different. The statistical characteristics of the encryption result of the plaintext sequence are changed compared to the statistical characteristics of the I frame image in the vehicle group monitoring video information. At this time, the encryption result of the I frame image can resist statistical analysis attacks, thereby enhancing the transmission security of the vehicle group monitoring video information. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] By reading the following detailed description with reference to the accompanying drawings, the above and other objects, features and advantages of the exemplary embodiments of the present invention will become readily understood. In the accompanying drawings, several embodiments of the present invention are shown in an exemplary and non-limiting manner, and the same or corresponding reference numerals represent the same or corresponding parts, wherein:

[0019] Figure 1 The system block diagram of the subway vehicle PIS information security transmission system based on blockchain technology in the present invention is schematically shown;

[0020] Figure 2 Schematically showing an I frame image in the vehicle group monitoring video information;

[0021] Figure 3 The grayscale histogram of the I frame image in the vehicle group monitoring video information is schematically shown;

[0022] Figure 4 The scrambled image of the I frame image in the vehicle group monitoring video information is schematically shown;

[0023] Figure 5 The grayscale histogram of the scrambled image of the I frame image in the vehicle group monitoring video information is schematically shown. DETAILED DESCRIPTION

[0024] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0025] The specific embodiments of the present invention are described in detail below with reference to the accompanying drawings.

[0026] By transmitting on-board data, the operation center can monitor the train operation status in real time, and promptly discover and resolve faults and abnormal situations. In order to ensure the transmission security of on-board data, the on-board data needs to be encrypted, and the on-board data includes train operation data information and train monitoring video information, wherein the train operation data information is numerical data and the train monitoring video information is image data. The train operation data information is usually encrypted using a dynamic information encryption algorithm such as the RSA encryption algorithm, but this encryption algorithm is not suitable for directly encrypting large blocks of data such as images, and the computational overhead is very high. The chaotic mapping function is suitable for encrypting images with large data volumes and strong correlations.

[0027] The vehicle monitoring video information is collected by video monitoring equipment, and is divided into I-frame images, P-frame images and B-frame images through H.264 encoding. H.264 encoding is a video compression processing technology. Three types of frame images are defined in the H.264 protocol: fully encoded I-frame images, P-frame images generated by referring to the previous I-frame and only containing the difference part encoding, and B-frame images encoded by referring to the frames before and after. Among them, the I-frame image is the core image that completely retains the vehicle monitoring video information. Therefore, the I-frame image needs to be encrypted to ensure the transmission security of the vehicle monitoring video information in the vehicle-mounted data; among them, the grayscale value of the pixel in the I-frame image ranges from [0,255].

[0028] The present invention provides a subway vehicle PIS information security transmission system based on blockchain technology. Figure 1 As shown, the subway vehicle PIS information security transmission system based on blockchain technology includes a first module 101, a second module 102, a third module 103 and a fourth module 104, which are described in detail below.

[0029] The first module 101 is used to generate three chaotic sequences according to a chaotic mapping function and three keys.

[0030] It should be noted that chaotic mapping functions are pseudo-random, sensitive to initial conditions, non-periodic and long-term unpredictable, and are often used as key generators.

[0031] Specifically, the initial value of the one-dimensional Logistic chaotic mapping function ranges from [0,1], and the parameter ranges from (3.57,4]; three different initial values ​​are randomly generated within the initial value range [0,1] of the one-dimensional Logistic chaotic mapping function, and three different parameters are randomly generated within the parameter range (3.57,4], the first initial value and the first parameter form a first key, the second initial value and the second parameter form a second key, and the third initial value and the third parameter form a third key.

[0032] It should be noted that the key is jointly agreed upon by the subway on-board PIS information system and the data center control system. When transmitting on-board data, the key does not need to be transmitted, thereby improving the security of the key and further improving the transmission security of on-board data.

[0033] Further, the first key is used as the initial value and parameter of the one-dimensional Logistic chaotic mapping function, and the one-dimensional Logistic chaotic mapping function is iterated. times, obtained The first value, Indicates the length of the I frame image. Represents the width of the I-frame image, and the total number of all pixels in the I-frame image is equal to ; Then the first chaotic sequence First Chaos Value , The value range is , Indicates obtaining The first value, Indicates rounding down.

[0034] Further, the second key is used as the initial value and parameter of the one-dimensional Logistic chaotic mapping function, and the one-dimensional Logistic chaotic mapping function is iterated. times, obtained The second value, Represents a preset value. The number of integers in the preset range is equal to , the number of all grayscale values ​​is equal to ; Then the first Second Chaos Value , Indicates obtaining The second value, Represents a polynomial with significant digits after the decimal point. Represents a numerical value Keep 1 significant digit after the decimal point.

[0035] The preset range is , Indicates the preset value. The preset value can be set according to the actual application scenario and requirements. The value range of the preset value is , and is an integer, therefore, the present invention sets the preset value to 10.

[0036] Furthermore, all integers within a preset range are taken as run lengths, so the number of types of all run lengths is equal to , Indicates a preset value.

[0037] Further, the third key is used as the initial value and parameter of the one-dimensional Logistic chaotic mapping function, and the one-dimensional Logistic chaotic mapping function is iterated. times, obtained The third value in the third chaotic sequence The third chaos value , The value range is , Indicates obtaining The third value, Represents a polynomial with significant digits after the decimal point. Represents a numerical value Keep 1 significant digit after the decimal point.

[0038] The present invention is described only by taking the Logistic chaotic mapping function as an example. In other embodiments, other chaotic mapping functions may be used to construct keys and generate chaotic sequences, such as the Henon chaotic mapping function, the Sine chaotic mapping function, the Kent chaotic mapping function, the Tent chaotic mapping function, etc.

[0039] The second module 102 is used to scramble all the pixels in the I frame image in the vehicle group monitoring video information through the first chaotic sequence, and form a plaintext sequence with the gray values ​​of all the scrambled pixels.

[0040] Specifically, the first chaotic sequence is used as a step sequence, and all pixels in the I frame image in the vehicle crew monitoring video information are scrambled through variable step Joseph traversal, and the grayscale values ​​of all the scrambled pixels form a plaintext sequence.

[0041] It should be noted that the use of variable-step Joseph traversal to scramble the I-frame image breaks the correlation between the pixels in the I-frame image, making the originally adjacent pixels no longer adjacent, thereby destroying the strong correlation between the pixels in the I-frame image.

[0042] For example, the I frame image in the vehicle group monitoring video information is as follows: Figure 2 As shown, the grayscale histogram of the I frame image is as follows Figure 3 As shown, the image after scrambling the I frame image is as follows Figure 4 As shown, the grayscale histogram of the scrambled image is as follows Figure 5 As shown in FIG. 1 , the statistical characteristics of the image after scrambling are exactly the same as those of the image before scrambling (the I frame image).

[0043] It should be noted that the chaotic mapping function is suitable for encrypting I-frame images with large data volume and strong correlation, but this encryption method only scrambles the positions of pixels, which can only destroy the strong correlation of the image without destroying the statistical characteristics of the image. At this time, the encryption result of the vehicle group monitoring video information cannot resist statistical analysis attacks, and the transmission security is poor.

[0044] The third module 103 is used to set a polynomial for each gray value and each run length according to the second chaotic sequence and the third chaotic sequence.

[0045] Specifically, all grayscale values ​​and all run lengths are taken as objects, and the polynomials corresponding to each object are obtained in sequence, wherein the polynomials are composed of multiple monomials, the degree of each monomial is the second chaotic value in the second chaotic sequence, and the coefficient of each monomial is the third chaotic value in the third chaotic sequence.

[0046] Further, for any object, the specific method for obtaining the polynomial corresponding to the object is: according to the size relationship of the adjacent second chaotic values ​​in the second chaotic sequence, determine the number of monomials constituting the polynomial corresponding to the object ; The first The second chaos value is respectively used as the front The degree of the monomial, The first monomial is a constant term, that is, The degree of the monomial is equal to 0; the first The third chaotic value is used as the coefficient of each monomial; The second chaotic value is deleted from the second chaotic sequence, and the previous The third chaos value is deleted from the third chaos sequence.

[0047] The method of determining the number of monomials constituting the polynomial corresponding to the object according to the size relationship of the adjacent second chaotic values ​​in the second chaotic sequence ,include:

[0048] 1. The magnitude relationship of the first three second chaotic values ​​in response to the second chaotic sequence is: , then the number of monomials that make up the polynomial corresponding to the object , that is to say, the polynomial corresponding to the object consists of 4 monomials; , , They respectively represent the first second chaotic value, the second second chaotic value and the third second chaotic value in the second chaotic sequence.

[0049] 2. The magnitude relationship of the first three second chaotic values ​​in response to the second chaotic sequence is: and , then the number of monomials that make up the polynomial corresponding to the object , that is to say, the polynomial corresponding to the object consists of 3 monomials.

[0050] 3. The magnitude relationship of the first two second chaotic values ​​in response to the second chaotic sequence is: , then the number of monomials that make up the polynomial corresponding to the object , that is to say, the polynomial corresponding to the object consists of 2 monomials.

[0051] Furthermore, the polynomial corresponding to the object is:

[0052] ;

[0053] in, represents the dependent variable of the polynomial corresponding to the object, represents the independent variable of the polynomial corresponding to the object, Indicates the polynomial corresponding to this object. Monomials, Indicates the The coefficients of the monomial, and , represents the first chaotic sequence in the The third chaos value, Indicates The degree of a monomial, and , represents the first chaotic sequence The second chaos value, Indicates the number of monomials that make up the polynomial corresponding to the object. Indicates The coefficients of the monomials are , represents the first chaotic sequence in the The third chaos value, The first monomial is a constant term, so the The degree of a monomial is equal to 0.

[0054] It should be noted that the present invention determines the number of monomials constituting the polynomial corresponding to the object based on the size relationship between multiple adjacent second chaotic values ​​in the second chaotic sequence. The number of monomials in the polynomials of different objects is different. Therefore, the coefficients and degrees of the monomials selected from the second chaotic sequence and the third chaotic sequence are also different, which increases the complexity of the polynomials of different objects, thereby increasing the difficulty of cracking the polynomials of all objects and improving the ability of the encryption results of the vehicle group monitoring video information to resist statistical analysis attacks.

[0055] The fourth module 104 is used to encrypt each gray value in the plaintext sequence according to the polynomial corresponding to the gray value and the polynomial corresponding to the run length to obtain an encryption result of the plaintext sequence.

[0056] Specifically, according to the polynomial corresponding to the gray value and the polynomial corresponding to the run length, the gray values ​​in the plaintext sequence are encrypted in sequence to obtain the encryption result of the plaintext sequence, which is specifically:

[0057] 1. When the grayscale value is greater than the next grayscale value of the grayscale value, the grayscale value is used as the object to be encrypted, and any data point in the polynomial corresponding to the grayscale value is used as the encryption result of the object to be encrypted; it should be specially noted that the data point used as the encryption result of the object to be encrypted cannot be the target data point.

[0058] The target data points include intersections of polynomials corresponding to any two grayscale values ​​and intersections of polynomials corresponding to each grayscale value and polynomials corresponding to each run length.

[0059] It should be noted that, in the process of encrypting the plaintext sequence, the present invention will take any data point in the polynomial corresponding to the grayscale value as the encryption result of the object to be encrypted. Therefore, the encryption results of the same grayscale value in the plaintext sequence will also be different. The statistical characteristics of the encryption result of the plaintext sequence are changed compared to the statistical characteristics of the I-frame image in the vehicle group monitoring video information. At this time, the encryption result of the I-frame image can resist statistical analysis attacks, thereby enhancing the transmission security of the vehicle group monitoring video information.

[0060] 2. When the grayscale value is less than the next grayscale value of the grayscale value, the grayscale value and the next grayscale value of the grayscale value are combined into a grayscale value pair, and the grayscale value pair is used as the object to be encrypted. The intersection of the polynomial corresponding to the first grayscale value in the grayscale value pair and the polynomial corresponding to the second grayscale value is used as the encryption result of the object to be encrypted.

[0061] In response to the fact that there is no intersection between the polynomial corresponding to the first grayscale value in the grayscale value pair and the polynomial corresponding to the second grayscale value, any data point in the polynomial corresponding to the first grayscale value in the grayscale value pair is used as the encryption result of the first grayscale value, and any data point in the polynomial corresponding to the second grayscale value in the grayscale value pair is used as the encryption result of the second grayscale value, and the encryption result of the first grayscale value and the encryption result of the second grayscale value are combined to form the encryption result of the object to be encrypted.

[0062] In response to the existence of an intersection between the polynomial corresponding to the first grayscale value in the grayscale value pair and the polynomial corresponding to the second grayscale value, and the existence of at least two target data points (including the intersection itself) that are identical to the intersection among all target data points, at this time, any data point in the polynomial corresponding to the first grayscale value in the grayscale value pair is used as the encryption result of the first grayscale value, and any data point in the polynomial corresponding to the second grayscale value in the grayscale value pair is used as the encryption result of the second grayscale value, and the encryption result of the first grayscale value and the encryption result of the second grayscale value are combined to form the encryption result of the object to be encrypted.

[0063] It should be specially noted that the data point as the encryption result of the first gray value and the encryption result of the second gray value cannot be the target data point.

[0064] 3. When the grayscale value is equal to the next grayscale value of the grayscale value, multiple grayscale values ​​that are equal to and continuous with the grayscale value are combined into a grayscale value sequence, and the grayscale value sequence is used as the object to be encrypted. The intersection of the polynomial corresponding to the run length equal to the length of the grayscale value sequence and the polynomial corresponding to the grayscale value is used as the encryption result of the object to be encrypted.

[0065] In response to the fact that there is no intersection between the polynomial corresponding to the run length equal to the length of the gray value sequence and the polynomial corresponding to the gray value, the gray value sequence is split into multiple gray value subsequences, requiring that the sum of the lengths of all gray value subsequences is equal to the length of the gray value sequence, and that there are intersections between the polynomial corresponding to the run length equal to the length of each gray value subsequence and the polynomial corresponding to the gray value, and that among all target data points, there is no target data point identical to the intersection except the intersection itself. At this time, the intersection of the polynomial corresponding to the run length equal to the length of each gray value subsequence and the polynomial corresponding to the gray value is used as the encryption result of each gray value subsequence, and the encryption results of all gray value subsequences constitute the encryption result of the object to be encrypted.

[0066] In response to the existence of an intersection between a polynomial corresponding to a run length equal to the length of the gray value sequence and a polynomial corresponding to the gray value, and there are at least two target data points identical to the intersection among all target data points (including the intersection itself), at this time, the gray value sequence is split into multiple gray value subsequences, requiring that the sum of the lengths of all gray value subsequences is equal to the length of the gray value sequence, and that there are intersections between a polynomial corresponding to a run length equal to the length of each gray value subsequence and a polynomial corresponding to the gray value, and that there are no target data points identical to the intersection among all target data points except the intersection itself. At this time, the intersection of the polynomial corresponding to the run length equal to the length of each gray value subsequence and the polynomial corresponding to the gray value is taken as the encryption result of each gray value subsequence, and the encryption results of all gray value subsequences constitute the encryption result of the object to be encrypted.

[0067] It should be noted that, in the process of encrypting the plaintext sequence, the present invention will use the corresponding grayscale values, grayscale value pairs and grayscale value sequences as objects to be encrypted according to the size relationship of adjacent grayscale values; since the distribution of the size relationship of adjacent grayscale values ​​in different plaintext sequences is different, the number of objects to be encrypted is different, resulting in different lengths of the encryption results of different plaintext sequences finally obtained, and the statistical characteristics of the encryption results of the plaintext sequence are changed compared to the statistical characteristics of the I frame image in the vehicle group monitoring video information. At this time, the encryption result of the I frame image can resist statistical analysis attacks, thereby enhancing the transmission security of the vehicle group monitoring video information.

[0068] Furthermore, the subway onboard PIS information system sends the encryption results of all plaintext sequences and all P-frame images and all B-frame images to the data center control system. The data center control system decrypts the encryption results of the plaintext sequences according to the key jointly agreed upon by both parties, obtains all I-frame images of the train group monitoring video information, and decodes all I-frame images, all P-frame images and all B-frame images through H.264 encoding to obtain the train group monitoring video information.

[0069] In the description of this specification, "plurality" or "several" means at least two, such as two, three or more, etc., unless otherwise clearly and specifically defined.

[0070] Although this specification has shown and described a number of embodiments of the present invention, it will be apparent to those skilled in the art that such embodiments are provided by way of example only. Those skilled in the art will conceive of many modifications, changes and alternatives without departing from the ideas and spirit of the present invention. It should be understood that in the practice of the present invention, alternatives to the embodiments of the present invention described herein may be employed.

Claims

1. The subway vehicle PIS information security transmission system based on blockchain technology is characterized by: include: The first module is used to generate three chaotic sequences according to the chaotic mapping function and three keys; The second module is used to scramble all the pixels in the I frame image in the vehicle group monitoring video information through the first chaotic sequence, and form a plaintext sequence with the gray values ​​of all the scrambled pixels; The third module is used to set a polynomial for each gray value and each run length within a preset range, the polynomial is composed of multiple monomials, the degree of each monomial is the second chaotic value in the second chaotic sequence, the coefficient of each monomial is the third chaotic value in the third chaotic sequence, all gray values ​​and all run lengths within the preset range are taken as objects, and the polynomials corresponding to each object are obtained in sequence, including: according to the size relationship of multiple adjacent second chaotic values ​​in the second chaotic sequence, the number L of monomials constituting the polynomial corresponding to the object is determined; the first L-1 second chaotic values ​​in the second chaotic sequence are respectively used as the degrees of the first L-1 monomials, the Lth monomial is a constant term, and the degree of the Lth monomial is equal to 0; the first L third chaotic values ​​in the third chaotic sequence are respectively used as the coefficients of each monomial; the first L-1 second chaotic values ​​are deleted from the second chaotic sequence, and the first L third chaotic values ​​are deleted from the third chaotic sequence; The fourth module is used to encrypt each gray value in the plaintext sequence in sequence according to the gray value and the polynomial corresponding to the run length to obtain the encryption result of the plaintext sequence, including: When the gray value is greater than the next gray value of the gray value, the gray value is used as the object to be encrypted, and any data point in the polynomial corresponding to the gray value is used as the encryption result of the object to be encrypted; When the gray value is less than the next gray value of the gray value, the gray value and the next gray value of the gray value are combined into a gray value pair, the gray value pair is used as the object to be encrypted, and the intersection of the polynomial corresponding to the first gray value and the polynomial corresponding to the second gray value in the gray value pair is used as the encryption result of the object to be encrypted; When the grayscale value is equal to the next grayscale value of the grayscale value, multiple grayscale values ​​that are equal to and continuous with the grayscale value are combined into a grayscale value sequence, and the grayscale value sequence is used as the object to be encrypted. The intersection of the polynomial corresponding to the run length equal to the length of the grayscale value sequence and the polynomial corresponding to the grayscale value is used as the encryption result of the object to be encrypted.

2. According to claim 1, the subway vehicle PIS information security transmission system based on blockchain technology is characterized in that: The step of determining the number L of monomials of the polynomial corresponding to the object according to the size relationship of the adjacent second chaotic values ​​in the second chaotic sequence comprises: In response to the magnitude relationship of the first three second chaotic values ​​in the second chaotic sequence being: D21>D22>D23, the number of monomials constituting the polynomial corresponding to the object is L=4; D21, D22, and D23 represent the first second chaotic value, the second second chaotic value, and the third second chaotic value in the second chaotic sequence, respectively; In response to the relationship between the first three second chaotic values ​​in the second chaotic sequence being: D21>D22 and D22≤D23, the number of monomials constituting the polynomial corresponding to the object is L=3; In response to the relationship between the first two second chaotic values ​​in the second chaotic sequence being: D21≤D22, the number of monomials constituting the polynomial corresponding to the object is L=2.

3. According to claim 2, the subway vehicle PIS information security transmission system based on blockchain technology is characterized in that: The polynomial corresponding to the object is specifically: Among them, y represents the dependent variable of the polynomial corresponding to the object, and x represents the independent variable of the polynomial corresponding to the object. Represents the rth monomial of the polynomial corresponding to the object, a r represents the coefficient of the rth monomial, and a r =D3 r , D3 r represents the rth third chaotic value in the third chaotic sequence, γ r represents the degree of the rth monomial, and γ r =D2r,D2 r represents the rth second chaotic value in the second chaotic sequence, a L represents the coefficient of the Lth monomial, and a L =D3 L , D3 L Represents the Lth third chaotic value in the third chaotic sequence.

4. According to claim 1, the subway vehicle PIS information security transmission system based on blockchain technology is characterized in that: Obtaining the encryption result of the object to be encrypted also includes: The intersection of the polynomials corresponding to any two gray values ​​and the intersection of the polynomial corresponding to each gray value and the polynomial corresponding to each run length are taken as target data points; In response to the existence of an intersection between the polynomial corresponding to the first grayscale value in the grayscale value pair and the polynomial corresponding to the second grayscale value, and the existence of at least two target data points identical to the intersection among all target data points, the target data points identical to the intersection including the intersection itself, or the absence of an intersection between the polynomial corresponding to the first grayscale value in the grayscale value pair and the polynomial corresponding to the second grayscale value, any data point in the polynomial corresponding to the first grayscale value in the grayscale value pair is used as the encryption result of the first grayscale value, any data point in the polynomial corresponding to the second grayscale value in the grayscale value pair is used as the encryption result of the second grayscale value, and the encryption result of the first grayscale value and the encryption result of the second grayscale value are combined to form the encryption result of the object to be encrypted.

5. According to claim 1, the subway vehicle PIS information security transmission system based on blockchain technology is characterized in that: Obtaining the encryption result of the object to be encrypted also includes: The intersection of the polynomials corresponding to any two gray values ​​and the intersection of the polynomial corresponding to each gray value and the polynomial corresponding to each run length are taken as target data points; In response to the existence of an intersection between a polynomial corresponding to a run length equal to the length of the gray value sequence and a polynomial corresponding to the gray value, and at least two target data points identical to the intersection exist among all target data points, the target data points identical to the intersection include the intersection itself, or there is no intersection between a polynomial corresponding to a run length equal to the length of the gray value sequence and a polynomial corresponding to the gray value, the gray value sequence is split into multiple gray value subsequences, requiring that the sum of the lengths of all gray value subsequences is equal to the length of the gray value sequence, and that a polynomial corresponding to a run length equal to the length of each gray value subsequence and a polynomial corresponding to the gray value both have an intersection, and that among all target data points, there is no target data point identical to the intersection except the intersection itself, the intersection of a polynomial corresponding to a run length equal to the length of each gray value subsequence and a polynomial corresponding to the gray value is used as an encryption result of each gray value subsequence, and the encryption results of all gray value subsequences constitute the encryption result of the object to be encrypted.

6. The subway vehicle PIS information security transmission system based on blockchain technology according to claim 1 is characterized in that: The method for obtaining the three keys is: Three different initial values ​​are randomly generated within the value range [0,1] of the initial value of the one-dimensional Logistic chaotic mapping function, and three different parameters are randomly generated within the value range (3.57,4] of the parameter. The first initial value and the first parameter form a first key, the second initial value and the second parameter form a second key, and the third initial value and the third parameter form a third key.

7. The subway vehicle PIS information security transmission system based on blockchain technology according to claim 1 is characterized in that: The method for obtaining the first chaotic sequence comprises: The first key is used as the initial value and parameter of the one-dimensional Logistic chaotic mapping function, and the one-dimensional Logistic chaotic mapping function is iterated M×N+30 times to obtain M×N+30 first values, where M represents the length of the I-frame image and N represents the width of the I-frame image; then the i-th first chaotic value in the first chaotic sequence is The value range of i is [1, M×N], d1 i+30 It means getting the first value of i+30. Indicates rounding down.

8. The subway vehicle PIS information security transmission system based on blockchain technology according to claim 1 is characterized in that: The method for acquiring the second chaotic sequence comprises: The second key is used as the initial value and parameter of the one-dimensional Logistic chaotic mapping function, and the one-dimensional Logistic chaotic mapping function is iterated 3×[256+(F-1)]+30 times to obtain 3×[256+(F-1)]+30 second values, where F represents the preset value; then the kth second chaotic value D2 in the second chaotic sequence is k =round(3×d2 k+30 , 1), the value range of k is [1, 3×[256+(F-1)]], d2 k+30 Indicates obtaining k+30 second values, round() indicates a polynomial with valid digits after the decimal point, round(3×d2 k+30 , 1) represents the value 3×d2 k+30 Keep 1 significant digit after the decimal point.

9. The subway vehicle PIS information security transmission system based on blockchain technology according to claim 1 is characterized in that: The method for obtaining the third chaotic sequence comprises: The third key is used as the initial value and parameter of the one-dimensional Logistic chaotic mapping function, and the one-dimensional Logistic chaotic mapping function is iterated 4×[256+(F-1)]+30 times to obtain 4×[256+(F-1)]+30 third values; then the tth third chaotic value D3 in the third chaotic sequence is t =round(20×d3 t+30 -10, 1), the value range of t is [1, 4×[256+(F-1)]], d3 t+30 Indicates obtaining t+30 third values, round() indicates a polynomial with valid digits after the decimal point, round(20×d3 t+30 -10, 1) represents the value 20×d3 t+30 -10 retains 1 significant digit after the decimal point.