A short message service system with data security mechanism and method thereof

Risk data is extracted through SMS data collection and caching, filtered and encrypted, which solves the problems of traffic change assessment, historical data analysis and abnormal data judgment in the SMS service system, achieving efficient and safe transmission and accuracy of data, and improving the system's Overall security.

CN115942262BActive Publication Date: 2024-10-29XIAMEN XUNMEI NETWORK TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202211516671.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-30
Publication Date
2024-10-29
Estimated Expiration
2042-11-30

AI Technical Summary

Technical Problem

The existing SMS service system fails to effectively evaluate traffic changes during data transmission, resulting in traffic explosion; it fails to use historical data to analyze abnormal data, reducing the integrity and security of the data; abnormal data is not judged in time, resulting in excessive encrypted storage Large, affecting the accuracy of the data.

Method used

Extract risk data through SMS data collection and caching, perform differential calculation and analysis, screen out valid abnormal data for encryption processing, use shared data transmission channels to optimize data transmission efficiency, and use multiple encryption matrices to protect data security.

Benefits of technology

It effectively improves the security and accuracy of data, reduces the redundancy of abnormal data, ensures the clarity of data, provides a basis for data judgment and decision-making, and improves the overall data security mechanism.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115942262B_ABST
    Figure CN115942262B_ABST
Patent Text Reader

Abstract

The present invention discloses a short message service system and method with a data security mechanism, relates to the technical field of short message services, and is intended to solve the security problem of short message data. The short message service system and method with a data security mechanism provided by the present invention determine the single maximum aggregated data volume of each aggregation node, use the shared data transmission channel to receive the second data sent by the risk data receiving terminal, and after the risk data is screened out, the security of the data can be effectively improved, and the first abnormal data and the second abnormal data are marked as the final effective abnormal data, ensuring the clarity and accuracy of the effective abnormal data finally obtained, thereby providing a basis for determining and making decisions on the numerical value of the data, facilitating the self-judgment of the data, and multiple encryption matrices can protect the security of the data to the greatest extent, while also improving the overall data security mechanism, making the service port of the short message more excellent.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of short message services, and in particular to a short message service system with a data security mechanism and a method thereof. Background Art

[0002] SMS service is the earliest short message service and also the most popular short message service.

[0003] The Chinese patent with publication number CN114599032A discloses a method and device for SMS transmission based on salt value encryption. The method includes: the SMS service end uses the effective salt value to encrypt the SMS to be sent, and the effective salt value information includes the effective salt value and the salt value identifier. The method mainly solves the problem that the SMS service end uses the effective salt value to encrypt the SMS to be sent. Since the salt value has a validity period, once the salt value exceeds the validity period, it will become invalid and can no longer be used for encryption, thereby increasing the security of information encryption and increasing the difficulty of capturing the sensitive information of the customer during the link transmission process. Moreover, due to the existence of a timed refresh mechanism of the salt value, once the information is not decrypted in time, decryption becomes very difficult, thereby protecting the security of the customer's privacy data. Although the above problem is a problem of data encryption, there are still the following problems in actual operation:

[0004] 1. When receiving SMS data, there is no effective assessment of the traffic changes during data transmission. Excessive traffic can easily cause traffic explosion during transmission. When data is transmitted, historical successful data is not used to parse the existing data. At the same time, abnormal data in the data is not promptly checked for risks, resulting in reduced data integrity and security.

[0005] 2. After receiving the abnormal data, there is no comparison of the abnormal data, which increases the redundancy of the abnormal data. At the same time, there is no timely judgment on the abnormal data, which reduces the accuracy of the data.

[0006] 3. Abnormal data and valid data are not distinguished, resulting in the abnormal data being encrypted at the same time during encryption, resulting in an excessive amount of storage after encryption. Summary of the invention

[0007] The purpose of the present invention is to provide a short message service system and method with a data security mechanism, determine the single maximum aggregated data volume of each aggregation node, use the shared data transmission channel to receive the second data sent by the risk data receiving terminal, and effectively improve the security of the data after the risk data is screened out. The first abnormal data and the second abnormal data are marked as the final effective abnormal data to ensure the clarity and accuracy of the effective abnormal data finally obtained, thereby providing a basis for determining and making decisions on the numerical value of the data, facilitating the self-judgment of the data, and multiple encryption matrices can protect the security of the data to the greatest extent. At the same time, the overall data security mechanism is also improved, so that the service port of the short message can be used better, and the problems in the prior art can be solved.

[0008] To achieve the above object, the present invention provides the following technical solutions:

[0009] A short message service method with a data security mechanism, the method comprising the following steps:

[0010] S1: SMS data collection: collect SMS data information through the gateway port and store the collected SMS data independently;

[0011] S2: Data cache extraction: cache the independently stored SMS data information and extract the risk data in the cache data;

[0012] S3: Risk data reading and calculation: the extracted risk data is read, and the difference between abnormal data and data within the normal range is calculated;

[0013] S4: Differential data reading: Read and analyze the sequence data after differential calculation, and perform effective data integration on the analyzed data;

[0014] S5: Valid data encryption: Encrypt valid data and start the encrypted data first.

[0015] Preferably, the SMS data collection further includes:

[0016] Information data collection system for:

[0017] Obtain the traffic changes of the network layer of each data receiving terminal when transmitting data;

[0018] Evaluate the importance of each network layer based on the traffic changes of each data receiving terminal's network layer when transmitting data;

[0019] Count the target network layers where the importance of each data receiving terminal is greater than or equal to a preset threshold;

[0020] Get the historical transmission success data of each data receiving terminal.

[0021] Preferably, the risk data reading after the collection is completed further includes:

[0022] Abnormal data analysis unit, used to:

[0023] Based on the historical transmission success data of each data receiving terminal obtained in the information data collection system;

[0024] Parsing the historical successful transmission data to determine its integrity and security, and evaluating the threat risk index and vulnerability risk index of the data receiving terminal based on the integrity and security;

[0025] Calculate the security index of the data receiving terminal using a preset risk assessment system according to the working intensity of the target network layer of each data receiving terminal and the threat risk index and vulnerability risk index of the data receiving terminal;

[0026] Screen out safe data receiving terminals and risky data receiving terminals according to the security index of each data receiving terminal;

[0027] receiving first data sent by the security data receiving terminal;

[0028] Acquiring configuration information and network information of the risk data receiving terminal;

[0029] Constructing a shared data transmission channel for a risk data receiving terminal according to the network information;

[0030] Acquire multiple aggregation nodes in the shared data transmission channel, and determine a single maximum aggregation data volume of each aggregation node;

[0031] Determine the target second data with the largest data volume among the second data of the risk data receiving terminal;

[0032] Calculating a target data transmission efficiency of the shared data transmission channel according to the target second data and a maximum aggregated data volume of data of each aggregation node in the shared data transmission channel;

[0033] The data transmission efficiency of the shared data transmission channel is set to the target data transmission efficiency. After the setting is completed, the shared data transmission channel is used to receive the second data sent by the risk data receiving terminal.

[0034] Preferably, the calculation of the difference between the abnormal data and the data within the normal range value also includes:

[0035] Difference calculation module for:

[0036] After obtaining the risk data, the risk data is converted into specific values, and then the difference between the risk data and the data values ​​within the normal range is calculated;

[0037] A judgment module, used for obtaining the numerical sequence of the data difference calculation, performing periodicity detection on the numerical sequence, and judging whether the numerical sequence is a periodic sequence;

[0038] an analysis module, configured to, after determining that the numerical sequence is a periodic sequence, divide the numerical sequence according to the periodicity to obtain a plurality of identical first subsequences, determine whether all the numerical values ​​in the first subsequence are greater than a preset numerical value, if so, extract a first abnormal numerical value in the first subsequence that is greater than the preset numerical value, determine the adjacent time intervals between the first abnormal numerical values, and determine whether the time intervals are within a preset time interval range, if so, use the first abnormal numerical value and the time interval as first abnormal data, otherwise, determine that the first abnormal numerical value is invalid;

[0039] The data integration module is used to periodically mark the first abnormal data to obtain first valid abnormal data, non-periodically mark the second abnormal data to obtain second valid abnormal data, and independently store the first valid abnormal data and the second valid abnormal data as final valid abnormal data, and do not send their data to the next reading module.

[0040] Preferably, the analysis module further includes:

[0041] The analysis module is further used to, after determining that the numerical sequence is a non-periodic sequence, perform a clustering operation on the numerical sequence using a one-dimensional clustering method to obtain multiple segmentation points, and use the multiple segmentation points to divide the numerical sequence to obtain multiple groups of different second subsequences, obtain a third subsequence with a value greater than a preset value from the second subsequence, and determine the abnormal time interval of the third subsequence based on the position of the third subsequence in the numerical sequence, and obtain a fourth subsequence whose abnormal time interval of an adjacent third subsequence is within the preset time interval range, and use the fourth subsequence and the abnormal time interval as second abnormal data.

[0042] Preferably, the valid data reading and encryption further includes:

[0043] Valid data reading module, used for:

[0044] Based on the first valid abnormal data and the second valid abnormal data in the data integration module as the final valid abnormal data, the data is checked as a benchmark, and the other data after the check is taken as the valid data;

[0045] Data decoding and encryption module, used for:

[0046] Decoding the valid data, taking the decoded data as the original data and dividing it into segments to be encrypted of a preset length, and establishing an encryption sequence based on the segments to be encrypted;

[0047] According to the number of the segments to be encrypted, the encryption sequence is used as the first column of the matrix to establish a first encryption matrix;

[0048] adjusting a first position of each to-be-encrypted segment on a corresponding row of the first encryption matrix based on a preset interference factor, and performing a first encryption on the segment after the adjustment is completed;

[0049] Based on the number of interferences, a corresponding interference password is obtained from a preset password set, and a random number is rolled using an encrypted dice;

[0050] marking a second position in each row of the first encryption matrix that is separated from the first position by a random number;

[0051] Inputting the interference password into the second position in sequence for second encryption to establish a second encryption matrix;

[0052] When a first number of blank positions in the second encryption matrix is ​​greater than a second number of non-blank positions, determining that the current encryption level is insufficient;

[0053] The outermost positions of the second matrix are removed in sequence to generate a plurality of sub-encryption matrices;

[0054] Calculate the encryption rank of each sub-encryption matrix respectively, and generate a rank password based on all the encryption ranks;

[0055] Inputting the rank password into the second encryption matrix for third encryption to obtain a third encryption matrix;

[0056] Based on the specification of the third encryption matrix, randomly generate a homogeneous matrix;

[0057] Marking the remaining blank positions on the third encrypted matrix, and superimposing the marked third encrypted matrix with the isotype matrix to obtain a superposition number generated by the marked positions;

[0058] Input the superposition number into the remaining blank positions to obtain a fully encrypted matrix;

[0059] The data corresponding to each position in the first encryption matrix is ​​extracted to obtain encrypted data.

[0060] Preferably, caching the data includes:

[0061] A data retrieval module is used to obtain independently stored SMS data information, extract key information fragments of the SMS data information, and determine the information type of the SMS data information based on the target semantics of the key information fragments;

[0062] A cache space determination module, used to determine a target cache space corresponding to the SMS data information based on the information type, extract capacity information of the target cache space, and determine a first remaining available space capacity of the target cache space based on the capacity information;

[0063] The cache space determination module is used to obtain the data length of the SMS data information, and when the first remaining available space capacity is greater than the data length, cluster the SMS data information to obtain a set of sub-data types corresponding to the SMS data information, and set a type identifier for each sub-data type;

[0064] a cache space division module, for dividing the target cache space into first blocks based on the type identifier, and adding block identifiers to the divided sub-target cache spaces, and at the same time, performing a second division on each sub-target cache space to obtain a first storage entry and a second storage entry corresponding to each sub-target cache space, wherein the block identifier corresponds to the type identifier;

[0065] A data cache module, used to extract the target content of the SMS data information corresponding to each sub-data type based on the type identifier, and cache the type identifier and the target content to the first storage entry and the second storage entry respectively;

[0066] The data update module is used to monitor the reading operation of the SMS data information in real time, and when the reading of the SMS data information is detected, determine the real-time reading amount of the SMS data information based on the reading process, and determine the data tail of the remaining SMS data information in the target cache space based on the reading amount;

[0067] The space update module is used to move the preset cursor to the tail of the SMS data information in the target cache space, determine the second remaining available space capacity of the target cache space based on the movement result, and indicate the second remaining available space capacity of the target cache space based on the preset cursor.

[0068] Preferably, in S1, the SMS data information is collected through the gateway port, including:

[0069] Determine the total number of data packets collected by the SMS data information based on the gateway port, perform integrity check on the SMS data information, and calculate the integrity index of the SMS data information received by the gateway port based on the check result;

[0070] ;

[0071] in, Indicates the complete index of the SMS data information received by the gateway port; Indicates the number of data packets that failed the integrity check; Indicates the total number of data packets;

[0072] Map the SMS data information corresponding to the data packet that has passed the integrity check to the storage space of the gateway port, and calculate the security index of the gateway port for receiving the SMS data information based on the mapping result;

[0073] ;

[0074] in, Indicates the security index of the gateway port receiving SMS data information; represents the data mapping uniformity factor; Indicates the probability of no data loss when SMS data information is mapped; Indicates the current mapping length of SMS data information in the storage space; Indicates the minimum length of storage space; Indicates the maximum length of the storage space; represents the logarithm with base 2;

[0075] Based on the integrity index of the SMS data information received by the gateway port and the security index of the SMS data information received by the gateway port, the quality of the SMS data information collected by the gateway port is evaluated and an evaluation score is obtained;

[0076] Compare the evaluation score with the set threshold to determine whether the SMS data information collected by the gateway port is qualified;

[0077] When the evaluation score is equal to or greater than the set score, it is determined that the SMS data information collected by the gateway port is qualified;

[0078] Otherwise, it is determined that the SMS data information collected by the gateway port is unqualified and an alarm operation is performed.

[0079] Compared with the prior art, the present invention has the following beneficial effects:

[0080] 1. The present invention provides a short message service system and method with a data security mechanism. The importance of each network layer is evaluated according to the traffic change situation, and the traffic change is paid attention to in time, so as to avoid the traffic explosion caused by excessive traffic. Then, the collected short message data is analyzed with the historical data of successful transmission to determine its integrity and security. Then, the threat risk index and vulnerability risk index of the data are evaluated according to the integrity and security. The security index of the data receiving terminal is calculated by using a preset risk assessment system. The safe data receiving terminal and the risk data receiving terminal are screened out according to the security index. According to the safe data receiving terminal and the risk data receiving terminal, multiple aggregation nodes in the shared data transmission channel are obtained, and the single maximum aggregation data volume of each aggregation node is determined. The second data sent by the risk data receiving terminal is received by using the shared data transmission channel. After the risk data is screened out, the security of the data can be effectively improved.

[0081] 2. The present invention provides a short message service system and method with a data security mechanism. Different methods are used to analyze periodic sequences and non-periodic sequences to ensure the focus and efficiency of sequence analysis. The periodic sequence is divided into the same first subsequence for numerical judgment and time interval. While ensuring that the numerical value meets the abnormal requirement, the time interval is also judged. If the time interval exceeds the preset time interval, it means that the time between two first abnormal values ​​is long and cannot be used as valid abnormal data. The first abnormal value and time interval are used as the first abnormal data to reduce the redundancy of the abnormal data and ensure the accuracy of the obtained first abnormal data. For the non-periodic sequence, the numerical sequence is first clustered by a one-dimensional clustering method to obtain multiple segmentation points, so that the division of the segmentation points is more accurate and objective. After the non-periodic sequence is divided, the numerical value and the abnormal time interval are judged in the same way, and the second abnormal data are finally obtained to ensure the accuracy of the obtained second abnormal data. Finally, the first abnormal data and the second abnormal data are marked as the final effective abnormal data to ensure the clarity and accuracy of the final effective abnormal data, thereby providing a basis for determining and making decisions on the numerical value of the data and facilitating the self-judgment of the data.

[0082] 3. The present invention provides a short message service system and method with a data security mechanism, which excludes abnormal data in all data, so as to obtain valid data, first decode the valid data, use the decoded data as the original data and divide it into segments to be encrypted with a preset length, and use the encryption sequence as the first column of the matrix according to the number of segments to be encrypted, establish a first encryption matrix, input the interference password into the second position in sequence for the second encryption, establish a second encryption matrix, input the rank password into the second encryption matrix for the third encryption, obtain the third encryption matrix, and superimpose the marked third encryption matrix with the same type matrix to obtain the superposition number generated by the marked position; input the superposition number into the remaining blank position to obtain a full encryption matrix, extract the data corresponding to each position in the full encryption matrix, and obtain the encrypted data. Multiple encryption matrices can protect the security of data to the greatest extent, and also improve the overall data security mechanism, so that the service port of the short message can be used better.

[0083] 4. The present invention provides a short message service system and method with a data security mechanism. By analyzing the short message data information, the information type of the short message data information can be accurately and effectively confirmed, so as to facilitate the determination of the target cache space for caching the short message data information. Secondly, by clustering the short message data information, and classifying the different data types contained in the short message data information according to the clustering results, and dividing the target cache space according to the classification results, it is convenient to store different types of data in corresponding storage areas. At the same time, each sub-target storage space is divided again to ensure the cache effect and cache accuracy of each type of data content and type identifier. Finally, different types of data are cached in the corresponding sub-target cache space, and the reading operation of the short message data information is monitored in real time. After the reading operation, the remaining available space capacity of the target cache space is determined in real time, and indicated by a preset cursor pointing, thereby ensuring the cache effect of the short message data information and improving the security factor of the short message data information.

[0084] 5. The present invention provides a text message service system and method with a data security mechanism. By calculating the integrity index of the text message data information received by the gateway port and the security index of the text message data information received by the gateway port, it is effectively measured whether the text message data information collected by the gateway port is qualified, and then the quality of the collected text message data information is timely grasped. BRIEF DESCRIPTION OF THE DRAWINGS

[0085] Figure 1 It is a schematic diagram of the overall method flow of the present invention;

[0086] Figure 2 It is a schematic diagram of the overall system of the present invention. DETAILED DESCRIPTION

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

[0088] In order to solve the problem in the prior art that when receiving SMS data, there is no effective evaluation of the traffic changes during data transmission, excessive traffic can easily cause traffic explosion during transmission, and when data is transmitted, there is no use of historical successful data to analyze the existing data, and there is no timely risk investigation for abnormal data in the data, which reduces the integrity and security of the data. Figure 1 and Figure 2 , this embodiment provides the following technical solutions:

[0089] A short message service method with a data security mechanism, the method comprising the following steps:

[0090] S1: SMS data collection: collect SMS data information through the gateway port and store the collected SMS data independently;

[0091] S2: Data cache extraction: cache the independently stored SMS data information and extract the risk data in the cache data;

[0092] S3: Risk data reading and calculation: the extracted risk data is read, and the difference between abnormal data and data within the normal range is calculated;

[0093] S4: Differential data reading: Read and analyze the sequence data after differential calculation, and perform effective data integration on the analyzed data;

[0094] S5: Valid data encryption: Encrypt valid data and start the encrypted data first.

[0095] The SMS data collection also includes: an information data collection system, which is used to: obtain the traffic changes of the network layer of each data receiving terminal when transmitting data; evaluate the importance of each network layer based on the traffic changes of the network layer of each data receiving terminal when transmitting data; count the target network layers whose importance of each data receiving terminal is greater than or equal to a preset threshold; and obtain the historical transmission success data of each data receiving terminal.

[0096] The risk data reading after the collection also includes: an abnormal data analysis unit, which is used to: according to the historical transmission success data of each data receiving terminal obtained in the information data collection system; analyze the historical transmission success data to determine its integrity and security, and evaluate the threat risk index and vulnerability risk index of the data receiving terminal according to the integrity and security; calculate the security index of the data receiving terminal according to the working intensity of the target network layer of each data receiving terminal and the threat risk index and vulnerability risk index of the data receiving terminal using a preset risk assessment system; screen out safe data receiving terminals and risky data receiving terminals according to the security index of each data receiving terminal; receive the first data sent by the safe data receiving terminal; Acquire the configuration information and network information of the risk data receiving terminal; construct a shared data transmission channel of the risk data receiving terminal according to the network information; acquire multiple aggregation nodes in the shared data transmission channel, and determine the single maximum aggregated data volume of each aggregation node; determine the target second data with the largest data volume among the second data of the risk data receiving terminal; calculate the target data transmission efficiency of the shared data transmission channel according to the target second data and the maximum aggregated data volume of the data of each aggregation node in the shared data transmission channel; set the data transmission efficiency of the shared data transmission channel to the target data transmission efficiency. After the setting is completed, use the shared data transmission channel to receive the second data sent by the risk data receiving terminal.

[0097] Specifically, the transmitted SMS data information is first collected through the gateway port, and the traffic changes of the network layer of each data receiving terminal during data transmission are obtained during the collection. Then, the importance of each network layer is evaluated according to the traffic changes. Timely attention to traffic changes can avoid traffic explosions caused by excessive traffic. The collected SMS data is then analyzed with the historical data of successful transmission, and its integrity and security are determined. Then, the threat risk index and vulnerability risk index of the data are evaluated based on the integrity and security. The security index of the data receiving terminal is calculated using a preset risk assessment system, and safe data receiving terminals and risky data receiving terminals are screened out based on the security index. Based on the safe data receiving terminals and risky data receiving terminals, multiple aggregation nodes in the shared data transmission channel are obtained, and the single maximum aggregated data volume of each aggregation node is determined. The shared data transmission channel is used to receive the second data sent by the risky data receiving terminal. After the risky data is screened out, the security of the data can be effectively improved.

[0098] In order to solve the problem in the prior art that after receiving abnormal data, the abnormal data is not compared, thereby increasing the redundancy of the abnormal data and failing to make a timely judgment on the abnormal data, thereby reducing the accuracy of the data, please refer to Figure 1 and Figure 2 , this embodiment provides the following technical solutions:

[0099] The calculation of the difference between the abnormal data and the data within the normal range also includes: a difference calculation module, which is used to: after obtaining the risk data, convert the risk data into a specific numerical value, and then perform a difference calculation between the risk data and the data value within the normal range; a judgment module, which is used to obtain the numerical sequence of the data difference calculation, perform periodic detection on the numerical sequence, and judge whether the numerical sequence is a periodic sequence; an analysis module, which is used to divide the numerical sequence according to the period to obtain multiple groups of identical first subsequences after determining that the numerical sequence is a periodic sequence, and judge whether all the numerical values ​​in the first subsequence are greater than a preset numerical value. If so, extract the first abnormal numerical value in the first subsequence that is greater than the preset numerical value, and determine the adjacent time intervals between the first abnormal numerical values, and judge whether the time interval is within the preset time interval range. If so, use the first abnormal numerical value and the time interval as the first abnormal data, otherwise, determine that the first abnormal numerical value is invalid; the analysis module , and is also used for, after determining that the numerical sequence is a non-periodic sequence, using a one-dimensional clustering method to perform a clustering operation on the numerical sequence to obtain multiple segmentation points, and using the multiple segmentation points to divide the numerical sequence to obtain multiple groups of different second subsequences, obtaining a third subsequence with a value greater than a preset value from the second subsequence, and determining the abnormal time interval of the third subsequence based on the position of the third subsequence in the numerical sequence, and obtaining a fourth subsequence whose abnormal time interval of the adjacent third subsequence is within the preset time interval range, and using the fourth subsequence and the abnormal time interval as second abnormal data; a data integration module, used for periodically marking the first abnormal data to obtain first valid abnormal data, non-periodically marking the second abnormal data to obtain second valid abnormal data, and independently storing the first valid abnormal data and the second valid abnormal data as final valid abnormal data, and not sending their data to the next reading module.

[0100] Specifically, firstly, the periodicity of the numerical sequence is judged, and different methods are used to analyze the periodic sequence and the non-periodic sequence to ensure the focus and efficiency of the sequence analysis. The periodic sequence is divided into the same first subsequence for numerical judgment and time interval. While ensuring that the numerical value meets the abnormal requirement, the time interval is also judged. If the time interval exceeds the preset time interval, it means that the time between two first abnormal values ​​is long and cannot be used as valid abnormal data. The first abnormal value and time interval are used as the first abnormal data to reduce the redundancy of the abnormal data and ensure the accuracy of the obtained first abnormal data. For the non-periodic sequence, the numerical sequence is first clustered by a one-dimensional clustering method to obtain multiple segmentation points, so that the division of the segmentation points is more accurate and objective. After the non-periodic sequence is divided, the numerical value and the abnormal time interval are judged in the same way, and the second abnormal data are finally obtained to ensure the accuracy of the obtained second abnormal data. Finally, the first abnormal data and the second abnormal data are marked as the final effective abnormal data to ensure the clarity and accuracy of the final effective abnormal data, thereby providing a basis for determining and making decisions on the numerical value of the data and facilitating the self-judgment of the data.

[0101] In order to solve the problem that in the prior art, abnormal data and valid data are not distinguished, resulting in the abnormal data being encrypted at the same time when encryption is performed, resulting in an excessively large storage volume after encryption, please refer to Figure 1 and Figure 2 , this embodiment provides the following technical solutions:

[0102] The effective data reading and encryption also includes: an effective data reading module, which is used to: perform data screening based on the first effective abnormal data and the second effective abnormal data in the data integration module as the final effective abnormal data, and take other data after screening as effective data; a data decoding and encryption module, which is used to: decode the effective data, and use the decoded data as the original data and divide it into segments to be encrypted of a preset length, and establish an encryption sequence based on the segments to be encrypted; according to the number of segments to be encrypted, use the encryption sequence as the first column of the matrix to establish a first encryption matrix; adjust the first position of each segment to be encrypted on the corresponding row of the first encryption matrix based on a preset interference factor, and perform a first encryption on it after the adjustment is completed; obtain the corresponding interference password in the preset password set based on the number of interferences, and use the encryption dice to roll a random number; mark the random number separated from the first position in each row of the first encryption matrix. the second position of the encryption matrix; inputting the interference password into the second position in turn for second encryption to establish a second encryption matrix; when the first number of blank positions in the second encryption matrix is ​​greater than the second number of non-blank positions, determining that the current encryption level is insufficient; removing the outermost positions of the second matrix in turn to generate a number of sub-encryption matrices; calculating the encryption rank of each sub-encryption matrix respectively, and generating a rank password based on all encryption ranks; inputting the rank password into the second encryption matrix for third encryption to obtain a third encryption matrix; based on the specifications of the third encryption matrix, randomly generating a homogeneous matrix; marking the remaining blank positions on the third encryption matrix, and superimposing the marked third encryption matrix with the homogeneous matrix to obtain the superposition number generated by the marked position; inputting the superposition number into the remaining blank positions to obtain a full encryption matrix; extracting the data corresponding to each position in the full encryption matrix to obtain encrypted data.

[0103] Specifically, the abnormal data is first used as a benchmark, and then the abnormal data in all the data is excluded, so that valid data can be obtained, the valid data is first decoded, and the decoded data is used as the original data and divided into segments to be encrypted with a preset length. According to the number of segments to be encrypted, the encryption sequence is used as the first column of the matrix to establish a first encryption matrix, and the interference password is input into the second position in sequence for the second encryption to establish a second encryption matrix, and the rank password is input into the second encryption matrix for the third encryption to obtain the third encryption matrix, and the marked third encryption matrix is ​​superimposed with the same type matrix to obtain the superposition number generated by the marked position; the superposition number is input into the remaining blank position to obtain a full encryption matrix, and the data corresponding to each position in the full encryption matrix is ​​extracted to obtain encrypted data. Multiple encryption matrices can protect the security of data to the greatest extent, and also improve the overall data security mechanism, so that the service port of SMS can be used better.

[0104] Specifically, data is cached, including:

[0105] A data retrieval module is used to obtain independently stored SMS data information, extract key information fragments of the SMS data information, and determine the information type of the SMS data information based on the target semantics of the key information fragments;

[0106] A cache space determination module, used to determine a target cache space corresponding to the SMS data information based on the information type, extract capacity information of the target cache space, and determine a first remaining available space capacity of the target cache space based on the capacity information;

[0107] The cache space determination module is used to obtain the data length of the SMS data information, and when the first remaining available space capacity is greater than the data length, cluster the SMS data information to obtain a set of sub-data types corresponding to the SMS data information, and set a type identifier for each sub-data type;

[0108] a cache space division module, for dividing the target cache space into first blocks based on the type identifier, and adding block identifiers to the divided sub-target cache spaces, and at the same time, performing a second division on each sub-target cache space to obtain a first storage entry and a second storage entry corresponding to each sub-target cache space, wherein the block identifier corresponds to the type identifier;

[0109] A data cache module, used to extract the target content of the SMS data information corresponding to each sub-data type based on the type identifier, and cache the type identifier and the target content to the first storage entry and the second storage entry respectively;

[0110] The data update module is used to monitor the reading operation of the SMS data information in real time, and when the reading of the SMS data information is detected, determine the real-time reading amount of the SMS data information based on the reading process, and determine the data tail of the remaining SMS data information in the target cache space based on the reading amount;

[0111] The space update module is used to move the preset cursor to the tail of the SMS data information in the target cache space, determine the second remaining available space capacity of the target cache space based on the movement result, and indicate the second remaining available space capacity of the target cache space based on the preset cursor.

[0112] In this embodiment, the key information segment may be a data segment that can represent the data content of the SMS data information.

[0113] In this embodiment, the target semantics may be the main content represented by the key information fragment, that is, the specific content expression representing the SMS data information.

[0114] In this embodiment, the target cache space may be a space suitable for caching SMS data information of the current type.

[0115] In this embodiment, the first remaining available space capacity may be the remaining storage space of the target cache space before storing the SMS data information.

[0116] In this embodiment, the data length of the SMS data information may be the amount of data bytes of the SMS data information, which is used to represent the required storage space of the SMS data information.

[0117] In this embodiment, the purpose of clustering the SMS data information is to classify the data of the same type, thereby achieving classification of data of different types of the SMS data information.

[0118] In this embodiment, the sub-data type set may be a data set of different data types obtained by classifying the SMS data information.

[0119] In this embodiment, the type identifier may be a marking tag used to mark different types of data.

[0120] In this embodiment, the first block division may be to divide the target cache space into corresponding storage areas according to the type of data to be stored.

[0121] In this embodiment, the sub-target cache space may be different storage areas obtained by dividing the target cache space.

[0122] In this embodiment, the block identifier may be a marking tag used to mark the storage types of different sub-target cache spaces, corresponding to the type identifier.

[0123] In this embodiment, the second division may be to divide each sub-target cache space into two parts, one for storing specific data content and the other for storing data identifiers.

[0124] In this embodiment, the first storage entry and the second storage entry may be storage areas obtained by dividing the sub-target cache space, and store the type identifier and the target content respectively.

[0125] In this embodiment, the target content may be the specific data value and content expression of the SMS data information corresponding to each sub-data type.

[0126] In this embodiment, the real-time read amount may be the amount of data read from the SMS data information cached in the target cache space.

[0127] In this embodiment, the data tail may be the last byte of the remaining SMS data information in the target cache space.

[0128] In this embodiment, the preset cursor pointing is set in advance and is used to indicate the current position of the SMS data information in the Mubao cache space.

[0129] In this embodiment, the second remaining available space capacity may be the remaining available storage capacity of the target cache space after partially reading the SMS data information in the target cache space.

[0130] The working principle and beneficial effects of the above technical solution are: by analyzing the SMS data information, the information type of the SMS data information can be accurately and effectively confirmed, so as to facilitate the determination of the target cache space for caching the SMS data information; secondly, by clustering the SMS data information, and classifying the different data types contained in the SMS data information according to the clustering results, and dividing the target cache space according to the classification results, it is convenient to store different types of data in corresponding storage areas; at the same time, each sub-target storage space is divided again to ensure the cache effect and cache accuracy of each type of data content and type identification; finally, different types of data are cached in the corresponding sub-target cache space, and the reading operation of the SMS data information is monitored in real time; after the reading operation, the remaining available space capacity of the target cache space is determined in real time, and indicated by a preset cursor pointing, thereby ensuring the cache effect of the SMS data information and improving the safety factor of the SMS data information.

[0131] Specifically, in S1, SMS data information is collected through the gateway port, including:

[0132] Determine the total number of data packets collected by the SMS data information based on the gateway port, perform integrity check on the SMS data information, and calculate the integrity index of the SMS data information received by the gateway port based on the check result;

[0133] ;

[0134] in, Indicates the complete index of the SMS data information received by the gateway port; Indicates the number of data packets that failed the integrity check; Indicates the total number of data packets;

[0135] Map the SMS data information corresponding to the data packet that has passed the integrity check to the storage space of the gateway port, and calculate the security index of the gateway port for receiving the SMS data information based on the mapping result;

[0136] ;

[0137] in, Indicates the security index of the gateway port receiving SMS data information; represents the data mapping uniformity factor; Indicates the probability of no data loss when SMS data information is mapped; Indicates the current mapping length of SMS data information in the storage space; Indicates the minimum length of storage space; Indicates the maximum length of the storage space; represents the logarithm with base 2;

[0138] Based on the integrity index of the SMS data information received by the gateway port and the security index of the SMS data information received by the gateway port, the quality of the SMS data information collected by the gateway port is evaluated and an evaluation score is obtained;

[0139] Compare the evaluation score with the set threshold to determine whether the SMS data information collected by the gateway port is qualified;

[0140] When the evaluation score is equal to or greater than the set score, it is determined that the SMS data information collected by the gateway port is qualified;

[0141] Otherwise, it is determined that the SMS data information collected by the gateway port is unqualified and an alarm operation is performed.

[0142] In this embodiment, the maximum length and the minimum length of the storage space are set in advance, which is the range of the storage data volume of the storage space. When the current mapping length of the SMS data information in the storage space is less than the minimum length or greater than the maximum length, Take 1.

[0143] In this embodiment, the threshold value may be set in advance and is used as a standard to measure whether the SMS data information collected by the gateway port is qualified.

[0144] In this embodiment, the alarm operation may be one or more of light, sound, and vibration.

[0145] The working principle and beneficial effect of the above technical solution are: by calculating the integrity index of the SMS data information received by the gateway port and the security index of the SMS data information received by the gateway port, it is effectively measured whether the SMS data information collected by the gateway port is qualified, and then the quality of the collected SMS data information is grasped in time.

[0146] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.

[0147] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. A short message service method with a data security mechanism, characterized in that: The method comprises the following steps: S1: SMS data collection: collect SMS data information through the gateway port and store the collected SMS data independently; S2: Data cache extraction: cache the independently stored SMS data information and extract the risk data in the cache data; S3: Risk data reading and calculation: the extracted risk data is read, and the difference between abnormal data and data within the normal range is calculated; S4: Differential data reading: Read and analyze the sequence data after differential calculation, and perform effective data integration on the analyzed data; S5: Valid data encryption: encrypt valid data and start the encrypted data first; The SMS data collection also includes: Information data collection system for: Obtain the traffic changes of the network layer of each data receiving terminal when transmitting data; Evaluate the importance of each network layer based on the traffic changes of each data receiving terminal's network layer when transmitting data; Count the target network layers where the importance of each data receiving terminal is greater than or equal to a preset threshold; Obtain the historical transmission success data of each data receiving terminal; The risk data collected and read also includes: Abnormal data analysis unit, used to: According to the historical transmission success data of each data receiving terminal obtained in the information data collection system; Parsing the historical successful transmission data to determine its integrity and security, and evaluating the threat risk index and vulnerability risk index of the data receiving terminal based on the integrity and security; Calculate the security index of the data receiving terminal using a preset risk assessment system according to the working intensity of the target network layer of each data receiving terminal and the threat risk index and vulnerability risk index of the data receiving terminal; Screen out safe data receiving terminals and risky data receiving terminals according to the security index of each data receiving terminal; receiving first data sent by the security data receiving terminal; Acquiring configuration information and network information of the risk data receiving terminal; Constructing a shared data transmission channel for a risk data receiving terminal according to the network information; Acquire multiple aggregation nodes in the shared data transmission channel, and determine a single maximum aggregation data volume of each aggregation node; Determine the target second data with the largest data volume among the second data of the risk data receiving terminal; Calculating a target data transmission efficiency of the shared data transmission channel according to the target second data and a maximum aggregated data volume of data of each aggregation node in the shared data transmission channel; The data transmission efficiency of the shared data transmission channel is set to the target data transmission efficiency. After the setting is completed, the shared data transmission channel is used to receive the second data sent by the risk data receiving terminal.

2. The SMS service method with data security mechanism according to claim 1, characterized in that: The calculation of the difference between the abnormal data and the data within the normal range value also includes: Difference calculation module for: After obtaining the risk data, the risk data is converted into specific values, and then the difference between the risk data and the data values ​​within the normal range is calculated; A judgment module, used for obtaining the numerical sequence of the data difference calculation, performing periodicity detection on the numerical sequence, and judging whether the numerical sequence is a periodic sequence; an analysis module, configured to, after determining that the numerical sequence is a periodic sequence, divide the numerical sequence according to the periodicity to obtain a plurality of identical first subsequences, determine whether all the numerical values ​​in the first subsequence are greater than a preset numerical value, if so, extract a first abnormal numerical value in the first subsequence that is greater than the preset numerical value, determine the adjacent time intervals between the first abnormal numerical values, and determine whether the time intervals are within a preset time interval range, if so, use the first abnormal numerical value and the time interval as first abnormal data, otherwise, determine that the first abnormal numerical value is invalid; The data integration module is used to periodically mark the first abnormal data to obtain first valid abnormal data, non-periodically mark the second abnormal data to obtain second valid abnormal data, and independently store the first valid abnormal data and the second valid abnormal data as final valid abnormal data, and do not send their data to the next reading module.

3. The SMS service method with data security mechanism according to claim 2, characterized in that: The analysis module further includes: The analysis module is further used to, after determining that the numerical sequence is a non-periodic sequence, perform a clustering operation on the numerical sequence using a one-dimensional clustering method to obtain multiple segmentation points, and use the multiple segmentation points to divide the numerical sequence to obtain multiple groups of different second subsequences, obtain a third subsequence with a value greater than a preset value from the second subsequence, and determine the abnormal time interval of the third subsequence based on the position of the third subsequence in the numerical sequence, and obtain a fourth subsequence whose abnormal time interval of an adjacent third subsequence is within the preset time interval range, and use the fourth subsequence and the abnormal time interval as second abnormal data.

4. The SMS service method with data security mechanism according to claim 2, characterized in that: The valid data reading and encryption also includes: Valid data reading module, used for: Based on the first valid abnormal data and the second valid abnormal data in the data integration module as the final valid abnormal data, the data is checked as a benchmark, and the other data after the check is taken as the valid data; Data decoding and encryption module, used for: Decoding the valid data, taking the decoded data as the original data and dividing it into segments to be encrypted of a preset length, and establishing an encryption sequence based on the segments to be encrypted; According to the number of the segments to be encrypted, the encryption sequence is used as the first column of the matrix to establish a first encryption matrix; adjusting a first position of each to-be-encrypted segment on a corresponding row of the first encryption matrix based on a preset interference factor, and performing a first encryption on the segment after the adjustment is completed; Based on the number of interferences, a corresponding interference password is obtained from a preset password set, and a random number is rolled using an encrypted dice; marking a second position in each row of the first encryption matrix that is separated from the first position by a random number; Inputting the interference password into the second position in sequence for second encryption to establish a second encryption matrix; When a first number of blank positions in the second encryption matrix is ​​greater than a second number of non-blank positions, determining that the current encryption level is insufficient; Sequentially remove the outermost positions of the second encryption matrix to generate a plurality of sub-encryption matrices; Calculate the encryption rank of each sub-encryption matrix respectively, and generate a rank password based on all the encryption ranks; Inputting the rank password into the second encryption matrix for third encryption to obtain a third encryption matrix; Based on the specification of the third encryption matrix, randomly generate a homogeneous matrix; Marking the remaining blank positions on the third encrypted matrix, and superimposing the marked third encrypted matrix with the isotype matrix to obtain a superposition number generated by the marked positions; Input the superposition number into the remaining blank positions to obtain a fully encrypted matrix; The data corresponding to each position in the full encryption matrix is ​​extracted to obtain encrypted data.

5. The SMS service method with data security mechanism according to claim 1, characterized in that: Cache data, including: A data retrieval module is used to obtain independently stored SMS data information, extract key information fragments of the SMS data information, and determine the information type of the SMS data information based on the target semantics of the key information fragments; A cache space determination module, used to determine a target cache space corresponding to the SMS data information based on the information type, extract capacity information of the target cache space, and determine a first remaining available space capacity of the target cache space based on the capacity information; The cache space determination module is used to obtain the data length of the SMS data information, and when the first remaining available space capacity is greater than the data length, cluster the SMS data information to obtain a set of sub-data types corresponding to the SMS data information, and set a type identifier for each sub-data type; a cache space division module, for dividing the target cache space into first blocks based on the type identifier, and adding block identifiers to the divided sub-target cache spaces, and at the same time, performing a second division on each sub-target cache space to obtain a first storage entry and a second storage entry corresponding to each sub-target cache space, wherein the block identifier corresponds to the type identifier; A data cache module, used to extract the target content of the SMS data information corresponding to each sub-data type based on the type identifier, and cache the type identifier and the target content to the first storage entry and the second storage entry respectively; The data update module is used to monitor the reading operation of the SMS data information in real time, and when the reading of the SMS data information is detected, determine the real-time reading amount of the SMS data information based on the reading process, and determine the data tail of the remaining SMS data information in the target cache space based on the reading amount; The space update module is used to move the preset cursor to the tail of the SMS data information in the target cache space, determine the second remaining available space capacity of the target cache space based on the movement result, and indicate the second remaining available space capacity of the target cache space based on the preset cursor.

6. A method for short message service with data security mechanism according to claim 1, characterized in that: In S1, SMS data information is collected through the gateway port, including: Determine the total number of data packets collected by the SMS data information based on the gateway port, perform integrity check on the SMS data information, and calculate the integrity index of the SMS data information received by the gateway port based on the check result; Among them, I int Indicates the complete index of the SMS data information received by the gateway port; N err Indicates the number of data packets that failed the integrity check; N tot Indicates the total number of data packets; Map the SMS data information corresponding to the data packet that has passed the integrity check to the storage space of the gateway port, and calculate the security index of the gateway port for receiving the SMS data information based on the mapping result; Among them, S h It represents the security index of the gateway port receiving SMS data information; ω represents the data mapping uniformity factor; δ represents the probability of no data loss when the SMS data information is mapped; I hash Indicates the current mapping length of SMS data information in the storage space; I hash-min Indicates the minimum length of storage space; I hash-max Indicates the maximum length of the storage space; log2(·) indicates the logarithm with base 2; Based on the integrity index of the SMS data information received by the gateway port and the security index of the SMS data information received by the gateway port, the quality of the SMS data information collected by the gateway port is evaluated and an evaluation score is obtained; Compare the evaluation score with the set threshold to determine whether the SMS data information collected by the gateway port is qualified; When the evaluation score is equal to or greater than the set score, it is determined that the SMS data information collected by the gateway port is qualified; Otherwise, it is determined that the SMS data information collected by the gateway port is unqualified and an alarm operation is performed.

Citation Information

Patent Citations

  • Salt value encryption-based short message transmission method, apparatus and device, and medium

    CN114599032A

  • Method for real time filtering large scale rubbish SMS based on content

    CN101257671A

  • Detection method of abnormal behavior of mobile terminal and detection system thereof

    CN102368842A