CN115174036B - Medical insurance data safety transmission system and method based on data processing - Google Patents

Medical insurance data safety transmission system and method based on data processing Download PDF

Info

Publication number
CN115174036B
CN115174036B CN202211083967.1A CN202211083967A CN115174036B CN 115174036 B CN115174036 B CN 115174036B CN 202211083967 A CN202211083967 A CN 202211083967A CN 115174036 B CN115174036 B CN 115174036B
Authority
CN
China
Prior art keywords
data
medical insurance
sequence
mode
sub
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202211083967.1A
Other languages
Chinese (zh)
Other versions
CN115174036A (en
Inventor
王辉
金敏玉
丁迪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huaxin Consulting Co Ltd
Original Assignee
Huaxin Consulting Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huaxin Consulting Co Ltd filed Critical Huaxin Consulting Co Ltd
Priority to CN202211083967.1A priority Critical patent/CN115174036B/en
Publication of CN115174036A publication Critical patent/CN115174036A/en
Application granted granted Critical
Publication of CN115174036B publication Critical patent/CN115174036B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/08Insurance
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/001Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using chaotic signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/06Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
    • H04L9/0618Block ciphers, i.e. encrypting groups of characters of a plain text message using fixed encryption transformation
    • H04L9/0631Substitution permutation network [SPN], i.e. cipher composed of a number of stages or rounds each involving linear and nonlinear transformations, e.g. AES algorithms

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Finance (AREA)
  • Computing Systems (AREA)
  • Accounting & Taxation (AREA)
  • General Health & Medical Sciences (AREA)
  • Marketing (AREA)
  • Computer Hardware Design (AREA)
  • Medical Informatics (AREA)
  • Health & Medical Sciences (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • General Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Measuring And Recording Apparatus For Diagnosis (AREA)
  • Facsimile Transmission Control (AREA)

Abstract

The invention discloses a medical insurance data safety transmission system and method based on data processing, and relates to the field of safety transmission. The method comprises the following steps: s1: obtaining a security key, comprising: s101, acquiring a coding mode sequence as a sub-key 1; s102, acquiring a scrambling mode sequence as a sub-key 2; s103, acquiring a chaotic sequence corresponding to the sub-key 2; s104, taking the chaos mapping coefficient as a sub-key 3; s2: and encrypting the medical insurance data to be transmitted according to the sub-key 1, the sub-key 2 and the sub-key 3: s3: and transmitting and decrypting the encrypted medical insurance data. The encryption method has strong key sensitivity and large key space, can effectively resist common cracking means such as information analysis, violence and the like, has higher safety, and can ensure the safe transmission of medical insurance data.

Description

Medical insurance data safety transmission system and method based on data processing
Technical Field
The invention relates to the field of safe transmission, in particular to a system and a method for safe transmission of medical insurance data based on data processing.
Background
In order to ensure the overall safety and controllability of data of the national medical care bureau, the medical insurance data needs to be ensured to be safely circulated in the whole life cycle of acquisition, transmission, storage, use, sharing, cleaning, destruction and the like, wherein the medical insurance data is easily attacked when being transmitted, so that the medical insurance data is leaked, and sensitive personal information including personal information such as biological characteristics, religion belief, specific identity, medical health, financial account, track and the like is easily damaged once being leaked or illegally used, so that the personality dignity of natural people is easily damaged, and even the personal safety and the property safety are seriously damaged.
The method of replacing or replacing is utilized to encrypt data, particularly chaotic sequences, although the method can play a certain encryption role, the replaced encryption method has weak key sensitivity, is easy to crack and has low safety. The invention provides a medical insurance data safety transmission system and method based on data processing, which are characterized in that medical insurance data is converted into an information sequence, a safety secret key is obtained according to a coding mode sequence, a scrambling mode sequence and a chaotic sequence, the information sequence is coded into a corresponding scanning mode according to the coding mode, a pixel block is assigned according to the scanning mode, the assigned pixel block is scrambled according to the scrambling mode obtained by the chaotic sequence and the scrambling mode sequence, the scanning mode corresponding to the scrambled pixel block is decoded according to the coding mode, an encrypted information sequence is obtained, the encryption of the medical insurance data is realized, and the safety transmission of the medical insurance data is further realized. The encryption method has strong key sensitivity and large key space, can effectively resist common cracking means such as information analysis, violence and the like, has higher safety, and can ensure the safe transmission of medical insurance data.
Disclosure of Invention
Aiming at the technical problem, the invention provides a system and a method for safely transmitting medical insurance data based on data processing.
The invention provides a system and a method for safely transmitting medical insurance data based on data processing. The medical insurance data are converted into the information sequence, the safety key is obtained according to the coding mode sequence, the scrambling mode sequence and the chaotic sequence, the information sequence is coded into the corresponding scanning mode according to the coding mode, the pixel block is assigned according to the scanning mode, the assigned pixel block is scrambled according to the chaotic sequence and the scrambling mode obtained by the scrambling mode sequence, the scanning mode corresponding to the scrambled pixel block is decoded according to the coding mode to obtain the encrypted information sequence, the medical insurance data are encrypted, and further the safety transmission of the medical insurance data is realized. The encryption method has strong key sensitivity and large key space, can effectively resist common cracking means such as information analysis, violence and the like, has higher safety, and can ensure the safe transmission of medical insurance data.
In a first aspect, an embodiment of the present invention provides a method for securely transmitting medical insurance data based on data processing, including:
s1: acquiring all subkeys:
s101, obtaining all five-bit binary data to form a binary data information sequence, converting the binary data into scanning patterns to obtain a plurality of coding mode sequences, randomly selecting one coding mode sequence as a subkey 1, wherein the subkey 1 comprises the scanning patterns corresponding to each five-bit binary data, and the scanning patterns contained in the subkey 1 are not repeated;
s102, scrambling pixel values in a pixel block corresponding to each scanning mode in a sub-key 1 to obtain a plurality of scrambling mode sequences, randomly selecting one scrambling mode sequence as a sub-key 2, wherein the sub-key 2 comprises a scrambling mode for the pixel values in the pixel block corresponding to each scanning mode;
s2: encrypting the medical insurance data to be transmitted:
s201, acquiring medical insurance data to be transmitted, converting the medical insurance data into five-digit binary data, and acquiring a coding mode sequence of the medical insurance data to be transmitted according to the sub-secret key 1;
s202, a scrambling mode at a position corresponding to the coding mode sequence of the medical insurance data to be transmitted in the sub-key 2 is obtained, and pixel values in a pixel block corresponding to the coding mode sequence of the medical insurance data to be transmitted are scrambled;
s203, acquiring scanning mode sequences corresponding to all the scrambled pixel blocks, and decoding each scanning mode in the scanning mode sequences into binary data by using the corresponding relation between the scanning mode and the binary data in the subkey 1 to obtain an encrypted medical insurance data information sequence to be transmitted;
s3: and transmitting the encrypted medical insurance data to be transmitted and decrypting the encrypted medical insurance data to be transmitted according to all the sub-keys and the scanning mode sequence.
Chaotic mapping is carried out on the obtained sub-secret key 2 to obtain a chaotic sequence, chaotic mapping coefficients are used as sub-secret keys 3, and in the process of encrypting the medical insurance data to be transmitted, a scrambling mode at a position corresponding to the coding mode sequence in the chaotic sequence is obtained to scramble pixel values in pixel blocks of the coding mode in the coding mode sequence of the medical insurance data to be transmitted.
The process of obtaining the scrambling mode at the corresponding position in the coding mode sequence in the chaotic sequence to scramble the pixel values in the pixel blocks of the coding modes in the coding mode sequence of the medical insurance data to be transmitted comprises the following steps:
for the ith coding mode in the coding mode sequence of the medical insurance data to be transmitted, the ith numerical value in the chaotic sequence is obtainedl i According to the first in the scrambling scheme sequencel i And scrambling the pixel values in the pixel block of the ith coding mode in the coding mode sequence of the medical insurance data to be transmitted by the individual scrambling mode.
The method for converting the binary data into the scanning pattern comprises the following steps:
scanning is carried out according to a pixel block with the size of 2 multiplied by 2, 4 pixels are connected by 3 directed line segments in an unrepeated mode according to the relationship from small to large, the directed line segments refer to line segments pointing to the pointed pixels from the pointed pixels according to the direction from small to large of pixel values, the formed pattern is a scanning pattern, the scanning patterns in 32 are obtained in total, and each binary data corresponds to a different scanning pattern.
The method for acquiring the scrambling mode sequence comprises the following steps:
pixel values of 4 pixel positions in a 2 × 2 pixel block are exchanged once, the order of change of the positions of the pixel values, i.e., the direction of exchange of the pixel values, is used as a scrambling method, and the scrambling methods of each pixel block are combined to obtain a scrambling method sequence, wherein the scrambling methods of the pixel values in each pixel block may be the same or different.
Chaotic mapping is carried out on the obtained sub-key 2 to obtain a chaotic sequence, and the method for taking the chaotic mapping coefficient as the sub-key 3 comprises the following steps:
chaotic mapping is carried out on the obtained sub-secret key 2 to obtain a chaotic sequence, chaotic domains in the chaotic mapping are multiplied by 24 respectively and rounded to obtain a chaotic domain with a value between [0 and 24], a chaotic mapping coefficient of the chaotic mapping is obtained, and the chaotic mapping coefficient is used as a sub-secret key 3.
In a second aspect, an embodiment of the present invention provides a medical insurance data security transmission system based on data processing, including:
a data conversion unit: the system comprises a data acquisition unit, a data transmission unit, a data storage unit and a data transmission unit, wherein the data acquisition unit is used for acquiring medical insurance data to be transmitted;
a data encryption unit: the system comprises a plurality of sub-keys 1, a plurality of sub-keys and a plurality of scanning modules, wherein the sub-keys are used for converting all binary data information sequences with five-bit length into scanning modes, the coding mode sequences corresponding to the scanning modes are used as the sub-keys 1, the sub-keys 1 comprise the scanning modes corresponding to each piece of five-bit binary data and serial numbers thereof, and the corresponding scanning modes are not repeated;
the system comprises a scrambling module, a sub-secret key 2, a coding mode sequence and a decoding module, wherein the scrambling module is used for scrambling pixel values in a pixel block corresponding to each scanning mode in the obtained coding mode sequence to obtain a corresponding scrambling mode sequence in the coding mode sequence, and the scrambling mode sequence is used as the sub-secret key 2;
the system is used for converting medical insurance data to be transmitted into binary data to obtain an information sequence of the medical insurance data to be transmitted;
the system is used for encrypting the medical insurance data sequence to be transmitted according to the sub-key 1 and the sub-key 2 to obtain encrypted medical insurance data;
a data transmission unit: and the system is used for transmitting the encrypted medical insurance data and decrypting the encrypted medical insurance data by utilizing the sub-key 1, the sub-key 2 and the anti-coding mode sequence.
Compared with the prior art, the embodiment of the invention has the beneficial effects that:
1. the information is coded into the scanning mode, the pixel blocks corresponding to the scanning mode are scrambled, decoding is carried out according to the scanning mode corresponding to the scrambled pixel blocks to obtain the encrypted information, the encrypted information can effectively resist common cracking means such as information analysis and violence, the security is high, and the secure transmission of medical insurance data is further guaranteed.
2. The safety key of the invention is composed of three sub-keys, and the key space of each sub-key is larger, so that the key space of the safety key is larger, the safety transmission of medical insurance data is ensured, the probability of medical insurance data leakage or illegal use is greatly reduced, and the personal and property safety of natural people is protected.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a block diagram of steps provided by a method for secure transmission of medical insurance data based on data processing according to an embodiment of the present invention;
fig. 2 is a first partial schematic view of a scanning mode provided by a data processing-based medical insurance data secure transmission method according to an embodiment of the present invention;
fig. 3 is a second partial schematic view of a scanning mode provided by the secure transmission method of medical insurance data based on data processing according to the embodiment of the present invention;
fig. 4 is an exemplary diagram of a directed scanning mode and an equivalent scanning mode provided by a data processing-based medical insurance data secure transmission method according to an embodiment of the present invention;
FIG. 5 is an exemplary diagram of scrambling modes provided by a secure transmission method of medical insurance data based on data processing according to an embodiment of the present invention;
FIG. 6 is an exemplary diagram of an encryption method provided by a secure transmission method of medical insurance data based on data processing according to an embodiment of the present invention;
fig. 7 is an exemplary diagram of a decryption method provided by a data processing-based medical insurance data secure transmission method according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and do not limit the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
The terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature; in the description of the present embodiment, "a plurality" means two or more unless otherwise specified.
Examples
The embodiment of the invention provides a medical insurance data security transmission method based on data processing, as shown in fig. 1, the specific contents include:
1. obtaining a five-digit binary data information sequence
Since the medical insurance data needs to be encrypted and transmitted, the medical insurance data is converted into binary data for analysis and processing, and the calculation speed of the computer can be reduced.
In the present embodiment, data information is encrypted in combination with scan modes, and if 2 × 2 pixel blocks are set, there are 32 scan modes in total, corresponding to 2 5 Therefore, the binary data is divided into a sequence of five digits, all the binary data of the five digits are obtained, and the information sequence of the binary data of the five digits is obtained.
2. Obtaining a subkey 1
For a 2 × 2 pixel block, the pixel block is scanned from small to large, 4 pixels are connected by 3 directional line segments without repetition, where a directional line segment refers to a line segment pointing from a pointing pixel to a pointed pixel in a direction of pixel values from small to large, the formed pattern is a scanning pattern, and the scanning pattern is as shown in fig. 2 and 3.
The scan patterns are classified into a directional scan pattern and an equivalent scan pattern, as shown in fig. 4. If the pixel values of the 4 pixels constituting the pixel block are not equal, for example, for the pixel block 1 shown in fig. 4, the corresponding scanning mode is a directional scanning mode, and finally 24 directional scanning modes are formed, specifically, the scanning modes 1 to 24 shown in fig. 2 and 3; if the pixel values of only 3 pixels and 4 pixels of the pixel block are equal, the formed pattern is an equivalent scan pattern, for example, for the pixel block 2 and the pixel block 3 shown in fig. 4, the equivalent scan pattern corresponds to 8 equivalent scan patterns, and finally, 8 equivalent scan patterns, specifically, the scan patterns 25 to 32 shown in fig. 2 and 3, are formed.
Since the data in the binary data information sequence is a 5-bit binary number, there are 32 kinds of information in total, and there is a one-to-one correspondence with the acquired 32 kinds of scanning patterns, so that the 32 kinds of information are coded and converted into 32 kinds of scanning patterns, and thus there are 32! The encoding method obtains 32!of binary data information sequence! And encrypting all the encoding modes by using an AES encryption algorithm, and selecting one encoding mode sequence as a sub-key 1.
3. Obtaining subkey 2
For a 2 × 2 pixel block, there are four pixels in total, so there are 24 scrambling schemes, and random ordering of these 24 scrambling schemes results in a scrambling scheme sequence, so there are 24! Seed, using AES encryption algorithm to pair 24! And encrypting the scrambling mode sequences, and selecting one of the scrambling mode sequences as the sub-key 2.
The calculation formula of the scrambling mode type is as follows:
C 1 4 ×C 1 3 ×C 1 2 ×C 1 1 =24
as shown in fig. 5, the pixel values of 4 pixels in a 2 × 2 pixel block are exchanged to achieve the purpose of scrambling.
4. Obtaining a subkey 3
The one-dimensional Logistic mapping is a typical chaotic mapping, and the model is x n+1 =μx n (1-x n ) When the coefficient is 3.57<When mu is less than or equal to 4, the system enters a chaotic state to generate [0,1%]Chaotic field in between, setAnd taking the fixed chaotic mapping coefficient as a sub key 3: (x) 0 μ); wherein mu is a chaotic mapping coefficient in the chaotic mapping process, and x 0 Are initial values because the result of chaotic mapping depends on
5. Obtaining the chaos sequence corresponding to the sub-key 3
Chaotic mapping is carried out on the serial number of the scrambling mode in the scrambling mode sequence, so that the corresponding scanning mode sequence in the scrambling mode sequence is more random, the chaotic mapping coefficient subjected to chaotic mapping is used as a sub-secret key 3, and the chaotic mapping wins the iteration of the chaotic mapping coefficient for n times, wherein n is the length of the information sequence, the chaotic sequence with the length of n is obtained, and the chaotic sequence comprises the serial number of the scrambling mode subjected to chaotic mapping.
And combining the sub-key 1, the sub-key 2 and the sub-key 3 obtained in the above steps to obtain the security key.
6. Acquiring information sequence of medical insurance data to be transmitted
Acquiring medical insurance data to be transmitted, converting the medical insurance data into binary data, supplementing (5-L% 5) 0 values behind the binary data with the length of L, wherein the% represents the remainder, dividing the supplemented binary data into information with the length of 5 to form an information sequence, namely the information sequence of the medical insurance data to be transmitted, wherein the length of the information sequence is n = [ L/5], and the [ ] represents the upward rounding.
7. Obtaining encrypted medical insurance data to be transmitted
Converting medical insurance data to be transmitted into a corresponding scanning mode according to the coding mode, assigning values to the 2 x 2 pixel blocks according to the scanning mode, wherein the assignment conditions are different for different scanning modes:
in this embodiment, if the directional scanning mode is: assigning 1,2,3,4 to the pixels in the pixel block according to the pattern corresponding to the scanning mode, respectively, as in scanning mode 1 in fig. 4, and assigning the result according to the pattern corresponding to the scanning mode to be pixel block 1;
in this embodiment, if the scanning mode is equivalent: assigning 1,2,2,2 to the pixels in the pixel block according to the pattern corresponding to the scanning mode, as in scanning mode 25 in fig. 4, and assigning the result according to the pattern corresponding to the scanning mode to be pixel block 2; when the pattern corresponding to the scan pattern is assigned 1,1,1,2, as in scan pattern 29 in fig. 4, the result after the pattern assignment according to the corresponding scan pattern is pixel block 3.
Scrambling the pixel values in the pixel blocks corresponding to the scanning mode of the medical insurance data to be transmitted according to the scrambling mode sequence and the chaotic sequence, wherein the scrambling method comprises the following steps:
for the ith coding mode in the coding mode sequence of the medical insurance data to be transmitted, acquiring the ith numerical value in the chaotic sequencel i According to the second in the scrambling scheme sequencel i Scrambling the pixel block of the ith coding mode in the coding mode sequence of the medical insurance data to be transmitted by the scrambling mode;
and acquiring a scanning mode corresponding to the scrambled pixel block, decoding the scanning mode into a corresponding binary number according to the coding mode, and completing encryption of the medical insurance information to be transmitted.
An example of the encryption method is shown in fig. 6.
For example, the following steps are carried out: for the 4 th coding mode in the coding mode sequence of the medical insurance data to be transmitted, obtaining a scanning mode 7 corresponding to the 4 th coding mode, performing pixel block assignment on the scanning mode 7 corresponding to the 4 th coding mode to obtain a pixel block 7 of the 4 th coding mode, obtaining a 4 th numerical value 15 in the chaotic sequence, scrambling pixel values in the pixel block of the 4 th coding mode according to the 15 th scrambling mode of the 4 th numerical value 15 in the scrambling mode sequence to obtain a pixel block 12 after the 4 th coding mode is scrambled, obtaining a scanning mode 8 corresponding to the pixel block 12 after the 4 th coding mode is scrambled, and obtaining a binary number corresponding to the scanning mode 8 according to the anti-coding mode sequence, wherein the binary number is the medical insurance data to be transmitted after the medical insurance data to be transmitted is encrypted.
8. And transmitting and decrypting the encrypted medical insurance data.
The secure key is divided into a sub-key 1, a sub-key 2 and a sub-key 3, the sub-key 1, the sub-key 2 and the sub-key 3 are decrypted according to an AES decryption algorithm, and an encoding mode sequence, a scrambling mode sequence of a pixel block and a chaotic sequence are obtained.
And coding the encrypted information into a corresponding scanning mode according to the coding mode, and assigning the pixel block according to the scanning mode, wherein the assignment mode is the same as the assignment mode during encryption.
Obtaining a corresponding scrambling mode according to the chaotic sequence and the scrambling mode sequence, and restoring the assigned pixel block according to the reverse step of the scrambling mode;
the process of obtaining the corresponding scrambling mode according to the chaos sequence and the scrambling mode sequence is as follows:
for the serial number i of the scanning mode corresponding to the encrypted binary data in the coding mode sequence, acquiring the scrambling mode serial number corresponding to the ith numerical value in the chaotic sequencel i According to the firstl i And the inverse scrambling mode of the scrambling modes carries out inverse scrambling on the pixel values of the pixel blocks corresponding to the scanning modes corresponding to the serial numbers i in the coding mode sequence to obtain the pixel blocks after inverse scrambling, and the restoration of the pixel blocks corresponding to the encrypted binary data is completed.
And (4) decrypting each encrypted information in the encrypted information sequence according to the steps 1 to 3 to obtain restored information, and finally obtaining a restored information sequence, wherein an exemplary decryption method is shown in fig. 7.
For example, the following steps are carried out: for the encrypted binary data, obtaining a scanning mode 8 for the binary data pair, obtaining a pixel block 12 corresponding to the scanning mode 8, obtaining a scrambling mode 15 corresponding to the pixel block 12 after scrambling, scrambling the pixel block according to an anti-scrambling mode 21 of the scrambling mode 15 to obtain an anti-scrambled pixel block 7, obtaining a scanning mode corresponding to the anti-scrambled pixel block 7, and obtaining the binary data corresponding to the scanning mode, namely the binary data obtained by decoding the encrypted binary data.
The medical insurance data are encrypted by the encryption method, the encrypted data are transmitted to the medical insurance information management platform, the transmitted information are decrypted by the safety secret key and stored to the medical insurance information management platform, and the safe transmission of the medical insurance data is realized.
Based on the same inventive concept as the method, the embodiment further provides a medical insurance data security transmission system based on data processing, and the medical insurance data security transmission system based on data processing in the embodiment comprises a data conversion unit, a data encryption unit and a data transmission unit, wherein the data conversion unit, the data encryption unit and the data transmission unit are used for obtaining a binary data information sequence composed of all five-digit binary systems by setting the binary system with the five-digit length as described in the embodiment of the medical insurance data security transmission method based on data processing, converting the binary data into a scanning mode, and obtaining a corresponding coding mode sequence according to the obtained scanning mode to obtain a sub-key 1; scrambling the pixel values in the pixel blocks corresponding to each scanning mode in the obtained coding mode sequence to obtain a corresponding scrambling mode sequence in the coding mode sequence, and obtaining a sub-secret key 2 according to the scrambling mode sequence; carrying out chaotic mapping on each scrambling mode in the scrambling mode sequence, and taking a coefficient of the chaotic mapping as a sub-key 3; chaotic mapping is carried out on the chaotic mode sequence according to the sub-key 3 to obtain a chaotic sequence corresponding to the sub-key 3; combining the sub-key 1, the sub-key 2 and the sub-key 3 to obtain a security key; acquiring medical insurance data to be transmitted, and converting the medical insurance data into binary data to obtain a medical insurance data information sequence; encrypting the information sequence of the medical insurance data to be transmitted according to the security key to obtain encrypted medical insurance data; and transmitting and decrypting the encrypted medical insurance data.
In the embodiment of the medical insurance data safety transmission method based on data processing, binary data information sequences consisting of all five-digit binary systems are obtained for the binary systems with the five-digit length, the binary data are converted into scanning modes, and corresponding coding mode sequences are obtained according to the obtained scanning modes to obtain the sub-key 1; scrambling the pixel values in the pixel blocks corresponding to each scanning mode in the obtained coding mode sequence to obtain a corresponding scrambling mode sequence in the coding mode sequence, and obtaining a sub-secret key 2 according to the scrambling mode sequence; chaotic mapping is carried out on each scrambling mode in the scrambling mode sequence, and the coefficient of the chaotic mapping is used as a sub-key 3; chaotic mapping is carried out on the chaotic mode sequence according to the sub-key 3 to obtain a chaotic sequence corresponding to the sub-key 3; combining the sub-key 1, the sub-key 2 and the sub-key 3 to obtain a security key; acquiring medical insurance data to be transmitted, and converting the medical insurance data into binary data to obtain a medical insurance data information sequence; encrypting the information sequence of the medical insurance data to be transmitted according to the security key to obtain encrypted medical insurance data; the method for transmitting and decrypting the encrypted medical insurance data is explained, and the details are not described herein.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and should not be taken as limiting the scope of the present invention, which is intended to cover any modifications, equivalents, improvements, etc. within the spirit and scope of the present invention.

Claims (7)

1. The medical insurance data security transmission method based on data processing is characterized by comprising the following steps:
s1: acquiring all subkeys:
s101, obtaining all five-bit binary data to form a binary data information sequence, converting the binary data into scanning patterns to obtain a plurality of coding mode sequences, randomly selecting one coding mode sequence as a subkey 1, wherein the subkey 1 comprises the scanning patterns corresponding to each five-bit binary data, and the scanning patterns contained in the subkey 1 are not repeated;
s102, scrambling pixel values in a pixel block corresponding to each scanning mode in a sub-key 1 to obtain a plurality of scrambling mode sequences, randomly selecting one scrambling mode sequence as a sub-key 2, wherein the sub-key 2 comprises a scrambling mode for the pixel values in the pixel block corresponding to each scanning mode;
s2: encrypting the medical insurance data to be transmitted:
s201, acquiring medical insurance data to be transmitted, converting the medical insurance data into five-digit binary data, and acquiring a coding mode sequence of the medical insurance data to be transmitted according to the sub-secret key 1;
s202, a scrambling mode at a position corresponding to the coding mode sequence of the medical insurance data to be transmitted in the sub-key 2 is obtained, and pixel values in a pixel block corresponding to the coding mode sequence of the medical insurance data to be transmitted are scrambled;
s203, acquiring scanning mode sequences corresponding to all the scrambled pixel blocks, and decoding each scanning mode in the scanning mode sequences into binary data by using the corresponding relation between the scanning mode and the binary data in the subkey 1 to obtain an encrypted medical insurance data information sequence to be transmitted;
s3: and transmitting the encrypted medical insurance data to be transmitted and decrypting the encrypted medical insurance data to be transmitted according to all the sub-keys and the scanning mode sequence.
2. The medical insurance data security transmission method based on data processing according to claim 1, further comprising:
chaotic mapping is carried out on the obtained sub-secret key 2 to obtain a chaotic sequence, chaotic mapping coefficients are used as sub-secret keys 3, and in the process of encrypting the medical insurance data to be transmitted, a scrambling mode at a position corresponding to the coding mode sequence in the chaotic sequence is obtained to scramble pixel values in pixel blocks of the coding mode in the coding mode sequence of the medical insurance data to be transmitted.
3. The medical insurance data security transmission method based on data processing according to claim 2, wherein the process of obtaining the scrambling mode at the corresponding position in the coding mode sequence in the chaotic sequence to scramble the pixel values in the pixel blocks of the coding mode in the coding mode sequence of the medical insurance data to be transmitted is as follows:
for the ith coding mode in the coding mode sequence of the medical insurance data to be transmitted, the ith numerical value in the chaotic sequence is obtainedl i According to the second in the scrambling scheme sequencel i And scrambling the pixel values in the pixel block of the ith coding mode in the coding mode sequence of the medical insurance data to be transmitted by the individual scrambling mode.
4. The method for securely transmitting medical insurance data based on data processing as claimed in claim 1, wherein the method for converting the binary data into the scanning mode is:
scanning is carried out according to a pixel block with the size of 2 multiplied by 2, 4 pixels are connected by 3 directed line segments in an unrepeated mode according to the relation from small to large, the directed line segments refer to line segments which point to the pointed pixels from the pointed pixels according to the direction from small to large of the pixel values, the formed pattern is a scanning mode, the scanning mode in 32 is obtained in total, and each binary data corresponds to a different scanning mode.
5. The medical insurance data security transmission method based on data processing according to claim 1, wherein the scrambling mode sequence is obtained as follows:
pixel values of 4 pixel positions in a 2 x 2 pixel block are exchanged once, the position change order of the pixel values, namely the direction of the exchange of the pixel values, is used as a scrambling mode, and the scrambling modes of each pixel block are combined to obtain a scrambling mode sequence, wherein the scrambling modes of the pixel values in each pixel block are the same or different.
6. The medical insurance data security transmission method based on data processing according to claim 2, wherein the chaotic mapping is performed on the obtained sub-key 2 to obtain a chaotic sequence, and the method of using the chaotic mapping coefficient as the sub-key 3 comprises:
chaotic mapping is carried out on the obtained sub-secret key 2 to obtain a chaotic sequence, chaotic domains in the chaotic mapping are multiplied by 24 respectively and rounded to obtain a chaotic domain with the value between [0 and 24], a chaotic mapping coefficient of the chaotic mapping is obtained, and the chaotic mapping coefficient is used as a sub-secret key 3.
7. Medical insurance data security transmission system based on data processing includes: data conversion unit, data encryption unit and data transmission unit, its characterized in that:
a data conversion unit: the system comprises a data acquisition unit, a data transmission unit, a data storage unit and a data transmission unit, wherein the data acquisition unit is used for acquiring medical insurance data to be transmitted;
a data encryption unit: the system comprises a plurality of encoding mode sequences, a sub-secret key 1 and a control module, wherein the encoding mode sequences are used for converting all binary data information sequences with the lengths of five bits into scanning modes, converting the binary data into the scanning modes to obtain a plurality of encoding mode sequences, and randomly selecting one encoding mode sequence as the sub-secret key 1, wherein the sub-secret key 1 comprises a scanning mode corresponding to each piece of five-bit binary data and a serial number thereof, and the corresponding scanning mode is not repeated;
the device is used for scrambling the pixel values in the pixel blocks corresponding to each scanning mode in the obtained coding mode sequence to obtain a corresponding scrambling mode sequence in the coding mode sequence, and randomly selecting one scrambling mode sequence as a sub-key 2;
the system is used for converting medical insurance data to be transmitted into binary data to obtain an information sequence of the medical insurance data to be transmitted;
the coding mode sequence is used for acquiring the medical insurance data to be transmitted according to the sub-secret key 1; a scrambling mode of a position corresponding to the coding mode sequence of the medical insurance data to be transmitted in the sub-secret key 2 is obtained, and pixel values in a pixel block corresponding to the coding mode sequence of the medical insurance data to be transmitted are scrambled; acquiring scanning mode sequences corresponding to all the scrambled pixel blocks, and decoding each scanning mode in the scanning mode sequences into binary data by utilizing the corresponding relation between the scanning mode and the binary data in the sub-secret key 1 to obtain an encrypted medical insurance data information sequence to be transmitted;
a data transmission unit: and the system is used for transmitting the encrypted medical insurance data and decrypting the encrypted medical insurance data by utilizing the sub-key 1, the sub-key 2 and the anti-coding mode sequence.
CN202211083967.1A 2022-09-06 2022-09-06 Medical insurance data safety transmission system and method based on data processing Active CN115174036B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211083967.1A CN115174036B (en) 2022-09-06 2022-09-06 Medical insurance data safety transmission system and method based on data processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211083967.1A CN115174036B (en) 2022-09-06 2022-09-06 Medical insurance data safety transmission system and method based on data processing

Publications (2)

Publication Number Publication Date
CN115174036A CN115174036A (en) 2022-10-11
CN115174036B true CN115174036B (en) 2023-01-10

Family

ID=83480967

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211083967.1A Active CN115174036B (en) 2022-09-06 2022-09-06 Medical insurance data safety transmission system and method based on data processing

Country Status (1)

Country Link
CN (1) CN115174036B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115361680B (en) * 2022-10-20 2023-02-17 华信咨询设计研究院有限公司 Medical insurance data intelligent sharing and exchanging system
CN116722991B (en) * 2023-02-02 2023-11-17 浙江云马智慧科技有限公司 Data transmission system used in physical isolation environment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108122188A (en) * 2018-01-12 2018-06-05 哈尔滨工业大学深圳研究生院 A kind of image encryption method
WO2018153317A1 (en) * 2017-02-24 2018-08-30 陈伟 Chaotic map-based digital chaotic encryption method
AU2020103541A4 (en) * 2020-11-19 2021-02-04 Southwest University A signal compression and encryption method based on coupled circuit
CN112422268A (en) * 2020-11-10 2021-02-26 郑州轻工业大学 Image encryption method based on block scrambling and state conversion

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040202326A1 (en) * 2003-04-10 2004-10-14 Guanrong Chen System and methods for real-time encryption of digital images based on 2D and 3D multi-parametric chaotic maps
CN109660696B (en) * 2018-11-30 2020-07-14 大连理工大学 New image encryption method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018153317A1 (en) * 2017-02-24 2018-08-30 陈伟 Chaotic map-based digital chaotic encryption method
CN108122188A (en) * 2018-01-12 2018-06-05 哈尔滨工业大学深圳研究生院 A kind of image encryption method
CN112422268A (en) * 2020-11-10 2021-02-26 郑州轻工业大学 Image encryption method based on block scrambling and state conversion
AU2020103541A4 (en) * 2020-11-19 2021-02-04 Southwest University A signal compression and encryption method based on coupled circuit

Also Published As

Publication number Publication date
CN115174036A (en) 2022-10-11

Similar Documents

Publication Publication Date Title
CN115174036B (en) Medical insurance data safety transmission system and method based on data processing
US11811923B2 (en) Single node multi-party encryption
Zhou et al. Image encryption using binary bitplane
KR100355620B1 (en) Cryptographic communication process and apparatus
EP0624013B1 (en) Device and method for data encryption
CN1989726B (en) Method and device for executing cryptographic calculation
CN116032474B (en) Safety protection system based on big data computer network
US8428251B2 (en) System and method for stream/block cipher with internal random states
CN105940439A (en) Countermeasures against side-channel attacks on cryptographic algorithms using permutations
Khan et al. A new hybrid image encryption algorithm based on 2D-CA, FSM-DNA rule generator, and FSBI
CN112865961B (en) Symmetric encryption method, system and equipment based on weighted probability model
Hu et al. An improved piecewise linear chaotic map based image encryption algorithm
CN114549266B (en) Image encryption method based on DNA replacement rule and chaotic system
CN103795527A (en) Software mask defense scheme capable of preventing attack on advanced encryption standard (AES) algorithm based on power analysis
CN108259162A (en) A kind of method for storing cipher key
CN102306262A (en) Data encryption method and data encryption system
US20040096059A1 (en) Encryption apparatus with parallel Data Encryption Standard (DES) structure
US8862896B2 (en) Data protection using key translation
CN111831983B (en) Watermark embedding method, watermark reading method and watermark system based on desensitization data
CN114143413A (en) Image data PUF (physical unclonable function) security encryption system and encryption method
Fu et al. Medical image protection using hyperchaos-based encryption
Zhang Cryptanalysis of an image encryption algorithm based on chaotic modulation of Arnold dual scrambling and DNA computing
JPS5917750A (en) Cipher system
Rajput et al. An improved cryptographic technique to encrypt images using extended hill cipher
Chudamani et al. An improved cryptographic key generation and data transmission technique using images

Legal Events

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