Traffic accident information processing method

By converting sensitive information in traffic accident files into grayscale images, and combining six-dimensional ultra-chaotic system and DNA encoding technology for encryption, the problem of difficulty in encrypting sensitive information in traffic accident files in different formats in the prior art is solved, and an efficient and complex encryption effect is achieved.

CN119945656APending Publication Date: 2025-05-06ZHONGAN ZHISHANG (BEIJING) DIGITAL TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510050514.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-13
Publication Date
2025-05-06

AI Technical Summary

Technical Problem

It is difficult for the prior art to effectively encrypt sensitive information in traffic accident files, especially files in different formats such as documents or pictures.

Method used

By identifying sensitive information in traffic accident files, converting its area into a grayscale image, and using the six-dimensional hyperchaos system iteratively generates a chaotic sequence, and performing row and column transformation of the image. Then, the image is DNA encoded, high and low bit separation and DNA logic operations are performed, and DNA decoding is performed to generate a ciphertext image.

Benefits of technology

It realizes efficient encryption of sensitive information in traffic accident files in different formats. Compared with traditional encryption algorithms, it is more complex, can better hide image features and achieve good encryption effects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119945656A_ABST
    Figure CN119945656A_ABST
Patent Text Reader

Abstract

The invention discloses a traffic accident information processing method, and relates to the technical field of information encryption. Comprising the steps of identifying sensitive information in a traffic accident file; converting an area where the sensitive information is located into a first grayscale image area; a six-dimensional chaotic sequence generated through iteration is used for converting pixel points in the first gray level image area, and a second gray level image area is obtained; carrying out DNA coding on pixel points in the second grayscale image region to obtain a first DNA coding matrix; performing high-low position separation on the first DNA coding matrix to obtain a plurality of first DNA sub-coding matrixes; encoding the six-dimensional chaotic sequence DNA, and performing DNA logic operation on the six-dimensional chaotic sequence DNA and the first DNA sub-encoding matrix to obtain a plurality of second DNA sub-encoding matrixes; performing high-low position splicing on the second DNA sub-coding matrix to obtain a second DNA coding matrix; and decoding the second DNA coding matrix to obtain a ciphertext image. According to the method disclosed by the invention, sensitive information in traffic accident files in different formats can be encrypted.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of information encryption, and in particular relates to a method for processing traffic accident information. Background Art

[0002] When traffic management departments handle traffic accidents or insurance companies make traffic accident claims, they often need to upload traffic accident files to the system for evidence storage. However, in actual situations, there will be some sensitive information in the traffic accident files, such as the inventor's identity information, contact information, license plate number, etc. If the evidence is directly stored without any processing, there will be a risk of user information leakage. Therefore, it is necessary to encrypt the sensitive information.

[0003] In the prior art, the traditional way to encrypt sensitive information is to use symmetric or asymmetric encryption algorithms. However, symmetric or asymmetric encryption algorithms are mostly used to encrypt data in documents, and the application scenarios are relatively single. Traffic accident files may be in different formats such as documents or pictures. Using symmetric or asymmetric encryption algorithms may often not be able to encrypt some sensitive information in traffic accident files.

[0004] Therefore, how to provide an effective solution to facilitate the encryption of sensitive information in traffic accident files has become a difficult problem to be solved in the prior art. Summary of the invention

[0005] The purpose of the present invention is to provide a traffic accident information processing method to solve the above problems existing in the prior art.

[0006] In order to achieve the above object, the present invention adopts the following technical solutions:

[0007] In a first aspect, the present invention provides a method for processing traffic accident information, comprising:

[0008] Identify sensitive information in traffic accident documents;

[0009] Converting the area where the sensitive information in the traffic accident file is located into a first grayscale image area;

[0010] Iteratively generating a six-dimensional chaotic sequence through a six-dimensional hyperchaotic system, wherein the number of iterations is the same as the number of pixels in the first grayscale image region;

[0011] Performing row transformation and column transformation on the pixel points in the first grayscale image region based on the six-dimensional chaotic sequence to obtain a second grayscale image region;

[0012] Performing DNA encoding on each pixel in the second grayscale image area to obtain a first DNA encoding matrix;

[0013] Separating the first DNA encoding matrix into high and low bits to obtain a plurality of first DNA sub-encoding matrices;

[0014] After DNA encoding the six-dimensional chaotic sequence, DNA logic operations are performed on the multiple first DNA sub-coding matrices to obtain multiple second DNA sub-coding matrices corresponding to the multiple first DNA sub-coding matrices one by one;

[0015] The plurality of second DNA sub-coding matrices are spliced ​​at high and low positions to obtain a second DNA coding matrix;

[0016] The second DNA encoding matrix is ​​DNA decoded to obtain a ciphertext image corresponding to the first grayscale image area.

[0017] Based on the above disclosed content, the present invention identifies sensitive information in a traffic accident file; converts the area where the sensitive information is located in the traffic accident file into a first grayscale image area; iteratively generates a six-dimensional chaotic sequence through a six-dimensional hyperchaotic system; based on the six-dimensional chaotic sequence, performs row and column transformations on the pixels in the first grayscale image area to obtain a second grayscale image area; DNA encodes each pixel in the second grayscale image area to obtain a first DNA encoding matrix; separates the high and low bits of the first DNA encoding matrix to obtain multiple first DNA sub-coding matrices; after DNA encoding the six-dimensional chaotic sequence, DNA logic operations are performed on the multiple first DNA sub-coding matrices to obtain multiple second DNA sub-coding matrices corresponding to the multiple first DNA sub-coding matrices; high and low bit splicing of the multiple second DNA sub-coding matrices to obtain a second DNA encoding matrix; DNA decoding of the second DNA encoding matrix to obtain a ciphertext image corresponding to the first grayscale image area. In this way, by converting the area where sensitive information is located into a grayscale image and combining it with a chaotic sequence for encryption, it can be used to encrypt sensitive information in traffic accident files of different formats such as documents and pictures. At the same time, the pixel scrambling operation is performed through a chaotic sequence, and the image encryption operation is completed in combination with DNA coding technology. Compared with traditional encryption algorithms, it has higher complexity and can better hide the features in the converted image, achieving a good encryption effect.

[0018] In a possible design, the number of the first DNA sub-coding matrices is four, and the pixel points in the first grayscale image region are subjected to row transformation and column transformation based on the six-dimensional chaotic sequence to obtain the second grayscale image region, including:

[0019] Based on two-dimensional sequences of the six-dimensional chaotic sequence, pixel points in the first grayscale image region are subjected to row transformation and column transformation to obtain a second grayscale image region;

[0020] After the six-dimensional chaotic sequence is DNA-encoded, a DNA logic operation is performed on the multiple first DNA sub-encoding matrices to obtain multiple second DNA sub-encoding matrices corresponding to the multiple first DNA sub-encoding matrices, including:

[0021] After DNA encoding is performed on the remaining four-dimensional sequences of the six-dimensional chaotic sequence except the two-dimensional sequences, DNA logic operations are performed one-to-one with the four first DNA sub-coding matrices to obtain four second DNA sub-coding matrices corresponding one-to-one to the four first DNA sub-coding matrices.

[0022] In a possible design, the high-low-order splicing of the plurality of second DNA sub-coding matrices to obtain a second DNA coding matrix includes:

[0023] The DNA sub-codes corresponding to the same DNA code in the plurality of second DNA sub-code matrices are spliced ​​at high and low positions to obtain a second DNA code matrix.

[0024] In a possible design, the expression of the six-dimensional hyperchaotic system is: where x i ,y i 、z i 、u i 、v i and w i represents the chaotic sequence parameters at the i-th iteration, x i+1 ,y i+1 、z i+1 、u i+1 、v i+1 and w i+1 denote the chaotic sequence parameters at the i+1th iteration respectively, and a, b, c, d, k, h and l denote system parameters.

[0025] In a possible design, performing DNA encoding on each pixel in the second grayscale image region to obtain a first DNA encoding matrix includes:

[0026] Binary-code the grayscale value of each pixel in the second grayscale image area to obtain a binary code of each pixel in the second grayscale image area;

[0027] The binary code of each pixel in the second grayscale image area is DNA-encoded to obtain a first DNA encoding matrix.

[0028] In one possible design, the DNA logic operation is an addition operation, a subtraction operation or an XOR operation.

[0029] In one possible design, the sensitive information is a sensitive word or a sensitive image.

[0030] In a second aspect, the present invention provides a traffic accident information processing device, comprising:

[0031] an identification unit for identifying sensitive information in traffic accident files;

[0032] A conversion unit, used for converting the area where the sensitive information in the traffic accident file is located into a first grayscale image area;

[0033] A generating unit, used for iteratively generating a six-dimensional chaotic sequence through a six-dimensional hyperchaotic system, wherein the number of iterations is the same as the number of pixels in the first grayscale image region;

[0034] A transformation unit, configured to perform row transformation and column transformation on the pixels in the first grayscale image region based on the six-dimensional chaotic sequence to obtain a second grayscale image region;

[0035] An encoding unit, used for performing DNA encoding on each pixel point in the second grayscale image area to obtain a first DNA encoding matrix;

[0036] A high-low bit separation unit, used for performing high-low bit separation on the first DNA encoding matrix to obtain a plurality of first DNA sub-encoding matrices;

[0037] A logic operation unit, used for performing DNA logic operation on the six-dimensional chaotic sequence and the plurality of first DNA sub-coding matrices after DNA encoding, so as to obtain a plurality of second DNA sub-coding matrices corresponding to the plurality of first DNA sub-coding matrices one by one;

[0038] A splicing unit, used for splicing the plurality of second DNA sub-coding matrices at high and low positions to obtain a second DNA coding matrix;

[0039] A decoding unit is used to perform DNA decoding on the second DNA encoding matrix to obtain a ciphertext image corresponding to the first grayscale image area.

[0040] In a third aspect, the present invention provides an electronic device comprising a memory, a processor and a transceiver which are communicatively connected in sequence, wherein the memory is used to store a computer program, the transceiver is used to send and receive messages, and the processor is used to read the computer program and execute the traffic accident information processing method as described in the first aspect or any possible design of the first aspect.

[0041] In a fourth aspect, the present invention provides a computer-readable storage medium having instructions stored thereon, and when the instructions are run on a computer, the traffic accident information processing method described in the first aspect or any possible design of the first aspect is executed.

[0042] In a fifth aspect, the present invention provides a computer program product comprising instructions, which, when executed on a computer, causes the computer to execute the traffic accident information processing method as described in the first aspect or any possible design of the first aspect.

[0043] Beneficial effects:

[0044] The scheme disclosed in the present invention can be used to encrypt sensitive information in traffic accident files of different formats such as documents and pictures by converting the area where sensitive information is located into a grayscale image and encrypting it in combination with a chaotic sequence. At the same time, the pixel scrambling operation is performed through a chaotic sequence and the encryption operation of the image is completed in combination with DNA coding technology. Compared with traditional encryption algorithms, the scheme has higher complexity and can better hide the features in the converted image, thereby achieving a good encryption effect and facilitating practical application and promotion. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Figure 1 A flow chart of a method for processing traffic accident information provided in an embodiment of the present application;

[0046] Figure 2 A schematic block diagram of a traffic accident information processing device provided in an embodiment of the present application;

[0047] Figure 3 A schematic block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0048] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the present invention will be briefly introduced below in combination with the drawings and the description of the embodiments or the prior art. Obviously, the following description of the structure of the drawings is only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. It should be noted that the description of these embodiments is used to help understand the present invention, but does not constitute a limitation of the present invention.

[0049] It should be understood that although the terms first, second, etc. may be used herein to describe various units, these units should not be limited by these terms. These terms are only used to distinguish one unit from another unit. For example, a first unit can be referred to as a second unit, and similarly, a second unit can be referred to as a first unit without departing from the scope of the exemplary embodiments of the present invention.

[0050] It should be understood that the term "and / or" that may appear in this article is merely a description of the association relationship between associated objects, indicating that three relationships may exist. For example, A and / or B can represent three situations: A exists alone, B exists alone, and A and B exist at the same time. The term " / and" that may appear in this article describes another type of association object relationship, indicating that two relationships may exist. For example, A / and B can represent two situations: A exists alone, and A and B exist alone. In addition, the character " / " that may appear in this article generally indicates that the previous and next associated objects are in an "or" relationship.

[0051] In order to facilitate the encryption of sensitive information in traffic accident files, the embodiments of the present application provide a traffic accident information processing method, device, electronic device and product. The traffic accident information processing method, device, electronic device and product can be used to encrypt sensitive information in traffic accident files of different formats such as documents and pictures, thereby achieving a good encryption effect.

[0052] The traffic accident information processing method provided in the embodiment of the present application can be applied to a user terminal or a server. It can be understood that the execution subject does not constitute a limitation on the embodiment of the present application.

[0053] The traffic accident information processing method provided in the embodiment of the present application will be described in detail below.

[0054] like Figure 1 As shown, it is a flowchart of the traffic accident information processing method provided in the first aspect of the embodiment of the present application. The traffic accident information processing method may include but is not limited to the following steps S101-S109.

[0055] Step S101: Identify sensitive information in traffic accident files.

[0056] Among them, the traffic accident file can be in document or picture format, and the sensitive information can be sensitive words or sensitive images. When the traffic accident file is in document format, the sensitive words in the traffic accident file can be directly identified through semantic recognition or keyword matching. When the traffic accident file is in picture format, the key information in the traffic accident file can be identified through image recognition technology. For example, sensitive words in the traffic accident file can be identified through optical character recognition (OCR) plus text analysis, license plates (i.e. sensitive images) can be identified through license plate recognition technology, and facial images can be identified through face recognition technology.

[0057] Step S102: Convert the area where the sensitive information in the traffic accident file is located into a first grayscale image area.

[0058] It can be understood that the entire traffic accident file can also be converted into a grayscale image during conversion.

[0059] Step S103: Generate a six-dimensional chaotic sequence through the iteration of the six-dimensional hyperchaotic system.

[0060] The expression of the six-dimensional hyperchaotic system can be expressed as where x i ,y i 、z i 、u i 、v i and w i represents the chaotic sequence parameters at the i-th iteration, x i+1 ,y i+1 、z i+1 、u i+1 、v i+1 and w i+1 denote the chaotic sequence parameters at the i+1th iteration respectively, and a, b, c, d, k, h and l denote system parameters.

[0061] In the embodiment of the present application, the initial values ​​of the chaotic sequence parameters can be set according to the actual situation. When generating the six-dimensional chaotic sequence, the initial values ​​of the chaotic sequence parameters and the system parameters can be substituted into the expression of the six-dimensional hyperchaotic system, and then multiple iterative calculations are performed to obtain the six-dimensional chaotic sequence. The six-dimensional chaotic sequence can be respectively expressed as {x1, x2, ..., x N}, {y1, y2, ..., y N}, {z1, z2, ..., z N}, {u1, u2, ..., u N}, {v1, v2, ..., v N} and {w1, w2, ..., w N}, where N represents the maximum number of iterations.

[0062] In the embodiment of the present application, the number of iterations is the same as the number of pixels in the first grayscale image area. For example, if there are 30 pixels in the first grayscale image area, the number of iterations is 30.

[0063] Step S104: Perform row transformation and column transformation on the pixels in the first grayscale image region based on the six-dimensional chaotic sequence to obtain a second grayscale image region.

[0064] In the embodiment of the present application, the pixel points in the first grayscale image area can be transformed in rows and columns based on a two-dimensional sequence of a six-dimensional chaotic sequence to obtain a second grayscale image area.

[0065] When performing row transformation and column transformation on the pixel points in the first grayscale image area, the row transformation can be performed first and then the column transformation. N When performing row transformation on the pixels in the first grayscale image area, the first row of pixels in the first grayscale image area can be circularly shifted left or right by x1 bits based on the first parameter x1 in the chaotic sequence, and the second row of pixels in the first grayscale image area can be circularly shifted left or right by x2 bits based on the second parameter x2 in the chaotic sequence, and so on. Similarly, when performing column transformation on the pixels in the first grayscale image area, the pixels in each column in the first grayscale image area can also be circularly shifted up or down in this way.

[0066] Step S105: Perform DNA encoding on each pixel in the second grayscale image area to obtain a first DNA encoding matrix.

[0067] Specifically, the grayscale value of each pixel in the second grayscale image area can be binary encoded to obtain the binary code of each pixel in the second grayscale image area. The binary code is generally 8 bits, and then the binary code of each pixel in the second grayscale image area is DNA encoded to obtain a first DNA coding matrix.

[0068] For example, in binary encoding, A is mapped to 00, T is mapped to 01, C is mapped to 10, and G is mapped to 11. Assuming a binary code is 00011011, the binary code can be encoded as the DNA code ATCG.

[0069] Step S106: Separate the high and low bits of the first DNA encoding matrix to obtain a plurality of first DNA sub-encoding matrices.

[0070] When the first DNA coding matrix is ​​separated into high and low bits, the first DNA coding matrix can be separated into two or four first DNA sub-coding matrices. In the embodiment of the present application, there are four first DNA sub-coding matrices.

[0071] When the first DNA coding matrix is ​​separated into high and low bits, each DNA code in the first DNA coding matrix can be split into multiple bits, and then multiple first DNA sub-coding matrices are formed. For example, the first DNA coding matrix is When performing high and low position separation, the first DNA encoding matrix can be split into and There are four first DNA sub-coding matrices in total.

[0072] Step S107. After DNA encoding the six-dimensional chaotic sequence, DNA logic operations are performed with multiple first DNA sub-coding matrices to obtain multiple second DNA sub-coding matrices that correspond one-to-one to the multiple first DNA sub-coding matrices.

[0073] In an embodiment of the present application, the remaining four-dimensional sequences except two-dimensional sequences in the six-dimensional chaotic sequence can be DNA encoded, and then DNA logic operations can be performed one-to-one with the four first DNA sub-coding matrices to obtain four second DNA sub-coding matrices corresponding one-to-one to the four first DNA sub-coding matrices.

[0074] Specifically, each parameter in the remaining four-dimensional sequence can be converted into binary and then DNA encoded, and then the DNA encoding of the sequence in each dimension is also converted into a DNA encoding matrix with the same size as the first DNA sub-coding matrix. Then, the four DNA encoding matrices corresponding to the remaining four-dimensional sequences are matched with the four first DNA sub-coding matrices one by one for DNA logic operations to obtain four second DNA sub-coding matrices corresponding one by one to the four first DNA sub-coding matrices.

[0075] The DNA logic operation may be an addition operation, a subtraction operation or an XOR operation.

[0076] In the embodiment of the present application, logical operation rules between DNA codes can be pre-defined. For example, the result of adding DNA code A and DNA code A is DNA code A, the result of adding DNA code A and DNA code C is DNA code C, the result of subtracting DNA code A and DNA code G is DNA code T, etc.

[0077] Step S108: perform high- and low-order splicing on the plurality of second DNA sub-coding matrices to obtain a second DNA coding matrix.

[0078] In the embodiment of the present application, the DNA sub-codes corresponding to the same DNA code in multiple second DNA sub-code matrices can be spliced ​​at high and low positions to obtain a second DNA code matrix.

[0079] Step S109: Perform DNA decoding on the second DNA encoding matrix to obtain a ciphertext image corresponding to the first grayscale image area.

[0080] Specifically, the DNA decoding in the second DNA coding matrix can be converted into binary coding, and the value of the binary coding is used as the grayscale value of the corresponding pixel point, so as to obtain a ciphertext image corresponding to the first grayscale image area.

[0081] The traffic accident information processing method provided by the present invention identifies sensitive information in a traffic accident file; converts the area where the sensitive information in the traffic accident file is located into a first grayscale image area; iteratively generates a six-dimensional chaotic sequence through a six-dimensional hyperchaotic system; performs row and column transformations on pixel points in the first grayscale image area based on the six-dimensional chaotic sequence to obtain a second grayscale image area; performs DNA encoding on each pixel point in the second grayscale image area to obtain a first DNA encoding matrix; performs high- and low-bit separation on the first DNA encoding matrix to obtain multiple first DNA sub-coding matrices; after performing DNA encoding on the six-dimensional chaotic sequence, DNA logic operations are performed on the multiple first DNA sub-coding matrices to obtain multiple second DNA sub-coding matrices corresponding to the multiple first DNA sub-coding matrices one by one; performs high- and low-bit splicing on the multiple second DNA sub-coding matrices to obtain a second DNA encoding matrix; and performs DNA decoding on the second DNA encoding matrix to obtain a ciphertext image corresponding to the first grayscale image area. In this way, by converting the area where sensitive information is located into a grayscale image and combining it with a chaotic sequence for encryption, it can be used to encrypt sensitive information in traffic accident files of different formats such as documents and pictures. At the same time, the pixel scrambling operation is performed through a chaotic sequence, and the image encryption operation is completed in combination with DNA coding technology. Compared with traditional encryption algorithms, it has higher complexity and can better hide the features in the converted image, achieving a good encryption effect, which is convenient for practical application and promotion.

[0082] See also Figure 2 According to a second aspect of an embodiment of the present application, there is provided a traffic accident information processing device, the traffic accident information processing device comprising:

[0083] an identification unit for identifying sensitive information in traffic accident files;

[0084] A conversion unit, used for converting the area where the sensitive information in the traffic accident file is located into a first grayscale image area;

[0085] A generating unit, used for iteratively generating a six-dimensional chaotic sequence through a six-dimensional hyperchaotic system, wherein the number of iterations is the same as the number of pixels in the first grayscale image region;

[0086] A transformation unit, configured to perform row transformation and column transformation on the pixels in the first grayscale image region based on the six-dimensional chaotic sequence to obtain a second grayscale image region;

[0087] An encoding unit, used for performing DNA encoding on each pixel point in the second grayscale image area to obtain a first DNA encoding matrix;

[0088] A high-low bit separation unit, used for performing high-low bit separation on the first DNA encoding matrix to obtain a plurality of first DNA sub-encoding matrices;

[0089] A logic operation unit, used for performing DNA logic operation on the six-dimensional chaotic sequence and the plurality of first DNA sub-coding matrices after DNA encoding, so as to obtain a plurality of second DNA sub-coding matrices corresponding to the plurality of first DNA sub-coding matrices one by one;

[0090] A splicing unit, used for splicing the plurality of second DNA sub-coding matrices at high and low positions to obtain a second DNA coding matrix;

[0091] A decoding unit is used to perform DNA decoding on the second DNA encoding matrix to obtain a ciphertext image corresponding to the first grayscale image area.

[0092] The working process, working details and technical effects of the traffic accident information processing device provided in the second aspect of this embodiment can be found in the first aspect of the embodiment and will not be described in detail here.

[0093] like Figure 3 As shown, the third aspect of an embodiment of the present application provides an electronic device, comprising a memory, a processor and a transceiver that are communicatively connected in sequence, wherein the memory is used to store computer programs, the transceiver is used to send and receive messages, and the processor is used to read the computer program and execute the traffic accident information processing method as described in the first aspect of the embodiment.

[0094] For specific examples, the memory may include but is not limited to random access memory (RAM), read-only memory (ROM), flash memory, first-in-first-out memory (FIFO) and / or first-in-last-out memory (FILO), etc.; the processor may be but is not limited to a microprocessor of the STM32F105 series, an ARM (Advanced RISC-Machines), an X86 or other architecture processor, or a processor with an integrated NPU (neural-network processing units); the transceiver may be but is not limited to a WiFi (Wireless Fidelity) wireless transceiver, a Bluetooth wireless transceiver, a General Packet Radio Service (GPRS) wireless transceiver, a ZigBee protocol (a low-power local area network protocol based on the IEEE802.15.4 standard, ZigBee) wireless transceiver, a 3G transceiver, a 4G transceiver and / or a 5G transceiver, etc.

[0095] The fourth aspect of this embodiment provides a computer-readable storage medium storing instructions including the traffic accident information processing method described in the first aspect of the embodiment, that is, the computer-readable storage medium stores instructions, and when the instructions are run on a computer, the traffic accident information processing method described in the first aspect is executed. The computer-readable storage medium refers to a carrier for storing data, which may include but is not limited to a floppy disk, an optical disk, a hard disk, a flash memory, a USB flash drive, and / or a memory stick, etc., and the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.

[0096] The fifth aspect of this embodiment provides a computer program product containing instructions, which, when executed on a computer, enables the computer to execute the traffic accident information processing method as described in the first aspect of the embodiment, wherein the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device.

[0097] It should be understood that certain details are provided in the following description to facilitate a complete understanding of the example embodiments. However, it should be understood by those of ordinary skill in the art that the example embodiments can be implemented without these certain details. For example, the system can be shown in a block diagram to avoid obscuring the example with unnecessary details. In other examples, well-known processes, structures, and techniques may not be shown in unnecessary detail to avoid obscuring the example embodiments.

[0098] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for processing traffic accident information, characterized in that: include: Identify sensitive information in traffic accident documents; Converting the area where the sensitive information in the traffic accident file is located into a first grayscale image area; Iteratively generating a six-dimensional chaotic sequence through a six-dimensional hyperchaotic system, wherein the number of iterations is the same as the number of pixels in the first grayscale image region; Performing row transformation and column transformation on the pixel points in the first grayscale image region based on the six-dimensional chaotic sequence to obtain a second grayscale image region; Performing DNA encoding on each pixel in the second grayscale image area to obtain a first DNA encoding matrix; Separating the first DNA encoding matrix into high and low bits to obtain a plurality of first DNA sub-encoding matrices; After DNA encoding the six-dimensional chaotic sequence, DNA logic operations are performed on the multiple first DNA sub-coding matrices to obtain multiple second DNA sub-coding matrices corresponding to the multiple first DNA sub-coding matrices one by one; The plurality of second DNA sub-coding matrices are spliced ​​at high and low positions to obtain a second DNA coding matrix; The second DNA encoding matrix is ​​DNA decoded to obtain a ciphertext image corresponding to the first grayscale image area.

2. The traffic accident information processing method according to claim 1, characterized in that: The number of the first DNA sub-coding matrices is four, and the pixel points in the first grayscale image area are subjected to row transformation and column transformation based on the six-dimensional chaotic sequence to obtain the second grayscale image area, including: Based on two-dimensional sequences of the six-dimensional chaotic sequence, pixel points in the first grayscale image region are subjected to row transformation and column transformation to obtain a second grayscale image region; After the six-dimensional chaotic sequence is DNA-encoded, a DNA logic operation is performed on the multiple first DNA sub-encoding matrices to obtain multiple second DNA sub-encoding matrices corresponding to the multiple first DNA sub-encoding matrices, including: After DNA encoding is performed on the remaining four-dimensional sequences of the six-dimensional chaotic sequence except the two-dimensional sequences, DNA logic operations are performed one-to-one with the four first DNA sub-coding matrices to obtain four second DNA sub-coding matrices corresponding one-to-one to the four first DNA sub-coding matrices.

3. The traffic accident information processing method according to claim 2, characterized in that: The step of performing high-low-order splicing of the plurality of second DNA sub-coding matrices to obtain a second DNA coding matrix comprises: The DNA sub-codes corresponding to the same DNA code in the plurality of second DNA sub-code matrices are spliced ​​at high and low positions to obtain a second DNA code matrix.

4. The traffic accident information processing method according to claim 1, characterized in that: The expression of the six-dimensional hyperchaotic system is: where x i ,y i 、z i 、u i 、v i and w i represents the chaotic sequence parameters at the i-th iteration, x i+1 ,y i+1 、z i+1 、u i+1 、v i+1 and w i+1 denote the chaotic sequence parameters at the i+1th iteration respectively, and a, b, c, d, k, h and l denote system parameters.

5. The traffic accident information processing method according to claim 1, characterized in that: The step of performing DNA encoding on each pixel point in the second grayscale image region to obtain a first DNA encoding matrix includes: Binary-code the grayscale value of each pixel in the second grayscale image area to obtain a binary code of each pixel in the second grayscale image area; The binary code of each pixel in the second grayscale image area is DNA-encoded to obtain a first DNA encoding matrix.

6. The traffic accident information processing method according to claim 1, characterized in that: The DNA logic operation is an addition operation, a subtraction operation or an XOR operation.

7. The traffic accident information processing method according to claim 1, characterized in that: The sensitive information is sensitive words or sensitive images.

8. A traffic accident information processing device, characterized in that: include: an identification unit for identifying sensitive information in traffic accident files; A conversion unit, used for converting the area where the sensitive information in the traffic accident file is located into a first grayscale image area; A generating unit, used for iteratively generating a six-dimensional chaotic sequence through a six-dimensional hyperchaotic system, wherein the number of iterations is the same as the number of pixels in the first grayscale image region; A transformation unit, configured to perform row transformation and column transformation on the pixels in the first grayscale image region based on the six-dimensional chaotic sequence to obtain a second grayscale image region; An encoding unit, used for performing DNA encoding on each pixel point in the second grayscale image area to obtain a first DNA encoding matrix; A high-low bit separation unit, used for performing high-low bit separation on the first DNA encoding matrix to obtain a plurality of first DNA sub-encoding matrices; A logic operation unit, used for performing DNA logic operation on the six-dimensional chaotic sequence and the plurality of first DNA sub-coding matrices after DNA encoding, so as to obtain a plurality of second DNA sub-coding matrices corresponding to the plurality of first DNA sub-coding matrices one by one; A splicing unit, used for splicing the plurality of second DNA sub-coding matrices at high and low positions to obtain a second DNA coding matrix; A decoding unit is used to perform DNA decoding on the second DNA encoding matrix to obtain a ciphertext image corresponding to the first grayscale image area.

9. An electronic device, characterized in that: It comprises a memory, a processor and a transceiver which are communicatively connected in sequence, wherein the memory is used to store a computer program, the transceiver is used to send and receive messages, and the processor is used to read the computer program to execute the traffic accident information processing method as described in any one of claims 1 to 7.

10. A computer program product comprising a computer program or instructions, characterized in that When the computer program or the instruction is executed by a computer, the traffic accident information processing method according to any one of claims 1 to 7 is implemented.