Traffic big data security protection method based on SaaS service
By acquiring and analyzing the correlation between traffic big data in different sections, calculating the probability of key updates and updating the key, the security problem of AES encryption algorithm not taking into account data correlation is solved, and the security and encryption efficiency of traffic big data are significantly improved. .
Patent Information
- Application Number
- CN202411155954.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-22
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2044-08-22
AI Technical Summary
In the prior art, the AES encryption algorithm does not consider the correlation between different types of data when encrypting and analyzing traffic big data, which leads to attackers that can infer undecrypted data segments through the decrypted data segments, reducing traffic big data. security.
By obtaining traffic big data on different road sections, determining their traffic correlation at any moment, calculating the key update probability based on the correlation, and determining the keys of different road sections based on the probability and correlation, for security protection.
Update keys through correlation analysis significantly enhance the security of traffic big data, avoiding the complexity and security risks of single key management, and improving the flexibility and encryption efficiency of key use.
Smart Images

Figure CN118694526B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a traffic big data security protection method based on SaaS service in the field of data processing technology. Background Art
[0002] With the acceleration of urbanization and the increase in transportation demand, traffic big data plays an increasingly important role in urban planning, traffic management, environmental protection, etc. In traffic management and environmental protection, the collection and analysis of traffic big data plays a vital role. By analyzing the characteristics of traffic big data on different roads in the city, it can help formulate environmental protection policies, optimize traffic management strategies, and promote the development of green transportation. However, traffic big data often involves sensitive information such as personal privacy, commercial secrets, and public safety. If it is not properly protected, it may lead to risks such as data leakage, tampering, and abuse. In order to ensure the privacy and security of data, encryption algorithms such as Advanced Encryption Standard (AES) are usually used to encrypt these data.
[0003] Different types of data in traffic big data usually have strong correlations, for example, traffic flow and vehicle speed data, vehicle location and traffic flow data, etc., often have certain correlations in time and space; however, the AES encryption algorithm in related technologies does not take into account the correlations between different types of data when performing encryption analysis on traffic big data. If the same key is used to encrypt data with strong correlations, attackers can infer undecrypted data segments through decrypted data segments, thereby reducing the security of traffic big data. Summary of the invention
[0004] In order to solve the technical problem of low security of traffic big data in the prior art, the purpose of the present invention is to provide a traffic big data security protection method based on SaaS service. The technical solution adopted is as follows:
[0005] In a first aspect, an embodiment of the present invention provides a traffic big data security protection method based on SaaS service, the method comprising:
[0006] Obtain traffic big data corresponding to different road sections;
[0007] Determine the traffic relevance of the traffic big data corresponding to the different road sections at any time;
[0008] Based on the traffic correlation, determining the probability of key update at any time;
[0009] Determining the keys of the traffic big data corresponding to the different road sections based on the key update probability and the traffic relevance;
[0010] Based on the key, security protection is performed on the traffic big data corresponding to the different road sections.
[0011] In a second aspect, a traffic big data security protection device based on SaaS service is provided, the device comprising:
[0012] The acquisition module is used to obtain traffic big data corresponding to different road sections;
[0013] A first determination module is used to determine the traffic relevance of the traffic big data corresponding to the different road sections at any time;
[0014] A second determination module, configured to determine a key update probability at any time based on the traffic correlation;
[0015] A third determination module, configured to determine the keys of the traffic big data corresponding to the different road sections based on the key update probability and the traffic relevance;
[0016] The protection module is used to perform security protection on the traffic big data corresponding to the different road sections based on the key.
[0017] According to a third aspect, a computer program product is provided. The computer program product includes: a computer program code. When the computer program code is executed on a computer, the computer executes the method according to the first aspect.
[0018] According to a fourth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program code. When the computer program code is executed on a computer, the computer executes the method according to the first aspect.
[0019] The present invention has the following beneficial effects: after obtaining the traffic big data corresponding to different road sections, the traffic relevance of the traffic big data corresponding to the different road sections at any time is determined, so as to reflect the correlation between the traffic big data under different road sections through the traffic relevance. Afterwards, based on the traffic relevance, the probability of key update at any time is determined, so that the key of the traffic big data at any time can be analyzed through the key update probability to see whether it needs to be updated. Finally, the key of the traffic big data corresponding to the different road sections is determined through the key update probability and the traffic relevance, and based on the key, the traffic big data corresponding to the different road sections is protected. In this way, by performing correlation analysis on the traffic big data corresponding to different road sections and updating the key of the traffic big data through the correlation, the security of the traffic big data is greatly enhanced. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present invention or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0021] Figure 1 It is a schematic diagram of the implementation process of the traffic big data security protection method based on SaaS service provided by an embodiment of the present invention;
[0022] Figure 2 It is another implementation flow diagram of the traffic big data security protection method based on SaaS service provided by an embodiment of the present invention;
[0023] Figure 3 It is another implementation flow diagram of the traffic big data security protection method based on SaaS service provided by an embodiment of the present invention;
[0024] Figure 4 This is another implementation flow diagram of the traffic big data security protection method based on SaaS service provided by an embodiment of the present invention;
[0025] Figure 5 It is a structural schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0026] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following is a detailed description of the specific implementation method, structure, features and effects of the traffic big data security protection method based on SaaS service proposed by the present invention in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.
[0027] Among them, in the description of the embodiments of the present invention, unless otherwise specified, " / " means or, for example, A / B can mean A or B: "and / or" in the text is only a way to describe the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present invention, "multiple" refers to two or more than two.
[0028] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.
[0029] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
[0030] The following is a detailed description of the specific solution of the traffic big data security protection method based on SaaS service provided by the present invention in conjunction with the accompanying drawings. Figure 1 , which shows a flow chart of a traffic big data security protection method based on SaaS service provided by an embodiment of the present invention, the method comprising:
[0031] 101, obtain traffic big data corresponding to different road sections.
[0032] Here, by collecting the road section data under multiple traffic dimensions on different road sections, and filling the road section data under multiple traffic dimensions, the traffic big data corresponding to the different road sections are obtained. Among them, the multiple traffic dimensions include: traffic flow data, average vehicle speed, vehicle density, vehicle type, etc. In some possible implementations, the traffic big data corresponding to different road sections are collected; for example, the traffic flow data, average vehicle speed, vehicle density, vehicle type, including the proportion of different types of vehicles, the number of traffic accidents and other traffic dimensions within a sampling time period are obtained. Since there may be differences between the sampling intervals of the above-mentioned multiple traffic dimensions, for example, the traffic flow monitoring system may collect data every minute or every 30 seconds, while the sampling interval of the vehicle speed data is generally between a few seconds and a few minutes. Therefore, after obtaining multiple traffic dimensions, the data is filled by means of data difference to ensure the integrity of the filled data. The sampling frequency of the filled data is recorded as / times. The first The traffic big data of the dimensions is The following is an analysis based on the acquired traffic big data, and the traffic big data is protected. In this way, the collection of traffic big data of different sections can help the traffic management department to carry out effective traffic planning and management, improve traffic conditions, and provide important support for the scientific management of urban traffic and environmental monitoring through the collection and analysis of these data.
[0033] 102 , determining the traffic relevance of the traffic big data corresponding to the different road sections at any time.
[0034] Here, the traffic correlation of traffic big data corresponding to different road sections at any time includes: the traffic correlation of traffic big data corresponding to any two road sections at any time. Traffic correlation can characterize the correlation between traffic big data of different road sections; for example, the correlation between traffic flow and vehicle speed data, vehicle position and traffic flow data, etc., in time and space.
[0035] In some possible implementations, the above step 102 can be performed by Figure 2 The steps shown achieve:
[0036] 201 , for the traffic big data corresponding to any two road sections among the traffic big data corresponding to different road sections, determine the deviation amount of the traffic big data corresponding to the any two road sections.
[0037] Here, the average value of the traffic big data corresponding to any two road sections is calculated first, and then the numbers obtained by subtracting the average value from the traffic big data corresponding to the two road sections are added together; then the obtained value is divided by the number of sampling times to obtain the deviation of the traffic big data corresponding to any two road sections.
[0038] 202. Determine the traffic relevance of the traffic big data corresponding to the arbitrary two road sections at any time based on the deviation.
[0039] Here, the adjusted moment is obtained by adjusting any moment based on the deviation; for example, by multiplying the deviation by the moment adjustment amount and then summing it with any moment to achieve the adjustment of any moment, thereby obtaining the adjusted moment. Afterwards, in the traffic big data corresponding to any two road sections, the candidate data of any traffic dimension at the adjusted moment is determined; wherein the candidate data is the traffic big data of any traffic dimension at the adjusted moment in any road section, so that two candidate data can be obtained for any two road sections. Finally, based on the candidate data, the traffic correlation of the traffic big data corresponding to the any two road sections at any moment is determined. Here, by first calculating the correlation coefficient between the two candidate data (for example, the correlation coefficient can be the Pearson correlation coefficient between the corresponding sequences of the two candidate data), the traffic correlation of the traffic big data corresponding to any two road sections at any moment can be calculated through the correlation coefficient.
[0040] In some possible implementations, since there is a certain correlation between the traffic big data corresponding to different traffic sections, if the traffic big data corresponding to multiple traffic sections are encrypted with the same key, the attacker can infer the undecrypted data segments through the decrypted data segments, thereby partially or completely cracking the entire data set. For example, if the attacker decrypts the traffic flow data within a certain time period, combined with the correlation between the vehicle speed and location data, it may be possible to infer the vehicle speed data and location data within the same time period. This kind of inference attack not only threatens the confidentiality of the data, but may also cause the data to be tampered with or forged, thereby affecting traffic management and decision-making.
[0041] Based on this, by determining the size of the traffic correlation between the traffic big data corresponding to different road sections, when there is a large data correlation between the traffic big data corresponding to two road sections in the same or similar time period, the traffic correlation between the two road sections is strong. Section and Traffic big data of road sections at all times Traffic relevance under , as shown in formula (1):
[0042] (1);
[0043] in, Indicates the number of dimensions of the acquired traffic big data; Indicates the deviation of two traffic big data; Indicates calculating the Pearson correlation coefficient between two traffic big data; Indicates the time is the number of seconds from the initial moment to the next moment. The time corresponding to the sampling point is The recommended value is 25; Indicates The first Traffic dimensions at time The data value below; The amount of adjustment for each moment. Indicates The first Traffic dimensions at time The following data value.
[0044] When the traffic correlation of the traffic big data of two sections is high, different keys should be assigned to the two sections as much as possible when the traffic big data is subsequently encrypted; in this way, even if part of the traffic big data in one section is leaked, it will not have a significant impact on the remaining data. In this way, by calculating the deviation of the traffic big data corresponding to any two sections and combining the correlation coefficient between the traffic big data, the traffic correlation of the traffic big data corresponding to two different sections at any time can be accurately analyzed.
[0045] 103. Determine the key update probability at any time based on the traffic correlation.
[0046] Here, the time segment probability at any moment is calculated through the traffic correlation between the traffic big data of different sections, and the key update probability at each moment is calculated through the time segment probability at each moment. Among them, the key update probability is used to indicate whether the key corresponding to the traffic big data of each section needs to be updated.
[0047] In some possible implementations, the above step 103 can be performed by Figure 3 The steps shown achieve:
[0048] 301 , based on the traffic correlation, determine the time segmentation probability of the traffic big data of any road section at any time.
[0049] Here, the total number of sections of the different sections is determined, where the total number of sections is the number of different sections. Afterwards, based on the traffic correlation between the traffic big data of any section and the traffic big data of other sections at any time, and the traffic correlation between the traffic big data of any section and the traffic big data of other sections at other times, the correlation difference is determined; the difference in traffic correlation between the traffic big data of the two sections at different times can be reflected by the correlation difference. Finally, based on the total number of sections, the correlation difference is segmented to obtain the time segmentation probability of the traffic big data of any section at any time; wherein, the total number of sections is combined with the segmentation function to process the correlation difference to obtain the time segmentation probability of the traffic big data of any section at any time. Here, if the correlation difference is greater than 0, based on the correlation difference and the total number of road sections, the time segmentation probability of the traffic big data of any road section at any time is determined; for example, if the correlation difference is greater than 0, then the number of correlation differences is equal to the total number of road sections, and the multiple correlation differences are averaged in combination with the time neighborhood size of the correlation change to obtain the time segmentation probability of the traffic big data of any road section at any time. If the correlation difference is less than or equal to 0, the time segmentation probability of the traffic big data of any road section at any time is determined to be 0. Since when the correlation difference is less than or equal to 0, the value of the piecewise function is 0, therefore, the time segmentation probability of the traffic big data of any road section at any time is determined to be 0.
[0050] In some possible implementations, the correlation between two different road sections will change to a certain extent in different time periods. For example, when a traffic accident or road construction occurs on a road section in a certain period of time, it may cause vehicles to detour, thereby affecting the correlation between the two road sections. At this time, the correlation between the traffic big data in the two road sections will be lower than before; therefore, it is necessary to combine the changes in the traffic correlation of the above two road sections over time, and divide the traffic big data corresponding to different road sections in time, so that when the correlation changes greatly, the encryption results of the corresponding traffic big data can also be adjusted accordingly.
[0051] For the road section at time For the traffic big data under The traffic correlation between the road section and the other road sections at multiple previous time points has increased, which means that at time Under this, several new The road segment with a high correlation between the road segments; at this time, when the road segment is encrypted, the key corresponding to the road segment is further changed, and the road segment (i.e., the The key of the road segment) should be significantly different from the key of the road segment with higher correlation at the current moment. road section at time The time segment probability under , as shown in formula (2):
[0052] (2);
[0053] in, Indicates the total number of road segments obtained (i.e. the total number of road segments); The time neighborhood size indicating the change in correlation, the recommended value is 10; Indicates Section and road section at time Traffic relevance under Indicates Section and Traffic big data of road sections at all times The traffic correlation under Section and Traffic big data of road sections at all times The traffic correlation under, the correlation difference between them. Indicates Section and road section at time Traffic relevance under Represents a piecewise function, as shown in formula (3):
[0054] (3);
[0055] Where x represents a piecewise function Variables in . The current moment Next When the traffic correlation between a road segment and the rest of the road segments is higher than that of the previous multiple times, Next The time segmentation probability of each road segment is high, and the reduction of correlation does not affect the safety of mutual speculation between the two road segments. Therefore, the piecewise function is used The time segment probability is corrected to obtain the final time segment probability of each road section at different times.
[0056] 302. Determine the key update probability at any time based on the time segment probability.
[0057] Here, at any time, the traffic big data of any road section is determined under any traffic dimension; for example, at time t0, the traffic big data of the jth road section is obtained at the The traffic big data under a traffic dimension is combined to obtain the value-taking result. Afterwards, the value-taking result is integrated with the time segment probability to obtain the key update probability at any time. For example, the value-taking result is multiplied by the time segment probability, and the product is summed to obtain the key update probability at any time. In this way, by combining the value-taking result of the traffic big data of any road section under any traffic dimension with the time segment probability, the key update probability at any time can be accurately calculated. In some possible implementations, according to the obtained time segment probability of each road section at different times, when the time segment probabilities corresponding to multiple road sections are all high at a certain time, this may be caused by a sudden change in traffic conditions. For example, during the morning and evening traffic rush hours, the traffic volume of multiple road sections will increase, and the correlation between the traffic volume of different road sections will also show a certain degree of increase. Therefore, for similar times, the keys of different road sections should be reset.
[0058] Since the traffic flow and other data of different sections at different times are different, when encrypting the traffic big data corresponding to different sections, the sections with larger values of traffic flow and other data should be analyzed first. When the time segment probability of the corresponding data of these sections is large, the probability of updating the corresponding keys of different sections should also be large. The probability of key update under As shown in formula (5):
[0059] (5);
[0060] in, Indicates the total number of road segments obtained; Indicates the number of dimensions of the acquired traffic big data; represents the normalization function; Indicates The sample Traffic dimensions at time The value result of the following: Indicates Samples at time The time segment probability under the ith sample is the ith road segment. After obtaining the corresponding key update probability at different times, select the threshold , The recommended value is 0.8. In this way, by first analyzing the time segment probability at each moment, the key update probability at each moment can be accurately calculated to accurately determine whether the key of the traffic big data under each road section needs to be updated.
[0061] 104. Determine the keys of the traffic big data corresponding to the different road sections based on the key update probability and the traffic relevance.
[0062] Here, by combining the key update probability and traffic correlation, the key of the traffic big data corresponding to each road section is analyzed.
[0063] In some possible implementations, the above step 104 can be performed by Figure 4 The steps shown achieve:
[0064] 401 , at any time, determining the mean value of the traffic correlation of the traffic big data corresponding to the different road sections.
[0065] Here, at any time, the traffic correlation between the traffic big data of every two road sections is summed and then averaged to obtain the average of the traffic correlation of the traffic big data corresponding to different road sections.
[0066] 402 , based on the mean value, sort the encrypted order of the traffic big data corresponding to the different road sections to obtain sorted traffic big data.
[0067] Here, the encryption order of the traffic big data corresponding to different road sections can be sorted from large to small according to the mean value to obtain sorted traffic big data. In a single time period, the encryption keys corresponding to different road sections are considered to be adjusted. In the traditional AES-128 encryption algorithm, each key is a 128-bit data segment, that is, each key consists of 16 bytes.
[0068] In order to magnify the differences in the encryption results between sections with strong correlation, in the same time period, the mean of the traffic correlation of each section at each moment in the time period is first calculated. ,Right now ,in represents the mean function; Indicates The time set corresponding to the traffic big data of each time period; Indicates The first road section at time According to the traffic correlation under The sum of traffic correlations between the traffic big data of each road section and the traffic big data of other road sections is calculated respectively, and the road section with the largest sum of correlations is selected as the first encrypted sample in the sorted traffic big data (i.e., the first encrypted traffic big data); then the mean value of traffic correlation between the road section and the first encrypted sample is selected. The largest road section is used as the second encrypted sample, and so on, to obtain the encryption order corresponding to multiple road sections, that is, to obtain the sorted traffic big data.
[0069] 403. Based on a preset key byte set and the mean value, determine the key of the sorted traffic big data according to the encryption order.
[0070] Here, the preset key byte set can be By combining the preset key byte set and the mean value, the probability that the key value corresponding to the sorted traffic big data is any byte is calculated, thereby obtaining the key corresponding to the sorted traffic big data.
[0071] In some possible implementations, the above step 403 may be implemented by the following steps 431 to 433 (not shown):
[0072] 431, based on a preset key byte set, determine the starting key of the first encrypted traffic big data in the sorted traffic big data.
[0073] For example, for the first encrypted traffic big data in the sorted traffic big data, a key byte set is preset, and the value of each byte in the starting key is randomly selected to obtain the starting key of the first encrypted traffic big data.
[0074] 432 , for any sorted traffic big data in the sorted traffic big data except the first encrypted traffic big data, based on the encryption order, obtain the key of the sorted traffic big data before the any sorted traffic big data.
[0075] 433 , determining the key of any of the sorted traffic big data based on the starting key, the key of the sorted traffic big data before any of the sorted traffic big data, and the mean value.
[0076] In the above steps 431 to 433, according to the above sorting results, in the 16 bytes of the key corresponding to the first encrypted sample (i.e., the first encrypted traffic big data), each byte obeys a uniform distribution from 0 to 16; starting from the second encrypted sample, The encrypted sample corresponds to the encryption key The value of each byte satisfies formula (6):
[0077] (6);
[0078] in, Indicates Encrypted samples ( The encrypted samples can be any sorted traffic big data) and the corresponding key is in The value of the byte is The probability of Indicates The first The encrypted sample is in The mean value of traffic correlation in a time period; Represents the maximum and minimum normalized function; Indicates The encrypted sample is in The value at the byte ( The encrypted sample is in Before the encryption sample, its key has been determined; The encrypted sample is encrypted samples before the sorted traffic big data). After that, the keys of different road sections in different time periods can be obtained. In this way, the keys of various sorted traffic big data can be accurately calculated through the mean value of traffic correlation and the preset key byte set.
[0079] 105. Based on the key, security protection is performed on the traffic big data corresponding to the different road sections.
[0080] Here, within each time period, the traffic big data corresponding to different road sections are encrypted separately to obtain the ciphertext corresponding to each traffic big data. The decryption process is: after the ciphertext of each traffic big data is transmitted, the key is sent to the data analysis party through a secure channel, and the traffic big data is decrypted according to the key corresponding to different ciphertexts to obtain the plaintext corresponding to each traffic.
[0081] In an embodiment of the present invention, after obtaining the traffic big data corresponding to different sections, the traffic relevance of the traffic big data corresponding to the different sections at any time is determined, so that the correlation between the traffic big data under different sections can be reflected through the traffic relevance. Afterwards, based on the traffic relevance, the probability of key update at any time is determined, so that the key of the traffic big data at any time can be analyzed to determine whether it needs to be updated. Finally, the key of the traffic big data corresponding to the different sections is determined through the key update probability and the traffic relevance, and the traffic big data corresponding to the different sections is protected based on the key. In this way, by performing correlation analysis on the traffic big data corresponding to different sections and updating the key of the traffic big data through correlation, the security of the traffic big data is greatly enhanced; according to the key update probability and the traffic relevance, different encryption keys are intelligently allocated, which not only avoids the complexity and security risks of single key management, but also improves the flexibility of key use and encryption efficiency.
[0082] The embodiment of the present invention provides a traffic big data security protection device based on SaaS service, the device comprising:
[0083] The acquisition module is used to obtain traffic big data corresponding to different road sections;
[0084] A first determination module is used to determine the traffic relevance of the traffic big data corresponding to the different road sections at any time;
[0085] A second determination module, configured to determine a key update probability at any time based on the traffic correlation;
[0086] A third determination module, configured to determine the keys of the traffic big data corresponding to the different road sections based on the key update probability and the traffic relevance;
[0087] The protection module is used to perform security protection on the traffic big data corresponding to the different road sections based on the key.
[0088] In some possible implementations, the first determination module is further used to determine the deviation of the traffic big data corresponding to any two road sections among the traffic big data corresponding to the different road sections; and based on the deviation, determine the traffic correlation of the traffic big data corresponding to the any two road sections at any time.
[0089] In some possible implementations, the first determination module is further used to adjust any moment based on the deviation to obtain an adjusted moment; determine candidate data of any traffic dimension at the adjusted moment in the traffic big data corresponding to the any two road sections; and determine the traffic correlation of the traffic big data corresponding to the any two road sections at any moment based on the candidate data.
[0090] In some possible implementations, the second determination module is further used to determine the time segmentation probability of the traffic big data of any road section at any time based on the traffic correlation; and determine the key update probability at any time based on the time segmentation probability.
[0091] In some possible implementations, the second determination module is also used to determine the total number of road sections of the different road sections; determine the correlation difference based on the traffic correlation between the traffic big data of any road section and the traffic big data of other road sections at any time, and the traffic correlation between the traffic big data of any road section and the traffic big data of other road sections at other times; segment the correlation difference based on the total number of road sections to obtain the time segmentation probability of the traffic big data of any road section at any time.
[0092] In some possible implementations, the second determination module is also used to determine the time segmentation probability of the traffic big data of any road section at any time based on the correlation difference and the total number of road sections if the correlation difference is greater than 0; if the correlation difference is less than or equal to 0, determine that the time segmentation probability of the traffic big data of any road section at any time is 0.
[0093] In some possible implementations, the second determination module is further used to determine the value of the traffic big data of any road section in any traffic dimension at any time; and merge the value result with the time segment probability to obtain the key update probability at any time.
[0094] In some possible implementations, the third determination module is also used to determine the mean value of the traffic correlation of the traffic big data corresponding to the different road sections at any time; based on the mean value, sort the encryption order of the traffic big data corresponding to the different road sections to obtain sorted traffic big data; based on a preset key byte set and the mean value, determine the key of the sorted traffic big data according to the encryption order.
[0095] In some possible implementations, the third determination module is also used to determine the starting key of the first encrypted traffic big data in the sorted traffic big data based on the preset key byte set; for any sorted traffic big data in the sorted traffic big data except the first encrypted traffic big data, based on the encryption order, obtain the key of the sorted traffic big data before any sorted traffic big data; based on the starting key, the key of the sorted traffic big data before any sorted traffic big data and the mean, determine the key of any sorted traffic big data.
[0096] In some possible implementations, the acquisition module is further used to collect data under multiple traffic dimensions on the different road sections; and to fill the data under the multiple traffic dimensions to obtain traffic big data corresponding to the different road sections.
[0097] Optionally, the transmission medium may be a wired link (such as but not limited to coaxial cable, optical fiber and digital subscriber line (DSL), etc.) or a wireless link (such as but not limited to wireless Fidelity (WIFI), Bluetooth and mobile device network, etc.). It should be noted that the device provided in the above embodiment is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the computer device is divided into different functional modules to complete all or part of the functions described above. In addition, the method embodiments provided in the above embodiments belong to the same concept. The specific implementation process is detailed in the method embodiments, which will not be repeated here.
[0098] Figure 5 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. Figure 5 As shown, the electronic device 500 includes: a memory 501, a processor 502, and a computer program 503 stored in the memory 501 and running on the processor 502, wherein when the processor 502 executes the computer program 503, the device can execute any of the traffic big data security protection methods based on SaaS services described above. In addition, the embodiment of the present invention also protects a device, which may include a memory and a processor, wherein the memory stores an executable program code, and the processor is used to call and execute the executable program code to execute the traffic big data security protection method based on SaaS services provided by the embodiment of the present invention.
[0099] This embodiment can divide the functional modules of the device according to the above method example. For example, it can correspond to each functional module, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation. It should be noted that all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, which will not be repeated here.
[0100] It should be understood that the device provided in this embodiment is used to execute the above-mentioned traffic big data security protection method based on SaaS service, so the same effect as the above-mentioned implementation method can be achieved. In the case of an integrated unit, the device may include a processing module and a storage module. Among them, when the device is applied to the device, the processing module can be used to control and manage the actions of the device. The storage module can be used to support the device to execute mutual program codes, etc. Among them, the processing module can be a processor or a controller, which can implement or execute various exemplary logical boxes, modules and circuits described in conjunction with the disclosure of the present invention. The processor can also be a combination that implements a computing function, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc., and the storage module can be a memory.
[0101] In addition, the device provided in the embodiment of the present invention may be a chip, a component or a module, and the chip may include a connected processor and a memory; wherein the memory is used to store instructions, and when the processor calls and executes the instructions, the chip can execute the traffic big data security protection method based on SaaS service provided in the above embodiment. This embodiment also provides a computer-readable storage medium, in which a computer program code is stored, and when the computer program code is run on a computer, the computer executes the above-mentioned related method steps to implement the traffic big data security protection method based on SaaS service provided in the above embodiment.
[0102] This embodiment also provides a computer program product. When the computer program product is run on a computer, the computer executes the above-mentioned related steps to implement the traffic big data security protection method based on SaaS service provided in the above embodiment. Among them, the device, computer-readable storage medium, computer program product or chip provided in this embodiment are all used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here. Through the description of the above implementation mode, the technicians in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In practical applications, the above-mentioned function allocation can be completed by different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In the embodiments provided by the present invention, it should be understood that the disclosed device and method can be implemented in other ways. For example, the device embodiment described above is only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, which may be electrical, mechanical or other forms.
[0103] It should be noted that the sequence of the above-mentioned embodiments of the present invention is only for description and does not represent the advantages and disadvantages of the embodiments. The process depicted in the accompanying drawings does not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multi-tasking and parallel processing are also possible or may be advantageous. The various embodiments in this specification are described in a progressive manner, and the same and similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments. The above content is only a specific implementation method of the present invention, but the protection scope of the present invention is not limited to this. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be covered within the protection scope of the present invention.
Claims
1. A traffic big data security protection method based on SaaS service, characterized in that: The method comprises: Obtain traffic big data corresponding to different road sections; Determine the traffic relevance of the traffic big data corresponding to the different road sections at any time; Based on the traffic correlation, determining the probability of key update at any time; Determining the keys of the traffic big data corresponding to the different road sections based on the key update probability and the traffic relevance; Based on the key, security protection is performed on the traffic big data corresponding to the different road sections; The determining, based on the key update probability and the traffic relevance, the keys of the traffic big data corresponding to the different road sections includes: At any one of the times, determining the mean value of the traffic relevance of the traffic big data corresponding to the different road sections; Based on the mean, sorting the encrypted order of the traffic big data corresponding to the different road sections to obtain sorted traffic big data; Based on a preset key byte set and the mean value, determining the key of the sorted traffic big data according to the encryption order; The step of determining the key of the sorted traffic big data in the encryption order based on the preset key byte set and the mean value includes: Based on the preset key byte set, determining the starting key of the first encrypted traffic big data in the sorted traffic big data; For any sorted traffic big data except the first encrypted traffic big data in the sorted traffic big data, based on the encryption order, obtaining the key of the sorted traffic big data before any sorted traffic big data; The key of any of the sorted traffic big data is determined based on the starting key, the key of the sorted traffic big data before any of the sorted traffic big data, and the average value.
2. The traffic big data security protection method based on SaaS service according to claim 1 is characterized in that: The determining of the traffic relevance of the traffic big data corresponding to the different road sections at any time includes: For the traffic big data corresponding to any two road sections among the traffic big data corresponding to the different road sections, determine the deviation amount of the traffic big data corresponding to the any two road sections; Based on the deviation, the traffic relevance of the traffic big data corresponding to the arbitrary two road sections at any time is determined.
3. The traffic big data security protection method based on SaaS service according to claim 2 is characterized in that: The determining, based on the deviation, the traffic relevance of the traffic big data corresponding to the arbitrary two road sections at any time comprises: Adjusting any one of the moments based on the deviation to obtain an adjusted moment; Determine candidate data of any traffic dimension at the adjusted time in the traffic big data corresponding to the arbitrary two road sections; Based on the candidate data, the traffic relevance of the traffic big data corresponding to the arbitrary two road sections at any time is determined.
4. The traffic big data security protection method based on SaaS service according to claim 1 is characterized in that: The determining, based on the traffic correlation, the probability of key update at any time, includes: Based on the traffic correlation, determine the time segmentation probability of the traffic big data of any road section at any time; Based on the time segment probability, the key update probability at any time is determined.
5. The traffic big data security protection method based on SaaS service according to claim 4 is characterized in that: The determining, based on the traffic correlation, the time segmentation probability of the traffic big data of any road section at any time comprises: Determining a total number of road sections of the different road sections; Determine the correlation difference based on the traffic big data of any road section and the traffic big data of other road sections at any time, and the traffic big data of any road section and the traffic big data of other road sections at other times; The correlation difference is segmented based on the total number of road sections to obtain the time segmentation probability of the traffic big data of any road section at any time.
6. The traffic big data security protection method based on SaaS service according to claim 5 is characterized in that: The segmentation processing of the correlation difference based on the total number of road sections to obtain the time segmentation probability of the traffic big data of any road section at any time includes: If the correlation difference is greater than 0, determining the time segmentation probability of the traffic big data of any road section at any time based on the correlation difference and the total number of road sections; If the correlation difference is less than or equal to 0, it is determined that the time segmentation probability of the traffic big data of any road section at any time is 0.
7. The traffic big data security protection method based on SaaS service according to claim 4 is characterized in that: The determining the key update probability at any time based on the time segment probability includes: At any time, determine the value of the traffic big data of any road section under any traffic dimension; The value-taking result is integrated with the time segment probability to obtain the key update probability at any moment.
8. The traffic big data security protection method based on SaaS service according to claim 1 is characterized in that: The obtaining of traffic big data corresponding to different road sections includes: Collecting road section data under multiple traffic dimensions at the different road sections; The road section data is filled with data to obtain traffic big data corresponding to the different road sections.
