Processing method, device and storage medium suitable for message encryption storage

CN118764304BActive Publication Date: 2024-11-26BEIJING GUODU INTERNET TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411098454.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-12
Publication Date
2024-11-26
Estimated Expiration
2044-08-12

AI Technical Summary

Technical Problem

Traditional data encryption technology has problems such as difficulty in key management, low security and inconvenient use in message services, resulting in the security risks of illegal acquisition, tampering or leakage during transmission and storage.

Method used

A processing method suitable for message encryption storage is proposed. By receiving message images, determining the encrypted terminal list, transmitting encryption based on transmission path and preset policies, and encrypting the message content of sensitive attributes, establishing a sensitive data display layer Integrated fill and view.

Benefits of technology

Improve information security, avoid information leakage, simplify user data viewing and management processes, and enhance data security and usability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118764304B_ABST
    Figure CN118764304B_ABST
Patent Text Reader

Abstract

The present invention provides a processing method, device and storage medium suitable for encrypted storage of messages. The method includes receiving a message image, determining a corresponding message receiving terminal based on the transmission path of the message image, and retrieving an encrypted terminal list; in response to the message sending terminal being located in the encrypted terminal list, encrypting the message image for transmission; performing message recognition on the message image, and determining each message content corresponding to different message attributes located in the message image based on the recognition result; obtaining each message content corresponding to a sensitive attribute, and encrypting each message content based on a preset content encryption strategy; establishing a sensitive data display layer corresponding to the message receiving terminal, and filling the encrypted message content into the sensitive data display layer based on a time sequence. The present invention at least improves information security.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to data processing technology, and in particular to a processing method, device and storage medium suitable for message encryption storage. Background Art

[0002] With the rapid development of information technology, data security issues have become increasingly prominent. At present, data faces security risks of being illegally obtained, tampered with, or leaked during transmission and storage. Especially in the message service, the message service itself is both a service and data. Although traditional data encryption technology can guarantee data security to a certain extent, it still has many shortcomings, such as difficult key management, low security, and inconvenient use. Therefore, developing a data encryption technology with high security and strong availability for message services is of great significance to the data security and business development of message services. Summary of the invention

[0003] Based on the above problems, the present invention is proposed to provide a processing method and system suitable for message encryption storage that overcomes the above problems or at least partially solves the above problems.

[0004] According to one aspect of the present invention, a processing method suitable for message encryption storage is provided, comprising the following steps:

[0005] Receiving a message image sent by a message sending terminal, determining a corresponding message receiving terminal based on a transmission path of the message image, and retrieving an encryption terminal list corresponding to the message receiving terminal;

[0006] In response to the message sending terminal being located in the encryption terminal list, encrypting the message image for transmission based on a preset transmission encryption strategy;

[0007] Performing message recognition on the message image, and determining each message content corresponding to different message attributes located in the message image based on the recognition result, wherein the message attributes include general attributes and sensitive attributes;

[0008] Obtaining the content of each message corresponding to the sensitive attribute, and encrypting the content of each message based on a preset content encryption strategy;

[0009] A sensitive data display layer corresponding to the message receiving terminal is established, and all message contents corresponding to sensitive attributes that are encrypted are filled into the sensitive data display layer based on time sequence.

[0010] Optionally, in the method according to the present invention, the encrypted terminal list includes different terminal numbers;

[0011] In response to the message sending terminal being located in the encryption terminal list, encrypting the message image for transmission based on a preset transmission encryption strategy, including:

[0012] Acquire a terminal number corresponding to the message sending terminal, and traverse the encrypted terminal list based on the terminal number;

[0013] In response to the terminal number corresponding to the message sending terminal being in the encryption terminal list, retrieving a preset encryption string corresponding to the message receiving terminal and a storage byte corresponding to the message image;

[0014] Randomly select any two of the terminal number, the preset encryption string and the storage byte, and generate the two corresponding image encryption sequences to the randomly selected ones based on a preset sequence generation strategy;

[0015] An image transmission key corresponding to the image encryption sequence is generated based on a hash encryption algorithm.

[0016] Optionally, in the method according to the present invention, generating two corresponding image encryption sequences for random selection based on a preset sequence generation strategy includes:

[0017] Retrieving priority coefficients corresponding to the terminal number, the preset encrypted string, and the storage byte, respectively, and sorting the terminal number, the preset encrypted string, and the storage byte in descending order based on the priority coefficients to obtain a first priority sequence;

[0018] Determine a receiving time for receiving the message image, and decompose the receiving time to obtain a time period interval, a segment interval, and a second segment interval corresponding to the receiving time;

[0019] Randomly select any one of the time period interval, the segment interval and the second segment interval, and determine the numerical attribute of the randomly selected interval, wherein the numerical attribute includes an even number attribute and an odd number attribute;

[0020] When the numerical attribute corresponding to the randomly selected interval is an even attribute, the two randomly selected ones are used to generate the image encryption sequence according to the first priority sequence;

[0021] When the numerical attribute corresponding to the randomly selected interval is an odd attribute, the image encryption sequence is generated by using two randomly selected intervals in a second priority sequence that is in a reverse order relationship with the first priority sequence.

[0022] Optionally, in the method according to the present invention, the method further comprises:

[0023] determining a message receiving terminal corresponding to the message sending terminal as an access terminal for accessing the message image;

[0024] Sending the image transmission key corresponding to the message image to the access terminal, and generating a corresponding access verification link and verification identity set;

[0025] In response to the access terminal performing data access based on the corresponding access verification link, access verification is performed based on the corresponding image transmission key and the verification identity set, and a message image corresponding to the image transmission key is fed back to the access terminal if the verification passes.

[0026] Optionally, in the method according to the present invention, message recognition is performed on the message image, and the message contents corresponding to different message attributes located in the message image are determined based on the recognition result, wherein the message attributes include general attributes and sensitive attributes, including:

[0027] Performing message recognition on the message image based on an image recognition model to obtain message contents located in different image regions;

[0028] Retrieving a preset attribute determination list, wherein the preset attribute determination list includes a phrase area corresponding to the sensitive attribute, and the phrase area is filled with different phrases;

[0029] Traversing the phrase area, when at least part of the characters in any message content exists in the phrase area, determining the message content as corresponding to the sensitive attribute, and obtaining each message content corresponding to the sensitive attribute in the message image;

[0030] The remaining message contents in the message image except for the message contents respectively corresponding to the sensitive attributes are determined as corresponding to the general attributes.

[0031] Optionally, in the method according to the present invention, performing message recognition on the message image based on an image recognition model to obtain message contents located in different image regions respectively includes:

[0032] Performing message recognition on the message image based on an image recognition model to obtain message character strings respectively located in the message image;

[0033] Performing character confirmation on the message character string to obtain each semicolon character and each period character in each message character string, and inserting each message delimiter at a position after each semicolon character and each period character respectively;

[0034] Among the message delimiters, the first one is determined as the header delimiter, and the last one is determined as the tail delimiter;

[0035] Determine all characters before the head delimiter as the first message character group, determine all characters after the tail delimiter as the tail message character group, and determine all characters between adjacent message delimiters as middle message character groups, to obtain message character groups constituting the message character string;

[0036] The message image is divided into regions based on each message character group to obtain each image region, and each message character group is determined as each message content corresponding to each image region.

[0037] Optionally, in the method according to the present invention, encrypting the content of each message based on a preset content encryption strategy includes:

[0038] Sort each image area based on the area position of each image area in the message image to obtain each area serial number corresponding to each image area;

[0039] Determine the number of characters corresponding to all characters in each image area respectively, and perform forward combination based on the area sequence number and the number of characters corresponding to the same image area to obtain encryption sequences of each area corresponding to each message content;

[0040] Based on the hash encryption algorithm, each area content key corresponding to each area encryption sequence is generated, and each encryption layer corresponding to each area content key and covering each image area is generated.

[0041] Optionally, in the method according to the present invention, the method further comprises:

[0042] Determining a message receiving terminal corresponding to the message sending terminal as an access terminal for accessing each message content;

[0043] Sending each regional content key corresponding to each message content to the access terminal, and generating corresponding access verification links and verification identity sets;

[0044] In response to the access terminal accessing data based on any corresponding access verification link, access verification is performed based on the corresponding regional content key and the verification identity set. If the verification passes, the encryption layer corresponding to the regional content key is eliminated, and the corresponding message content is fed back to the access terminal.

[0045] Optionally, in the method according to the present invention, a sensitive data display layer corresponding to the message receiving terminal is established, and all message contents to be encrypted are filled into the sensitive data display layer based on the time sequence, including:

[0046] Determine each message image received by the message receiving terminal within a preset period, and when the number of short messages corresponding to each message image is greater than a preset number, establish a sensitive data display layer corresponding to the message receiving terminal;

[0047] Determine the image width of the message image in the horizontal direction, and generate a first positioning line and a second positioning line extending in the vertical direction in the sensitive data display layer, respectively, wherein the area width of the filling area between the first positioning line and the second positioning line in the horizontal direction is greater than the image width;

[0048] Acquire the sending time of each short message corresponding to each message image, and determine the message contents corresponding to the same message image as message division groups, to obtain the message division groups corresponding to each message image;

[0049] Filling each message group into the filling area from top to bottom in sequence based on the time sequence of each short message sending time, wherein each message group has a preset interval between adjacent ones in the filling area;

[0050] Determine each message sending terminal corresponding to each message division group, and determine from top to bottom in the filling area whether each adjacent message division group corresponds to the same message sending terminal;

[0051] When the adjacent message division groups correspond to the same message sending terminal, the message division groups are moved to fit the same positioning line;

[0052] When adjacent message division groups correspond to different message sending terminals, the message division groups are moved to fit different positioning lines.

[0053] Optionally, in the method according to the present invention, the method further comprises:

[0054] Generating a terminal display area in the sensitive data display layer, wherein the terminal display area is located above or below the filling area;

[0055] Based on the message sending terminals corresponding to the message division groups, respectively, establishing the interaction sub-areas corresponding to the message sending terminals in the terminal display area;

[0056] In response to the interactive operation of the message receiving terminal on any interactive sub-area, all message division groups corresponding to the interactive sub-area in the filling area are moved so that all message division groups are moved outside the filling area and respectively fit the corresponding positioning lines.

[0057] According to another aspect of the present invention, there is provided a processing device suitable for message encryption storage, comprising:

[0058] A receiving module, configured to receive a message image sent by a message sending terminal, determine a corresponding message receiving terminal based on a transmission path of the message image, and retrieve an encryption terminal list corresponding to the message receiving terminal;

[0059] a transmission encryption module, configured to, in response to the message sending terminal being located in the encryption terminal list, perform transmission encryption on the message image based on a preset transmission encryption strategy;

[0060] an identification module configured to perform message identification on the message image, and determine, based on the identification result, each message content corresponding to different message attributes located in the message image, wherein the message attributes include general attributes and sensitive attributes;

[0061] The content encryption module is configured to obtain the content of each message corresponding to the sensitive attribute, and encrypt the content of each message based on a preset content encryption strategy;

[0062] The establishment module is configured to establish a sensitive data display layer corresponding to the message receiving terminal, and fill the message contents of all corresponding sensitive attributes that are encrypted into the sensitive data display layer based on time sequence.

[0063] According to another aspect of the present invention, there is provided a computing device, comprising:

[0064] at least one processor; and

[0065] A memory storing program instructions, wherein the program instructions are configured to be executed by the at least one processor, and the program instructions include instructions for executing the above method.

[0066] According to another aspect of the present invention, a readable storage medium storing program instructions is provided. When the program instructions are read and executed by a computing device, the computing device executes the above method.

[0067] According to the solution of the present invention, two corresponding encryption processes can be performed for the message image sent by the message sending terminal, wherein the first encryption process is performed based on the transmission process of the message image (that is, the corresponding message image will not be transmitted to the message receiving terminal until the corresponding decryption is performed), and the second encryption process is performed based on the viewing process of the message content of the corresponding sensitive attributes in the message image (that is, the message content of the corresponding sensitive attributes in the message image can only be viewed by the message receiving terminal after the corresponding decryption is performed). By double encrypting the message image, the corresponding information security is improved, and the corresponding information leakage problem is avoided. In addition, the message content of the corresponding sensitive attributes can also be uniformly filled in the corresponding sensitive data display layer, which is convenient for users to uniformly view and improves the corresponding information display effect. BRIEF DESCRIPTION OF THE DRAWINGS

[0068] Figure 1 A flow chart of a processing method applicable to message encryption storage according to an embodiment of the present invention is shown;

[0069] Figure 2 A schematic diagram showing the structure of a two-dimensional image display model in this embodiment is shown;

[0070] Figure 3 A schematic diagram showing the structure of a three-dimensional image display model in this embodiment is shown;

[0071] Figure 4 A schematic diagram showing how to divide each message into groups and fill them into the sensitive data display layer in this embodiment is shown;

[0072] Figure 5 A schematic diagram showing the movement of the positions of the messages selected by the user and corresponding to the same message sending terminal in the sensitive data display layer in this implementation;

[0073] Figure 6 A structural block diagram of a processing system suitable for message encryption storage according to another embodiment of the present invention is shown. DETAILED DESCRIPTION

[0074] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0075] With the rapid development of information technology, data security issues have become increasingly prominent. At present, data faces security risks of being illegally obtained, tampered with, or leaked during transmission and storage. Especially in the message service, the message service itself is both a service and data. Although traditional data encryption technology can guarantee data security to a certain extent, it still has many shortcomings, such as difficult key management, low security, and inconvenient use. Therefore, developing a data encryption technology with high security and strong availability for message services is of great significance to the data security and business development of message services.

[0076] To solve the problems existing in the above-mentioned prior art, the inventor proposes the solution of the present invention. An embodiment of the present invention provides a processing method suitable for message encryption storage, wherein the method can be executed in a computing device, where the computing device can be understood as a terminal with data processing function, such as a mobile phone or a computer.

[0077] Figure 1 A flowchart of a processing method applicable to message encryption storage according to an embodiment of the present invention is shown, wherein the method starts with step S102, and in step S102, the following contents are included:

[0078] A message image sent by a message sending terminal is received, a corresponding message receiving terminal is determined based on a transmission path of the message image, and an encryption terminal list corresponding to the message receiving terminal is retrieved.

[0079] For example, in this embodiment, when sending a corresponding message, the message sending terminal can predetermine the corresponding message receiving terminal, and convert the message to be sent from the original text form to the corresponding image form and forward it to the corresponding server (for example, it can also be a short message operator or an independently existing forwarding plug-in). After receiving the corresponding message image, the server will determine the corresponding message receiving terminal based on the transmission path of the message image. The transmission path is, for example, the IP address corresponding to the message receiving terminal, and the IP address can be carried in the message image in an attached manner and received by the server. Furthermore, since part of the message image sent by the message sending terminal may involve more sensitive content, therefore, the server can encrypt the message image accordingly for this situation; it should be noted that the encryption of message images can be independently customized according to different message receiving terminals. For example, a corresponding encryption terminal list can be established in advance for each message receiving terminal that has completed terminal registration on the server. The message receiving terminal can add the corresponding message sending terminals that need to be sent to it based on the corresponding encryption terminal list, so that when any message image is received subsequently, if the message sending terminal corresponding to the message image is in the encryption terminal list, it will be encrypted accordingly, thereby improving the corresponding information security, and the setting of the encryption terminal list can also improve the encryption customization needs of users.

[0080] In step S104, the following contents are included:

[0081] In response to the message sending terminal being located in the encryption terminal list, the message image is encrypted for transmission based on a preset transmission encryption strategy.

[0082] For example, in this embodiment, when the server determines that the message sending terminal exists in the encryption terminal list corresponding to the message receiving terminal, it indicates that the message image sent by the message sending terminal may contain sensitive content. At this time, it needs to be encrypted accordingly. The encryption method can be based on the pre-saved preset transmission encryption strategy to perform transmission encryption on the message image. Here, the meaning of transmission encryption can be understood as the message image can only be transmitted to the corresponding message receiving terminal for viewing after the corresponding decryption is completed. Such an encryption method can ensure the integrity-based encryption of the message image. The message image can only be received after the user holding the message receiving terminal completes the corresponding decryption, thereby improving the corresponding encryption effect.

[0083] Here, when the message receiving terminal customizes the corresponding encrypted terminal list, in order to reduce the complexity of corresponding data storage, the terminal number of each message sending terminal can be obtained, wherein the terminal number can be understood as a number used to distinguish the message sending terminal and has a unique identification; after obtaining the corresponding terminal number, the terminal number can be filled into the corresponding encrypted terminal list to complete the corresponding customization process, and further, in an embodiment, the above-mentioned "in response to the message sending terminal being located in the encrypted terminal list, the message image is encrypted for transmission based on a preset transmission encryption strategy" can also include the following steps:

[0084] Acquire a terminal number corresponding to the message sending terminal, and traverse the encrypted terminal list based on the terminal number;

[0085] In response to the terminal number corresponding to the message sending terminal being in the encryption terminal list, retrieving a preset encryption string corresponding to the message receiving terminal and a storage byte corresponding to the message image;

[0086] Randomly select any two of the terminal number, the preset encryption string and the storage byte, and generate the two corresponding image encryption sequences to the randomly selected ones based on a preset sequence generation strategy;

[0087] An image transmission key corresponding to the image encryption sequence is generated based on a hash encryption algorithm.

[0088] For example, in this embodiment, after receiving the corresponding message image, the server can obtain the terminal number corresponding to the message sending terminal, and search for it in the retrieved encryption terminal list corresponding to the message receiving terminal. When the terminal number of the message sending terminal corresponding to the message image is present in the encryption terminal list, it indicates that the message image corresponding to the message sending terminal needs to be encrypted, and the corresponding encryption process can include the following steps:

[0089] First, retrieve the preset encryption string corresponding to the message receiving terminal and the storage byte corresponding to the message image, wherein the preset encryption string may be pre-set, and may be created when the message receiving terminal customizes the corresponding encryption terminal list, and the preset encryption string may be composed of numbers, letters and / or symbols, and the storage byte may be determined based on the storage size of the message image. It can be explained that Byte is a unit of measurement used to describe storage capacity and transmission capacity in computer information, and is the basic storage unit of a computer;

[0090] Secondly, the terminal number, the preset encryption string and the storage byte are integrated, and any two of them are selected, and further based on the preset sequence generation strategy, the selected two are sequenced to obtain the corresponding image encryption sequence; for example, when the terminal number and the preset encryption string are selected, the two can be connected by characters, and the connection result is determined as the image encryption sequence;

[0091] Finally, the hash encryption algorithm can be used to generate the corresponding image transmission key based on the image encryption sequence to complete the transmission encryption of the message image.

[0092] It should be noted that the hash encryption algorithm is a relatively common encryption algorithm in the prior art, so this embodiment will not be specifically introduced.

[0093] Furthermore, in this embodiment, the above-mentioned “generating and randomly selecting two corresponding image encryption sequences based on a preset sequence generation strategy” may include the following steps:

[0094] Retrieving priority coefficients corresponding to the terminal number, the preset encrypted string, and the storage byte, respectively, and sorting the terminal number, the preset encrypted string, and the storage byte in descending order based on the priority coefficients to obtain a first priority sequence;

[0095] Determine a receiving time for receiving the message image, and decompose the receiving time to obtain a time period interval, a segment interval, and a second segment interval corresponding to the receiving time;

[0096] Randomly select any one of the time period interval, the segment interval and the second segment interval, and determine the numerical attribute of the randomly selected interval, wherein the numerical attribute includes an even number attribute and an odd number attribute;

[0097] When the numerical attribute corresponding to the randomly selected interval is an even attribute, the two randomly selected ones are used to generate the image encryption sequence according to the first priority sequence;

[0098] When the numerical attribute corresponding to the randomly selected interval is an odd attribute, the image encryption sequence is generated by using two randomly selected intervals in a second priority sequence that is in a reverse order relationship with the first priority sequence.

[0099] For example, in this embodiment, the process of generating the image encryption sequence may include the following steps:

[0100] First, since any two of the three data, namely, the terminal number, the preset encryption string, and the storage byte, need to be randomly selected before generating the corresponding image encryption sequence, and the two selected are used to form the corresponding image encryption sequence, in order to further increase the complexity of encryption, the corresponding generation rules can be set, for example, the three data, namely, the terminal number, the preset encryption string, and the storage byte, can be respectively set with corresponding priority coefficients in advance, and the three data can be sorted in descending order according to the priority coefficients, so as to obtain the first priority sequence;

[0101] Next, the receiving time of the message image can be determined, and the corresponding receiving time can be decomposed. For example, when the receiving time is 23:24:59, after corresponding decomposition, the time interval corresponding to 23:00, the segment interval corresponding to 24 minutes, and the second segment interval corresponding to 59 seconds can be obtained;

[0102] Next, after obtaining the corresponding time interval, segment interval and second interval, one of them can be randomly selected, and the numerical attribute of the randomly selected interval can be determined, that is, whether the value of the corresponding interval is an odd number or an even number can be determined. For example, when the time interval is selected, the corresponding numerical attribute is an odd number attribute, when the segment interval is selected, the corresponding numerical attribute is an even number attribute, and when the second interval is selected, the corresponding numerical attribute is also an odd number attribute;

[0103] Finally, when the numerical attribute corresponding to the selected interval is an odd attribute, the two randomly selected data can be used to generate an image encryption sequence according to the first priority sequence obtained above; if the numerical attribute corresponding to the selected interval is an even attribute, the two randomly selected data can be used to generate a corresponding image encryption sequence according to a second priority sequence that is in reverse order with the first priority sequence.

[0104] It should be noted that the generation of the image encryption sequence not only relies on the random selection of any two of the terminal number, the preset encryption string and the storage bytes, but also relies on the random selection of any one of the intervals that constitute the receiving time. The complexity and information security of the image encryption sequence are increased by the random selection of two different processes. The terminal number, preset encryption string and storage bytes corresponding to each message image may be different, thereby realizing a customized encryption process for each message image, so that the image encryption sequence corresponding to each message image is unique, thereby further improving the corresponding encryption security and information security, preventing criminals from intercepting and viewing the message image, and preventing information leakage.

[0105] For example, after completing the transmission encryption of the message image, in order to enable the corresponding message receiving terminal to receive the message image, in this embodiment, the following steps may also be included:

[0106] determining a message receiving terminal corresponding to the message sending terminal as an access terminal for accessing the message image;

[0107] Sending the image transmission key corresponding to the message image to the access terminal, and generating a corresponding access verification link and verification identity set;

[0108] In response to the access terminal performing data access based on the corresponding access verification link, access verification is performed based on the corresponding image transmission key and the verification identity set, and a message image corresponding to the image transmission key is fed back to the access terminal if the verification passes.

[0109] For example, in this embodiment, the server can determine the message sending terminal corresponding to the message image as the access terminal for accessing the message image, and at the same time send the image transmission key corresponding to the message image to the corresponding access terminal, and generate a corresponding access verification link and a verification identity set. Here, when the access terminal needs to access the message image, it can complete the corresponding data access by interacting with the access verification link, and further perform access verification on the access terminal based on the image transmission key and verification identity set obtained above. When the verification is passed, the server can then feedback the corresponding message image to the access terminal so that the message image can be transmitted to the message receiving terminal.

[0110] Here, after receiving the message image sent by the message sending terminal, the server can temporarily store the message image and perform corresponding transmission encryption. The message image can only be received after the message sending terminal performs corresponding decryption processing, thereby completing the transmission-based encryption process, improving the corresponding information security, and avoiding corresponding information leakage.

[0111] The following is a further explanation of the above solution in combination with actual application scenarios:

[0112] For example, the message sending terminal may be a bank terminal, and the message receiving terminal may be a certain enterprise company. Since there is a corresponding economic relationship between the bank terminal and the enterprise company, that is, each message image sent by the bank terminal to the enterprise company may contain sensitive economic content, such as bank lending, amount transfer, etc. Therefore, in order to encrypt the sensitive content accordingly and prevent the corresponding content from being leaked, the enterprise company can add the bank terminal to the encryption terminal list accordingly;

[0113] After completing the corresponding terminal addition, when the bank terminal sends any message image to the corporate company, it will first be transferred to the server and encrypted for transmission. If the corporate company wants to receive the message image, it needs to perform corresponding decryption. After the decryption is completed, the server can send the message image sent by the bank terminal to the corporate company so that the corporate company can view it accordingly and obtain the corresponding content information.

[0114] In step S106, the following contents are included:

[0115] Message recognition is performed on the message image, and based on the recognition result, each message content corresponding to different message attributes located in the message image is determined, wherein the message attributes include general attributes and sensitive attributes.

[0116] For example, in this embodiment, after the message receiving terminal receives the corresponding message image, the message image can be viewed. Since the same message image may include various message contents, and each message content may be different, for example, when the message image is sent via a bank terminal, the message image may include message contents involving the amount, the payee, the payee, etc., and for the message receiving terminal, since the above message content involves economic transactions, it is more sensitive than other message contents. Therefore, in order to improve the information security of the message image, this embodiment can also customize the corresponding message content according to the needs of the message receiving terminal. Further encryption, and before encryption, it is necessary to identify the message contents located in the message image, and further determine the corresponding message attributes of each message content, wherein the message attributes include general attributes and sensitive attributes; here, the message content corresponding to the sensitive attribute can be understood as a content with a higher sensitivity, such as the above-mentioned content involving economic transactions, and the message content corresponding to the general attribute can be understood as a content with a lower sensitivity. Therefore, the message content corresponding to the sensitive attribute can be correspondingly customized content encryption to improve the information security of sensitive data.

[0117] Furthermore, in this embodiment, the above-mentioned “performing message recognition on the message image, and determining each message content corresponding to different message attributes located in the message image based on the recognition result, wherein the message attributes include general attributes and sensitive attributes” may also include the following steps:

[0118] Performing message recognition on the message image based on an image recognition model to obtain message contents located in different image regions;

[0119] Retrieving a preset attribute determination list, wherein the preset attribute determination list includes a phrase area corresponding to the sensitive attribute, and the phrase area is filled with different phrases;

[0120] Traversing the phrase area, when at least part of the characters in any message content exists in the phrase area, determining the message content as corresponding to the sensitive attribute, and obtaining each message content corresponding to the sensitive attribute in the message image;

[0121] The remaining message contents in the message image except for the message contents respectively corresponding to the sensitive attributes are determined as corresponding to the general attributes.

[0122] For example, in this embodiment, the image recognition model can be obtained by performing corresponding model training on a pre-built machine learning model or a neural network model. Before performing model training, a corresponding training sample set can be obtained in advance. The training sample set can include multiple training images, each training image includes different message contents. After obtaining the corresponding training sample set, the pre-built machine learning model or neural network model can be trained by the training sample set to obtain the image recognition model.

[0123] After the corresponding image recognition model is obtained, the message image received by the message receiving terminal can be input into the image recognition model for message recognition, thereby obtaining the message contents located in the different image areas. In order to quickly determine the message attributes of the message contents, a corresponding preset attribute determination list can be stored in the server, wherein the preset attribute determination list includes a phrase area filled with different phrases, and each different phrase located in the phrase area corresponds to a sensitive attribute respectively;

[0124] By calling and traversing the preset attribute determination list, when at least part of the characters in any message content exist in the phrase area, it indicates that sensitive characters exist in the message content. At this time, it can be determined that the message content may involve corresponding sensitive content, and the message content needs to be determined as the corresponding sensitive attribute;

[0125] After completing the traversal based on all message contents, all message contents corresponding to sensitive attributes in the message image can be screened out, so that the remaining other message contents can be respectively determined as corresponding general attributes.

[0126] It should be noted that the preset attribute determination list can be customized based on the message receiving terminal, that is, the phrases in the phrase area can be filled in according to needs. For example, when the message receiving terminal considers "amount", "payee" and "payer" to be relatively sensitive words, these three phrases can be filled in the preset attribute determination list respectively, so as to facilitate content screening of the received message image and obtain message content corresponding to the sensitive attributes, so as to complete the content encryption of the message content in a targeted manner and improve the corresponding information security.

[0127] Furthermore, in this embodiment, the above-mentioned “performing message recognition on the message image based on the image recognition model to obtain message contents located in different image regions” may also include the following contents:

[0128] Performing message recognition on the message image based on an image recognition model to obtain message character strings respectively located in the message image;

[0129] Performing character confirmation on the message character string to obtain each semicolon character and each period character in each message character string, and inserting each message delimiter at a position after each semicolon character and each period character respectively;

[0130] Among the message delimiters, the first one is determined as the header delimiter, and the last one is determined as the tail delimiter;

[0131] Determine all characters before the head delimiter as the first message character group, determine all characters after the tail delimiter as the tail message character group, and determine all characters between adjacent message delimiters as middle message character groups, to obtain message character groups constituting the message character string;

[0132] The message image is divided into regions based on each message character group to obtain each image region, and each message character group is determined as each message content corresponding to each image region.

[0133] For example, in this embodiment, after the image recognition model completes the message recognition of the message image, the message character strings respectively located in the message image can be obtained. Here, the message character string mainly consists of a plurality of characters, such as characters corresponding to symbolic meanings, characters corresponding to textual meanings and / or characters corresponding to numerical meanings, wherein the characters corresponding to symbolic meanings may be semicolon characters, comma characters, period characters, etc., the characters corresponding to textual meanings may be Chinese characters, English characters or others, and the characters corresponding to numerical meanings may be Arabic numeral characters;

[0134] Furthermore, based on common writing characteristics, each independent message content often ends with a semicolon character or a period character. Therefore, after obtaining the corresponding message string, the message string can be divided according to the above characteristics, that is, each semicolon character and each period character in the message string is authentically determined, and each message delimiter is inserted at the position after each semicolon character and each period character. Here, the message delimiter can be understood as a symbol corresponding to a "vertical line";

[0135] After the message delimiter is inserted, the message delimiter corresponding to the first position can be determined as the header delimiter and the message delimiter corresponding to the last position can be determined as the tail delimiter based on the character sequence of each character in the message character string; at the same time, all characters before the header delimiter can be determined as the first message character group, all characters between the tail delimiters can be determined as the tail character group, and all characters respectively located between adjacent message delimiters can be determined as the middle message character groups, thereby completing the division of the entire message character string to obtain each message character group;

[0136] It should be noted that, since the message image exists in the form of an image, in order to be able to divide each message character group accordingly, it is necessary to divide the message image in the form of an image into regions, thereby obtaining each image region, and at the same time determine each message character group as the message content corresponding to each image region.

[0137] Furthermore, after the content of each message is determined, in order to facilitate the message receiving terminal and the message image to quickly view, the message content can also be filtered out. For example, some message images may contain relevant noise content such as corresponding network links and corresponding advertisements. For this content, if the message receiving terminal does not want to view it, the following solution can be used to perform corresponding content screening:

[0138] Establish a noise screening table corresponding to different noise contents;

[0139] Compare each message content with each noise content in the noise screening table one by one, and if the message content contains any of the noise content, intercept the message content from the message image to the noise collection group;

[0140] Determine the locations of all message contents in the noise collection group in each area of ​​the message image, and establish a noise display layer;

[0141] All message contents in the noise collection group are sequentially filled into the noise display layer from top to bottom according to corresponding area positions to form a noise display image.

[0142] For example, in this embodiment, the setting of the noise screening table can be set according to the needs of the message receiving terminal. For example, when it does not want to view the message content of the corresponding network link, the network link can be added to the noise screening table, and if it does not want to view the message content of the corresponding advertisement, the advertisement can also be added to the noise screening table; and after completing the determination of all noise contents and intercepting all noise contents from the message image to the corresponding noise collection group, a message image without noise content can be provided to the message receiving terminal, thereby improving the reading efficiency of the message image, and the message content of each corresponding noise content obtained by screening out will also be collected into the noise display layer to form a corresponding noise display image, which can be used for the message receiving image to be viewed together later, and the integrity of the message content can also be retained accordingly, thereby avoiding the phenomenon of corresponding content being incorrect, and improving the corresponding customized demand experience.

[0143] It should be noted that when the message sending terminal is a bank, the corresponding message image sent will contain the message content of the corresponding economic transaction, such as the payee, payee, payment date, payment amount, remaining amount, etc. For such messages, since the message content included in the corresponding message image generally corresponds to the same template, in order to facilitate the message receiving terminal to further quickly obtain the message, it can be achieved through the following solution:

[0144] Establishing a two-dimensional image display model, wherein the two-dimensional image display model includes two-dimensional message display surfaces corresponding to each message type;

[0145] Acquire all message images received within a preset time period and sent by the same message sending terminal;

[0146] Searching for content in each of the message images, determining the content of each message corresponding to each message type, and sequentially filling the content of each message into the corresponding two-dimensional message display surface;

[0147] When any two-dimensional message display surface includes multiple message contents, the multiple message contents are arranged in chronological order within a preset time period.

[0148] For example, Figure 2 As shown, in this embodiment, each message type can include the corresponding payee, payee, payment date, payment amount, remaining amount, etc. By classifying the message content, the message content of the corresponding message type can be quickly filled into different two-dimensional message display surfaces in the corresponding two-dimensional image display model, thereby improving the efficiency of obtaining content for the message receiving terminal; Figure 2In the example, the two-dimensional message display surfaces respectively include the payee, the payee, the payment amount and the remaining amount.

[0149] At the same time, in order to be able to display multiple message contents with the same message type at the same time, when the number of contents corresponding to the multiple message contents is greater than the preset display number, the multiple message contents can be folded to improve the corresponding viewing efficiency, where the preset display number can be 5, for example.

[0150] For example, in this embodiment, the above scheme is based on the display under the two-dimensional perspective, that is, the message content of each message type is displayed through a two-dimensional image display model, and in order to improve the corresponding customized demand experience, corresponding display can also be performed based on a three-dimensional perspective, which can be specifically implemented through the following scheme:

[0151] Establishing corresponding three-dimensional image display models based on the message images sent by the same message sending terminal and received within a preset period of time, wherein each three-dimensional image display model includes a model fixed surface and a plurality of information sequence surfaces;

[0152] Arranging the three-dimensional image display models in a row based on the time sequence of the message images within a preset time period, and fitting the three-dimensional image display models located between adjacent ones based on the model fixing surface;

[0153] Performing filling configuration of message types with fixed attributes based on the fixed face of the model, and performing filling configuration of message types with variable attributes based on multiple information sequence faces;

[0154] In the same message image, the message contents corresponding to the message types with fixed attributes and the message contents corresponding to the message types with variable attributes are determined, and the message contents corresponding to the message types with fixed attributes are filled into the fixed surface of the model, and the message contents corresponding to the message types with variable attributes are respectively filled into different information sequence surfaces.

[0155] For example, in this embodiment, each message type may include a corresponding payee, payee, payment date, payment amount, remaining amount, etc. For the message receiving terminal, for the fund transfer information, the payees corresponding to different message images are the same, that is, they all correspond to the message receiving terminal, while the corresponding payee, payment date, payment amount, remaining amount, etc. may be different according to different message images. Therefore, based on this feature, the payee can be determined as a message type with fixed attributes, and the remaining payee, payment date, payment amount, and remaining amount can be determined as a message type with variable attributes; by establishing corresponding three-dimensional image display models based on different message contents and arranging them in chronological order, users can simultaneously view different message contents of the same message type with variable attributes in chronological order, and can view the message content of the message type with fixed attributes, thereby improving the customization needs of users and the corresponding viewing experience;

[0156] For example, the structure of a 3D image display model can be Figure 3 As shown, in Figure 3 It can be seen that the corresponding payee is filled in the side of the three-dimensional image display model, that is, the fixed surface of the model, while the corresponding payer and payment amount are filled in the different information sequence surfaces of the three-dimensional image display model; it should be noted that Figure 3 Only the message contents filled in two information sequence planes are shown, and the remaining information sequence planes can be viewed accordingly by rotating the three-dimensional image display model according to the needs of the message receiving terminal.

[0157] In step S108, the following contents are included:

[0158] The content of each message corresponding to the sensitive attribute is obtained, and the content of each message is encrypted based on a preset content encryption strategy.

[0159] For example, in this embodiment, after completing the content of all messages corresponding to sensitive attributes, each message content can be encrypted based on a preset content encryption strategy, so that when a subsequent message receiving terminal views the content of any message corresponding to the sensitive attribute, it needs to go through a corresponding decryption process before it can view it smoothly, thereby improving the corresponding information security, preventing criminals from viewing the corresponding message content when illegally obtaining the message receiving terminal, and avoiding corresponding information leakage.

[0160] Furthermore, in this embodiment, the above-mentioned “encrypting the content of each message based on a preset content encryption policy” may include the following steps:

[0161] Sort each image area based on the area position of each image area in the message image to obtain each area serial number corresponding to each image area;

[0162] Determine the number of characters corresponding to all characters in each image area respectively, and perform forward combination based on the area sequence number and the number of characters corresponding to the same image area to obtain encryption sequences of each area corresponding to each message content;

[0163] Based on the hash encryption algorithm, each area content key corresponding to each area encryption sequence is generated, and each encryption layer corresponding to each area content key and covering each image area is generated.

[0164] For example, in the present embodiment, in the process of encrypting the content of each message, each image area can be first sorted according to the area position of the corresponding image area in the message image, so as to obtain the area serial numbers corresponding to each image area; at the same time, the number of characters of all characters located in each image area can be determined respectively. After obtaining the corresponding area serial number and the number of characters, a forward combination can be performed based on two different data to obtain the encryption sequences of each area corresponding to each message content, and the corresponding content keys of each area are obtained based on the hash encryption algorithm according to the obtained encryption sequences of each area, and encryption layers covering each image area are generated in the message image.

[0165] It should be noted that, in the present embodiment, the encryption of each message content can be performed based on the different area serial numbers and the number of characters corresponding to each message content, which increases the complexity and security of the content encryption sequence, and also realizes a customized encryption process for each message content, so that the area encryption sequence corresponding to each message content is unique, thereby further improving the corresponding encryption security and information security.

[0166] Here, the "forward combination" mentioned above can be understood as combining the area number and the number of characters in the form of "area number + number of characters" to obtain the corresponding area encryption sequence; in addition, the encryption layer can be understood as the layer corresponding to the blurred picture. By covering the image area with the encryption layer, the message content in each image area can be interfered with to avoid information leakage.

[0167] For example, after completing the content encryption of each message content, in order to enable the corresponding message receiving terminal to complete the viewing of any message content, in this implementation, the following steps may also be included:

[0168] Determining a message receiving terminal corresponding to the message sending terminal as an access terminal for accessing each message content;

[0169] Sending each regional content key corresponding to each message content to the access terminal, and generating corresponding access verification links and verification identity sets;

[0170] In response to the access terminal accessing data based on any corresponding access verification link, access verification is performed based on the corresponding regional content key and the verification identity set. If the verification passes, the encryption layer corresponding to the regional content key is eliminated, and the corresponding message content is fed back to the access terminal.

[0171] For example, in this embodiment, the corresponding message receiving terminal can be determined as the access terminal for accessing each message content, and the regional content key corresponding to each message content can be sent to the access terminal, and the corresponding access verification links and verification identity sets can be generated. Here, when the access terminal needs to access any message content, it can complete the corresponding data access by interacting with the corresponding access verification link, and further perform access verification on the access terminal based on the aforementioned obtained regional content key and verification identity set. When the verification is passed, the encryption layer corresponding to the regional content key can be cleared, and the corresponding message content can be fed back to the access terminal.

[0172] Here, for the message image transmitted to the message receiving terminal, when the message receiving terminal wants to view any message content located in the message image, it is necessary to perform corresponding encryption processing on the message content, thereby improving the corresponding information security and avoiding corresponding information leakage.

[0173] It should be noted that the above scheme is based on the hash algorithm to complete the corresponding transmission encryption and content encryption processes, and in this embodiment, in addition to the hash algorithm, SM4 can also be used for transmission encryption and content encryption. SM4 is a block cipher standard issued by the China National Cryptography Administration. It uses a 32-bit block length and a 128-bit key length and is a symmetric encryption algorithm. The specific process of SM4 encryption is as follows:

[0174] 1. Key expansion: expand the 128-bit key to 32 words (4 bytes), a total of 128 bits, for subsequent encryption round operations;

[0175] 2. Initial round: Divide the input plaintext into 4 words (16 bytes) and perform byte-wise XOR operation with the subkey used in the first encryption round;

[0176] 3. Encryption round operation:

[0177] A total of 32 rounds of encryption operations are performed, and each round of operation includes the following four steps:

[0178] (1) Byte replacement: Use the predefined S-box (SubstitutionBox) to perform byte replacement;

[0179] (2) Row shift: Circularly shift each byte to the left. The shift rule is related to the number of rounds.

[0180] (3) Column confusion: Use a fixed linear transformation matrix to perform confusion operations on each column;

[0181] (4) Round key addition: Perform a byte-by-byte XOR operation on the subkey used by the current encryption round and the intermediate result.

[0182] 4. End round: After the last round of encryption is completed, a byte-wise XOR operation is performed on the encrypted result and the subkey used in the last encryption round.

[0183] 5. Output ciphertext: The result obtained after all encryption rounds is the final ciphertext output.

[0184] Here, the decryption process of SM4 is similar to the encryption process, except that the order of using the round keys is reversed. Starting from the last round key, reverse row shift, reverse byte replacement, reverse column confusion and round key addition operations are performed in sequence to finally obtain the decrypted plaintext.

[0185] For example, in this embodiment, since the message receiving terminal may receive message images sent by different message sending terminals in sequence within a certain period, each message image may contain message content with corresponding sensitive attributes or message content with corresponding general attributes. Therefore, when the user views the message images through the message receiving terminal, it is necessary to read them one by one to determine the message content with corresponding sensitive attributes in each message image, and further obtain the view of the message content by decryption; and when the message receiving terminal receives a large number of short message images, it may increase the user's viewing burden for the message content with corresponding sensitive attributes, thereby reducing the corresponding information acquisition efficiency.

[0186] In order to solve the corresponding problems caused by the above situation, this embodiment further includes step S110, wherein step S110 includes the following contents:

[0187] A sensitive data display layer corresponding to the message receiving terminal is established, and all message contents corresponding to sensitive attributes that are encrypted are filled into the sensitive data display layer based on time sequence.

[0188] For example, in this embodiment, in order to enable users to uniformly view message contents of corresponding sensitive attributes in all message images received by the same message receiving terminal, a sensitive data display layer corresponding to the message receiving terminal can be established, and the message contents can be filled into the sensitive data display layer based on time sequence according to the reception time corresponding to each message content of the corresponding sensitive attribute, so that users can uniformly view the message contents of each corresponding sensitive attribute based on time sequence through the sensitive data display layer, and can also correspondingly complete the screening of message contents of corresponding general attributes, thereby improving the user's viewing efficiency of message contents of corresponding sensitive attributes and reducing the corresponding viewing burden.

[0189] Further, in this embodiment, the above-mentioned “establishing a sensitive data display layer corresponding to the message receiving terminal, and filling all message contents that are encrypted into the sensitive data display layer based on time sequence” may include the following steps:

[0190] Determine each message image after content encryption received by the message receiving terminal within a preset period, and establish a sensitive data display layer corresponding to the message receiving terminal;

[0191] Determine the image width of the message image in the horizontal direction, and generate a first positioning line and a second positioning line extending in the vertical direction in the sensitive data display layer, respectively, wherein the area width of the filling area between the first positioning line and the second positioning line in the horizontal direction is greater than the image width;

[0192] Acquire the sending time of each short message corresponding to each message image, and determine the message contents corresponding to the same message image as message division groups, to obtain the message division groups corresponding to each message image;

[0193] Filling each message group into the filling area from top to bottom in sequence based on the time sequence of each short message sending time, wherein each message group has a preset interval between adjacent ones in the filling area;

[0194] Determine each message sending terminal corresponding to each message division group, and determine from top to bottom in the filling area whether each adjacent message division group corresponds to the same message sending terminal;

[0195] When the adjacent message division groups correspond to the same message sending terminal, the message division groups are moved to fit the same positioning line;

[0196] When adjacent message division groups correspond to different message sending terminals, the message division groups are moved to fit different positioning lines.

[0197] For example, in this embodiment, the unified display of the message images received by the message receiving terminal can be realized based on a preset period, that is, the message images corresponding to each preset period after content encryption are uniformly collected and displayed. Here, the corresponding preset period can be daily, weekly or monthly;

[0198] Furthermore, after receiving all message images corresponding to content encryption within a preset period, a sensitive data display layer can be established according to the corresponding message receiving terminal;

[0199] In order to fill all message images after content compaction into the sensitive data display layer, it is necessary to establish a corresponding filling area. Since the specifications and dimensions of each message image are the same, the image width of the message image in the horizontal direction can be determined, and the first positioning line and the second positioning line are respectively generated in the sensitive data display layer based on the image width, so that the filling area can be established, and the area width of the filling area in the horizontal direction is greater than the corresponding image width;

[0200] After the establishment of the filling area is completed, the sending time of each SMS corresponding to each message image can be obtained, that is, the time when each message sending terminal sends each message image to the server; because the unified display of the message image after content encryption is based on the message content corresponding to the sensitive attribute, it is also necessary to determine the message content corresponding to the agreed message image as a message division group, so as to obtain all the message division groups that need to be filled in the sensitive data display layer;

[0201] By filling the message groups into the corresponding filling area from top to bottom in the chronological order of the corresponding SMS sending time, it is possible to achieve unified collection and display of the message contents of each corresponding sensitive attribute; at the same time, in order to distinguish and display each message group filled in the filling area, a corresponding preset interval can be set between adjacent message groups;

[0202] Here, since each message division group located in the filling area corresponds to a different message image, and each message image may be sent by different or the same message sending terminal, in order to be able to distinguish and display the message division groups corresponding to different message sending terminals in the sensitive data display layer, it is possible to determine whether the adjacent message division groups correspond to the same message sending terminal, and when corresponding to the same message sending terminal, move the adjacent message division groups to fit the same positioning line, and when corresponding to different message sending terminals, move the message division groups to fit different positioning lines, thereby realizing cross-arrangement of the message division groups corresponding to different message sending terminals, so that when the user views the message division groups in the sensitive data display layer through the message receiving terminal, it is possible to determine from top to bottom whether the adjacent message division groups correspond to the same message sending terminal, thereby improving the corresponding message distinguishability and viewing efficiency.

[0203] In this embodiment, since the filled area is filled with message groups that may correspond to different message sending terminals, in order to enable the user to quickly locate all message groups corresponding to the same message sending terminal, it can be implemented based on the scheme:

[0204] Generating a terminal display area in the sensitive data display layer, wherein the terminal display area is located above or below the filling area;

[0205] Based on the message sending terminals corresponding to the message division groups, respectively, establishing the interaction sub-areas corresponding to the message sending terminals in the terminal display area;

[0206] In response to the interactive operation of the message receiving terminal on any interactive sub-area, all message division groups corresponding to the interactive sub-area in the filling area are moved so that all message division groups are moved outside the filling area and respectively fit the corresponding positioning lines.

[0207] For example, in this embodiment, a corresponding terminal display area can be generated based on each message sending terminal corresponding to each message division group, and when a user wants to view all message division groups corresponding to any message sending terminal, the user only needs to use the corresponding message receiving terminal to perform interactive operations (such as clicking, touching) on ​​the interactive sub-area corresponding to the message sending terminal in the terminal display area, so that all message division groups corresponding to the interactive sub-area (that is, corresponding to the same message sending terminal) in the filling area can be moved, so that all message division groups are moved outside the filling area and respectively fit on the corresponding positioning lines, thereby realizing visual-based unified positioning of all message division groups, improving the corresponding data search efficiency, and also improving the corresponding user experience.

[0208] Among them, Figure 4 as well as Figure 5 As shown, Figure 4 as well as Figure 5 Each shows a schematic diagram of the corresponding sensitive data display layer. Figure 4 as well as Figure 5 The two dotted lines in are the corresponding first positioning line and the second positioning line, and Figure 4 as well as Figure 5 The filling area in includes 5 message division groups. Since the first message division group and the second message division group correspond to different message sending terminals, the second message division group and the third message division group correspond to different message sending terminals, the third message division group and the fourth message division group correspond to the same message sending terminal, and the fourth message division group and the fifth message division group correspond to different message sending terminals, therefore, each message division group is divided into Figure 4 They are displayed one by one on the corresponding positioning lines; Figure 5 In the example, since the user performs an interactive operation on the interactive sub-area, the corresponding second message division group and the third message division group are adjusted in position, so that they are adjusted to be outside the filling area and fit with the corresponding positioning line.

[0209] To sum up, in this embodiment, two corresponding encryption processes can be performed for the message image sent by the message sending terminal, wherein the first encryption process is performed based on the transmission process of the message image (that is, the corresponding message image will not be transmitted to the message receiving terminal until the corresponding decryption is performed), and the second encryption process is performed based on the viewing process of the message content of the corresponding sensitive attributes in the message image (that is, the message content of the corresponding sensitive attributes in the message image can only be viewed by the message receiving terminal after the corresponding decryption is performed). By double encrypting the message image, the corresponding information security is improved, and the corresponding information leakage problem is avoided. In addition, the message content of the corresponding sensitive attributes can also be uniformly filled in the corresponding sensitive data display layer, which is convenient for users to uniformly view and improves the corresponding information display effect.

[0210] Figure 6 FIG. 4 shows a structural block diagram of a processing device suitable for message encryption storage proposed in another embodiment of the present invention. Figure 6 As shown, the device comprises:

[0211] A receiving module, configured to receive a message image sent by a message sending terminal, determine a corresponding message receiving terminal based on a transmission path of the message image, and retrieve an encryption terminal list corresponding to the message receiving terminal;

[0212] a transmission encryption module, configured to, in response to the message sending terminal being located in the encryption terminal list, perform transmission encryption on the message image based on a preset transmission encryption strategy;

[0213] an identification module configured to perform message identification on the message image, and determine, based on the identification result, each message content corresponding to different message attributes located in the message image, wherein the message attributes include general attributes and sensitive attributes;

[0214] The content encryption module is configured to obtain the content of each message corresponding to the sensitive attribute, and encrypt the content of each message based on a preset content encryption strategy;

[0215] The establishment module is configured to establish a sensitive data display layer corresponding to the message receiving terminal, and fill the message contents of all corresponding sensitive attributes that are encrypted into the sensitive data display layer based on time sequence.

[0216] Yet another embodiment of the present invention provides a computing device, comprising: at least one processor; and a memory storing program instructions, wherein the program instructions are configured to be suitable for execution by the at least one processor, and the program instructions include instructions for executing the above method.

[0217] Yet another embodiment of the present invention provides a readable storage medium storing program instructions, and when the program instructions are read and executed by a computing device, the computing device executes the above method.

[0218] In the description provided herein, algorithms and displays are not inherently related to any particular computer, virtual system or other device. Various general purpose systems can also be used together with the examples of the present invention. According to the above description, it is obvious that the structure required for constructing such systems. In addition, the present invention is not directed to any specific programming language either. It should be understood that various programming languages ​​can be utilized to implement the content of the present invention described herein, and the above description of specific languages ​​is for the purpose of disclosing the preferred embodiment of the present invention.

[0219] In the description provided herein, a large number of specific details are described. However, it is understood that embodiments of the present invention can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.

[0220] Similarly, it should be understood that in order to streamline the present disclosure and aid in understanding one or more of the various inventive aspects, in the above description of exemplary embodiments of the present invention, various features of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof.

[0221] Those skilled in the art will appreciate that the modules or units or components of the devices in the examples disclosed herein may be arranged in the devices described in the embodiment, or alternatively may be located in one or more devices different from the devices in the examples. The modules in the foregoing examples may be combined into one module or may be divided into multiple submodules.

[0222] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and furthermore may be divided into a plurality of submodules or subunits or subcomponents.

[0223] Furthermore, those skilled in the art will appreciate that although some embodiments described herein include certain features included in other embodiments but not other features, the combination of features from different embodiments is meant to be within the scope of the present invention and to form different embodiments.

[0224] In addition, some of the embodiments are described herein as methods or combinations of method elements that can be implemented by a processor of a computer system or by other devices that perform the functions. Therefore, a processor with necessary instructions for implementing the method or method elements forms a device for implementing the method or method elements. In addition, the elements described herein of the device embodiments are examples of devices for implementing the functions performed by the elements for the purpose of implementing the invention.

[0225] As used herein, unless otherwise specified, the use of ordinal numbers "first," "second," "third," etc. to describe common objects merely indicates that different instances of similar objects are involved, and is not intended to imply that the objects so described must have a given order in time, space, order, or in any other manner.

[0226] Although the present invention has been described according to a limited number of embodiments, it will be apparent to those skilled in the art, with the benefit of the above description, that other embodiments may be envisioned within the scope of the invention thus described. In addition, it should be noted that the language used in this specification is primarily selected for readability and instructional purposes, rather than for explaining or limiting the subject matter of the present invention.

Claims

1. A processing method suitable for message encryption storage, characterized in that: The following steps are involved: Receiving a message image sent by a message sending terminal, determining a corresponding message receiving terminal based on a transmission path of the message image, and retrieving an encryption terminal list corresponding to the message receiving terminal; In response to the message sending terminal being located in the encryption terminal list, encrypting the message image for transmission based on a preset transmission encryption strategy; Performing message recognition on the message image, and determining each message content corresponding to different message attributes located in the message image based on the recognition result, wherein the message attributes include general attributes and sensitive attributes; Obtaining the content of each message corresponding to the sensitive attribute, and encrypting the content of each message based on a preset content encryption strategy; Establishing a sensitive data display layer corresponding to the message receiving terminal, and filling the message contents of all corresponding sensitive attributes for content encryption into the sensitive data display layer based on time sequence; The encrypted terminal list includes different terminal numbers; In response to the message sending terminal being located in the encryption terminal list, encrypting the message image for transmission based on a preset transmission encryption strategy, including: Acquire a terminal number corresponding to the message sending terminal, and traverse the encrypted terminal list based on the terminal number; In response to the terminal number corresponding to the message sending terminal being in the encryption terminal list, retrieving a preset encryption string corresponding to the message receiving terminal and a storage byte corresponding to the message image; Randomly select any two of the terminal number, the preset encryption string and the storage byte, and generate the two corresponding image encryption sequences to the randomly selected ones based on a preset sequence generation strategy; An image transmission key corresponding to the image encryption sequence is generated based on a hash encryption algorithm.

2. The processing method suitable for message encryption storage according to claim 1, characterized in that: Generating and randomly selecting two corresponding image encryption sequences based on a preset sequence generation strategy includes: Retrieving priority coefficients corresponding to the terminal number, the preset encrypted string, and the storage byte, respectively, and sorting the terminal number, the preset encrypted string, and the storage byte in descending order based on the priority coefficients to obtain a first priority sequence; Determine a receiving time for receiving the message image, and decompose the receiving time to obtain a time period interval, a segment interval, and a second segment interval corresponding to the receiving time; Randomly select any one of the time period interval, the segment interval and the second segment interval, and determine the numerical attribute of the randomly selected interval, wherein the numerical attribute includes an even number attribute and an odd number attribute; When the numerical attribute corresponding to the randomly selected interval is an even attribute, the two randomly selected ones are used to generate the image encryption sequence according to the first priority sequence; When the numerical attribute corresponding to the randomly selected interval is an odd attribute, the image encryption sequence is generated by using two randomly selected intervals in a second priority sequence that is in a reverse order relationship with the first priority sequence.

3. The processing method suitable for message encryption storage according to claim 1, characterized in that: The method further comprises: determining a message receiving terminal corresponding to the message sending terminal as an access terminal for accessing the message image; Sending the image transmission key corresponding to the message image to the access terminal, and generating a corresponding access verification link and verification identity set; In response to the access terminal performing data access based on the corresponding access verification link, access verification is performed based on the corresponding image transmission key and the verification identity set, and a message image corresponding to the image transmission key is fed back to the access terminal if the verification passes.

4. The processing method suitable for message encryption storage according to claim 1, characterized in that: Perform message recognition on the message image, and determine the message contents corresponding to different message attributes in the message image based on the recognition result, wherein the message attributes include general attributes and sensitive attributes, including: Performing message recognition on the message image based on an image recognition model to obtain message contents located in different image regions; Retrieving a preset attribute determination list, wherein the preset attribute determination list includes a phrase area corresponding to the sensitive attribute, and the phrase area is filled with different phrases; Traversing the phrase area, when at least part of the characters in any message content exists in the phrase area, determining the message content as corresponding to the sensitive attribute, and obtaining each message content corresponding to the sensitive attribute in the message image; The remaining message contents in the message image except for the message contents respectively corresponding to the sensitive attributes are determined as corresponding to the general attributes.

5. The processing method suitable for message encryption storage according to claim 4, characterized in that: Performing message recognition on the message image based on the image recognition model to obtain the message contents located in different image regions, including: Performing message recognition on the message image based on an image recognition model to obtain message character strings respectively located in the message image; Performing character confirmation on the message character string to obtain each semicolon character and each period character in each message character string, and inserting each message delimiter at a position after each semicolon character and each period character respectively; Among the message delimiters, the first one is determined as the header delimiter, and the last one is determined as the tail delimiter; Determine all characters before the head delimiter as the first message character group, determine all characters after the tail delimiter as the tail message character group, and determine all characters between adjacent message delimiters as middle message character groups, to obtain message character groups constituting the message character string; The message image is divided into regions based on each message character group to obtain each image region, and each message character group is determined as each message content corresponding to each image region.

6. The processing method suitable for message encryption storage according to claim 5, characterized in that: Encrypt the content of each message based on the preset content encryption strategy, including: Sort each image area based on the area position of each image area in the message image to obtain each area serial number corresponding to each image area; Determine the number of characters corresponding to all characters in each image area respectively, and perform forward combination based on the area sequence number and the number of characters corresponding to the same image area to obtain encryption sequences of each area corresponding to each message content; Based on the hash encryption algorithm, each area content key corresponding to each area encryption sequence is generated, and each encryption layer corresponding to each area content key and covering each image area is generated.

7. The processing method suitable for message encryption storage according to claim 6, characterized in that: The method further comprises: Determining a message receiving terminal corresponding to the message sending terminal as an access terminal for accessing each message content; Sending each regional content key corresponding to each message content to the access terminal, and generating corresponding access verification links and verification identity sets; In response to the access terminal accessing data based on any corresponding access verification link, access verification is performed based on the corresponding regional content key and the verification identity set. If the verification passes, the encryption layer corresponding to the regional content key is eliminated, and the corresponding message content is fed back to the access terminal.

8. The processing method suitable for message encryption storage according to claim 1, characterized in that: Establishing a sensitive data display layer corresponding to the message receiving terminal, and filling all encrypted message contents into the sensitive data display layer based on time sequence, including: Determine each message image after content encryption received by the message receiving terminal within a preset period, and establish a sensitive data display layer corresponding to the message receiving terminal; Determine the image width of the message image in the horizontal direction, and generate a first positioning line and a second positioning line extending in the vertical direction in the sensitive data display layer, respectively, wherein the area width of the filling area between the first positioning line and the second positioning line in the horizontal direction is greater than the image width; Acquire the sending time of each short message corresponding to each message image, and determine the message contents corresponding to the same message image as message division groups, to obtain the message division groups corresponding to each message image; Filling each message group into the filling area from top to bottom in sequence based on the time sequence of each short message sending time, wherein each message group has a preset interval between adjacent ones in the filling area; Determine each message sending terminal corresponding to each message division group, and determine from top to bottom in the filling area whether each adjacent message division group corresponds to the same message sending terminal; When the adjacent message division groups correspond to the same message sending terminal, the message division groups are moved to fit the same positioning line; When adjacent message division groups correspond to different message sending terminals, the message division groups are moved to fit different positioning lines.

9. The processing method suitable for message encryption storage according to claim 8, characterized in that: The method further comprises: Generating a terminal display area in the sensitive data display layer, wherein the terminal display area is located above or below the filling area; Based on the message sending terminals corresponding to the message division groups, respectively, establishing the interaction sub-areas corresponding to the message sending terminals in the terminal display area; In response to the interactive operation of the message receiving terminal on any interactive sub-area, all message division groups corresponding to the interactive sub-area in the filling area are moved so that all message division groups are moved outside the filling area and respectively fit the corresponding positioning lines.

10. A device for implementing a processing method for message encryption storage as claimed in any one of claims 1 to 9, characterized in that: include: A receiving module, configured to receive a message image sent by a message sending terminal, determine a corresponding message receiving terminal based on a transmission path of the message image, and retrieve an encryption terminal list corresponding to the message receiving terminal; a transmission encryption module, configured to, in response to the message sending terminal being located in the encryption terminal list, perform transmission encryption on the message image based on a preset transmission encryption strategy; an identification module configured to perform message identification on the message image, and determine, based on the identification result, each message content corresponding to different message attributes located in the message image, wherein the message attributes include general attributes and sensitive attributes; The content encryption module is configured to obtain the content of each message corresponding to the sensitive attribute, and encrypt the content of each message based on a preset content encryption strategy; The establishment module is configured to establish a sensitive data display layer corresponding to the message receiving terminal, and fill the message contents of all corresponding sensitive attributes that are encrypted into the sensitive data display layer based on time sequence.

11. A computing device comprising: at least one processor; and A memory storing program instructions, wherein the program instructions are configured to be executed by the at least one processor, and the program instructions include instructions for executing the method according to any one of claims 1 to 9.

12. A readable storage medium storing program instructions, when the program instructions are read and executed by a computing device, the computing device executes the method according to any one of claims 1 to 9.