Internet of things base station, data return processing system and data return processing method

By continuously encrypting and segmenting IoT data to generate continuous encryption keys, the problem of insufficient security during data return is solved and the security of data during transmission is ensured.

CN114567878BActive Publication Date: 2024-10-29GUANGZHOU BEIDING TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202210147393.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-02-17
Publication Date
2024-10-29
Estimated Expiration
2042-02-17

AI Technical Summary

Technical Problem

In the Internet of Things, there is a risk of data being stolen or misappropriated during the data return process, resulting in insufficient security.

Method used

By continuously encrypting the return data, processing it in segments and using preset encryption and decryption methods, the header data and continuously transmitted data are encrypted and decrypted, and continuous encryption keys are generated to ensure the security of data transmission.

Benefits of technology

This achieves higher data transmission security. Even if there is a leak during the data return process, the data content will not be obtained, which improves data security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114567878B_ABST
    Figure CN114567878B_ABST
Patent Text Reader

Abstract

The present invention is applicable to the field of image processing technology, and in particular to an Internet of Things base station, a data return processing system, and a data return processing method, the method comprising: obtaining the data to be returned, processing the data to be returned in segments, obtaining header data and multiple groups of continuous transmission data; encrypting the header data and transmitting it to a server; calling a preset synchronization processing function, processing the header data using the synchronization processing function, and obtaining a first continuous encryption key; encrypting the continuous transmission data, and transmitting the encrypted continuous transmission data to a server, repeating the above steps until all continuous transmission data transmissions are completed. By implementing continuous encryption, the present invention will not result in the acquisition of data content even if data leakage occurs during the data return process, and has higher security.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of image processing technology, and in particular relates to an Internet of Things base station, a data return processing system and a data return processing method. Background Art

[0002] Image processing is a technology that uses computers to analyze images to achieve the desired results. It is also called image processing. Image processing generally refers to digital image processing. A digital image is a large two-dimensional array obtained by shooting with industrial cameras, video cameras, scanners and other equipment. The elements of the array are called pixels, and their values ​​are called grayscale values.

[0003] In the Internet of Things, most IoT devices will collect data, and the collected data will be transmitted to the system or to the background through the network, and then analyzed or processed based on the returned data.

[0004] However, in the process of data transmission, there is a risk that the data may be stolen or misused. Therefore, the process of data transmission is risky. Summary of the invention

[0005] The purpose of the embodiments of the present invention is to provide an Internet of Things base station, a data return processing system and a data return processing method, aiming to solve the problem of risks in the process of data return. The present invention ensures the security of data transmission by continuously encrypting the returned data.

[0006] The embodiment of the present invention is implemented as follows: a data return processing method, the method comprising:

[0007] Acquire the data to be transmitted back, and process the data to be transmitted back in segments to obtain header data and multiple groups of continuously transmitted data, wherein the header data and the multiple groups of continuously transmitted data are transmitted in a segmented order;

[0008] The header data is encrypted according to a preset header encryption method and transmitted to a server, and the server decrypts the encrypted header data according to a preset header decryption method;

[0009] Retrieving a preset synchronization processing function, and using the synchronization processing function to process the header data to obtain a first continuous encryption key;

[0010] The continuous transmission data connected with the header data is encrypted according to the first continuous encryption key, and the encrypted continuous transmission data is transmitted to the server, and the above steps are repeated until all the continuous transmission data are transmitted.

[0011] Preferably, the step of obtaining the data to be transmitted back, segmenting the data to be transmitted back, and obtaining header data and multiple groups of continuously transmitted data specifically includes:

[0012] Obtain all data to be transmitted, and splice them to obtain spliced ​​data;

[0013] According to the preset data size, a part of the data is split from the end of the spliced ​​data to obtain the header data;

[0014] The remaining part of the spliced ​​data is evenly divided to obtain multiple groups of continuous transmission data whose data size does not exceed a preset value.

[0015] Preferably, the step of calling a preset synchronization processing function and processing the header data using the synchronization processing function to obtain the first continuous encryption key specifically includes:

[0016] Retrieve the preset synchronization processing function and generate a data selection sequence through the synchronization processing function;

[0017] Extract data at corresponding positions from the head data according to the data selection sequence to obtain sampling data;

[0018] The sampled data are concatenated in the order of extraction to obtain a first continuous encryption key.

[0019] Preferably, the step of encrypting the continuous transmission data connected to the header data according to the first continuous encryption key specifically includes:

[0020] Converting the first continuous encryption key into an intermediate key of the same base as the continuously transmitted data;

[0021] Split the intermediate key to obtain the data block to be replaced;

[0022] The continuously transmitted data is divided into blocks, and the data blocks to be replaced are replaced into the continuously transmitted data according to a preset replacement order.

[0023] Preferably, in the step of acquiring all the data to be transmitted and splicing them to obtain the spliced ​​data, the splicing is performed in the time sequence of data collection.

[0024] Another object of an embodiment of the present invention is to provide a data return processing system, the system comprising:

[0025] A data segmentation module is used to obtain the data to be transmitted back, and segment the data to be transmitted back to obtain header data and multiple groups of continuous transmission data, wherein the header data and the multiple groups of continuous transmission data are transmitted in a segmented order;

[0026] A header encryption module, used to encrypt the header data according to a preset header encryption method and transmit it to a server, and the server decrypts the encrypted header data according to a preset header decryption method;

[0027] A key generation module, used to call a preset synchronization processing function, process the header data using the synchronization processing function, and obtain a first continuous encryption key;

[0028] The continuous encryption module is used to encrypt the continuous transmission data connected with the header data according to the first continuous encryption key, and transmit the encrypted continuous transmission data to the server, and repeat the above steps until all the continuous transmission data are transmitted.

[0029] Preferably, the data segmentation module comprises:

[0030] A data splicing unit, used for acquiring all data to be transmitted and splicing them to obtain spliced ​​data;

[0031] A header data segmentation unit is used to segment a portion of data from the end of the spliced ​​data according to a preset data size to obtain header data;

[0032] The continuous data segmentation unit is used to evenly segment the remaining part of the spliced ​​data to obtain multiple groups of continuous transmission data whose data size does not exceed a preset value.

[0033] Preferably, the key generation module includes:

[0034] A sequence generation unit, used to call a preset synchronization processing function and generate a data selection sequence through the synchronization processing function;

[0035] A sequence sampling unit is used to extract data at corresponding positions from the head data according to the data selection sequence to obtain sampled data;

[0036] The sampling splicing unit is used to splice the sampled data in the order of extraction to obtain a first continuous encryption key.

[0037] Preferably, the continuous encryption module comprises:

[0038] An intermediate key generating unit, used for converting the first continuous encryption key into an intermediate key of the same base as the continuously transmitted data;

[0039] A key splitting unit, used for splitting the intermediate key to obtain the data block to be replaced;

[0040] The replacement encryption unit is used to divide the continuously transmitted data into blocks and replace the data blocks to be replaced into the continuously transmitted data according to a preset replacement order.

[0041] Another object of an embodiment of the present invention is to provide an Internet of Things base station, including a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the steps of the above-mentioned data return processing method.

[0042] The data feedback processing method provided by the embodiment of the present invention divides the collected data into two parts and sends them to the server. The first part is transmitted in a fixed encryption manner and decrypted after being transmitted to the server. The second part of the data that needs to be transmitted subsequently is then encrypted based on the first part of the data to complete the transmission, and so on, thereby achieving continuous encryption. Even if data leakage occurs during the data feedback process, the data content will not be obtained, and the security is higher. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Figure 1 A flowchart of a data return processing method provided by an embodiment of the present invention;

[0044] Figure 2 A flowchart of the steps of obtaining data to be transmitted back, segmenting the data to be transmitted back, and obtaining header data and multiple groups of continuously transmitted data provided by an embodiment of the present invention;

[0045] Figure 3 A flowchart of the steps of calling a preset synchronization processing function and using the synchronization processing function to process the header data to obtain a first continuous encryption key provided by an embodiment of the present invention;

[0046] Figure 4 A flowchart of the steps of encrypting the continuous transmission data connected with the header data according to the first continuous encryption key provided by the embodiment of the present invention;

[0047] Figure 5 An architecture diagram of a data return processing system provided by an embodiment of the present invention;

[0048] Figure 6 An architectural diagram of a data segmentation module provided in an embodiment of the present invention;

[0049] Figure 7 An architectural diagram of a key generation module provided in an embodiment of the present invention;

[0050] Figure 8 An architectural diagram of a continuous encryption module provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0051] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0052] It is understood that the terms "first", "second", etc. used in this application may be used herein to describe various elements, but unless otherwise specified, these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, without departing from the scope of this application, a first xx script may be referred to as a second xx script, and similarly, a second xx script may be referred to as a first xx script.

[0053] In the Internet of Things, most IoT devices will collect data, and the collected data will be transmitted to the system or the background through the network, and then analyzed or processed according to the returned data. However, in the process of data return, there is a risk of data being stolen or misused. Therefore, the process of data return is risky.

[0054] In the present invention, the collected data is divided into two parts and sent to the server. The first part is transmitted in a fixed encryption manner and decrypted after being transmitted to the server. The second part of the data that needs to be transmitted subsequently is then encrypted based on the first part of the data to complete the transmission, and so on. Continuous encryption is achieved, and even if data leakage occurs during the data transmission process, the data content will not be obtained, which provides higher security.

[0055] like Figure 1 FIG. 1 is a flow chart of a data return processing method provided by an embodiment of the present invention, and the method includes:

[0056] S100, obtaining data to be transmitted back, segmenting the data to be transmitted back, obtaining header data and multiple groups of continuously transmitted data, and transmitting the header data and multiple groups of continuously transmitted data in a segmented order.

[0057] In this step, the data to be transmitted back is obtained. For an Internet of Things, it is generally composed of multiple devices, and each device will collect some information, which can be transmitted through any one of the devices. For example, in an Internet of Things environment, including multiple collection devices and a gateway, all data to be transmitted can be transmitted through the gateway, that is, the transmission of the data to be transmitted back is completed through the gateway. When transmitting, the data to be transmitted back is divided into multiple segments to obtain header data and multiple groups of continuously transmitted data. The header data and the multiple groups of continuously transmitted data are transmitted in a segmented order, wherein the header data is transmitted first, so that the header data is used as the starting point, and each time the data that has been transmitted is used as a variable to encrypt the subsequent data to be transmitted.

[0058] S200, encrypting the header data according to a preset header encryption method and transmitting the header data to a server, wherein the server decrypts the encrypted header data according to a preset header decryption method.

[0059] In this step, the header data is encrypted according to the preset header encryption method. Specifically, the header encryption method can be symmetric encryption or asymmetric encryption. The return data eventually needs to be transmitted to the server, so the header encryption method is also preset in the server. Therefore, when the data is received, it can be decrypted to obtain the header data.

[0060] S300, calling a preset synchronization processing function, and using the synchronization processing function to process the header data to obtain a first continuous encryption key.

[0061] In this step, the preset synchronization processing function is called. After the header data transmission is completed, the synchronization processing function is used to extract from the header data to obtain the corresponding data, and then the first continuous encryption key is generated based on the extracted data. Since the header data is collected in real time, its content is random, and then the synchronization processing function is used to extract it, and the obtained content is also random. The server also has a preset synchronization processing function, so the server will also use the synchronization processing function to decrypt the header data and generate the first continuous encryption key. Since the server also has the first continuous encryption key, the encrypted continuous transmission data can be decrypted.

[0062] S400, encrypt the continuous transmission data connected to the header data according to the first continuous encryption key, and transmit the encrypted continuous transmission data to the server, repeating the above steps until all the continuous transmission data are transmitted.

[0063] In this step, the continuous transmission data connected to the header data is encrypted according to the first continuous encryption key, and the server can generate a corresponding decryption key according to the above first continuous encryption key to complete the decryption and obtain the continuous transmission data of this transmission, and then regard the continuous transmission data as the header data, and generate the second encryption key to complete the decryption of the continuous transmission data for the next transmission, and repeat the above steps until all the continuous transmission data are transmitted. It can be seen that in the entire transmission process, the data to be transmitted this time is encrypted and decrypted with the key generated by the data of the previous transmission as the independent variable. Therefore, at any time of transmission, the data is intercepted and the data cannot be cracked. Once the transmission is established, the subsequent data can be transmitted securely.

[0064] like Figure 2 As shown, as a preferred embodiment of the present invention, the steps of obtaining the data to be transmitted back, segmenting the data to be transmitted back, and obtaining header data and multiple groups of continuously transmitted data specifically include:

[0065] S101, obtaining all data to be transmitted, and splicing them to obtain spliced ​​data.

[0066] In this step, all data to be transmitted are obtained, that is, data collection is completed using all acquisition devices, and then the collected data are spliced ​​according to the time of data collection to form a complete data, that is, spliced ​​data. Specifically, for example, there are 3 groups of acquisition devices, and the data collected are A, B and C respectively, then the spliced ​​data is ABC.

[0067] S102, dividing a portion of data from the end of the spliced ​​data according to a preset data size to obtain header data.

[0068] In this step, a portion of data is segmented from the end of the spliced ​​data according to a preset data size and used as header data. The header data is only used as a source for generating the first continuous encryption key, so its data size does not need to be too large.

[0069] S103, evenly dividing the remaining part of the spliced ​​data to obtain multiple groups of continuous transmission data whose data size does not exceed a preset value.

[0070] In this step, the remaining part of the spliced ​​data is divided evenly. Specifically, it can be divided according to a preset segmentation size or a preset number of segments. For example, different numbers of segments are set according to different data sizes to form a mapping table. Then, when segmenting, the number of segments can be determined according to the data size of the spliced ​​data.

[0071] like Figure 3As shown, as a preferred embodiment of the present invention, the step of calling a preset synchronization processing function, processing the header data using the synchronization processing function, and obtaining the first continuous encryption key specifically includes:

[0072] S301, calling a preset synchronization processing function, and generating a data selection sequence through the synchronization processing function.

[0073] In this step, the preset synchronization processing function is called. The server also has a preset synchronization processing function. The synchronization processing function is used to form a data selection series. Specifically, the size of the most recent continuous transmission data or header data that has been transmitted can be used as an independent variable to generate a data selection series, such as [2, 5, 12, 25], etc.

[0074] S302, extracting data at corresponding positions from the header data according to the data selection sequence to obtain sample data.

[0075] In this step, data at corresponding positions are extracted from the header data according to a data selection sequence containing multiple groups of numbers. The contents contained in the bytes at corresponding positions are selected as sampling data. Since the continuously transmitted data and the header data contents are randomly generated, the sampling data is also random.

[0076] S303, concatenating the sampled data in the order of extraction to obtain a first continuous encryption key.

[0077] In this step, the sampled data are spliced ​​in the order of extraction. After extraction, random sampled data are obtained. Therefore, after continuous splicing, a set of character strings, namely the first continuous encryption key, can be obtained.

[0078] like Figure 4 As shown, as a preferred embodiment of the present invention, the step of encrypting the continuous transmission data connected with the header data according to the first continuous encryption key specifically includes:

[0079] S401, converting a first continuous encryption key into an intermediate key in the same base as the continuously transmitted data.

[0080] In this step, the first continuous encryption key is converted into an intermediate key of the same base as the continuously transmitted data, that is, the base conversion is performed so that both are represented in the same base. Both can also be converted into another base at the same time, such as hexadecimal.

[0081] S402, splitting the intermediate key to obtain the data block to be replaced.

[0082] S403, dividing the continuously transmitted data into blocks, and replacing the to-be-replaced data blocks into the continuously transmitted data according to a preset replacement order.

[0083] In this step, the intermediate key is split according to a preset splitting method to obtain data blocks to be replaced, and then the continuously transmitted data is processed in blocks. The splitting and block division methods of the two are the same, and the data sizes obtained by splitting are also the same. The data blocks to be replaced are replaced in the continuously transmitted data according to a preset replacement order; specifically, the data blocks to be replaced are numbered consecutively according to the splitting order, and then when replacing, according to a preset replacement correspondence table, the data blocks to be replaced replace the corresponding blocks in the continuously transmitted data. For example, after the data blocks to be replaced are numbered consecutively, 1-16 are obtained, a total of 16 data blocks to be replaced. The replacement correspondence table records the data blocks to be replaced corresponding to A in the hexadecimal continuously transmitted data replaced by 1, so that replacement is performed in this order; the above operations are also completed synchronously in the server, and decryption can be achieved according to its encryption method.

[0084] like Figure 5 As shown, a data return processing system provided by an embodiment of the present invention includes:

[0085] The data segmentation module 100 is used to obtain the data to be returned, segment the data to be returned, and obtain header data and multiple groups of continuous transmission data. The header data and multiple groups of continuous transmission data are transmitted in a segmented order.

[0086] In this system, the data segmentation module 100 obtains the data to be transmitted back. For an Internet of Things, it is generally composed of multiple devices, each of which collects some information, which can be transmitted through any one of the devices. For example, in an Internet of Things environment, including multiple collection devices and a gateway, all data to be transmitted can be transmitted through the gateway, that is, the transmission of the data to be transmitted back is completed through the gateway. When transmitting, the data to be transmitted back is divided into multiple segments to obtain header data and multiple groups of continuous transmission data. The header data and the multiple groups of continuous transmission data are transmitted in a segmented order, wherein the header data is transmitted first, so that the header data is used as the starting point, and each time the data that has been transmitted is used as a variable to encrypt the subsequent data to be transmitted.

[0087] The header encryption module 200 is used to encrypt the header data according to a preset header encryption method and transmit it to the server. The server decrypts the encrypted header data according to a preset header decryption method.

[0088] In this system, the header encryption module 200 encrypts the header data according to a preset header encryption method. Specifically, the header encryption method can be symmetric encryption or asymmetric encryption. The return data eventually needs to be transmitted to the server, so the header encryption method is also preset in the server. Therefore, when the data is received, it can be decrypted to obtain the header data.

[0089] The key generation module 300 is used to call a preset synchronization processing function, and use the synchronization processing function to process the header data to obtain a first continuous encryption key.

[0090] In this system, the key generation module 300 calls the preset synchronization processing function. After the header data transmission is completed, the synchronization processing function is used to extract from the header data to obtain the corresponding data, and then generate the first continuous encryption key based on the extracted data. Since the header data is collected in real time, its content is random, and then the synchronization processing function is used to extract it, and the obtained content is also random. The server also has a preset synchronization processing function, so the server will also use the synchronization processing function to obtain the header data from decryption, and then generate the first continuous encryption key. Since the server also has the first continuous encryption key, the encrypted continuous transmission data can be decrypted.

[0091] The continuous encryption module 400 is used to encrypt the continuous transmission data connected to the header data according to the first continuous encryption key, and transmit the encrypted continuous transmission data to the server, and repeat the above steps until all the continuous transmission data are transmitted.

[0092] In this system, the continuous encryption module 400 encrypts the continuous transmission data connected to the header data according to the first continuous encryption key, and the server can generate a corresponding decryption key according to the above first continuous encryption key to complete the decryption and obtain the continuous transmission data of this transmission, and then regard the continuous transmission data as the header data, and generate a second encryption key to complete the decryption of the continuous transmission data of the next transmission, and repeat the above steps until all the continuous transmission data are transmitted. It can be seen that in the entire transmission process, the data to be transmitted this time is encrypted and decrypted with the key generated by the data of the previous transmission as the independent variable. Therefore, at any time of the transmission, the data is intercepted and the data cannot be cracked. Once the transmission is established, the subsequent data can be transmitted securely.

[0093] like Figure 6 As shown, as a preferred embodiment of the invention, the data segmentation module 100 includes:

[0094] The data splicing unit 101 is used to obtain all the data to be transmitted and splice them to obtain spliced ​​data.

[0095] In this module, the data splicing unit 101 obtains all data to be transmitted, that is, completes data collection using all collection devices, and then splices the collected data according to the data collection time to form a complete data, that is, spliced ​​data.

[0096] The header data segmentation unit 102 is used to segment a portion of data from the end of the spliced ​​data according to a preset data size to obtain header data.

[0097] In this module, the header data segmentation unit 102 segments a portion of data from the end of the spliced ​​data according to a preset data size and uses it as header data. The header data is only used as a source for generating the first continuous encryption key, so its data size does not need to be too large.

[0098] The continuous data segmentation unit 103 is used to evenly segment the remaining part of the spliced ​​data to obtain multiple groups of continuous transmission data whose data size does not exceed a preset value.

[0099] In this module, the continuous data segmentation unit 103 divides the remaining part of the spliced ​​data evenly. Specifically, it can be divided according to a preset segmentation size or a preset number of segments. For example, different numbers of segments are set according to different data sizes to form a mapping table. Then, when segmenting, the number of segments can be determined according to the data size of the spliced ​​data.

[0100] like Figure 7 As shown, as a preferred embodiment of the invention, the key generation module 300 includes:

[0101] The sequence generating unit 301 is used to call a preset synchronization processing function and generate a data selection sequence through the synchronization processing function.

[0102] In this module, the sequence generation unit 301 calls a preset synchronization processing function. A synchronization processing function is also preset in the server. The synchronization processing function is used to form a data selection sequence. Specifically, the data selection sequence can be generated using the size of the most recent continuous transmission data or header data that has been transmitted as an independent variable.

[0103] The sequence sampling unit 302 is used to extract data at corresponding positions from the header data according to the data selection sequence to obtain sampled data.

[0104] In this module, the sequence sampling unit 302 extracts data at corresponding positions from the header data according to the data selection sequence. The data selection sequence contains multiple groups of numbers, and the contents contained in the bytes at corresponding positions are selected as sampling data. Since the continuously transmitted data and the header data contents are randomly generated, the sampling data is also random.

[0105] The sampling splicing unit 303 is used to splice the sampled data in the order of extraction to obtain a first continuous encryption key.

[0106] In this module, the sampled data are spliced ​​in the order of extraction. After extraction, random sampled data are obtained. Therefore, after continuous splicing, a set of strings, namely the first continuous encryption key, can be obtained.

[0107] like Figure 8 As shown, as a preferred embodiment of the invention, the continuous encryption module 400 includes:

[0108] The intermediate key generating unit 401 is used to convert the first continuous encryption key into an intermediate key with the same base as the continuously transmitted data.

[0109] In this module, the intermediate key generation unit 401 converts the first continuous encryption key into an intermediate key of the same base as the continuously transmitted data, that is, performs base conversion so that both are represented in the same base, and both can also be converted into another base at the same time.

[0110] The key splitting unit 402 is used to split the intermediate key to obtain the data block to be replaced.

[0111] The replacement encryption unit 403 is used to divide the continuously transmitted data into blocks, and replace the to-be-replaced data blocks into the continuously transmitted data according to a preset replacement order.

[0112] In this module, the intermediate key is split according to a preset splitting method to obtain data blocks to be replaced, and then the continuously transmitted data is processed in blocks. The splitting and block division methods of the two are the same, and the data sizes obtained by splitting are also the same. The data blocks to be replaced are replaced in the continuously transmitted data according to a preset replacement order; specifically, the data blocks to be replaced are numbered consecutively according to the splitting order, and then when replacing, the data blocks to be replaced are replaced with the corresponding blocks in the continuously transmitted data according to a preset replacement correspondence table. For example, after the data blocks to be replaced are numbered consecutively, 1-16 are obtained, a total of 16 data blocks to be replaced. The replacement correspondence table records the data blocks to be replaced corresponding to the hexadecimal continuously transmitted data in which A is replaced with 1, so that replacement is performed in this order; and the above operations are also completed synchronously in the server, and decryption can be achieved according to its encryption method.

[0113] It should be understood that, although each step in the flow chart of each embodiment of the present invention is shown in sequence according to the indication of the arrow, these steps are not necessarily performed in sequence according to the order indicated by the arrow. Unless there is a clear explanation in this article, the execution of these steps does not have strict order restrictions, and these steps can be performed in other orders. Moreover, at least a portion of the steps in each embodiment may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and the execution order of these sub-steps or stages is not necessarily performed in sequence, but can be performed in turn or alternately with at least a portion of other steps or sub-steps or stages of other steps.

[0114] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0115] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0116] The above-mentioned embodiments only express several implementation methods of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the patent of the present invention. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.

[0117] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A data return processing method, characterized in that: The method comprises: Acquire the data to be transmitted back, and process the data to be transmitted back in segments to obtain header data and multiple groups of continuously transmitted data, wherein the header data and the multiple groups of continuously transmitted data are transmitted in a segmented order; The header data is encrypted according to a preset header encryption method and transmitted to a server, and the server decrypts the encrypted header data according to a preset header decryption method; Retrieving a preset synchronization processing function, and using the synchronization processing function to process the header data to obtain a first continuous encryption key; The continuous transmission data connected with the header data is encrypted according to the first continuous encryption key, and the encrypted continuous transmission data is transmitted to the server, and the above steps are repeated until all the continuous transmission data are transmitted.

2. The data return processing method according to claim 1, characterized in that: The step of obtaining the data to be transmitted back, processing the data to be transmitted back in segments, and obtaining header data and multiple groups of continuously transmitted data specifically includes: Obtain all data to be transmitted, and splice them to obtain spliced ​​data; According to the preset data size, a part of the data is split from the end of the spliced ​​data to obtain the header data; The remaining part of the spliced ​​data is evenly divided to obtain multiple groups of continuous transmission data whose data size does not exceed a preset value.

3. The data return processing method according to claim 1, characterized in that: The step of calling a preset synchronization processing function and using the synchronization processing function to process the header data to obtain the first continuous encryption key specifically includes: Retrieve the preset synchronization processing function and generate a data selection sequence through the synchronization processing function; Extract data at corresponding positions from the head data according to the data selection sequence to obtain sampling data; The sampled data are concatenated in the order of extraction to obtain a first continuous encryption key.

4. The data return processing method according to claim 1, characterized in that: The step of encrypting the continuous transmission data connected to the header data according to the first continuous encryption key specifically includes: Converting the first continuous encryption key into an intermediate key of the same base as the continuously transmitted data; Split the intermediate key to obtain the data block to be replaced; The continuously transmitted data is divided into blocks, and the data blocks to be replaced are replaced into the continuously transmitted data according to a preset replacement order.

5. The data return processing method according to claim 2, characterized in that: In the step of acquiring all the data to be transmitted and splicing them to obtain the spliced ​​data, the splicing is performed in the time sequence of data acquisition.

6. A data return processing system, characterized in that: The system comprises: A data segmentation module is used to obtain the data to be transmitted back, and segment the data to be transmitted back to obtain header data and multiple groups of continuous transmission data, wherein the header data and the multiple groups of continuous transmission data are transmitted in a segmented order; A header encryption module, used to encrypt the header data according to a preset header encryption method and transmit it to a server, and the server decrypts the encrypted header data according to a preset header decryption method; A key generation module, used to call a preset synchronization processing function, process the header data using the synchronization processing function, and obtain a first continuous encryption key; The continuous encryption module is used to encrypt the continuous transmission data connected with the header data according to the first continuous encryption key, and transmit the encrypted continuous transmission data to the server, and repeat the above steps until all the continuous transmission data are transmitted.

7. The data return processing system according to claim 6, characterized in that: The data segmentation module comprises: A data splicing unit, used for acquiring all data to be transmitted and splicing them to obtain spliced ​​data; A header data segmentation unit is used to segment a portion of data from the end of the spliced ​​data according to a preset data size to obtain header data; The continuous data segmentation unit is used to evenly segment the remaining part of the spliced ​​data to obtain multiple groups of continuous transmission data whose data size does not exceed a preset value.

8. The data return processing system according to claim 6, characterized in that: The key generation module comprises: A sequence generation unit, used to call a preset synchronization processing function and generate a data selection sequence through the synchronization processing function; A sequence sampling unit is used to extract data at corresponding positions from the head data according to the data selection sequence to obtain sampled data; The sampling splicing unit is used to splice the sampled data in the order of extraction to obtain a first continuous encryption key.

9. The data return processing system according to claim 6, characterized in that: The continuous encryption module comprises: An intermediate key generating unit, used for converting the first continuous encryption key into an intermediate key of the same base as the continuously transmitted data; A key splitting unit, used for splitting the intermediate key to obtain the data block to be replaced; The replacement encryption unit is used to divide the continuously transmitted data into blocks and replace the data blocks to be replaced into the continuously transmitted data according to a preset replacement order.

10. An Internet of Things base station, characterized in that: It comprises a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the steps of a data return processing method as claimed in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Internet of Vehicles safety communication method, system and application based on terminal information hopping

    CN111447588A

  • Data Encryption and Decryption Method and Apparatus

    US20140105382A1

  • Method for remotely activating a remote lock system using cryptography and the remote lock system for implementing the method

    WO2021174264A1