Cotton fiber quality detection information security protection method, device and equipment
By verifying and identifying the access user of cotton fiber quality detection information, combined with data segmentation and encryption processing, the problem of difficulty in encrypting data securely according to different access operations in the prior art is solved, and higher data is achieved Security and lower risk of leakage.
Patent Information
- Application Number
- CN202411287897.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-14
- Publication Date
- 2025-02-25
- Estimated Expiration
- 2044-09-14
AI Technical Summary
The existing information security protection methods are difficult to securely encrypt data according to different access operations on cotton quality detection information, resulting in an increase in the risk of data leakage.
By verifying the access information of the access user, and identifying and determining the access operation and access rights of the access user, an access protection signal and a prohibited access signal are generated. For different access operations, encryption processing methods during browsing and downloading are adopted, including data segmentation, reorganization and encryption and AES key generation, to ensure the security of data during access.
It improves the protection of access source data, customizes encryption processing according to different access operations, reduces the possibility of data leakage, and enhances the overall security of cotton fiber quality detection information.
Smart Images

Figure CN118797693B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of information security technology, and in particular to a cotton fiber quality detection information security protection method, device and equipment. Background Art
[0002] With the development of mobile Internet and the popularization of mobile applications, the functions of smart terminals such as smartphones are becoming more and more abundant, and the ability to carry information is constantly improving. Therefore, the requirements for the security of information stored in smart terminals are becoming higher and higher.
[0003] According to the publication number CN105141736A, an information security protection method and device are provided; the information security protection method of the present invention can detect whether there is an original user identity identification card in the terminal; when the original user identity identification card does not exist in the terminal, the terminal is put into an information security locked state, and by detecting whether the original user identity identification card exists, it is determined whether to set the terminal to the information security locked state according to the detection result, thereby improving the security of information.
[0004] However, when some existing information security protection methods are used, especially when applied to cotton quality inspection information, on the one hand, due to the different importance of the inspection information, if all personnel have full access to it, there will be further problems with the leakage of inspection information, further affecting the subsequent cotton production; on the other hand, when different personnel perform different operations, they cannot perform security encryption processing on the data according to different access operations, which may lead to the problem of data leakage during the access process, affecting the security of the data. Summary of the invention
[0005] In view of the deficiencies in the prior art, the present invention provides a cotton fiber quality detection information security protection method, device and equipment, which solves the problem that data cannot be securely encrypted according to different access operations, thus affecting data security.
[0006] To achieve the above objectives, the present invention is implemented through the following technical solutions: A cotton fiber quality detection information security protection method, comprising:
[0007] S101: Classify the acquired detection information to obtain public data and private data, and grant different access rights. At the same time, verify the access information of the accessing user to determine whether the access right is granted, and generate an access protection signal and an access prohibition signal;
[0008] S102: For the access protection signal, the access operation of the access user is identified, and the access protection results corresponding to different access operations are identified, and the access protection results include browsing access protection results and downloading access protection results;
[0009] S103: For the browsing access protection result, the browsing data storage location of the accessing user is obtained, and the browsing data of the same type is classified according to the storage location, and the browsing data of the same type is segmented to obtain data segmentation packages, and then the repeated data in the data segmentation packages are segmented again to obtain data segmentation segments, and the data segmentation segments are reassembled and encrypted to obtain browsing encryption protection information;
[0010] S104: For the download access protection result, the download environment is judged and the standard download speed under different download environments is calculated. The download data is segmented according to the standard download speed to obtain a download segmentation package, and an AES key is randomly generated based on the number of characters in the download segmentation package to encrypt the download data and generate encryption information.
[0011] As a further solution of the present invention: the verification of the access information of the accessing user includes:
[0012] Acquire detection information, classify the data content of the detection information to obtain public data and private data, and obtain access rights to the public data and private data respectively;
[0013] Then the access information of the accessing user is obtained and verified, and the access information is verified according to the access permissions of different data. If the access information of the accessing user does not meet the access permissions of the corresponding data, an access prohibition signal is generated. Conversely, if the access information of the accessing user meets the access permissions of the corresponding data, an access protection signal is generated.
[0014] As a further solution of the present invention: analyzing the access protection signal and identifying the access operation of the access user includes:
[0015] The access operation of the access user is identified, and if the access operation of the access user is a data browsing operation, a browsing access protection result is generated; if the access operation of the access user is a data downloading operation, a downloading access protection result is generated.
[0016] As a further solution of the present invention: analyzing the browsing access results includes:
[0017] Obtain browsing data corresponding to the accessing user, and at the same time obtain the storage location corresponding to the browsing data, and classify the browsing data according to the storage location to obtain browsing data of the same type, and then obtain any browsing data of the same type as the analysis object;
[0018] Then, the data capacity of the analysis object is obtained and recorded as R, and the analysis object is divided into nine equal parts according to the data capacity R to obtain a data segmentation package, and the duplicate data in the data segmentation package is obtained. At the same time, the data segmentation package is secondary segmented with the duplicate data as the segmentation node to obtain data segmentation segments, and the data segmentation segments are analyzed.
[0019] As a further solution of the present invention: analyzing the data segmentation includes:
[0020] Obtain the total number of characters corresponding to the data segmentation segment, and obtain the number of characters corresponding to different data types, and at the same time sort and reorganize the different data types in the data segmentation segment according to the number of characters from large to small to obtain the reorganized segmentation segment;
[0021] Then, the obtained reorganized segment is converted into a binary format, and the reorganized segment after the binary conversion is processed in reverse order as a whole to obtain an encrypted data segment, and the corresponding encrypted information is generated.
[0022] As a further solution of the present invention: analyzing the download access protection result includes:
[0023] Analyze the download environment, analyze the change of the real-time download speed corresponding to the download environment in the time period t, obtain the real-time download speed corresponding to the unit time, and calculate the difference of the real-time download speed corresponding to the unit time in the time period t, and calculate the average of all the differences as the judgment value, and then compare the judgment value with the preset value;
[0024] If the judgment value is greater than the preset value, it means that the real-time download speed corresponding to the download environment is unstable, and an unstable analysis signal is generated. If the judgment value is less than the preset value, it means that the real-time download speed corresponding to the download environment is stable, and a stable analysis signal is generated. At the same time, the standard download speeds corresponding to the unstable analysis signal and the stable analysis signal are calculated.
[0025] As a further solution of the present invention: calculating the standard download speed includes:
[0026] Calculate the standard download speed corresponding to the stable analysis signal: obtain the real-time download speed corresponding to all unit times within the time period t, calculate the average of all real-time download speeds, and use the calculated average as the standard download speed;
[0027] Calculate the standard download speed corresponding to the unstable analysis signal: obtain the real-time download speed per unit time corresponding to the stable period within the time period t, calculate the corresponding average value, and use the calculated average value as the standard download speed.
[0028] As a further solution of the present invention: the step of segmenting the download data according to the standard download speed to obtain the download segmentation packages includes:
[0029] Then, the download data is segmented at the standard download speed to obtain download segmentation packages, and the first group of download segmentation packages is taken as the analysis object, all the download data in the analysis object is obtained, and the download data is classified according to the data type to obtain the same type of download data, and the character quantity corresponding to the same type of download data is obtained, and then the parity of the character quantity value of the same type of download data is judged;
[0030] If the character quantity value is an odd number, the odd-numbered tail value of the character quantity value is obtained, and the character at the same position in the same type of downloaded data is obtained based on the odd-numbered tail value; if the character quantity value is an odd number, the even-numbered tail value of the character quantity value is obtained, and the character at the same position in the same type of downloaded data is obtained based on the even-numbered tail value;
[0031] The extracted characters are recorded as random characters, and the AES key is generated using the corresponding software, and the encrypted information is generated at the same time.
[0032] A device, comprising: an identity verification module, an access operation identification module, an information security encryption module and a protection information output module;
[0033] Identity verification module, obtaining access information of visiting users;
[0034] An access operation identification module identifies the access operation of the access user and generates browsing access protection results and downloading access protection results;
[0035] The information security encryption module encrypts the data under different access operations of the accessing user and generates encrypted information;
[0036] The protection information output module stores and displays the encrypted information.
[0037] A device comprises: one or more processors, a memory, a plurality of applications, and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs include instructions.
[0038] The present invention provides a cotton fiber quality detection information security protection method, device and equipment. Compared with the prior art, it has the following beneficial effects:
[0039] The present invention verifies the access information of the accessing user and identifies and judges the access operation and access permission of the accessing user to improve the protection of the access source data. Secondly, different encryption processing is performed according to the different access operations of the accessing user and the actual data situation. At the same time, a comprehensive analysis is performed in combination with the corresponding access environment during the encryption processing to improve the overall security of the data and reduce the possibility of data leakage. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 It is a flow chart of the steps of the present invention;
[0041] Figure 2 is a schematic structural diagram of an embodiment of a device according to the present invention;
[0042] Figure 3 It is a schematic diagram of the structure of a computer-readable medium embodiment according to the present invention. DETAILED DESCRIPTION
[0043] 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.
[0044] In the first embodiment of the present application, Figure 1 As shown, it is a flow chart of the steps of the present invention. The present application provides a cotton fiber quality detection information security protection method, which specifically includes the following steps:
[0045] Next, in step S101, the acquired detection information is classified into public data and private data, and different access rights are granted. At the same time, the access information of the accessing user is verified to determine whether the user has access rights, and an access protection signal and an access prohibition signal are generated.
[0046] The detection information is obtained, and the detection information here refers to the cotton fiber quality detection data information. At the same time, the data content of the detection information is classified to obtain public data and private data. The data content here refers to the data that can be disclosed or not disclosed in the production process. The specific public data or non-public data is set by the corresponding operator. For example, in the cotton fiber quality inspection, the length, strength and other conventional indicator data of the cotton can be set as public data by the operator, while the source farm of the cotton, the specific production batch and other information involving commercial secrets are set as private data, and the access rights to the public data and private data are obtained respectively; for example, for these public data, the quality inspection department, purchasers and other relevant parties are allowed to obtain access rights, while for private data, only specific management or core R&D personnel within the enterprise have access rights.
[0047] Then, the access information of the accessing user is obtained and verified. The access information here includes the user's identity information (including the corresponding access rights) and the access content (that is, the type of classified data accessed by the accessing user, whether it is public data or private data). The access information is verified according to the access rights of different data. If the access information of the accessing user does not meet the access rights of the corresponding data, an access prohibition signal is generated. Conversely, if the access information of the accessing user meets the access rights of the corresponding data, an access protection signal is generated, and the generated access prohibition signal is directly displayed to the corresponding accessing user.
[0048] A quality inspector wants to view the cotton source farm information in the cotton fiber quality inspection data (which is private data). The system obtains the identity information of the quality inspector and finds that he does not have the authority to view the private data, so it generates a prohibited access signal. Another senior management staff member within the company wants to view the same cotton source farm information. After verifying his identity information, the system finds that he has the authority to view the private data, and then generates an access protection signal to allow him to access.
[0049] Next, in step S102, for the access protection signal, the access operation of the access user is identified, and the access protection results corresponding to different access operations are identified, and the access protection results include browsing access protection results and downloading access protection results.
[0050] With respect to the generated access protection signal, the access operation of the accessing user is further identified, and the access operation here includes data browsing operation and data downloading operation. If the access operation of the accessing user is a data browsing operation, a browsing access protection result is further generated; if the access operation of the accessing user is a data downloading operation, a downloading access protection result is further generated.
[0051] In one specific implementation, when a researcher with permission is viewing private data of cotton fiber quality testing, since the system generates an access protection signal, when he simply browses the data on the system interface, the system will further generate a browsing access protection result; and if he wants to download the private data locally, the system will generate a download access protection result based on his operation.
[0052] Next, in step S103, for the browsing access protection result, the browsing data storage location of the visiting user is obtained, and the same type is classified according to the storage location. At the same time, the same type of browsing data is segmented to obtain a data segmentation package, and then a second segmentation is performed based on the duplicate data in the data segmentation package to obtain data segmentation segments, and the data segmentation segments are reorganized and encrypted to obtain browsing encryption protection information.
[0053] For the browsing access protection results, the browsing data corresponding to the accessing user is obtained, and the storage location corresponding to the browsing data is obtained, and the same type of browsing data is obtained by classifying the same storage location according to the storage location of the browsing data, and then any type of browsing data of the same type is obtained as the analysis object. The same type of browsing data here refers to a data set with the same storage location.
[0054] In a specific embodiment, the same type of browsing data is then analyzed for any group of the same type of browsing data and recorded as the analysis object. In the cotton fiber quality detection data system, after a user obtains the browsing access protection result, he browses the strength data of different batches of cotton fibers (these are browsing data). These data are stored in different folders. The same batch of cotton fiber strength data stored in the same folder are classified as the same type of browsing data according to the storage location, and then one group of the same batch of data (such as the cotton fiber strength data produced by Farm A) is selected as the analysis object for in-depth analysis.
[0055] Then, the data capacity of the analysis object is obtained and recorded as R, and the analysis object is divided into nine equal parts according to the data capacity R to obtain a data segmentation package. For example, in the cotton fiber quality detection data, the analysis object is the various index data of a batch of cotton fibers, and its data capacity R is 90MB. Divide it into nine equal parts, each 10MB to form a data segmentation package, and obtain the repeated data in the data segmentation package, and there are many types of repeated data here. At the same time, the data segmentation package is secondary segmented with the repeated data as the segmentation node to obtain a data segmentation segment, and the data segmentation segment obtained here is the data in the same group of data segmentation packages. Then, the total number of characters corresponding to the data segmentation segment is obtained, and the number of characters corresponding to different data types is obtained. At the same time, the different data types in the data segmentation segment are sorted and reorganized from large to small according to the number of characters to obtain a reorganized segmentation segment. If these data segmentation segments contain different data types such as fiber length and fiber strength, the number of characters corresponding to each data type is counted, such as the number of data characters of fiber length is 5000, and the number of data characters of fiber strength is 3000. When reorganizing, the data related to fiber length is first ranked.
[0056] Then, the obtained reassembled segment is converted into binary, and the reassembled segment after binary conversion is processed in reverse order to obtain an encrypted data segment, and the corresponding encryption information is generated. Similarly, all data segment packets are encrypted in the same way.
[0057] Next, in step S104, for the download access protection result, the download environment is judged and the standard download speed under different download environments is calculated. At the same time, the download data is segmented according to the standard download speed to obtain a download segmentation package, and an AES key is randomly generated based on the number of characters in the download segmentation package to encrypt the download data and generate encryption information.
[0058] Analyze the download environment, analyze the change of the real-time download speed corresponding to the download environment within the time period t, obtain the real-time download speed corresponding to the unit time, and calculate the difference of the real-time download speed corresponding to the unit time within the time period t, and calculate the average of all the differences as the judgment value, then compare the judgment value with the preset value, and the specific value of the preset value is set by the operator;
[0059] In a specific implementation, during the downloading process of cotton fiber quality detection data, we analyze the downloading environment within one hour (time period t). Each minute is taken as a unit time, and the real-time download speed of each unit time is recorded. For example, if the download speed in the first minute is 10MB / s and the download speed in the second minute is 12MB / s, then the speed difference between the two unit times is 2MB / s. After calculating the speed differences of all adjacent unit times in sequence, the average of these differences is calculated as the judgment value, for example, the preset value is set to 5MB / s.
[0060] If the judgment value is greater than the preset value, it means that the real-time download speed corresponding to the download environment is unstable, and an unstable analysis signal is generated. If the judgment value is less than the preset value, it means that the real-time download speed corresponding to the download environment is stable, and a stable analysis signal is generated. At the same time, the standard download speeds corresponding to the unstable analysis signal and the stable analysis signal are calculated.
[0061] Calculate the standard download speed corresponding to the stable analysis signal: obtain the real-time download speed corresponding to all unit times within the time period t, calculate the average of all real-time download speeds, and use the calculated average as the standard download speed; for example, in a download process of 60 minutes (time period t), record the real-time download speed per minute (unit time), such as 10MB / s in the first minute, 12MB / s in the second minute, 8MB / s in the third minute, and so on. Add up these 60 real-time download speeds and divide them by 60. The result is the average of all real-time download speeds, which is used as the standard download speed.
[0062] Calculate the standard download speed corresponding to the unstable analysis signal: obtain the real-time download speed per unit time corresponding to the stable period within the time period t, calculate the corresponding average, and use the calculated average as the standard download speed; for example, in a download process of 1 hour (time period t), it is observed that the download speed is relatively stable from the 40th minute to the 60th minute. During these 20 minutes (stable period), the real-time download speed in the 40th minute is 10.5MB / s, the 41st minute is 10.3MB / s, the 42nd minute is 10.4MB / s, and so on. Add the real-time download speeds of these 20 unit times and divide them by 20. The average value is used as the standard download speed.
[0063] Then, the download data is segmented at a standard download speed to obtain download segmentation packages, and the segmentation here means segmenting the data that needs to be downloaded but has not been downloaded, and at the same time, the first group of download segmentation packages is obtained as the analysis object, all the download data in the analysis object is obtained, and the download data is classified according to the data type to obtain the same type of download data, and at the same time, the character quantity corresponding to the same type of download data is obtained, and then the parity of the character quantity value of the same type of download data is judged. If the character quantity value is an odd number, the odd-numbered tail value of the character quantity value is obtained, and the characters at the same position in the same type of download data are obtained based on the odd-numbered tail value. If the character quantity value is an odd number, the even-numbered tail value of the character quantity value is obtained, and the characters at the same position in the same type of download data are obtained based on the even-numbered tail value;
[0064] In a specific implementation, there is a file download process, which is divided into multiple download packets at a standard download speed. For the first group of download packets, it contains various data such as text and pictures. The text data is classified as the same type of download data. Assuming that the number of characters in these text data is 15 (odd number), and the odd decimal point value of 15 is 5, then the 5th character in these text data is extracted; if the number of characters is 16 (even number), and the even decimal point value of 16 is 6, then the 6th character in the text data is extracted.
[0065] The extracted characters are recorded as random characters, and the AES key is generated using the corresponding software, and the encrypted information is generated at the same time.
[0066] For example, in Java, you can use the javax.crypto.KeyGenerator class to generate AES keys. The following is a simple example code:
[0067] importjavax.crypto.KeyGenerator;
[0068] importjavax.crypto.SecretKey;
[0069] importjava.security.NoSuchAlgorithmException;
[0070] public class AESKeyGenerator {
[0071] publicstaticvoidmain(String[]args)throwsNoSuchAlgorithmException{
[0072] KeyGeneratorkeyGenerator=KeyGenerator.getInstance("AES");
[0073] / / You can specify the key length, such as 128 bits, 192 bits or 256 bits. Here we take 128 bits as an example.
[0074] keyGenerator.init(128);
[0075] SecretKeysecretKey=keyGenerator.generateKey();
[0076] byte[]keyBytes=secretKey.getEncoded();
[0077] }
[0078] }
[0079] A device, comprising: an identity verification module, an access operation identification module, an information security encryption module and a protection information output module;
[0080] Identity verification module, obtaining access information of visiting users;
[0081] An access operation identification module identifies the access operation of the access user and generates browsing access protection results and downloading access protection results;
[0082] The information security encryption module encrypts the data under different access operations of the accessing user and generates encrypted information;
[0083] The protection information output module stores and displays the encrypted information.
[0084] A device comprises: one or more processors, a memory, a plurality of applications, and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs include instructions.
[0085] like Figure 2 As shown, the device is in the form of a general computing device. The processor may be one or multiple and work together. The present invention does not exclude distributed processing, that is, the processor may be dispersed in different physical devices. The device of the present invention is not limited to a single entity, but may also be the sum of multiple physical devices.
[0086] The memory stores a computer executable program, which is usually a machine-readable code. The computer-readable program can be executed by the processor to enable the device to perform the method of the present invention, or at least part of the steps in the method.
[0087] The memory includes a volatile memory, such as a random access memory unit (RAM) and / or a cache memory unit, and may also be a non-volatile memory, such as a read-only memory unit (ROM).
[0088] Optionally, in this embodiment, the device further includes an I / O interface, which is used for the device to exchange data with external devices. The I / O interface can represent one or more of several types of bus structures, including a storage unit bus or a storage unit controller, a peripheral bus, a graphics acceleration port, a processing unit, or a local bus using any of a variety of bus structures.
[0089] It should be understood that Figure 2 The device shown is only an example of the present invention, and the device of the present invention may also include elements or components not shown in the above examples. For example, some devices also include display units such as display screens, and some devices also include human-computer interaction elements such as buttons and keyboards. As long as the device can execute the computer-readable program in the memory to implement the method of the present invention or at least part of the steps of the method, it can be considered as a device covered by the present invention.
[0090] Through the above description of the implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by combining software with necessary hardware. Figure 3 As shown, the technical solution according to the embodiment of the present invention can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes a number of commands to enable a computing device (which can be a personal computer, a server, or a network device, etc.) to execute the above method according to the embodiment of the present invention.
[0091] The software product may be any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, a system, device or component of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination thereof. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.
[0092] The computer readable storage medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The readable storage medium may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with a command execution system, device, or device. The program code contained on the readable storage medium may be transmitted using any suitable medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the above.
[0093] Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., via the Internet using an Internet service provider).
[0094] The computer-readable medium carries one or more programs (for example, computer-executable programs). When the one or more programs are executed by a device, the computer-readable medium implements the method of the present disclosure.
[0095] Those skilled in the art will appreciate that the above modules can be distributed in the device according to the description of the embodiment, or can be changed accordingly and only used in one or more devices different from the embodiment. The modules of the above embodiments can be combined into one module, or further divided into multiple sub-modules.
[0096] Through the description of the above embodiments, it is easy for those skilled in the art to understand that the exemplary embodiments described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the embodiment of the present invention can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several commands to enable a computing device (which can be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the embodiment of the present invention.
[0097] The exemplary embodiments of the present invention are specifically shown and described above. It should be understood that the present invention is not limited to the detailed structure, configuration or implementation method described herein; on the contrary, the present invention is intended to cover various modifications and equivalent configurations included in the spirit and scope of the appended claims.
Claims
1. A cotton fiber quality detection information security protection method, characterized in that: The following steps are involved: S101: Classify the acquired detection information to obtain public data and private data, and grant different access rights. At the same time, verify the access information of the accessing user to determine whether the access right is granted, and generate an access protection signal and an access prohibition signal; S102: For the access protection signal, the access operation of the access user is identified, and the access protection results corresponding to different access operations are identified, and the access protection results include browsing access protection results and downloading access protection results; S103: For the browsing access protection result, the browsing data storage location of the accessing user is obtained, and the browsing data of the same type is classified according to the storage location, and the browsing data of the same type is segmented to obtain data segmentation packages, and then the repeated data in the data segmentation packages are segmented again to obtain data segmentation segments, and the data segmentation segments are reassembled and encrypted to obtain browsing encryption protection information; S104: For the download access protection result, the download environment is judged and the standard download speed under different download environments is calculated, and the specific method is: Calculate the standard download speed corresponding to the stable analysis signal: obtain the real-time download speed corresponding to all unit times within the time period t, calculate the average of all real-time download speeds, and use the calculated average as the standard download speed; Calculate the standard download speed corresponding to the unstable analysis signal: obtain the real-time download speed per unit time corresponding to the stable period within the time period t, calculate the corresponding average value, and use the calculated average value as the standard download speed; At the same time, the download data is segmented according to the standard download speed to obtain a download segmentation package, and an AES key is randomly generated based on the number of characters in the download segmentation package to encrypt the download data to generate encryption information, and the specific method is: Then, the download data is segmented at the standard download speed to obtain download segmentation packages, and the first group of download segmentation packages is taken as the analysis object, all the download data in the analysis object is obtained, and the download data is classified according to the data type to obtain the same type of download data, and the character quantity corresponding to the same type of download data is obtained, and then the parity of the character quantity value of the same type of download data is judged; If the character quantity value is an odd number, the odd-numbered tail value of the character quantity value is obtained, and the characters at the same position in the same type of downloaded data are obtained based on the odd-numbered tail value; if the character quantity value is an even number, the even-numbered tail value of the character quantity value is obtained, and the characters at the same position in the same type of downloaded data are obtained based on the even-numbered tail value; The extracted characters are recorded as random characters, and the AES key is generated using the corresponding software, and the encrypted information is generated at the same time.
2. A cotton fiber quality detection information security protection method according to claim 1, characterized in that: The verification of the access information of the accessing user includes: Acquire detection information, classify the data content of the detection information to obtain public data and private data, and obtain access rights to the public data and private data respectively; Then the access information of the accessing user is obtained and verified, and the access information is verified according to the access permissions of different data. If the access information of the accessing user does not meet the access permissions of the corresponding data, an access prohibition signal is generated. Conversely, if the access information of the accessing user meets the access permissions of the corresponding data, an access protection signal is generated.
3. A cotton fiber quality detection information security protection method according to claim 1, characterized in that: Analyze the access protection signal and identify the access operation of the access user, including: The access operation of the access user is identified, and if the access operation of the access user is a data browsing operation, a browsing access protection result is generated; if the access operation of the access user is a data downloading operation, a downloading access protection result is generated.
4. A cotton fiber quality detection information security protection method according to claim 3, characterized in that: Analyze browsing visit results, including: Obtain browsing data corresponding to the accessing user, and at the same time obtain the storage location corresponding to the browsing data, and classify the browsing data according to the storage location to obtain browsing data of the same type, and then obtain any browsing data of the same type as the analysis object; Then, the data capacity of the analysis object is obtained and recorded as R, and the analysis object is divided into nine equal parts according to the data capacity R to obtain a data segmentation package, and the duplicate data in the data segmentation package is obtained. At the same time, the data segmentation package is secondary segmented with the duplicate data as the segmentation node to obtain data segmentation segments, and the data segmentation segments are analyzed.
5. A cotton fiber quality detection information security protection method according to claim 4, characterized in that: The analysis of the data segments includes: Obtain the total number of characters corresponding to the data segmentation segment, and obtain the number of characters corresponding to different data types, and at the same time sort and reorganize the different data types in the data segmentation segment according to the number of characters from large to small to obtain the reorganized segmentation segment; Then, the obtained reorganized segment is converted into a binary format, and the reorganized segment after the binary conversion is processed in reverse order as a whole to obtain an encrypted data segment, and the corresponding encrypted information is generated.
6. A cotton fiber quality detection information security protection method according to claim 1, characterized in that: Analysis of download access protection results, including: Analyze the download environment, analyze the change of the real-time download speed corresponding to the download environment in the time period t, obtain the real-time download speed corresponding to the unit time, and calculate the difference of the real-time download speed corresponding to the unit time in the time period t, and calculate the average of all the differences as the judgment value, and then compare the judgment value with the preset value; If the judgment value is greater than the preset value, it means that the real-time download speed corresponding to the download environment is unstable, and an unstable analysis signal is generated. If the judgment value is less than the preset value, it means that the real-time download speed corresponding to the download environment is stable, and a stable analysis signal is generated. At the same time, the standard download speeds corresponding to the unstable analysis signal and the stable analysis signal are calculated.
7. A device for executing a cotton fiber quality detection information security protection method according to any one of claims 1 to 6, characterized in that: include: Identity verification module, access operation identification module, information security encryption module and protection information output module; Identity verification module, obtaining access information of visiting users; An access operation identification module identifies the access operation of the access user and generates browsing access protection results and downloading access protection results; The information security encryption module encrypts the data under different access operations of the accessing user and generates encrypted information; The protection information output module stores and displays the encrypted information.
8. A device, characterized in that include: One or more processors, a memory, a plurality of applications, and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs include instructions, which, when executed, execute the cotton fiber quality detection information security protection method described in any one of claims 1 to 6.
Citation Information
Patent Citations
Information security protection method and apparatus
CN105141736A
Multimedia file access control method, terminal and computer readable storage medium
CN107704766A
Cotton quality character detection method based on machine vision technology
CN116434206A