A data security analysis working method

By using data security analysis working methods in data transmission and storage processes, generating and analyzing screenshot security data, the problem of difficulty in ensuring the security of data in the cloud storage process is solved, and the secure transmission and storage of data is achieved.

CN119167389BActive Publication Date: 2025-04-04CHONGQING BEITE COMPUTER SYST ENG CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411183558.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-27
Publication Date
2025-04-04
Estimated Expiration
2044-08-27

AI Technical Summary

Technical Problem

In the prior art, the security of data during transmission to cloud storage and the security of cloud storage are difficult to guarantee, resulting in data being threatened during use.

Method used

A data security analysis working method is proposed. By logging into the analysis platform, screenshot data is obtained, screenshot code is used to generate screenshot security data, and transmitted to the analysis platform through wireless network for analysis to ensure the security of the data.

Benefits of technology

This method can effectively ensure the security of screenshot data during transmission and storage, and ensure that the data is not threatened during use.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119167389B_ABST
    Figure CN119167389B_ABST
Patent Text Reader

Abstract

The present invention proposes a data security analysis working method, comprising the following steps: S1, logging into an analysis platform; S2, obtaining screenshot data; S3, generating screenshot security data from the obtained screenshot data using a screenshot code; S4, transmitting the screenshot security data to the analysis platform via a wireless network; S5, after the analysis platform receives the screenshot security data, analyzing the screenshot security data. The present invention can analyze the screenshot security data and ensure the security of the screenshot data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data processing, and in particular to a data security analysis working method. Background Art

[0002] At present, big data is being used more and more widely. Coupled with the rapid development of the Internet, most files are stored in the form of data in personal mobile phones or personal computers. In the existing technology, for the security of data, data is often uploaded to the cloud for storage. However, after the data is transmitted to the cloud for storage, the security of the data during the upload to the cloud and the security of the data in the cloud cannot be guaranteed. Furthermore, when a third-party server uses the data, the security of the data is also threatened. Patent application number 2022113497731, named "A full-process data security protection system", discloses at least a server, wherein the server includes a processor and a memory storing a computer program. When the processor loads and executes the computer program, the server implements the following steps: obtaining user data uploaded by the target user, encrypting the user data according to an encryption algorithm to obtain encrypted data, when a third party uses the encrypted data, sampling from the encrypted data according to preset rules to obtain sampled data, based on the security level encryption strategy corresponding to different fields in the encrypted data, encrypting different fields in the sampled data according to their corresponding security level encryption strategy, and providing the encrypted sampled data to a third party for display. Therefore, the present invention protects the security of data during transmission, storage, use, etc. Summary of the invention

[0003] The present invention aims to at least solve the technical problems existing in the prior art, and in particular innovatively proposes a data security analysis working method.

[0004] In order to achieve the above-mentioned object of the present invention, the present invention provides a data security analysis working method, comprising the following steps:

[0005] S1, log in to the analysis platform;

[0006] S2, obtain screenshot data;

[0007] S3, generating screenshot security data using the screenshot code from the acquired screenshot data;

[0008] S4, transmitting the screenshot security data to the analysis platform via a wireless network;

[0009] S5, after receiving the screenshot security data, the analysis platform analyzes the screenshot security data.

[0010] In a preferred embodiment of the present invention, the format of the screenshot data is one of PNG, JPG, JPEG, BMP or any combination thereof.

[0011] In a preferred embodiment of the present invention, in step S2, the screenshot data is screenshot data of a smart phone.

[0012] In a preferred embodiment of the present invention, in step S4, the wireless network is one of WiFi, 5G, 4G, and 3G wireless networks.

[0013] In a preferred embodiment of the present invention, step S1 includes the following steps:

[0014] S11, obtain the mobile phone serial number and mobile phone number; the mobile phone serial number is a 15-digit string of one of the numbers 0 to 9 or any combination; the mobile phone number is a 11-digit string of one of the numbers 0 to 9 or any combination;

[0015] S12, treating the mobile phone serial number and the mobile phone number as decimal mobile phone serial number and mobile phone number, converting the mobile phone serial number and mobile phone number into sixty-binary mobile phone serial number and mobile phone number; connecting the converted mobile phone serial number and mobile phone number and sending them to the analysis platform;

[0016] S13, after the analysis platform receives the connected mobile phone serial number and mobile phone number, the connected mobile phone serial number and mobile phone number are restored to obtain the platform mobile phone serial number and platform mobile phone number;

[0017] S14, generating a platform number according to the platform mobile phone serial number and the platform mobile phone number, and determining whether the platform number exists on the analysis platform:

[0018] If the platform number exists on the analysis platform, logging into the analysis platform is successful;

[0019] If the platform number does not exist on the analysis platform, logging into the analysis platform fails.

[0020] In a preferred embodiment of the present invention, the method for generating screenshot security data in step S3 includes the following steps:

[0021] S31, obtaining the depth of the screenshot data, recorded as M;

[0022] S32, converting the pixel value of each pixel in the screenshot data into binary and converting the screenshot code into binary;

[0023] S33, converting the binary pixel value of each pixel in the screenshot data into a number of M bits;

[0024] S34, obtaining the first digit of the screenshot code, recorded as N; converting the first digit N into the number of digits M;

[0025] S35, performing an operation on the converted pixel value and the converted M-bit value N to obtain screenshot security data;

[0026] S36, transmitting the screenshot security data and the screenshot code to the analysis platform via the wireless network.

[0027] In a preferred embodiment of the present invention, the method for converting the binary pixel value of each pixel point in the screenshot data into a number of bits M in step S33 is:

[0028] If the number of bits of the binary pixel value of the pixel in the screenshot data is not equal to M, then add 0 in front of the binary pixel value to make the number of bits of the binary pixel value of all pixels in the screenshot data equal to M.

[0029] In a preferred embodiment of the present invention, the method for converting a single-digit value N into a number of digits M in step S34 is:

[0030] Add 1 in front of N so that the number of digits after adding 1 is equal to M; that is, the M-digit value N is obtained;

[0031] Or add 1 after N so that the number of digits of the value after adding 1 is equal to M, that is, the M-digit value N is obtained.

[0032] In a preferred embodiment of the present invention, the method for obtaining the screenshot security data in step S35 is:

[0033]

[0034] Among them, R x,y,j Indicates the value of the red pixel at the pixel point (x, y) of the screenshot data at the jth position; j = 1, 2, 3, ..., M;

[0035] R′ x,y,j Indicates the value of the red pixel at the pixel point (x, y) of the screenshot security data at the jth position;

[0036] M j It means the value of the jth digit after converting a single-digit value N to a digit M;

[0037] & means and;

[0038] or means or;

[0039]

[0040] Among them, G x,y,j Indicates the value of the green pixel value at the pixel point (x, y) of the screenshot data at the jth position; j = 1, 2, 3, ..., M;

[0041] G′ x,y,j Indicates the value of the green pixel value at the pixel point (x, y) of the screenshot security data at the jth position;

[0042] M j It means the value of the jth digit after converting a single-digit value N to a digit M;

[0043] & means and;

[0044] or means or;

[0045]

[0046] Among them, R x,y,j Indicates the value of the blue pixel value at the pixel point (x, y) of the screenshot data at the jth position; j = 1, 2, 3, ..., M;

[0047] R′ x,y,j Indicates the blue pixel value of the screenshot security data at the pixel point (x, y) is located at the jth position;

[0048] M j It means the value of the jth digit after converting a single-digit value N to a digit M;

[0049] & means and;

[0050] or means or.

[0051] In a preferred embodiment of the present invention, the screenshot code is obtained in step S3 as follows:

[0052] Screenshotdata=Screenshotdatacalculateformula(Screenshotimage),

[0053] Among them, Screenshotdata represents the screenshot code;

[0054] Screenshotdatacalculateformula() represents the calculation method of the screenshot code; SHA224 is preferably used;

[0055] Screenshotimage represents screenshot data.

[0056] In a preferred embodiment of the present invention, the method for analyzing the screenshot security data in step S5 comprises the following steps:

[0057] S51, obtaining the screenshot code in step S3, and converting the screenshot code into binary;

[0058] S52, converting the pixel value of each pixel in the screenshot security data into binary;

[0059] S53, obtaining the number of bits of the depth of the screenshot security data, recorded as M′;

[0060] S54, obtaining the first digit value in the screenshot code, recorded as N′; converting the first digit value N′ into a number of digits M′;

[0061] S55, converting the binary pixel value of each pixel in the screenshot security data into a number of bits M′;

[0062] S56, performing operation on the converted pixel value and the converted M′-bit value N′ to obtain the screenshot platform data;

[0063] S57, obtaining a screenshot code corresponding to the screenshot platform data according to the screenshot platform data;

[0064] S58, determining whether the screenshot code obtained in step S51 is consistent with the screenshot code corresponding to the screenshot platform data:

[0065] If the screenshot code obtained in step S51 is inconsistent with the screenshot code corresponding to the screenshot platform data, the analysis indicates that the received screenshot security data is unsafe;

[0066] If the screenshot code obtained in step S51 is consistent with the screenshot code corresponding to the screenshot platform data, the analysis shows that the received screenshot security data is safe; the screenshot code and the screenshot security data are stored, or the screenshot platform data is stored.

[0067] In a preferred embodiment of the present invention, the method for converting a single-digit value N′ into a number of digits M′ in step S54 is:

[0068] Add 1 in front of N' to make the number of digits of the value after adding 1 equal to M'; that is, get the M'-digit value N';

[0069] Alternatively, add 1 after N′ so that the number of digits of the value after adding 1 is equal to M′, thus obtaining the M′-digit value N′.

[0070] In a preferred embodiment of the present invention, the method for converting the binary pixel value of each pixel in the screenshot data into a number of bits M′ in step S55 is:

[0071] If the number of bits of the binary pixel value of the pixel in the screenshot safety data is not equal to M′, 0 is added in front of the binary pixel value to make the number of bits of the binary pixel values ​​of all pixels in the screenshot safety data equal to M′.

[0072] In a preferred embodiment of the present invention, the method for obtaining the screenshot platform data in step S56 is:

[0073]

[0074] Among them, R x′,y′,j′Indicates the value of the red pixel value at the pixel point (x′, y′) of the received screenshot data at the j′th position; j′=1, 2, 3, ..., M′;

[0075] R″′ x′,y′,j′ Indicates the value of the red pixel at the pixel point (x′, y′) of the screenshot platform data at the j′th position;

[0076] M′ j′ It means the value of the j′th digit after converting the single-digit value N′ to the digit M′;

[0077] & means and;

[0078] or means or;

[0079]

[0080] Among them, G x′,y′,j′ Indicates the value of the green pixel value at the pixel point (x′, y′) of the received screenshot security data located at the j′th position; j′=1, 2, 3, ..., M′;

[0081] G″′ x′,y′,j′ Indicates the value of the green pixel value at the pixel point (x′, y′) of the screenshot platform data at the j′th position;

[0082] M′ j′ It means the value of the j′th digit after converting the single-digit value N′ to the digit M′;

[0083] & means and;

[0084] or means or;

[0085]

[0086] Among them, B″ x′,y′,j′ Indicates the value of the blue pixel value at the pixel point (x′, y′) of the received screenshot security data at the j′th position; j′=1, 2, 3, ..., M′;

[0087] B″′ x′,y′,j′ Indicates the value of the blue pixel value at the pixel point (x′, y′) of the screenshot platform data at the j′th position;

[0088] M′ j′ It means the value of the j′th digit after converting the single-digit value N′ to the digit M′;

[0089] & means and;

[0090] or means or.

[0091] In a preferred embodiment of the present invention, the screenshot code corresponding to the screenshot platform data in step S57 is obtained as follows:

[0092] Screenshotdata′=Screenshotdatacalculateformula(Screenshotimage′),

[0093] Wherein, Screenshotdata′ represents the screenshot code corresponding to the screenshot platform data;

[0094] Screenshotdatacalculateformula() represents the calculation method of the screenshot code; SHA224 is preferably used;

[0095] Screenshotimage′ represents the screenshot platform data.

[0096] In summary, due to the adoption of the above technical solution, the present invention can analyze the screenshot security data and ensure the security of the screenshot data.

[0097] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0098] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:

[0099] Figure 1 It is a schematic block diagram of the process of the present invention. DETAILED DESCRIPTION

[0100] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.

[0101] The present invention provides a data security analysis method. Figure 1 As shown, the following steps are included:

[0102] S1, log in to the analysis platform;

[0103] S2, obtain screenshot data;

[0104] S3, generating screenshot security data using the screenshot code from the acquired screenshot data;

[0105] S4, transmitting the screenshot security data to the analysis platform via a wireless network;

[0106] S5, after receiving the screenshot security data, the analysis platform analyzes the screenshot security data.

[0107] In a preferred embodiment of the present invention, the format of the screenshot data is one of PNG, JPG, JPEG, BMP or any combination thereof.

[0108] In a preferred embodiment of the present invention, in step S2, the screenshot data is screenshot data of a smart phone.

[0109] In a preferred embodiment of the present invention, in step S4, the wireless network is one of WiFi, 5G, 4G, and 3G wireless networks.

[0110] In a preferred embodiment of the present invention, step S1 includes the following steps:

[0111] S11, obtain the mobile phone serial number and mobile phone number; the mobile phone serial number is a 15-digit string of one of the numbers 0 to 9 or any combination; the mobile phone number is a 11-digit string of one of the numbers 0 to 9 or any combination;

[0112] S12, treating the mobile phone serial number and the mobile phone number as decimal mobile phone serial number and mobile phone number, converting the mobile phone serial number and mobile phone number into sixty-binary mobile phone serial number and mobile phone number; connecting the converted mobile phone serial number and mobile phone number and sending them to the analysis platform;

[0113] S13, after the analysis platform receives the connected mobile phone serial number and mobile phone number, the connected mobile phone serial number and mobile phone number are restored to obtain the platform mobile phone serial number and platform mobile phone number;

[0114] S14, generating a platform number according to the platform mobile phone serial number and the platform mobile phone number, and determining whether the platform number exists on the analysis platform:

[0115] If the platform number exists on the analysis platform, logging into the analysis platform is successful;

[0116] If the platform number does not exist on the analysis platform, the login to the analysis platform fails. Through the above login method, you do not need an account and password to log in. You only need the automatically obtained mobile phone serial number and mobile phone number to log in, ensuring the security of the mobile phone serial number and mobile phone number to prevent leakage.

[0117] In a preferred embodiment of the present invention, the method for connecting the converted mobile phone serial number and the mobile phone number in step S12 is:

[0118] Phonestring=IMEInumber 62 -Phonenumber62 ,

[0119] Among them, Phonestring represents the mobile phone serial number and mobile phone number after connection;

[0120] IMEInumber 62 Indicates the converted mobile phone serial number;

[0121] Phone number 62 Indicates the converted mobile phone number;

[0122] - indicates a connector.

[0123] In a preferred embodiment of the present invention, in step S13, the method of restoring the connected mobile phone serial number and mobile phone number to obtain the platform mobile phone serial number and platform mobile phone number is:

[0124] Phonestring′=IMEInumber′ 1←7 Phone number 6←1 ,

[0125] Among them, Phonestring′ represents the received mobile phone serial number and mobile phone number of the connection;

[0126] Phone number 6←1 Indicates that the sixth to the first last digit of the received mobile phone serial number and mobile phone number is the platform mobile phone number;

[0127] IMEI number ′ 1←7 Indicates that the first to the last 7 digits of the received mobile phone serial number and mobile phone number are the platform mobile phone serial number.

[0128] In a preferred embodiment of the present invention, the method for generating a platform number according to the platform mobile phone serial number and the platform mobile phone number in step S14 includes the following steps:

[0129] S141, converting the platform mobile phone serial number and the platform mobile phone number into a hexadecimal mobile phone serial number and mobile phone number, and connecting the converted platform mobile phone serial number and the platform mobile phone number to obtain a platform connection number;

[0130] S142, using the platform number generation method to obtain the platform number using the platform connection number.

[0131] In a preferred embodiment of the present invention, after connecting the converted platform mobile phone serial number and the platform mobile phone number in step S141, the method for obtaining the platform connection number is:

[0132] Phonestring″=IMEInumber 16-Phonenumber 16 ,

[0133] Among them, Phonestring″ represents the platform connection number obtained by connecting the converted platform mobile phone serial number and the platform mobile phone number;

[0134] IMEInumber 16 Indicates the converted platform mobile phone serial number;

[0135] Phone number 16 Indicates the converted platform mobile phone number;

[0136] - indicates a connector.

[0137] In a preferred embodiment of the present invention, in step S142, the method of obtaining the platform number by using the platform number generation method from the platform connection number is:

[0138] Platformnumber=Platformnumbercalculateformula(Phonestring″),

[0139] Wherein, Platformnumber indicates the platform number;

[0140] Platformnumbercalculateformula() represents the platform number calculation method; SHA224 is preferably used;

[0141] Phonestring″ indicates the platform connection number.

[0142] For example, assuming that the smartphone’s SIM card number is 465898188666620 and the phone number is 13333333333, the platform number stored in the analysis platform is 4522063593862D32D495C51C705429F4D658BC6C0CFFCA749E41BE50.

[0143] The first step is to obtain the mobile phone serial number 465898188666620 and mobile phone number 133333333333.

[0144] The second step is to convert the mobile phone serial number 465898188666620 and the mobile phone number 13333333333 into the sixty-binary mobile phone serial number 28IOjHyLk and the mobile phone number EYLJ5R; connect the converted mobile phone serial number 28IOjHyLk and the mobile phone number EYLJ5R to 28IOjHyLkEYLJ5R, and send 28IOjHyLkEYLJ5R to the analysis platform.

[0145] The third step is to restore the connected mobile phone serial number and mobile phone number 28IOjHyLkEYLJ5R after the analysis platform receives it, and obtain the platform mobile phone serial number 28IOjHyLkEYLJ5R and platform mobile phone number EYLJ5R.

[0146] The fourth step is to convert the platform mobile phone serial number 28IOjHyLk and the platform mobile phone number EYLJ5R into the hexadecimal mobile phone serial number 1A7BB600976FC and the mobile phone number 31ABA8555, and then connect the converted platform mobile phone serial number 1A7BB600976FC and the platform mobile phone number 31ABA8555 to obtain the platform connection number 1A7BB600976FC31ABA8555.

[0147] Step 5. Use the platform number generation method to obtain the platform number 4522063593862D32D495C51C705429F4D658BC6C0CFFCA749E41BE50 from the platform connection number 1A7BB600976FC31ABA8555.

[0148] Step 6. Since the platform number 4522063593862D32D495C51C705429F4D658BC6C0CFFCA749E41BE50 is consistent with the platform number 4522063593862D32D495C51C705429F4D658BC6C0CFFCA749E41BE50 stored in the analysis platform, the login to the analysis platform is successful.

[0149] Assuming the smartphone's IMEI number is 465898188666620 and the phone number is 13333333333, the registration includes the following steps:

[0150] The first step is to obtain the mobile phone serial number 465898188666620 and mobile phone number 133333333333.

[0151] The second step is to convert the mobile phone serial number 465898188666620 and the mobile phone number 13333333333 into the sixty-binary mobile phone serial number 28IOjHyLk and the mobile phone number EYLJ5R; connect the converted mobile phone serial number 28IOjHyLk and the mobile phone number EYLJ5R to 28IOjHyLkEYLJ5R, and send 28IOjHyLkEYLJ5R to the analysis platform.

[0152] The third step is to restore the connected mobile phone serial number and mobile phone number 28IOjHyLkEYLJ5R after the analysis platform receives it, and obtain the platform mobile phone serial number 28IOjHyLkEYLJ5R and platform mobile phone number EYLJ5R.

[0153] The fourth step is to convert the platform mobile phone serial number 28IOjHyLk and the platform mobile phone number EYLJ5R into the hexadecimal mobile phone serial number 1A7BB600976FC and the mobile phone number 31ABA8555, and then connect the converted platform mobile phone serial number 1A7BB600976FC and the platform mobile phone number 31ABA8555 to obtain the platform connection number 1A7BB600976FC31ABA8555.

[0154] Step 5. Use the platform number generation method to obtain the platform number 4522063593862D32D495C51C705429F4D658BC6C0CFFCA749E41BE50 from the platform connection number 1A7BB600976FC31ABA8555.

[0155] Step 6. Store the platform number 4522063593862D32D495C51C705429F4D658BC6C0CFFCA749E41BE50 in the analysis platform for subsequent use.

[0156] The uppercase letters A to Z correspond to values ​​10 to 35 respectively, and the lowercase letters a to z correspond to values ​​36 to 61 respectively.

[0157] In a preferred embodiment of the present invention, the method for generating screenshot security data in step S3 includes the following steps:

[0158] S31, obtaining the depth of the screenshot data, recorded as M;

[0159] S32, converting the pixel value of each pixel in the screenshot data into binary and converting the screenshot code into binary;

[0160] S33, converting the binary pixel value of each pixel in the screenshot data into a number of M bits;

[0161] S34, obtaining the first digit of the screenshot code, recorded as N; converting the first digit N into the number of digits M;

[0162] S35, performing an operation on the converted pixel value and the converted M-bit value N to obtain screenshot security data;

[0163] S36, transmitting the screenshot security data and the screenshot code to the analysis platform via the wireless network.

[0164] In a preferred embodiment of the present invention, the method for converting the binary pixel value of each pixel point in the screenshot data into a number of bits M in step S33 is:

[0165] If the number of bits of the binary pixel value of the pixel in the screenshot data is not equal to M, then add 0 in front of the binary pixel value to make the number of bits of the binary pixel value of all pixels in the screenshot data equal to M.

[0166] In a preferred embodiment of the present invention, the method for converting a single-digit value N into a number of digits M in step S34 is:

[0167] Add 1 in front of N so that the number of digits after adding 1 is equal to M; that is, the M-digit value N is obtained;

[0168] Or add 1 after N so that the number of digits of the value after adding 1 is equal to M, that is, the M-digit value N is obtained.

[0169] In a preferred embodiment of the present invention, the method for obtaining the screenshot security data in step S35 is:

[0170]

[0171] Among them, R x,y,j Indicates the value of the red pixel at the pixel point (x, y) of the screenshot data at the jth position; j = 1, 2, 3, ..., M;

[0172] R′ x,y,j Indicates the value of the red pixel at the pixel point (x, y) of the screenshot security data at the jth position;

[0173] M j It means the value of the jth digit after converting a single-digit value N to a digit M;

[0174] & means and;

[0175] or means or;

[0176]

[0177] Among them, G x,y,j Indicates the value of the green pixel value at the pixel point (x, y) of the screenshot data at the jth position; j = 1, 2, 3, ..., M;

[0178] G′ x,y,j Indicates the value of the green pixel value at the pixel point (x, y) of the screenshot security data at the jth position;

[0179] M j It means the value of the jth digit after converting a single-digit value N to a digit M;

[0180] & means and;

[0181] or means or;

[0182]

[0183] Among them, R x,y,j Indicates the value of the blue pixel value at the pixel point (x, y) of the screenshot data at the jth position; j = 1, 2, 3, ..., M;

[0184] R′ x,y,j Indicates the blue pixel value of the screenshot security data at the pixel point (x, y) is located at the jth position;

[0185] M j It means the value of the jth digit after converting a single-digit value N to a digit M;

[0186] & means and;

[0187] or means or.

[0188] In a preferred embodiment of the present invention, the screenshot code is obtained in step S3 as follows:

[0189] Screenshotdata=Screenshotdatacalculateformula(Screenshotimage),

[0190] Among them, Screenshotdata represents the screenshot code;

[0191] Screenshotdatacalculateformula() represents the calculation method of the screenshot code; SHA224 is preferably used;

[0192] Screenshotimage represents screenshot data.

[0193] For example, if the screenshot data is a 1080×1920 8-bit PNG image, its corresponding screenshot code is 96B53D57F00E578698AF448F841028FDCBE20D7CDD8007F5ECD6EFF9 (binary code is 10010110101101010011110101010101111110000000011100101011110000110100110001010111101000100100011111000010000010000010000 0010100011111101110010111110001000001101011111001101101100000000000011111110101111010010101101110111111111001), the pixel value at the pixel point (1050,1911) is (255,11,98), the pixel value at the pixel point (78,1919) is (88,40,198), and the pixel value at the pixel point (554,1243) is (155,111,18).

[0194] The first step is to obtain the depth of the screenshot data, recorded as M = 8;

[0195] The second step is to convert the pixel value (255, 11, 98) of each pixel in the screenshot data (taking the pixel (1050, 1911) as an example) into binary (11111111, 1011, 1100010) and the screenshot code (96B53D57F00E578698AF448F841028FDCBE20D7CDD8007F5ECD6EFF9) into binary (1001011010110101001111010101011111100 0000001110010101111000011010011000101010111101000100100011111000010000010000001010001111110111001011111000100000110101111100110110000000000011111110101111011001);

[0196] The third step is to convert the binary pixel value (11111111, 1011, 1100010) of each pixel in the screenshot data (taking the pixel (1050, 1911) as an example) into a pixel value with 8 bits (111111111, 00001011, 01100010);

[0197] Step 4: Get the first digit of the screenshot code, recorded as N=1; convert the digit 1 to 8, that is, 11111111;

[0198] The fifth step is to calculate the converted pixel value (11111111, 00001011, 01100010) and the converted 8-bit value 11111111 to obtain the screenshot security data (taking the pixel point (1050, 1911) as an example, the pixel value of this point is (00000000, 11110100, 10011101)); the binary pixel value can also be written as decimal (0, 244, 157) or hexadecimal (0, F4, 9D).

[0199] Alternatively, in the first step, the number of bits of depth of the screenshot data is obtained, which is recorded as M=8;

[0200] The second step is to convert the pixel value (88, 40, 198) of each pixel in the screenshot data (taking the pixel (78, 1919) as an example) into binary (1011000, 101000, 11000110) and the screenshot code (96B53D57F00E578698AF448F841028FDCBE20D7CDD8007F5ECD6EFF9) into binary (1001011010110101001111010101011111100 0000001110010101111000011010011000101010111101000100100011111000010000010000001010001111110111001011111000100000110101111100110110000000000011111110101111011001);

[0201] The third step is to convert the binary pixel value (1011000, 101000, 11000110) of each pixel in the screenshot data (taking the pixel (78, 1919) as an example) into a pixel value with 8 bits (01011000, 00101000, 11000110);

[0202] Step 4: Get the first digit of the screenshot code, recorded as N=1; convert the digit 1 to 8, that is, 11111111;

[0203] The fifth step is to calculate the converted pixel value (01011000, 00101000, 11000110) and the converted 8-bit value 11111111 to obtain the screenshot security data (taking the pixel point (78, 1919) as an example, the pixel value of this point is (10100111, 11010111, 00111001)); the binary pixel value can also be written as decimal (167, 215, 57) or hexadecimal (A7, D7, 39).

[0204] Alternatively, in the first step, the number of bits of depth of the screenshot data is obtained, which is recorded as M=8;

[0205] The second step is to convert the pixel value (155, 111, 18) of each pixel in the screenshot data (taking the pixel (554, 1243) as an example) into binary (10011011, 1101111, 10010) and the screenshot code (96B53D57F00E578698AF448F841028FDCBE20D7CDD8007F5ECD6EFF9) into binary (1001011010110101001111010101011111110 00000001110010101111000011010011000101010111101000100011111000010000010000001010001111110111001011111000100000110101111100110110000000000011111110101111011001);

[0206] The third step is to convert the binary pixel value (10011011, 1101111, 10010) of each pixel in the screenshot data (taking the pixel (554, 1243) as an example) into a pixel value with 8 bits (10011011, 01101111, 00010010);

[0207] Step 4: Get the first digit of the screenshot code, recorded as N=1; convert the digit 1 to 8, that is, 11111111;

[0208] The fifth step is to calculate the converted pixel value (10011011, 01101111, 00010010) and the converted 8-bit value 11111111 to obtain the screenshot security data (taking the pixel point (78, 1919) as an example, the pixel value of this point is (01100100, 10010000, 11101101)); the binary pixel value can also be written as decimal (100, 144, 237) or hexadecimal (64, 90, ED).

[0209] The above takes the pixel points (1050, 1911), (78, 1919), and (554, 1243) as examples. All pixel points must perform corresponding operations to obtain the screenshot security data.

[0210] In a preferred embodiment of the present invention, the method for analyzing the screenshot security data in step S5 comprises the following steps:

[0211] S51, obtaining the screenshot code in step S3, and converting the screenshot code into binary;

[0212] S52, converting the pixel value of each pixel in the screenshot security data into binary;

[0213] S53, obtaining the number of bits of the depth of the screenshot security data, recorded as M′;

[0214] S54, obtaining the first digit value in the screenshot code, recorded as N′; converting the first digit value N′ into a number of digits M′;

[0215] S55, converting the binary pixel value of each pixel in the screenshot security data into a number of bits M′;

[0216] S56, performing operation on the converted pixel value and the converted M′-bit value N′ to obtain the screenshot platform data;

[0217] S57, obtaining a screenshot code corresponding to the screenshot platform data according to the screenshot platform data;

[0218] S58, determining whether the screenshot code obtained in step S51 is consistent with the screenshot code corresponding to the screenshot platform data:

[0219] If the screenshot code obtained in step S51 is inconsistent with the screenshot code corresponding to the screenshot platform data, the analysis indicates that the received screenshot security data is unsafe;

[0220] If the screenshot code obtained in step S51 is consistent with the screenshot code corresponding to the screenshot platform data, the analysis shows that the received screenshot security data is safe; the screenshot code and the screenshot security data are stored, or the screenshot platform data is stored, or the received screenshot security data is sent to another smart phone.

[0221] In a preferred embodiment of the present invention, it also includes counting error values ​​and the total amount of received screenshot safety data, and displaying the error rate and correct rate according to the counted error values ​​and the total amount of received screenshot safety data. The display method includes the following steps:

[0222] S591, obtaining an error value and a total amount of received screenshot security data;

[0223] S592, obtaining an error rate and a correct rate according to the acquired error value and the total amount of received screenshot safety data;

[0224] S593, obtaining a pie template, and dividing the pie into Totalinformationquantity portions, where Totalinformationquantity indicates the total amount of received screenshot security data;

[0225] S594, taking consecutive Rightinformationquantity portions as the correct portion, where Rightinformationquantity represents the correct value obtained by analyzing the uploaded screenshot data; coloring the pie corresponding to the correct portion; and marking the correctness rate on the pie corresponding to the correct portion;

[0226] S595, color the remaining shares and mark the error rate on the pie corresponding to the remaining shares.

[0227] In a preferred embodiment of the present invention, the error rate is calculated in step S592 as follows:

[0228] Errorinformationrate=Errorinformationquantity / Totalinformationquantity*100%,

[0229] Errorinformationrate indicates the error rate;

[0230] Errorinformationquantity represents the error value obtained by analyzing the uploaded screenshot data;

[0231] Totalinformationquantity indicates the total amount of screenshot security data received;

[0232] The calculation method of accuracy is:

[0233] Rightinformationrate=Rightinformationquantity / Totalinformationquantity*100%,

[0234] Rightinformationrate indicates the correctness rate;

[0235] Rightinformationquantity represents the correct value obtained based on analyzing the uploaded screenshot data;

[0236] Totalinformationquantity indicates the total amount of screenshot security data received;

[0237] Rightinformationrate+Errorinformationrate=100%,

[0238] Among them, Rightinformationrate represents the correct rate;

[0239] Errorinformationrate indicates the error rate;

[0240] Totalinformationquantity=Errorinformationquantity+Rightinformationquantity,

[0241] Among them, Totalinformationquantity represents the total amount of screenshot security data received;

[0242] Errorinformationquantity represents the error value obtained by analyzing the uploaded screenshot data;

[0243] Rightinformationquantity indicates the correct value obtained by analyzing the uploaded screenshot data.

[0244] In a preferred embodiment of the present invention, the method for coloring the correct share in step S594 is:

[0245]

[0246] Among them, R represents the red value;

[0247] G represents the green value;

[0248] B represents the blue value;

[0249] Rightinformationrate indicates the correctness rate;

[0250] G0 represents the preset green color value, which defaults to 255 for 8 bits and 65535 for 16 bits. It can also be 9 bits or 10 bits.

[0251] Indicates rounding down;

[0252] In a preferred embodiment of the present invention, the method for coloring the error share in step S595 is:

[0253]

[0254] Among them, R represents the red value;

[0255] G represents the green value;

[0256] B represents the blue value;

[0257] Errorinformationrate indicates the error rate;

[0258] R0 represents the preset red color value, which defaults to 255 for 8 bits and 65535 for 16 bits. It can also be 9 bits or 10 bits.

[0259] Indicates rounding down.

[0260] In a preferred embodiment of the present invention, the method for performing error value analysis on the screenshot security data in step S591 comprises the following steps:

[0261] Let Errorinformationquantity=0, Rightinformationquantity=0; Errorinformationquantity represents the error value obtained by analyzing the uploaded screenshot data; Rightinformationquantity represents the correct value obtained by analyzing the uploaded screenshot data;

[0262] S5911, obtaining the screenshot code in step S32, and converting the screenshot code into binary;

[0263] S5912, converting the pixel value of each pixel in the screenshot security data into binary;

[0264] S5913, obtaining the number of bits of the depth of the screenshot security data, recorded as M′;

[0265] S5914, obtaining the first digit of the screenshot code, recorded as N′; converting the first digit N′ into the number of digits M′;

[0266] S5915, converting the binary pixel value of each pixel in the screenshot security data into a number of bits M′;

[0267] S5916, performing an operation on the converted pixel value and the converted M′-bit value N′ to obtain the screenshot platform data;

[0268] S5917, obtaining a screenshot code corresponding to the screenshot platform data according to the screenshot platform data;

[0269] S5918, determining whether the screenshot code obtained in step S5911 is consistent with the screenshot code corresponding to the screenshot platform data:

[0270] If the screenshot code obtained in step S5911 is inconsistent with the screenshot code corresponding to the screenshot platform data, the analysis indicates that the received screenshot security data is unsafe; Errorinformationquantity=Errorinformationquantity+1;

[0271] If the screenshot code obtained in step S5911 is consistent with the screenshot code corresponding to the screenshot platform data, the analysis shows that the received screenshot security data is safe; the screenshot code and the screenshot security data are stored, or the screenshot platform data is stored, Rightinformationquantity=Rightinformationquantity+1;

[0272] The next screenshot safety data is determined until all screenshot safety data are determined.

[0273] It should be noted that if the number of received screenshot security data is Q, Totalinformationquantity = Q. Assuming that the number of received screenshot security data is 15,000, the preset green color value and the preset red color value are 255, the corresponding Rightinformationquantity is 12,750, and the Errorinformationquantity is 2,250, the correct share is colored as follows:

[0274]

[0275] Coloring the error share is:

[0276]

[0277] Assume that the number of received screenshot security data is 15,000, the preset green color value and the preset red color value are 255, the corresponding Rightinformationquantity is 1,350, and the Errorinformationquantity is 13,650. Then the correct share is colored as follows:

[0278]

[0279] Coloring the error share is:

[0280]

[0281] In a preferred embodiment of the present invention, the method for converting a single-digit value N′ into a number of digits M′ in step S54 is:

[0282] Add 1 in front of N' to make the number of digits of the value after adding 1 equal to M'; that is, get the M'-digit value N';

[0283] Alternatively, add 1 after N′ so that the number of digits of the value after adding 1 is equal to M′, thus obtaining the M′-digit value N′.

[0284] In a preferred embodiment of the present invention, the method for converting the binary pixel value of each pixel in the screenshot data into a number of bits M′ in step S55 is:

[0285] If the number of bits of the binary pixel value of the pixel in the screenshot safety data is not equal to M′, 0 is added in front of the binary pixel value to make the number of bits of the binary pixel values ​​of all pixels in the screenshot safety data equal to M′.

[0286] In a preferred embodiment of the present invention, the method for obtaining the screenshot platform data in step S56 is:

[0287]

[0288] Among them, R″′ x′,y′,j′ Indicates the value of the red pixel value at the pixel point (x′, y′) of the received screenshot data at the j′th position; j′=1, 2, 3, ..., M′;

[0289] R″′ x′,y′,j′ Indicates the value of the red pixel at the pixel point (x′, y′) of the screenshot platform data at the j′th position;

[0290] M′ j′ It means the value of the j′th digit after converting the single-digit value N′ to the digit M′;

[0291] & means and;

[0292] or means or;

[0293]

[0294] Among them, G x′,y′,j′ Indicates the value of the green pixel value at the pixel point (x′, y′) of the received screenshot security data located at the j′th position; j′=1, 2, 3, ..., M′;

[0295] G″′ x′,y′,j′ Indicates the value of the green pixel value at the pixel point (x′, y′) of the screenshot platform data at the j′th position;

[0296] M′ j′ It means the value of the j′th digit after converting the single-digit value N′ to the digit M′;

[0297] & means and;

[0298] or means or;

[0299]

[0300] Among them, B″ x′,y′,j′ Indicates the value of the blue pixel value at the pixel point (x′, y′) of the received screenshot security data at the j′th position; j′=1, 2, 3, ..., M′;

[0301] B″′ x′,y′,j′ Indicates the value of the blue pixel value at the pixel point (x′, y′) of the screenshot platform data at the j′th position;

[0302] M′ j′ It means the value of the j′th digit after converting the single-digit value N′ to the digit M′;

[0303] & means and;

[0304] or means or.

[0305] In a preferred embodiment of the present invention, the screenshot code corresponding to the screenshot platform data in step S57 is obtained as follows:

[0306] Screenshotdata′=Screenshotdatacalculateformula(Screenshotimage′),

[0307] Wherein, Screenshotdata′ represents the screenshot code corresponding to the screenshot platform data;

[0308] Screenshotdatacalculateformula() represents the calculation method of the screenshot code; SHA224 is preferably used;

[0309] Screenshotimage′ represents the screenshot platform data.

[0310] In a preferred embodiment of the present invention, before step S1, step S0 is further included, registering on the analysis platform, and registering on the analysis platform includes the following steps:

[0311] S01, obtain the mobile phone serial number and mobile phone number; the mobile phone serial number is a 15-digit string of one of the numbers 0 to 9 or any combination; the mobile phone number is a 11-digit string of one of the numbers 0 to 9 or any combination;

[0312] S02, treating the mobile phone serial number and the mobile phone number as decimal mobile phone serial number and mobile phone number, converting the mobile phone serial number and mobile phone number into sixty-binary mobile phone serial number and mobile phone number; connecting the converted mobile phone serial number and mobile phone number and sending them to the analysis platform;

[0313] S03, after the analysis platform receives the connected mobile phone serial number and mobile phone number, the connected mobile phone serial number and mobile phone number are restored to obtain the platform mobile phone serial number and platform mobile phone number;

[0314] S04, generating a platform number according to the platform mobile phone serial number and the platform mobile phone number, and storing the platform number in the analysis platform for subsequent login judgment.

[0315] In a preferred embodiment of the present invention, the method of connecting the converted mobile phone serial number and the mobile phone number in step S02 is:

[0316] Phonestring=IMEInumber 62 -Phonenumber 62 ,

[0317] Among them, Phonestring represents the mobile phone serial number and mobile phone number after connection;

[0318] IMEInumber 62 Indicates the converted mobile phone serial number;

[0319] Phone number 62 Indicates the converted mobile phone number;

[0320] - indicates a connector.

[0321] In a preferred embodiment of the present invention, in step S03, the method of restoring the connected mobile phone serial number and mobile phone number to obtain the platform mobile phone serial number and platform mobile phone number is:

[0322] Phonestring′=IMEInumber′ 1←7 Phone number 6←1 ,

[0323] Among them, Phonestring′ represents the received mobile phone serial number and mobile phone number of the connection;

[0324] Phone number 6←1 Indicates that the sixth to the first last digit of the received mobile phone serial number and mobile phone number is the platform mobile phone number;

[0325] IMEI number ′ 1←7 Indicates that the first to the last 7 digits of the received mobile phone serial number and mobile phone number are the platform mobile phone serial number.

[0326] In a preferred embodiment of the present invention, the method for generating a platform number according to the platform mobile phone serial number and the platform mobile phone number in step S04 includes the following steps:

[0327] S041, converting the platform mobile phone serial number and the platform mobile phone number into a hexadecimal mobile phone serial number and mobile phone number, and connecting the converted platform mobile phone serial number and the platform mobile phone number to obtain a platform connection number;

[0328] S042, using the platform number generation method to obtain the platform number using the platform connection number.

[0329] In a preferred embodiment of the present invention, after connecting the converted platform mobile phone serial number and the platform mobile phone number in step S041, the method for obtaining the platform connection number is:

[0330] Phonestring″=IMEInumber 16 -Phonenumber 16 ,

[0331] Among them, Phonestring″ represents the platform connection number obtained by connecting the converted platform mobile phone serial number and the platform mobile phone number;

[0332] IMEInumber 16 Indicates the converted platform mobile phone serial number;

[0333] Phone number 16 Indicates the converted platform mobile phone number;

[0334] - indicates a connector.

[0335] In a preferred embodiment of the present invention, in step S042, the method of obtaining the platform number by using the platform number generation method from the platform connection number is as follows:

[0336] Platformnumber=Platformnumbercalculateformula(Phonestring″),

[0337] Wherein, Platformnumber indicates the platform number;

[0338] Platformnumbercalculateformula() represents the platform number calculation method; SHA224 is preferably used;

[0339] Phonestring″ indicates the platform connection number.

[0340] Although the 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 claims and their equivalents.

Claims

1. A data security analysis working method, characterized in that: The following steps are involved: S1, log in to the analysis platform; S2, obtain screenshot data; S3, generating screenshot security data using the screenshot code from the acquired screenshot data; The method for generating screenshot security data includes the following steps: S31, obtain the depth of the screenshot data, recorded as ; S32, converting the pixel value of each pixel in the screenshot data into binary and converting the screenshot code into binary; S33, converting the binary pixel value of each pixel in the screenshot data into a number of bits ; S34, obtain the first digit of the screenshot code and record it as ; The first digit Convert to digits ; S35, comparing the converted pixel value with the converted Place value Perform calculations to obtain screenshot security data; the method for obtaining the screenshot security data is: , in, Indicates the screenshot data in pixels The red pixel value at The value of the bit; =1, 2, 3, ..., ; Indicates the screenshot security data at the pixel point The red pixel value at The value of the bit; Indicates that the first digit Convert to digits After that, The value of the bit; means and; means or; , in, Indicates the screenshot data in pixels The green pixel value at The value of the bit; =1, 2, 3, ..., ; Indicates the screenshot security data at the pixel point The green pixel value at The value of the bit; Indicates that the first digit Convert to digits After that, The value of the bit; means and; means or; , in, Indicates the screenshot data in pixels The blue pixel value at The value of the bit; =1, 2, 3, ..., ; Indicates the screenshot security data at the pixel point The blue pixel value at The value of the bit; Indicates that the first digit Convert to digits After that, The value of the bit; means and; means or; S4, transmitting the screenshot security data to the analysis platform via a wireless network; S5, after receiving the screenshot security data, the analysis platform analyzes the screenshot security data.

2. The data security analysis method according to claim 1, characterized in that: In step S2, the format of the screenshot data is one of PNG, JPG, JPEG, BMP, or any combination thereof.

3. The data security analysis method according to claim 1, characterized in that: In step S2, the screenshot data is the screenshot data of the smart phone.

4. The data security analysis method according to claim 1, characterized in that: In step S4, the wireless network is one of WiFi, 5G, 4G, and 3G wireless networks.

5. The data security analysis method according to claim 1, characterized in that: Step S1 includes the following steps: S11, obtain the mobile phone serial number and mobile phone number; the mobile phone serial number is a 15-digit string of one of the numbers 0 to 9 or any combination; the mobile phone number is a 11-digit string of one of the numbers 0 to 9 or any combination; S12, treating the mobile phone serial number and the mobile phone number as decimal mobile phone serial number and mobile phone number, converting the mobile phone serial number and mobile phone number into sixty-binary mobile phone serial number and mobile phone number; connecting the converted mobile phone serial number and mobile phone number and sending them to the analysis platform; S13, after the analysis platform receives the connected mobile phone serial number and mobile phone number, the connected mobile phone serial number and mobile phone number are restored to obtain the platform mobile phone serial number and platform mobile phone number; S14, generating a platform number according to the platform mobile phone serial number and the platform mobile phone number, and determining whether the platform number exists on the analysis platform: If the platform number exists on the analysis platform, logging into the analysis platform is successful; If the platform number does not exist on the analysis platform, logging into the analysis platform fails.

6. The data security analysis method according to claim 1, characterized in that: In step S33, the binary pixel value of each pixel in the screenshot data is converted into a number of bits. The method is: If the number of bits of the binary pixel value of the pixel point in the screenshot data is not equal to , add 0 in front of the binary pixel value so that the number of bits of the binary pixel value of all pixels in the screenshot data is equal to .

7. The data security analysis method according to claim 1, characterized in that: In step S34, the first digit Convert to digits The method is: exist Add 1 in front of the value so that the number of digits after adding 1 is equal to ; that is, get Place value .

8. The data security analysis method according to claim 1, characterized in that: In step S34, the first digit Convert to digits The method is: exist Add 1 after the value to make the number of digits after adding 1 equal to , that is, Place value .

9. The data security analysis method according to claim 1, characterized in that: The method for analyzing the screenshot security data in step S5 includes the following steps: S51, obtaining the screenshot code in step S3, and converting the screenshot code into binary; S52, converting the pixel value of each pixel in the screenshot security data into binary; S53, obtain the depth of the screenshot security data, recorded as ; S54, obtain the first digit of the screenshot code and record it as ; The first digit Convert to digits ; S55, converting the binary pixel value of each pixel in the screenshot security data into a number of bits ; S56, comparing the converted pixel value with the converted Place value Perform calculations to obtain screenshot platform data; S57, obtaining a screenshot code corresponding to the screenshot platform data according to the screenshot platform data; S58, determining whether the screenshot code obtained in step S51 is consistent with the screenshot code corresponding to the screenshot platform data: If the screenshot code obtained in step S51 is inconsistent with the screenshot code corresponding to the screenshot platform data, the analysis indicates that the received screenshot security data is unsafe; If the screenshot code obtained in step S51 is consistent with the screenshot code corresponding to the screenshot platform data, the analysis shows that the received screenshot security data is safe; the screenshot code and the screenshot security data are stored, or the screenshot platform data is stored.

Citation Information

Patent Citations

  • Industrial internet data transmission method

    CN117478272A