Data transmission method and device, equipment and storage medium
The data is encrypted and decrypted by the randomly generated target encryption algorithm by the reception and control unit, and the problem of insufficient data transmission security in the prior art is solved, and the security and reliability of data transmission are significantly improved.
Patent Information
- Application Number
- CN202411192625.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-28
- Publication Date
- 2024-12-17
AI Technical Summary
In the existing data transmission methods, using a single encryption algorithm is at risk of being easily cracked, resulting in insufficient security of data transmission.
The real data is encrypted through the target encryption algorithm randomly generated by the reception and control unit, and decrypted using the algorithm during transmission, increasing the security during data transmission.
It improves the reliability and security during data transmission and increases the difficulty of being cracked.
Smart Images

Figure CN119155075A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electronic information technology, and in particular to a data transmission method, device, equipment and storage medium capable of improving transmission security. Background Art
[0002] The process of transmitting data between a data source and a data sink is also called data communication. Data is a carrier of information. Data transmission is a form of information transmission, mainly referring to computer-related information transmission. In recent years, as the Internet security situation has become increasingly severe, Internet users and related industries have attached great importance to the security of data transmission and storage.
[0003] Currently, data transmission on the public network is generally transmitted through HTTP, or encrypted through symmetric algorithms or public and private keys. Once the data is intercepted during the transmission process, it is in danger of being easily cracked due to the use of a single encryption algorithm. Summary of the invention
[0004] In view of the above problems, the present invention provides a data transmission method, apparatus, device and storage medium for overcoming the above problems or at least partially solving the above problems.
[0005] The present invention provides the following scheme:
[0006] A data transmission method, comprising:
[0007] Obtaining a target encryption algorithm sent by a receiving and control unit; the target encryption algorithm is randomly generated by the receiving and control unit;
[0008] The data acquisition component acquires real data and stores the real data in a storage module;
[0009] The target encryption algorithm is used to encrypt the real data to obtain encrypted data;
[0010] The encrypted data is sent to the receiving and control unit so that the receiving and control unit uses the target encryption algorithm to decrypt the encrypted data to obtain the real data.
[0011] Preferably: the encryption algorithm includes a frame sequence number, a timestamp and an encryption format.
[0012] Preferably: the encryption format includes random padding data, padding length, and padding position.
[0013] Preferably: a data jump transmission instruction sent by the receiving and control unit is received, so as to send corresponding data to the receiving and control unit according to the data jump transmission instruction.
[0014] Preferably: the data jump transmission instruction includes a jump format.
[0015] A data transmission device, used to execute the above data transmission method, the device comprising:
[0016] A target encryption algorithm acquisition unit, used to acquire a target encryption algorithm sent by the receiving and control unit; the target encryption algorithm is randomly generated by the receiving and control unit;
[0017] A real data acquisition unit, used for acquiring real data acquired by the data acquisition component and storing the real data in a storage module;
[0018] An encryption unit, used to encrypt the real data using the target encryption algorithm to obtain encrypted data;
[0019] The transmission unit is used to send the encrypted data to the receiving and control unit so that the receiving and control unit uses the target encryption algorithm to decrypt the encrypted data to obtain the real data.
[0020] A data transmission device, the device comprising a processor and a memory:
[0021] The memory is used to store program code and transmit the program code to the processor;
[0022] The processor is used to execute the above data transmission method according to the instructions in the program code.
[0023] A computer-readable storage medium is used to store program codes, and the program codes are used to execute the above-mentioned data transmission method.
[0024] According to the specific embodiments provided by the present invention, the present invention discloses the following technical effects:
[0025] The embodiments of the present application provide a data transmission method, apparatus, device and storage medium. The method encrypts the collected data by receiving and controlling a target encryption algorithm randomly generated by the control unit to ensure that even if the data is intercepted during transmission, the difficulty of cracking is greatly increased because the traditional fixed encryption algorithm is not used, thereby increasing the reliability and security of the data transmission process.
[0026] Of course, any product implementing the present invention does not necessarily need to achieve all of the advantages described above at the same time. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0028] Figure 1 is a flow chart of a data transmission method provided by an embodiment of the present invention;
[0029] Figure 2 It is a physical carrier diagram of a data transmission method provided by an embodiment of the present invention;
[0030] Figure 3 is a data processing flow chart of a receiving and control unit provided by an embodiment of the present invention;
[0031] Figure 4 is a data processing flow chart of a processing unit provided by an embodiment of the present invention;
[0032] Figure 5 is a schematic diagram of a data transmission device provided by an embodiment of the present invention;
[0033] Figure 6 It is a schematic diagram of a data transmission device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0034] The technical scheme in the embodiment of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiment of the present invention. Obviously, the described embodiment is only a part of the embodiment of the present invention, not all of the embodiments. Based on the embodiment of the present invention, all other embodiments obtained by ordinary technicians in this field belong to the scope of protection of the present invention.
[0035] See also Figure 1 , a data transmission method provided by an embodiment of the present invention, such as Figure 1 As shown, the method may include:
[0036] S101: Obtain a target encryption algorithm sent by a receiving and control unit; the target encryption algorithm is randomly generated by the receiving and control unit; in specific implementation, the embodiment of the present application may also provide that the encryption algorithm includes a frame sequence number, a timestamp, and an encryption format. The encryption format includes random padding data, padding length, and padding position.
[0037] S102: acquiring real data by a data acquisition component and storing the real data in a storage module;
[0038] S103: encrypting the real data using the target encryption algorithm to obtain encrypted data;
[0039] S104: Send the encrypted data to the receiving and control unit so that the receiving and control unit uses the target encryption algorithm to decrypt the encrypted data to obtain the real data.
[0040] In order to realize jump transmission, the embodiment of the present application can also provide receiving a data jump transmission instruction sent by the receiving and control unit, so as to send corresponding data to the receiving and control unit according to the data jump transmission instruction. The data jump transmission instruction includes a jump format.
[0041] The method provided in the embodiment of the present application is mainly undertaken by the processing module of the processing unit. When it is specifically implemented, see Figure 2 , Figure 3 , Figure 4 The processor module can be any processor circuit with processor capabilities, and the processor module mainly implements data collection, encryption processing, and data transmission processing.
[0042] The encryption processing of data, the encryption method in the processing module is provided by the receiving and control unit (dynamically configurable or fixedly configured). An encryption algorithm is preset in the receiving and control unit to encrypt and store the collected data. The algorithm contains frame sequence number, timestamp, encryption format, and real data. The encryption format is set by the receiving control unit. After the device is started, the random encryption format of the data (random fill data, fill length, fill position and other information) is sent to the processing module. The processing module receives the encryption format, encrypts the data and sends it to the receiving and control unit (the encryption format is determined by the receiving control unit. The encryption format is dynamic and can effectively prevent being cracked.
[0043] At the same time, the total frame sequence number length of the encrypted frame can be defined, and after definition, it is sent to the processing module, and at the same time, it is marked and stored in the receiving processing module control unit for easy data parsing. In addition, the receiving and control unit can also control the jump transmission of data, for example: requiring the processor control module to only send data with an odd frame sequence number and discard data with an even frame sequence number (or requiring to jump from frame sequence number 1 to 10 for transmission, etc., the jump format is controlled by the receiving control unit).
[0044] Data storage mainly refers to the data received by the module, which is stored in the buffer dynamic storage module DDR, and is encrypted as described above in the processing module before sending the data to the receiving and control unit.
[0045] The data collection module refers to certain collected data in the physical object, such as radar data, which is processed by the processor unit and then sent to the receiving and control unit.
[0046] In summary, the data transmission method provided by the present application encrypts the collected data by receiving and controlling the target encryption algorithm randomly generated by the control unit, thereby ensuring that even if the data is intercepted during transmission, the difficulty of cracking will be greatly increased because the traditional fixed encryption algorithm is not adopted, thereby increasing the reliability and security of the data transmission process.
[0047] See also Figure 5 , the embodiment of the present application may also provide a data transmission device, such as Figure 5 As shown, for executing the above-mentioned data transmission method, the device may include:
[0048] The target encryption algorithm acquisition unit 501 is used to acquire the target encryption algorithm sent by the receiving and control unit; the target encryption algorithm is randomly generated by the receiving and control unit;
[0049] A real data acquisition unit 502, used for acquiring real data acquired by a data acquisition component and storing the real data in a storage module;
[0050] An encryption unit 503 is used to encrypt the real data using the target encryption algorithm to obtain encrypted data;
[0051] The transmission unit 504 is used to send the encrypted data to the receiving and control unit so that the receiving and control unit uses the target encryption algorithm to decrypt the encrypted data to obtain the real data.
[0052] The embodiment of the present application may also provide a data transmission device, the device comprising a processor and a memory:
[0053] The memory is used to store program code and transmit the program code to the processor;
[0054] The processor is used to execute the steps of the above-mentioned data transmission method according to the instructions in the program code.
[0055] In actual use, the processor can be a ground station device, the memory can be an Intel core, the software code is integrated into the ground station software, and the software is located in the win10 system and the Intel core.
[0056] like Figure 6 As shown, a data transmission device provided in an embodiment of the present application may include: a processor 10, a memory 11, a communication interface 12 and a communication bus 13. The processor 10, the memory 11 and the communication interface 12 all communicate with each other through the communication bus 13.
[0057] In the embodiment of the present application, the processor 10 may be a central processing unit (CPU), an application specific integrated circuit, a digital signal processor, a field programmable gate array or other programmable logic devices.
[0058] The processor 10 may call a program stored in the memory 11. Specifically, the processor 10 may execute operations in the embodiment of the data transmission method.
[0059] The memory 11 is used to store one or more programs, which may include program codes, and the program codes include computer operation instructions. In the embodiment of the present application, the memory 11 at least stores programs for implementing the following functions:
[0060] Obtaining a target encryption algorithm sent by a receiving and control unit; the target encryption algorithm is randomly generated by the receiving and control unit;
[0061] The data acquisition component acquires real data and stores the real data in a storage module;
[0062] The target encryption algorithm is used to encrypt the real data to obtain encrypted data;
[0063] The encrypted data is sent to the receiving and control unit so that the receiving and control unit uses the target encryption algorithm to decrypt the encrypted data to obtain the real data.
[0064] In one possible implementation, the memory 11 may include a program storage area and a data storage area, wherein the program storage area can store an operating system and application programs required for at least one function (such as a file creation function, a data reading and writing function), etc.; the data storage area can store data created during use, such as initialization data, etc.
[0065] In addition, the memory 11 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device or other volatile solid-state storage device.
[0066] The communication interface 12 may be an interface of a communication module, and is used to connect to other devices or systems.
[0067] Of course, it should be noted that Figure 6 The structure shown does not constitute a limitation on the data transmission device in the embodiment of the present application. In actual applications, the data transmission device may include Figure 6 More or fewer components than shown, or combinations of certain components.
[0068] The embodiment of the present application may also provide a computer-readable storage medium, wherein the computer-readable storage medium is used to store program codes, and the program codes are used to execute the steps of the above-mentioned data transmission method.
[0069] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0070] It can be known from the description of the above implementation methods that those skilled in the art can clearly understand that the present application can be implemented by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product can be stored in a storage medium such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in the various embodiments of the present application or certain parts of the embodiments.
[0071] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can refer to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system or system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can refer to the partial description of the method embodiment. The system and system embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0072] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.
Claims
1. A data transmission method, characterized in that: include: Obtaining a target encryption algorithm sent by a receiving and control unit; the target encryption algorithm is randomly generated by the receiving and control unit; The data acquisition component acquires real data and stores the real data in a storage module; The target encryption algorithm is used to encrypt the real data to obtain encrypted data; The encrypted data is sent to the receiving and control unit so that the receiving and control unit uses the target encryption algorithm to decrypt the encrypted data to obtain the real data.
2. The data transmission method according to claim 1, characterized in that: The encryption algorithm includes a frame sequence number, a timestamp and an encryption format.
3. The data transmission method according to claim 2, characterized in that: The encryption format includes random padding data, padding length, and padding position.
4. The data transmission method according to claim 1, characterized in that: The data jump transmission instruction sent by the receiving and control unit is received, so as to send corresponding data to the receiving and control unit according to the data jump transmission instruction.
5. The data transmission method according to claim 4, characterized in that: The data jump transmission instruction includes a jump format.
6. A data transmission device, characterized in that: Used to execute the data transmission method according to any one of claims 1 to 5, the device comprises: A target encryption algorithm acquisition unit, used to acquire a target encryption algorithm sent by the receiving and control unit; the target encryption algorithm is randomly generated by the receiving and control unit; A real data acquisition unit, used for acquiring real data acquired by the data acquisition component and storing the real data in a storage module; An encryption unit, used to encrypt the real data using the target encryption algorithm to obtain encrypted data; The transmission unit is used to send the encrypted data to the receiving and control unit so that the receiving and control unit uses the target encryption algorithm to decrypt the encrypted data to obtain the real data.
7. A data transmission device, characterized in that: The device comprises a processor and a memory: The memory is used to store program codes and transmit the program codes to the processor; The processor is used to execute the data transmission method according to any one of claims 1 to 5 according to the instructions in the program code.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store program codes, and the program codes are used to execute the data transmission method according to any one of claims 1 to 5.
