WO2020164211A1 - 一种数据传输方法、装置、终端设备及介质 - Google Patents
一种数据传输方法、装置、终端设备及介质 Download PDFInfo
- Publication number
- WO2020164211A1 WO2020164211A1 PCT/CN2019/091503 CN2019091503W WO2020164211A1 WO 2020164211 A1 WO2020164211 A1 WO 2020164211A1 CN 2019091503 W CN2019091503 W CN 2019091503W WO 2020164211 A1 WO2020164211 A1 WO 2020164211A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- data
- encrypted
- file
- information
- segment
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/602—Providing cryptographic facilities or services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/04—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
- H04L63/0428—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/12—Applying verification of the received information
- H04L63/123—Applying verification of the received information received data contents, e.g. message integrity
Definitions
- This application belongs to the field of data processing technology, and particularly relates to a data transmission method and terminal equipment.
- the embodiments of the present application provide a data transmission method and terminal device to solve the problem of low security and reliability of data encryption verification during data transmission in the prior art.
- the first aspect of the embodiments of the present application provides a data transmission method, including:
- data fragments are extracted from the data to be encrypted to obtain a plurality of corresponding first data fragments and the first data fragment in the data to be encrypted. location information;
- the first check code and the encrypted information are transmitted to the receiving party together with the data to be encrypted, wherein the first check code and the encrypted information are used by the receiving party for the waiting Encrypted data is checked for data integrity.
- the second aspect of the embodiments of the present application provides a data verification method, including:
- data fragment extraction is performed on the data to be encrypted to obtain a plurality of corresponding second data fragments and the value of each of the second data fragments in the data to be encrypted Third location information;
- the second check code is the same as the first check code, it is determined that the data to be encrypted has been fully verified.
- a third aspect of the embodiments of the present application provides a data transmission device, including:
- the first segment extraction module is used to extract data segments of the data to be encrypted based on the file type and file volume of the data to be encrypted, to obtain corresponding multiple first data segments and each of the first data segments The first position information in the data to be encrypted;
- a segment sorting module configured to randomly sort and merge the first data segments to obtain corresponding first merged data and second position information of each first data segment in the first merged data
- the first algorithm matching module is configured to find the first irreversible encryption algorithm and the first reversible encryption and decryption algorithm corresponding to the file volume of the first merged data;
- the double encryption module is configured to process the first merged data based on the first irreversible encryption algorithm to obtain a first check code, and perform processing on the first location information and the first location information based on the first reversible encryption and decryption algorithm.
- the second location information is processed to obtain encrypted information;
- the data transmission module is configured to transmit the first check code and the encrypted information together with the data to be encrypted to the recipient, wherein the first check code and the encrypted information are used in the The receiver performs data integrity verification on the data to be encrypted.
- a third aspect of the embodiments of the present application provides a data transmission device, including:
- the first segment extraction module is used to extract data segments of the data to be encrypted based on the file type and file volume of the data to be encrypted, to obtain corresponding multiple first data segments and each of the first data segments The first position information in the data to be encrypted;
- a segment sorting module configured to randomly sort and merge the first data segments to obtain corresponding first merged data and second position information of each first data segment in the first merged data
- the first algorithm matching module is configured to find the first irreversible encryption algorithm and the first reversible encryption and decryption algorithm corresponding to the file volume of the first merged data;
- the double encryption module is configured to process the first merged data based on the first irreversible encryption algorithm to obtain a first check code, and perform processing on the first location information and the first location information based on the first reversible encryption and decryption algorithm.
- the second location information is processed to obtain encrypted information;
- the data transmission module is configured to transmit the first check code and the encrypted information together with the data to be encrypted to the recipient, wherein the first check code and the encrypted information are used in the The receiver performs data integrity verification on the data to be encrypted.
- a fourth aspect of the embodiments of the present application provides a data verification device, including:
- a data acquisition module configured to acquire the data to be encrypted, the first check code, and the encrypted information transmitted by the above-mentioned data transmission device;
- the second segment extraction module is configured to extract data segments of the data to be encrypted based on the file type and file volume of the data to be encrypted to obtain a plurality of corresponding second data segments and each of the second data segments The third location information in the data to be encrypted;
- the second algorithm matching module is used to find the file volume of the second data segment and the corresponding second irreversible encryption algorithm and second reversible encryption and decryption algorithm, and perform the encrypted information based on the second reversible encryption and decryption algorithm Processing to obtain the first location information and the second location information;
- a segment merging module configured to sort and merge the second data segments based on the third location information, the first location information, and the second location information to obtain corresponding second merged data
- a data verification module configured to process the second combined data based on the second irreversible encryption algorithm to obtain a second verification code, and determine whether the second verification code is the same as the first verification code ;
- the determination module is configured to determine that the data to be encrypted is complete in verification if the second verification code is the same as the first verification code.
- a fifth aspect of the embodiments of the present application provides a terminal device.
- the terminal device includes a memory and a processor.
- the memory stores computer-readable instructions that can run on the processor.
- the processor executes The computer-readable instructions implement the steps of the data transmission method described above.
- a sixth aspect of the embodiments of the present application provides a terminal device.
- the terminal device includes a memory and a processor.
- the memory stores computer-readable instructions that can run on the processor, and the processor executes The computer-readable instructions implement the steps of the data verification method described above.
- a seventh aspect of the embodiments of the present application provides a computer-readable storage medium, including: storing computer-readable instructions, characterized in that, when the computer-readable instructions are executed by a processor, the data transmission method described above is implemented A step of.
- the embodiment of this application has the following beneficial effects: in the encryption process, the corresponding data segment extraction method is selected according to the actual file type and volume of the data to be encrypted, and the data segment is extracted, and then The extracted data fragments are randomly sorted and merged. At the same time, an irreversible encryption algorithm and a reversible encryption and decryption algorithm are selected according to the actual total volume of the data fragments, and finally the merged data are respectively combined based on the irreversible encryption algorithm and the reversible encryption and decryption algorithm. And the two position information of the data segment in the to-be-encrypted data and the combined data are processed to obtain the corresponding check code and encrypted information for subsequent verification.
- FIG. 1 is a schematic diagram of the implementation process of the data transmission method provided in Embodiment 1 of the present application;
- FIG. 2 is a schematic diagram of the implementation process of the data transmission method provided in the second embodiment of the present application.
- FIG. 3 is a schematic diagram of the implementation process of the data transmission method provided in the third embodiment of the present application.
- FIG. 4 is a schematic diagram of the implementation process of the data transmission method provided in the fourth embodiment of the present application.
- FIG. 5 is a schematic diagram of the implementation process of the data transmission method provided by Embodiment 5 of the present application.
- FIG. 6 is a schematic diagram of the implementation process of the data verification method provided by the fourth embodiment of the present application.
- FIG. 7 is a schematic structural diagram of a data transmission device provided by Embodiment 6 of the present application.
- FIG. 8 is a schematic structural diagram of a data verification device provided in Embodiment 6 of the present application.
- FIG. 9 is a schematic diagram of a terminal device provided in Embodiment 7 of the present application.
- Fig. 1 shows an implementation flow chart of the data transmission method provided in Embodiment 1 of the present application, which is detailed as follows:
- S101 Based on the file type and file volume of the data to be encrypted, extract data fragments from the data to be encrypted to obtain corresponding multiple first data fragments and first position information of each first data fragment in the data to be encrypted.
- the specific file types that can be processed can be set by the technicians according to actual needs, including but not limited to images, audio, video, and text.
- the data of different file types have different characteristics, and the encryption efficiency of each encryption algorithm for different file sizes is also different, therefore, in order to ensure that the extracted data fragments are representative to ensure the effectiveness of subsequent encryption, At the same time, the efficiency of encryption and the randomness of subsequent encryption are ensured to improve the security of encryption verification.
- different fragment extraction methods are set for data of different file types and different file sizes. For details, please refer to Embodiments 2 to 5 of this application can also be set by technicians according to actual needs.
- the embodiment of the present application also records the actual first position information of the first data segment in the data to be encrypted.
- the data to be encrypted is audio data
- the extracted data is recorded The start time and end time of each audio data segment in the data to be encrypted, thereby obtaining its first position information in the data to be encrypted.
- S102 Randomly sort and merge the first data segments to obtain corresponding first merged data and second position information of each first data segment in the first merged data.
- this embodiment of the application will randomly sort and merge them, and record the sorted second position information.
- This position information can be in the first merged data.
- the absolute position in the data to be encrypted as described above, when the data to be encrypted is audio data, the start time and end time of each audio data segment extracted in the data to be encrypted can also be the relative value in the first combined data.
- the location, such as the sequence number after sorting, is specifically selected by the technician.
- S104 Process the first combined data based on the first irreversible encryption algorithm to obtain a first check code, and process the first location information and the second location information based on the first reversible encryption and decryption algorithm to obtain encrypted information.
- the data fragment extraction method, the data fragment sorting, and the merged data encryption algorithm all have randomness, which will vary with the specific data to be transmitted. Even if the same data is repeatedly checked for transmission, the final check code and encrypted information are random, so that each transmission check process in the embodiment of this application is unique, and because Three random multiplications can theoretically produce a large number of different processing algorithm combinations. Compared with the general single algorithm processing, the difficulty of cracking increases, and the difficulty of cracking is extremely difficult, making it impossible for criminals to predict the algorithms that may be used and the possible results. Unable to crack the corresponding process.
- the irreversible encryption algorithm and reversible encryption and decryption algorithm corresponding to the specific file volume can be set by the technicians according to actual needs, including but not limited to: irreversible MD5 algorithm and sha1 algorithm, reversible 3DES algorithm and IDEA algorithm, etc. , But it is necessary to ensure that the irreversible encryption algorithm and the reversible encryption and decryption algorithm used are both greater than 1.
- S105 Transmit the first check code and the encrypted information to the receiver together with the data to be encrypted, where the first check code and the encrypted information are used by the receiver to perform data integrity verification on the data to be encrypted.
- the embodiment of the present application sends the first check code and the encrypted information to the receiver together with the data to be encrypted, so that the receiver can check the received data to be encrypted. Encrypted data is checked for integrity.
- the corresponding data fragment extraction method is selected according to the actual file type and volume of the data to be encrypted, and the data fragments are extracted, and then the extracted data fragments are randomly sorted Combine, and select an irreversible encryption algorithm and a reversible encryption and decryption algorithm based on the actual total volume of the data segment, and finally, based on the irreversible encryption algorithm and the reversible encryption and decryption algorithm, respectively, the combined data obtained by the combination, and the data segment is in the data to be encrypted and combined
- the two position information in the data are processed to obtain the corresponding check code and encrypted information for subsequent verification.
- the second embodiment of the present application includes:
- S202 Divide the image content in the polygon to obtain multiple image areas one-to-one corresponding to the first data segment, and obtain first position information of each image area in the data to be encrypted.
- the embodiment of the present application is based on the characteristics of the image to extract feature points of the image and draw a polygon containing all image feature points In the method, all the feature points of the image are retained, and then the image content within the polygon is segmented to obtain multiple image content, that is, multiple first data fragments required by the embodiment of this application.
- the specific size of the volume threshold can be set by the technician.
- the specific segmentation method can be set by the technician, including but not limited to segmentation according to the preset image area size, such as segmentation according to the size of 10 pixels ⁇ 10 pixels.
- the first position information can be the absolute position in the data to be processed in the image area.
- the absolute position can be composed of the coordinates of each edge point of the image area.
- the first position information of each image area can be recorded by a set of arrays. It can also be the virtual center pixel coordinate position obtained by all the pixel coordinates and the average value of the image area as the first position information.
- the first position information of each image area is only one pixel coordinate, which can be set by the technician. .
- the third embodiment of the present application includes:
- this embodiment of the application will perform a key character search on the encrypted data, in which the key character table can be preset by the technician, and according to The key character content contained in the key character table is used to perform character matching on the encrypted data to realize the search for the key character.
- the specific key character table content can be determined by the technician according to the actual needs of the user. Among them, the specific size of the volume threshold can be set by the technician.
- the specific content of the key characters may not be determined. For example, suppose that the transmission to be encrypted is insurance. Order data. At this time, the order number, applicant, beneficiary, and insurance amount are all key characters, but the content of these key characters is different in each insurance order. Therefore, if the key character table contains only fixed Some key characters may not meet the actual needs of different users.
- the key character table contains not only some specific key characters, but also some key character rules.
- the key character rule can be set as follows: the n-bit character after the "order number" is the key character, and n is determined by technology The personnel set according to the actual situation. At this time, when the key character is searched, the n-digit number after the "order number" will be judged as the key character.
- the fourth embodiment of the present application includes:
- S401 If the file type of the data to be encrypted is audio and the file volume is less than the preset volume threshold, perform voice recognition on the data to be encrypted, and determine whether the data to be encrypted is voice data.
- S403 Extract the first data segment corresponding to the keyword one-to-one from the data to be encrypted, and obtain the first position information of each first data segment in the data to be encrypted.
- the embodiment of the present application will perform voice recognition on the audio data to determine whether it is voice data. If the voice recognition contains text content, it means that it is voice data.
- the specific size of the volume threshold can be set by the technician.
- this embodiment of the application will perform keyword search on the text content obtained by voice recognition.
- the specific search method is not limited here, and can be set by the technician or refer to the embodiment of this application.
- Method for searching key characters in the third key characters in the third embodiment of this application.
- the embodiment of the application will further find the audio segments corresponding to these keywords from the data to be processed, so as to obtain the first data segment required by the embodiment of the application, since the keywords include The key data of the text content is included, so it has a certain representativeness, thereby ensuring the validity of the first data segment extracted subsequently.
- the first location information includes the start time and the end time of the first data segment in the data to be encrypted.
- the fifth embodiment of the present application includes:
- the embodiment of the application will uniformly extract data fragments according to the preset data interval to obtain the required multiple first data fragments.
- the specific data interval can be determined by the technician according to the actual situation.
- the specific size of the volume threshold can be set by the technician.
- Embodiments 2 to 5 of this application are all methods for extracting data fragments of the data to be encrypted, but each embodiment is aimed at different file types or file sizes. Therefore, Embodiments 2 to 5 of this application are There will be no conflicts during implementation.
- a person of ordinary skill in the art can select any number of embodiments from the first embodiment of this application for combined application implementation, and they should all be included in the protection scope of this application.
- Embodiments 2 to 5 of the present application according to the characteristics of the data to be encrypted of different file types, corresponding data fragment extraction methods are respectively set, thereby ensuring the validity of the extracted data fragments.
- FIG. 6 shows the implementation flowchart of the data verification method provided in the sixth embodiment of the present application, and the details are as follows:
- S601 Obtain the data to be encrypted, the first check code, and the encrypted information transmitted by the data transmission method in the first embodiment of the present application.
- S602 Based on the file type and file volume of the data to be encrypted, extract data fragments from the data to be encrypted to obtain corresponding multiple second data fragments and third position information of each second data fragment in the data to be encrypted.
- the method for extracting data fragments in the embodiments of this application can be set by the technicians, but should ensure that the method for extracting data fragments is the same as that used in Example 1 of this application, that is, for data with the same file type and file volume, this application
- the data fragment extraction method selected in the embodiment and the first embodiment of this application should be consistent to ensure subsequent normal verification.
- S603 Find the file volume of the second data segment and the corresponding second irreversible encryption algorithm and the second reversible encryption and decryption algorithm, and process the encrypted information based on the second reversible encryption and decryption algorithm to obtain first location information and second location information .
- the file volume of the second data segment in the embodiment of this application and the corresponding rules for the irreversible encryption algorithm and the reversible encryption and decryption algorithm can be set by the technicians themselves, but it should be ensured that the file volume and the file volume of the first merged data in the first embodiment of this application are
- the corresponding rules of the irreversible encryption algorithm and the reversible encryption and decryption algorithm are the same, that is, when the file volume of the second data segment is the same as the file volume of the first merged data, the irreversible encryption algorithm selected in the embodiment of this application and the first embodiment of this application It should be consistent with the reversible encryption and decryption algorithm to ensure subsequent normal verification.
- S604 Sort and merge the second data fragments based on the third location information, the first location information, and the second location information to obtain corresponding second combined data.
- the second data segment extracted in S602 is the same as the data content of the first data segment in Embodiment 1 of this application.
- the locations should be completely consistent, and the selected irreversible encryption algorithm and reversible encryption and decryption algorithm should also be completely consistent. Therefore, when the received data to be encrypted is exactly the same as the data to be encrypted sent in the first embodiment of this application ,
- the third location information is exactly the same as the first location information.
- the second data segment can be sorted according to the corresponding relationship between the first location information and the second location information, and the first data segment can be sorted randomly. The results are exactly the same.
- S605 Process the second combined data based on the second irreversible encryption algorithm to obtain a second check code, and determine whether the second check code is the same as the first check code.
- the extraction and merging of encryption and decryption have strong randomness according to the specific data type and content of the data to be encrypted, it will This leads to errors in the decrypted first position information and the second position information, and errors in the third position information obtained at the same time, making it difficult for the third position information in the embodiment S604 of the present application to correspond to the first position information, so
- the second combined data cannot be obtained normally, so that the subsequent refueling process cannot be performed normally, even if the third position information corresponds to the first position information, because the subsequent second irreversible encryption algorithm is selected with the second data fragment
- the data content of the second combined data also changes with the change of the data to be encrypted, so that the obtained second check code must be different from the first check code. Therefore, only Only when the received data to be encrypted is exactly the same as the data to be encrypted sent in the first embodiment of this application, the final result of the second check code and the first check code will be obtained, thereby realizing the safety and integrity of data transmission check.
- FIG. 7 shows a structural block diagram of the data transmission device provided in the seventh embodiment of the present application. For ease of description, only the parts related to the embodiment of the present application are shown.
- the data transmission device illustrated in FIG. 7 may be the execution subject of the data transmission method provided in the first embodiment.
- the data transmission device includes:
- the first fragment extraction module 71 is configured to extract data fragments of the data to be encrypted based on the file type and file volume of the data to be encrypted, to obtain corresponding multiple first data fragments and each of the first data fragments The first position information in the data to be encrypted.
- the segment sorting module 72 is configured to randomly sort and merge the first data segments to obtain corresponding first merged data and second position information of each first data segment in the first merged data.
- the first algorithm matching module 73 is configured to find the first irreversible encryption algorithm and the first reversible encryption and decryption algorithm corresponding to the file volume of the first merged data.
- the double encryption module 74 is configured to process the first merged data based on the first irreversible encryption algorithm to obtain a first check code, and perform verification on the first location information and all data based on the first reversible encryption and decryption algorithm.
- the second location information is processed to obtain encrypted information.
- the data transmission module 75 is configured to transmit the first check code and the encrypted information to the recipient together with the data to be encrypted, wherein the first check code and the encrypted information are used for all
- the receiver performs data integrity verification on the data to be encrypted.
- the first segment extraction module 71 includes:
- the file type of the data to be encrypted is an image and the file volume is less than the preset volume threshold
- the image feature points of the data to be encrypted are extracted, and connections are made based on the edge feature points in the image feature points to draw the corresponding Polygon.
- Segment the image content in the polygon to obtain a plurality of image regions corresponding to the first data fragments one-to-one, and obtain the first position information of each of the image regions in the data to be encrypted .
- the first segment extraction module 71 includes:
- the file type of the data to be encrypted is text and the file volume is less than the preset volume threshold
- a key character search is performed on the data to be encrypted, and a plurality of one-to-one corresponding to the first data fragments in the text are filtered out Key characters, and obtain the first position information of each key character in the data to be encrypted.
- the first segment extraction module 71 includes:
- voice recognition is performed on the data to be encrypted to determine whether the data to be encrypted is voice data.
- the data to be encrypted is voice data
- a keyword search is performed on the text content obtained by voice recognition to obtain the keywords corresponding to the data to be encrypted.
- the first segment extraction module 71 includes:
- data segment extraction is performed on the data to be encrypted at a preset data interval to obtain a plurality of the first data segments and each The first position information of the first data segment in the data to be encrypted.
- FIG. 8 shows a structural block diagram of a data verification device provided in an embodiment of the present application. For ease of description, only parts related to the embodiment of the present application are shown.
- the data verification device illustrated in FIG. 8 may be the execution body of the data verification method provided in the sixth embodiment.
- the data acquisition module 81 is configured to acquire the data to be encrypted, the first check code, and the encrypted information transmitted by the data transmission device in the seventh embodiment of the present application.
- the second fragment extraction module 82 is configured to extract data fragments of the to-be-encrypted data based on the file type and file volume of the to-be-encrypted data to obtain corresponding multiple second data fragments and each of the second data The third position information of the segment in the data to be encrypted.
- the second algorithm matching module 83 is configured to find the file volume of the second data segment and the corresponding second irreversible encryption algorithm and the second reversible encryption and decryption algorithm, and to perform the encrypted information based on the second reversible encryption and decryption algorithm Perform processing to obtain the first location information and the second location information.
- the segment merging module 84 is configured to sort and merge the second data segments based on the third location information, the first location information, and the second location information to obtain corresponding second merged data.
- the data check module 85 is configured to process the second combined data based on the second irreversible encryption algorithm to obtain a second check code, and determine whether the second check code and the first check code are the same.
- the determining module 86 is configured to determine that the data to be encrypted is complete in check if the second check code is the same as the first check code.
- first”, “second”, etc. are used in the text in some embodiments of the present application to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another.
- the first table may be named the second table, and similarly, the second table may be named the first table without departing from the scope of the various described embodiments.
- the first form and the second form are both forms, but they are not the same form.
- FIG. 9 is a schematic diagram of a terminal device provided by an embodiment of the present application.
- the terminal device 9 of this embodiment includes: a processor 90 and a memory 91.
- the memory 91 stores computer-readable instructions 92 that can run on the processor 90.
- the processor 90 executes the computer-readable instructions 92, the steps in the foregoing data transmission method embodiments, such as steps 101 to 105 shown in FIG. 1, are implemented.
- the processor 90 executes the computer-readable instructions 92
- the functions of the modules/units in the foregoing device embodiments for example, the functions of the modules 71 to 75 shown in FIG. 7 are realized.
- the terminal device 9 may be a computing device such as a desktop computer, a notebook, a palmtop computer, and a cloud server.
- the terminal device may include, but is not limited to, a processor 90 and a memory 91.
- FIG. 9 is only an example of the terminal device 9 and does not constitute a limitation on the terminal device 9. It may include more or less components than shown in the figure, or a combination of certain components, or different components.
- the terminal device may also include an input sending device, a network access device, a bus, and the like.
- the so-called processor 90 may be a central processing unit (Central Processing Unit, CPU), it can also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc.
- the general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like.
- the memory 91 may be an internal storage unit of the terminal device 9, such as a hard disk or memory of the terminal device 9.
- the memory 91 may also be an external storage device of the terminal device 9, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), and a secure digital (Secure Digital, SD) equipped on the terminal device 9. Card, Flash Card, etc.
- the memory 91 may also include both an internal storage unit of the terminal device 9 and an external storage device.
- the memory 91 is used to store the computer-readable instructions and other programs and data required by the terminal device.
- the memory 91 can also be used to temporarily store data that has been sent or will be sent.
- each unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
- the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
- the integrated module/unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium.
- this application implements all or part of the procedures in the above-mentioned embodiments and methods, and can also be completed by instructing relevant hardware through computer-readable instructions, and the computer-readable instructions can be stored in a computer-readable storage medium.
- the computer-readable instruction when executed by the processor, the steps of the foregoing method embodiments can be implemented.
- the computer-readable instruction includes computer-readable instruction code
- the computer-readable instruction code may be in the form of source code, object code, executable file, or some intermediate form.
- the computer-readable medium may include: any entity or device capable of carrying the computer-readable instruction code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), electrical carrier signal, telecommunications signal, and software distribution media.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- General Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computing Systems (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Bioethics (AREA)
- Storage Device Security (AREA)
Abstract
本申请提供了一种数据传输方法、装置、终端设备及介质,适用于数据处理技术领域,该方法包括:基于待加密数据的文件类型和文件体积进行片段提取,得到多个数据片段以及位置信息;对数据片段进行随机排序合并,得到合并数据以及每个数据片段在合并数据中的位置信息;查找合并数据的文件体积对应的不可逆加密算法以及可逆加密解密算法;基于不可逆加密算法对合并数据进行处理得到校验码,并基于可逆加密解密算法对位置信息进行处理,得到加密信息;将校验码和加密信息,与待加密数据一同进行数据传输。本申请实施例相对固定单一的处理算法其破解难度指数上升,使得不法分子无法预知可能使用的算法以及可能得到的结果,更难以破解对应的过程。
Description
本申请要求于2019年2月12日提交中国专利局、申请号为201910111103.8 、发明名称为“一种数据传输方法、装置、终端设备及介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本申请属于数据处理技术领域,尤其涉及数据传输方法及终端设备。
在数据传输过程中,数据极其容易受到网络故障或者不法分子攻击而出错,为了保证数据传输的安全可靠,现有技术中都是采用选取的固定加密算法直接对数据进行校验码计算,再在接收端利用校验码进行验证判断数据是否完整,但由于现有技术采用的加密算法往往固定且单一,不法分子很容易针对性地进行破解。因此,为了保证数据传输的安全完整,需要一种安全性和可靠性更高的数据传输校验方法。
有鉴于此,本申请实施例提供了一种数据传输方法及终端设备,以解决现有技术中数据传输过程中,数据加密校验安全性和可靠性较低的问题。
本申请实施例的第一方面提供了一种数据传输方法,包括:
基于待加密数据的文件类型以及文件体积,对所述待加密数据进行数据片段提取,得到对应的多个第一数据片段以及每个所述第一数据片段在所述待加密数据中的第一位置信息;
对所述第一数据片段进行随机排序合并,得到对应的第一合并数据以及每个所述第一数据片段在所述第一合并数据中的第二位置信息;
查找所述第一合并数据的文件体积对应的第一不可逆加密算法以及第一可逆加密解密算法;
基于所述第一不可逆加密算法对所述第一合并数据进行处理得到第一校验码,并基于所述第一可逆加密解密算法对所述第一位置信息及所述第二位置信息进行处理,得到加密信息;
将所述第一校验码和所述加密信息,与所述待加密数据一同传输至接收方,其中,所述第一校验码和所述加密信息用于所述接收方对所述待加密数据进行数据完整性校验。
本申请实施例的第二方面提供了一种数据校验方法,包括:
获取如权利要求1所述数据传输方法传输的所述待加密数据、所述第一校验码以及所述加密信息;
基于所述待加密数据的文件类型以及文件体积,对所述待加密数据进行数据片段提取,得到对应的多个第二数据片段以及每个所述第而数据片段在所述待加密数据中的第三位置信息;
查找所述第二数据片段的文件体积和对应的第二不可逆加密算法以及第二可逆加密解密算法,并基于所述第二可逆加密解密算法对所述加密信息进行处理,得到所述第一位置信息和所述第二位置信息;
基于所述第三位置信息、所述第一位置信息和所述第二位置信息,对所述第二数据片段进行排序合并,得到对应的第二合并数据;
基于所述第二不可逆加密算法对所述第二合并数据进行处理得到第二校验码,并判断所述第二校验码与所述第一校验码是否相同;
若所述第二校验码与所述第一校验码相同,判定所述待加密数据校验完整。
本申请实施例的第三方面提供了一种数据传输装置,包括:
第一片段提取模块,用于基于待加密数据的文件类型以及文件体积,对所述待加密数据进行数据片段提取,得到对应的多个第一数据片段以及每个所述第一数据片段在所述待加密数据中的第一位置信息;
片段排序模块,用于对所述第一数据片段进行随机排序合并,得到对应的第一合并数据以及每个所述第一数据片段在所述第一合并数据中的第二位置信息;
第一算法匹配模块,用于查找所述第一合并数据的文件体积对应的第一不可逆加密算法以及第一可逆加密解密算法;
双重加密模块,用于基于所述第一不可逆加密算法对所述第一合并数据进行处理得到第一校验码,并基于所述第一可逆加密解密算法对所述第一位置信息及所述第二位置信息进行处理,得到加密信息;
数据传输模块,用于将所述第一校验码和所述加密信息,与所述待加密数据一同传输至接收方,其中,所述第一校验码和所述加密信息用于所述接收方对所述待加密数据进行数据完整性校验。
本申请实施例的第三方面提供了一种数据传输装置,包括:
第一片段提取模块,用于基于待加密数据的文件类型以及文件体积,对所述待加密数据进行数据片段提取,得到对应的多个第一数据片段以及每个所述第一数据片段在所述待加密数据中的第一位置信息;
片段排序模块,用于对所述第一数据片段进行随机排序合并,得到对应的第一合并数据以及每个所述第一数据片段在所述第一合并数据中的第二位置信息;
第一算法匹配模块,用于查找所述第一合并数据的文件体积对应的第一不可逆加密算法以及第一可逆加密解密算法;
双重加密模块,用于基于所述第一不可逆加密算法对所述第一合并数据进行处理得到第一校验码,并基于所述第一可逆加密解密算法对所述第一位置信息及所述第二位置信息进行处理,得到加密信息;
数据传输模块,用于将所述第一校验码和所述加密信息,与所述待加密数据一同传输至接收方,其中,所述第一校验码和所述加密信息用于所述接收方对所述待加密数据进行数据完整性校验。
本申请实施例的第四方面提供了一种数据校验装置,包括:
数据获取模块,用于获取如上述数据传输装置传输的所述待加密数据、所述第一校验码以及所述加密信息;
第二片段提取模块,用于基于所述待加密数据的文件类型以及文件体积,对所述待加密数据进行数据片段提取,得到对应的多个第二数据片段以及每个所述第而数据片段在所述待加密数据中的第三位置信息;
第二算法匹配模块,用于查找所述第二数据片段的文件体积和对应的第二不可逆加密算法以及第二可逆加密解密算法,并基于所述第二可逆加密解密算法对所述加密信息进行处理,得到所述第一位置信息和所述第二位置信息;
片段合并模块,用于基于所述第三位置信息、所述第一位置信息和所述第二位置信息,对所述第二数据片段进行排序合并,得到对应的第二合并数据;
数据校验模块,用于基于所述第二不可逆加密算法对所述第二合并数据进行处理得到第二校验码,并判断所述第二校验码与所述第一校验码是否相同;
判定模块,用于若所述第二校验码与所述第一校验码相同,判定所述待加密数据校验完整。
本申请实施例的第五方面提供了一种终端设备,所述终端设备包括存储器、处理器,所述存储器上存储有可在所述处理器上运行的计算机可读指令,所述处理器执行所述计算机可读指令时实现如上所述的数据传输方法的步骤。
本申请实施例的第六方面提供了一种终端设备,所述终端设备包括存储器、处理器,所述存储器上存储有可在所述处理器上运行的计算机可读指令,所述处理器执行所述计算机可读指令时实现如上所述的数据校验方法的步骤。
本申请实施例的第七方面提供了一种计算机可读存储介质,包括:存储有计算机可读指令,其特征在于,所述计算机可读指令被处理器执行时实现如上所述的数据传输方法的步骤。
本申请实施例与现有技术相比存在的有益效果是:在加密过程中,根据待加密数据的实际文件类型和体积情况来选取对应的数据片段提取方法,并进行数据片段的提取,再对提取得到的数据片段进行随机的排序合并,同时根据数据片段的实际总体积来选取一个不可逆加密算法和可逆加密解密算法,最后再基于不可逆加密算法和可逆加密解密算法分别对合并得到的合并数据,以及数据片段在待加密数据和合并数据中的两个位置信息进行处理,得到对应的校验码以及加密信息,用以后续的校验。由于数据片段提取和及数据片段的加密均是由实际所需传输的数据决定的,同时对数据片段的排序也是每次完全随机的,从而使得每次数据传输过程的三个步骤均具有极大的随机性和唯一性,而三个随机相乘理论上可以产生大量不同处理方式的组合,相对固定单一的处理算法其破解难度指数上升,使得不法分子无法预知可能使用的算法以及可能得到的结果,更难以破解对应的过程。
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1是本申请实施例一提供的数据传输方法的实现流程示意图;
图2是本申请实施例二提供的数据传输方法的实现流程示意图;
图3是本申请实施例三提供的数据传输方法的实现流程示意图;
图4是本申请实施例四提供的数据传输方法的实现流程示意图;
图5是本申请实施例五提供的数据传输方法的实现流程示意图;
图6是本申请实施例四提供的数据校验方法的实现流程示意图;
图7是本申请实施例六提供的数据传输装置的结构示意图;
图8是本申请实施例六提供的数据校验装置的结构示意图;
图9是本申请实施例七提供的终端设备的示意图。
以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、技术之类的具体细节,以便透彻理解本申请实施例。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本申请。在其它情况中,省略对众所周知的系统、装置、电路以及方法的详细说明,以免不必要的细节妨碍本申请的描述。
为了说明本申请所述的技术方案,下面通过具体实施例来进行说明。
图1示出了本申请实施例一提供的数据传输方法的实现流程图,详述如下:
S101,基于待加密数据的文件类型以及文件体积,对待加密数据进行数据片段提取,得到对应的多个第一数据片段以及每个第一数据片段在待加密数据中的第一位置信息。
其中具体可处理的文件类型可由技术人员根据实际需求设定,包括但不限于如图像、音频、视频和文本。考虑到不同文件类型的数据其特点不同,且对于每种加密算法对不同文件体积大小的加密效率也有所差异,因此,为了保证提取出的数据片段具有代表性,以保障后续加密的有效性,同时保证加密的效率以及对后续加密的随机性以提高加密校验的安全性,本申请实施例中会针对不同文件类型和不同文件体积的数据设置不同的片段提取方法,具体而言,可参考本申请实施例二至五,也可由技术人员根据实际需求自行设定。在提取出所需的第一数据片段的同时,本申请实施例还会记录第一数据片段在待加密数据中的实际第一位置信息,如当待加密数据为音频数据时,记录提取出的每个音频数据段在待加密数据中的起始时间和终止时间,从而得到其在待加密数据中的第一位置信息。
S102,对第一数据片段进行随机排序合并,得到对应的第一合并数据以及每个第一数据片段在第一合并数据中的第二位置信息。
在得到待加密数据中提取的多个第一数据片段之后,本申请实施例会对其进行随机的排序并合并,同时记录排序后的第二位置信息,这个位置信息既可以是在第一合并数据中的绝对位置,如上述的当待加密数据为音频数据时,记录提取出的每个音频数据段在待加密数据中的起始时间和终止时间,也可以是在第一合并数据中的相对位置,如排序后的序号,具体由技术人员自行选取。
S103,查找第一合并数据的文件体积对应的第一不可逆加密算法以及第一可逆加密解密算法。
S104,基于第一不可逆加密算法对第一合并数据进行处理得到第一校验码,并基于第一可逆加密解密算法对第一位置信息及第二位置信息进行处理,得到加密信息。
为了保证数据传输加密验证的可靠性,本申请实施例中会对不同文件体积的合并数据设置不同的不可逆加密算法和可逆加密解密算法,由于上述合并数据是第一数据片段的提取是具有一定随机性的(与每次具体传输数据的类型和体积相关),从而使得得到的第一合并数据的体积也是具有对应的随机性的,在此基础上为不同体积的合并数据设置对应的不可逆加密算法和可逆加密解密算法,使得本申请实施例中对采用的具体加密算法也是具有一定随机性的,同时,由于第一数据片段是随机排序合并的,因此加密所得到的校验码和加密信息也都是具有极强的随机性的,因此在本申请实施例中,数据片段提取方法、数据片段排序以及合并数据加密算法,均存在随机性,其会随着具体所需传输的数据的变化而变化,且即使是对同一数据重复进行传输校验,其最终得到的校验码和加密信息也是具有随机性的,从而使得本申请实施例中每次的传输校验过程具有唯一性,而因为三个随机相乘,理论上可以产生大量不同的处理算法组合,较一般的单算法处理其破解难度指数上升,破解难度极大,使得不法分子无法预知可能使用的算法以及可能得到的结果,更无法破解对应的过程。
其中,具体每种文件体积对应的不可逆加密算法和可逆加密解密算法,可由技术人员根据实际需求设定,包括但不限于如:不可逆的MD5算法和sha1算法,可逆的3DES算法和IDEA算法等等,但需保证所采用的不可逆加密算法和可逆加密解密算法的算法种类都大于1。
S105,将第一校验码和加密信息,与待加密数据一同传输至接收方,其中,第一校验码和加密信息用于接收方对待加密数据进行数据完整性校验。
在生成待加密数据对应的第一校验码和加密信息之后,本申请实施例会将第一校验码和加密信息与待加密数据一同发送至接收方,以使得接收方可以对接收到的待加密数据进行完整性校验。
在本申请实施例中,在加密过程中,根据待加密数据的实际文件类型和体积情况来选取对应的数据片段提取方法,并进行数据片段的提取,再对提取得到的数据片段进行随机的排序合并,同时根据数据片段的实际总体积来选取一个不可逆加密算法和可逆加密解密算法,最后再基于不可逆加密算法和可逆加密解密算法分别对合并得到的合并数据,以及数据片段在待加密数据和合并数据中的两个位置信息进行处理,得到对应的校验码以及加密信息,用以后续的校验。由于数据片段提取和及数据片段的加密均是由实际所需传输的数据决定的,同时对数据片段的排序也是每次完全随机的,从而使得每次数据传输过程的三个步骤均具有极大的随机性和唯一性,而三个随机相乘理论上可以产生大量不同处理方式的组合,相对固定单一的处理算法其破解难度指数上升,使得不法分子无法预知可能使用的算法以及可能得到的结果,更难以破解对应的过程。
作为本申请实施例一中对待加密数据进行第一数据片段提取的一种具体实现方式,如图2所示,本申请实施例二,包括:
S201,若待加密数据的文件类型为图像且文件体积小于预设体积阈值,提取待加密数据的图像特征点,并基于图像特征点中的边缘特征点进行连线,绘制对应的多边形。
S202,对多边形内的图像内容进行分割,得到与第一数据片段一一对应的多个图像区域,并获取每个图像区域在待加密数据中的第一位置信息。
当待加密数据为图像且文件体积较小时,为了保证提取出的第一数据片段的有效性,本申请实施例针对图像的特点,以对图像进行特征点提取并绘制包含所有图像特征点的多边形的方式,将图像所有的特征点保留下来,再对多边形内的图像内容进行分割,得到多个图像内容,即为本申请实施例所需的多个第一数据片段。其中,体积阈值的具体大小可由技术人员自行设定。
其中,具体的分割方法可由技术人员自行设定,包括但不限于如按照预设图像区域大小进行分割,如按照10像素×10像素的大小进行分割。第一位置信息,既可以是图像区域再待处理数据中的绝对位置,该绝对位置可以以图像区域各个边缘点的坐标构成,此时每个图像区域的第一位置信息可用一组数组记录,也可以是图像区域所有像素点坐标和均值得到的虚拟中心像素坐标位置来作为第一位置信息,此时每个图像区域的第一位置信息仅为一个像素点坐标,具体可由技术人员自行设定。
作为本申请实施例一中对待加密数据进行第一数据片段提取的另一种具体实现方式,如图3所示,本申请实施例三,包括:
S301,若待加密数据的文件类型为文本且文件体积小于预设体积阈值,对待加密数据进行关键字符查找,筛选出文本中与第一数据片段一一对应的多个关键字符,并获取每个关键字符在待加密数据中的第一位置信息。
当待加密数据为文本数据且文件体积较小时,为了保证提取出的数据片段的有效性,本申请实施例会对待加密数据进行关键字符查找,其中可以由技术人员预先设置好关键字符表,并根据关键字符表内包含的关键字符内容来对待加密数据进行字符匹配,以实现对关键字符的查找。考虑到不同用户传输数据的需求不同,即对不同用户而言其关键字的内容也会存在差异,因此在本申请实施例中,具体的关键字符表内容可由技术人员根据用户的实际需求决定。其中,体积阈值的具体大小可由技术人员自行设定。
作为本申请实施例进行关键字符查找的一种优选实施方式,考虑到实际应用中对于不同的数据而言,其关键字符的具体内容可能无法确定,例如,假设所需传输的待加密顺为保险订单数据,此时其中的订单号、投保人、受益人以及保险金额等均是关键字符,但这些关键字符的内容在每张保险订单中都不相同,因此若关键字符表中仅包含固定的一些关键字符,可能无法满足不同用户的实际需求。
为了满足不同用户的实际需求,本申请实施例中,关键字符表中包含的不仅包含一些具体关键字符,同时还包含一些关键字符规则,在进行关键字符查找时,只要满足关键字符表中包含的具体关键字符或者关键字符规则,都可以被判定为关键字符,例如,对于上述保险订单数据而言,其可以设置关键字符规则为:“订单号”后的n位字符为关键字符,n由技术人员根据实际情况设定,此时在进行关键字符查找时,“订单号”后面的n位数字即会被判定为关键字符。
作为本申请实施例一中对待加密数据进行第一数据片段提取的另一种具体实现方式,如图4所示,本申请实施例四,包括:
S401,若待加密数据的文件类型为音频且文件体积小于预设体积阈值,对待加密数据进行语音识别,判断待加密数据是否为语音数据。
S402,若待加密数据为语音数据,对语音识别得到的文字内容进行关键词查找,得到待加密数据对应的关键词。
S403,从待加密数据提取出与关键词一一对应的第一数据片段,并获取每个第一数据片段在待加密数据中的第一位置信息。
当待加密数据为音频数据且文件体积较小时,本申请实施例会对音频数据进行语音识别,以判断其是否为语音数据,若语音识别出包含文字内容,则说明其为语音数据。其中,体积阈值的具体大小可由技术人员自行设定。
为了保证提取出的数据片段的有效性,本申请实施例会对语音识别得到的文字内容进行关键词查找,其中具体的查找方法此处不予限定,可由技术人员自行设定或者参考本申请实施例三中对关键字符的查找方法(本申请实施例中的关键词相当于本申请实施例三中的关键字符)。在确定出其中包含的关键词之后,本申请实施例会进一步地从待处理数据中查找出这些关键词对应的音频片段,从而得到本申请实施例所需的第一数据片段,由于关键词中包含了文字内容的关键数据,因此其具有一定的代表性,从而保证了后续提取出的第一数据片段的有效性。在本申请实施例中,第一位置信息包含第一数据片段在待加密数据中的起始时间和终止时间。
作为本申请实施例一中对待加密数据进行第一数据片段提取的另一种具体实现方式,如图5所示,本申请实施例五,包括:
S501,若待加密数据为任意文件类型,且文件体积大于或等于预设体积阈值,以预设数据间隔对待加密数据进行数据段提取,得到多个第一数据片段以及每个第一数据片段在待加密数据中的第一位置信息。
当文件体积较大时,无论是何种文件类型在进行数据片段提取时其提取的工作量都比较大,会直接导致数据传输的效率较低,因此,在待加密数据的文件体积较大时,无论其为何种文件类型,本申请实施例都会统一采用根据预设数据间隔的形式进行数据片段的提取,以得到所需的多个第一数据片段,其中具体的数据间隔可由技术人员根据实际需求自行设定,其既可以是一个绝对数值,例如可以设置为将待加密数据转换为二进制数据,并每隔一个具体数据间隔长度提取一个设定长度的数据片段,如每隔200位二进制数,提取一个500位二进制长的数据片段,从而得到所需的第一数据片段,也可以是一个相对数值,例如可以设置为将待加密数据转换为二进制数据,并每隔n%待加密数据总长度的提取一个长度为m%待加密数据总长度的数据片段,如每隔5%待加密数据总长度提取一个长度为15%待加密数据总长度的数据片段。其中,体积阈值的具体大小可由技术人员自行设定。
应当说明地,上述本申请实施例二至五均是对待加密数据的数据片段提取方法,但每个实施例针对的是不同文件类型或文件体积大小的情况,因此本申请实施例二至五之间并不会存在实施时的冲突,本领域的普通技术人员可以从中选取任意数量的实施例与本申请实施例一进行结合应用实施,均应包含在本申请的保护范围之内。
在本申请实施例二至五中,针对不同文件类型的待加密数据的特点,分别设置对应的数据片段提取方法,从而保证了提取出的数据片段的有效性。
作为本申请实施例六,对应于本申请实施例一,本申请实施例中提出了一种利用本申请实施例一传输的第一校验码和加密信息对待加密数据进行数据完整性校验的方法,图6示出了本申请实施例六提供的数据校验方法的实现流程图,详述如下:
S601,获取如本申请实施例一数据传输方法传输的待加密数据、第一校验码以及加密信息。
S602,基于待加密数据的文件类型以及文件体积,对待加密数据进行数据片段提取,得到对应的多个第二数据片段以及每个第而数据片段在待加密数据中的第三位置信息。
本申请实施例中的数据片段提取方法可由技术人员自行设定,但应保证与本申请实施例一所使用的数据片段提取方法相同,即对于文件类型和文件体积相同的数据而言,本申请实施例和本申请实施例一所选取的数据片段提取方法应当保持一致,以保证后续的正常校验,具体可以参考上述本申请实施例一至五,此处不予赘述。
S603,查找第二数据片段的文件体积和对应的第二不可逆加密算法以及第二可逆加密解密算法,并基于第二可逆加密解密算法对加密信息进行处理,得到第一位置信息和第二位置信息。
本申请实施例中第二数据片段的文件体积和与不可逆加密算法和可逆加密解密算法的对应规则可由技术人员自行设定,但应保证与本申请实施例一中第一合并数据的文件体积与不可逆加密算法和可逆加密解密算法的对应规则相同,即当第二数据片段的文件体积和与第一合并数据的文件体积相同时,本申请实施例和本申请实施例一所选取的不可逆加密算法和可逆加密解密算法应当保持一致,以保证后续的正常校验,具体可以参考上述本申请实施例一,此处不予赘述。
S604,基于第三位置信息、第一位置信息和第二位置信息,对第二数据片段进行排序合并,得到对应的第二合并数据。
当接收到的待加密数据与本申请实施例一中发送的待加密数据完全相同时,理论上S602中提取的第二数据片段是和本申请实施例一中的第一数据片段的数据内容和位置应当是完全一致的,同时选取出的不可逆加密算法和可逆加密解密算法也应当是完全一致的,因此,当接收到的待加密数据与本申请实施例一中发送的待加密数据完全相同时,第三位置信息与第一位置信息是完全相同的,此时根据第一位置信息与第二位置信息的对应关系即可实现对第二数据片段的排序,并保证与第一数据片段随机排序的结果完全一致。
S605,基于第二不可逆加密算法对第二合并数据进行处理得到第二校验码,并判断第二校验码与第一校验码是否相同。
S606,若第二校验码与第一校验码相同,判定待加密数据校验完整。
当接收到的待加密数据与本申请实施例一中发送的待加密数据不完全相同时,即存在网络故障或者不法分子攻击等原因而出错,直接导致待加密数据的数据内容和/或文件体积发生变化时,会导致本申请实施例中对数据片段的提取、合并加密解密过程产生变化,由于提取、合并加密解密根据待加密数据的具体数据类型和内容不同而具有极强的随机性,会导致解密出的第一位置信息和第二位置信息出现误差,同时得到的第三位置信息也会存在错误,从而使得本申请实施例S604中第三位置信息难以和第一位置信息对应起来,使得无法正常得到第二合并数据,从而使得后续的加油过程无法正常进行,即使退一步第三位置信息和第一位置信息对应起来,由于后续的第二不可逆加密算法选取时已经随着第二数据片段的变化而变化,且第二合并数据的数据内容也随着待加密数据的变化而变化,从而使得得到的第二校验码必然与第一校验码存在差异,因此本申请实施例中只有接收到的待加密数据与本申请实施例一中发送的待加密数据完全一致时,才会得到最终的第二校验码与第一校验码的结果,从而实现了对数据传输的安全完整校验。
对应于上文实施例的数据传输方法,图7示出了本申请实施例七提供的数据传输装置的结构框图,为了便于说明,仅示出了与本申请实施例相关的部分。图7示例的数据传输装置可以是前述实施例一提供的数据传输方法的执行主体。
参照图7,该数据传输装置包括:
第一片段提取模块71,用于基于待加密数据的文件类型以及文件体积,对所述待加密数据进行数据片段提取,得到对应的多个第一数据片段以及每个所述第一数据片段在所述待加密数据中的第一位置信息。
片段排序模块72,用于对所述第一数据片段进行随机排序合并,得到对应的第一合并数据以及每个所述第一数据片段在所述第一合并数据中的第二位置信息。
第一算法匹配模块73,用于查找所述第一合并数据的文件体积对应的第一不可逆加密算法以及第一可逆加密解密算法。
双重加密模块74,用于基于所述第一不可逆加密算法对所述第一合并数据进行处理得到第一校验码,并基于所述第一可逆加密解密算法对所述第一位置信息及所述第二位置信息进行处理,得到加密信息。
数据传输模块75,用于将所述第一校验码和所述加密信息,与所述待加密数据一同传输至接收方,其中,所述第一校验码和所述加密信息用于所述接收方对所述待加密数据进行数据完整性校验。
进一步地,第一片段提取模块71,包括:
若所述待加密数据的文件类型为图像且文件体积小于预设体积阈值,提取所述待加密数据的图像特征点,并基于所述图像特征点中的边缘特征点进行连线,绘制对应的多边形。
对所述多边形内的图像内容进行分割,得到与所述第一数据片段一一对应的多个图像区域,并获取每个所述图像区域在所述待加密数据中的所述第一位置信息。
进一步地,第一片段提取模块71,包括:
若所述待加密数据的文件类型为文本且文件体积小于预设体积阈值,对所述待加密数据进行关键字符查找,筛选出所述文本中与所述第一数据片段一一对应的多个关键字符,并获取每个关键字符在所述待加密数据中的所述第一位置信息。
进一步地,第一片段提取模块71,包括:
若所述待加密数据的文件类型为音频且文件体积小于预设体积阈值,对所述待加密数据进行语音识别,判断所述待加密数据是否为语音数据。
若所述待加密数据为语音数据,对语音识别得到的文字内容进行关键词查找,得到所述待加密数据对应的关键词。
从所述待加密数据提取出与所述关键词一一对应的所述第一数据片段,并获取每个所述第一数据片段在所述待加密数据中的所述第一位置信息。
进一步地,第一片段提取模块71,包括:
若所述待加密数据为任意文件类型,且文件体积大于或等于预设体积阈值,以预设数据间隔对所述待加密数据进行数据段提取,得到多个所述第一数据片段以及每个所述第一数据片段在所述待加密数据中的所述第一位置信息。
本申请实施例提供的数据传输装置中各模块实现各自功能的过程,具体可参考前述图1所示实施例一的描述,此处不再赘述。
对应于上文实施例的数据校验方法,图8示出了本申请实施例提供的数据校验装置的结构框图,为了便于说明,仅示出了与本申请实施例相关的部分。图8示例的数据校验装置可以是前述实施例六提供的数据校验方法的执行主体。
数据获取模块81,用于获取如本申请实施例七所述数据传输装置传输的所述待加密数据、所述第一校验码以及所述加密信息。
第二片段提取模块82,用于基于所述待加密数据的文件类型以及文件体积,对所述待加密数据进行数据片段提取,得到对应的多个第二数据片段以及每个所述第而数据片段在所述待加密数据中的第三位置信息。
第二算法匹配模块83,用于查找所述第二数据片段的文件体积和对应的第二不可逆加密算法以及第二可逆加密解密算法,并基于所述第二可逆加密解密算法对所述加密信息进行处理,得到所述第一位置信息和所述第二位置信息。
片段合并模块84,用于基于所述第三位置信息、所述第一位置信息和所述第二位置信息,对所述第二数据片段进行排序合并,得到对应的第二合并数据。
数据校验模块85,用于基于所述第二不可逆加密算法对所述第二合并数据进行处理得到第二校验码,并判断所述第二校验码与所述第一校验码是否相同。
判定模块86,用于若所述第二校验码与所述第一校验码相同,判定所述待加密数据校验完整。
本申请实施例提供的数据校验装置中各模块实现各自功能的过程,具体可参考前述图6所示实施例六的描述,此处不再赘述。
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。
还应理解的是,虽然术语“第一”、“第二”等在文本中在一些本申请实施例中用来描述各种元素,但是这些元素不应该受到这些术语的限制。这些术语只是用来将一个元素与另一元素区分开。例如,第一表格可以被命名为第二表格,并且类似地,第二表格可以被命名为第一表格,而不背离各种所描述的实施例的范围。第一表格和第二表格都是表格,但是它们不是同一表格。
图9是本申请一实施例提供的终端设备的示意图。如图9所示,该实施例的终端设备9包括:处理器90、存储器91,所述存储器91中存储有可在所述处理器90上运行的计算机可读指令92。所述处理器90执行所述计算机可读指令92时实现上述各个数据传输方法实施例中的步骤,例如图1所示的步骤101至105。或者,所述处理器90执行所述计算机可读指令92时实现上述各装置实施例中各模块/单元的功能,例如图7所示模块71至75的功能。
所述终端设备9可以是桌上型计算机、笔记本、掌上电脑及云端服务器等计算设备。所述终端设备可包括,但不仅限于,处理器90、存储器91。本领域技术人员可以理解,图9仅仅是终端设备9的示例,并不构成对终端设备9的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如所述终端设备还可以包括输入发送设备、网络接入设备、总线等。
所称处理器90可以是中央处理单元(Central
Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application
Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
所述存储器91可以是所述终端设备9的内部存储单元,例如终端设备9的硬盘或内存。所述存储器91也可以是所述终端设备9的外部存储设备,例如所述终端设备9上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,所述存储器91还可以既包括所述终端设备9的内部存储单元也包括外部存储设备。所述存储器91用于存储所述计算机可读指令以及所述终端设备所需的其他程序和数据。所述存储器91还可以用于暂时地存储已经发送或者将要发送的数据。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的模块/单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实现上述实施例方法中的全部或部分流程,也可以通过计算机可读指令来指令相关的硬件来完成,所述的计算机可读指令可存储于一计算机可读存储介质中,该计算机可读指令在被处理器执行时,可实现上述各个方法实施例的步骤。其中,所述计算机可读指令包括计算机可读指令代码,所述计算机可读指令代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质可以包括:能够携带所述计算机可读指令代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access
Memory,RAM)、电载波信号、电信信号以及软件分发介质等。
以上所述实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使对应技术方案的本质脱离本申请各实施例技术方案的精神和范围,均应包含在本申请的保护范围之内。
Claims (20)
- 一种数据传输方法,其特征在于,包括:基于待加密数据的文件类型以及文件体积,对所述待加密数据进行数据片段提取,得到对应的多个第一数据片段以及每个所述第一数据片段在所述待加密数据中的第一位置信息;对所述第一数据片段进行随机排序合并,得到对应的第一合并数据以及每个所述第一数据片段在所述第一合并数据中的第二位置信息;查找所述第一合并数据的文件体积对应的第一不可逆加密算法以及第一可逆加密解密算法;基于所述第一不可逆加密算法对所述第一合并数据进行处理得到第一校验码,并基于所述第一可逆加密解密算法对所述第一位置信息及所述第二位置信息进行处理,得到加密信息;将所述第一校验码和所述加密信息,与所述待加密数据一同传输至接收方,其中,所述第一校验码和所述加密信息用于所述接收方对所述待加密数据进行数据完整性校验。
- 如权利要求1所述的数据传输方法,其特征在于,所述基于待加密数据的文件类型以及文件体积,对所述待加密数据进行数据片段提取,得到对应的多个第一数据片段以及每个所述第一数据片段在所述待加密数据中的第一位置信息,包括:若所述待加密数据的文件类型为图像且文件体积小于预设体积阈值,提取所述待加密数据的图像特征点,并基于所述图像特征点中的边缘特征点进行连线,绘制对应的多边形;对所述多边形内的图像内容进行分割,得到与所述第一数据片段一一对应的多个图像区域,并获取每个所述图像区域在所述待加密数据中的所述第一位置信息。
- 如权利要求1所述的数据传输方法,其特征在于,所述基于待加密数据的文件类型以及文件体积,对所述待加密数据进行数据片段提取,得到对应的多个第一数据片段以及每个所述第一数据片段在所述待加密数据中的第一位置信息,还包括:若所述待加密数据的文件类型为文本且文件体积小于预设体积阈值,对所述待加密数据进行关键字符查找,筛选出所述文本中与所述第一数据片段一一对应的多个关键字符,并获取每个关键字符在所述待加密数据中的所述第一位置信息。
- 如权利要求1所述的数据传输方法,其特征在于,所述基于待加密数据的文件类型以及文件体积,对所述待加密数据进行数据片段提取,得到对应的多个第一数据片段以及每个所述第一数据片段在所述待加密数据中的第一位置信息,还包括:若所述待加密数据的文件类型为音频且文件体积小于预设体积阈值,对所述待加密数据进行语音识别,判断所述待加密数据是否为语音数据;若所述待加密数据为语音数据,对语音识别得到的文字内容进行关键词查找,得到所述待加密数据对应的关键词;从所述待加密数据提取出与所述关键词一一对应的所述第一数据片段,并获取每个所述第一数据片段在所述待加密数据中的所述第一位置信息。
- 如权利要求1至4任意一项所述的数据传输方法,其特征在于,所述基于待加密数据的文件类型以及文件体积,对所述待加密数据进行数据片段提取,得到对应的多个第一数据片段以及每个所述第一数据片段在所述待加密数据中的第一位置信息,还包括:若所述待加密数据为任意文件类型,且文件体积大于或等于预设体积阈值,以预设数据间隔对所述待加密数据进行数据段提取,得到多个所述第一数据片段以及每个所述第一数据片段在所述待加密数据中的所述第一位置信息。
- 一种数据校验方法,其特征在于,包括:获取如权利要求1所述数据传输方法传输的所述待加密数据、所述第一校验码以及所述加密信息;基于所述待加密数据的文件类型以及文件体积,对所述待加密数据进行数据片段提取,得到对应的多个第二数据片段以及每个所述第而数据片段在所述待加密数据中的第三位置信息;查找所述第二数据片段的文件体积和对应的第二不可逆加密算法以及第二可逆加密解密算法,并基于所述第二可逆加密解密算法对所述加密信息进行处理,得到所述第一位置信息和所述第二位置信息;基于所述第三位置信息、所述第一位置信息和所述第二位置信息,对所述第二数据片段进行排序合并,得到对应的第二合并数据;基于所述第二不可逆加密算法对所述第二合并数据进行处理得到第二校验码,并判断所述第二校验码与所述第一校验码是否相同;若所述第二校验码与所述第一校验码相同,判定所述待加密数据校验完整。
- 一种数据传输装置,其特征在于,包括:第一片段提取模块,用于基于待加密数据的文件类型以及文件体积,对所述待加密数据进行数据片段提取,得到对应的多个第一数据片段以及每个所述第一数据片段在所述待加密数据中的第一位置信息;片段排序模块,用于对所述第一数据片段进行随机排序合并,得到对应的第一合并数据以及每个所述第一数据片段在所述第一合并数据中的第二位置信息;第一算法匹配模块,用于查找所述第一合并数据的文件体积对应的第一不可逆加密算法以及第一可逆加密解密算法;双重加密模块,用于基于所述第一不可逆加密算法对所述第一合并数据进行处理得到第一校验码,并基于所述第一可逆加密解密算法对所述第一位置信息及所述第二位置信息进行处理,得到加密信息;数据传输模块,用于将所述第一校验码和所述加密信息,与所述待加密数据一同传输至接收方,其中,所述第一校验码和所述加密信息用于所述接收方对所述待加密数据进行数据完整性校验。
- 如权利要求7所述的数据传输装置,其特征在于,所述第一片段提取模块,包括:若所述待加密数据的文件类型为图像且文件体积小于预设体积阈值,提取所述待加密数据的图像特征点,并基于所述图像特征点中的边缘特征点进行连线,绘制对应的多边形。对所述多边形内的图像内容进行分割,得到与所述第一数据片段一一对应的多个图像区域,并获取每个所述图像区域在所述待加密数据中的所述第一位置信息。
- 如权利要求7所述的数据传输装置,其特征在于,所述第一片段提取模块,还包括:若所述待加密数据的文件类型为文本且文件体积小于预设体积阈值,对所述待加密数据进行关键字符查找,筛选出所述文本中与所述第一数据片段一一对应的多个关键字符,并获取每个关键字符在所述待加密数据中的所述第一位置信息。
- 如权利要求7所述的数据传输装置,其特征在于,所述第一片段提取模块,还包括:若所述待加密数据的文件类型为音频且文件体积小于预设体积阈值,对所述待加密数据进行语音识别,判断所述待加密数据是否为语音数据。若所述待加密数据为语音数据,对语音识别得到的文字内容进行关键词查找,得到所述待加密数据对应的关键词。从所述待加密数据提取出与所述关键词一一对应的所述第一数据片段,并获取每个所述第一数据片段在所述待加密数据中的所述第一位置信息。
- 如权利要求7所述的数据传输装置,其特征在于,所述第一片段提取模块,还包括:若所述待加密数据为任意文件类型,且文件体积大于或等于预设体积阈值,以预设数据间隔对所述待加密数据进行数据段提取,得到多个所述第一数据片段以及每个所述第一数据片段在所述待加密数据中的所述第一位置信息。
- 一种数据校验装置,其特征在于,包括:数据获取模块,用于获取如权利要求7所述数据传输装置传输的所述待加密数据、所述第一校验码以及所述加密信息;第二片段提取模块,用于基于所述待加密数据的文件类型以及文件体积,对所述待加密数据进行数据片段提取,得到对应的多个第二数据片段以及每个所述第而数据片段在所述待加密数据中的第三位置信息;第二算法匹配模块,用于查找所述第二数据片段的文件体积和对应的第二不可逆加密算法以及第二可逆加密解密算法,并基于所述第二可逆加密解密算法对所述加密信息进行处理,得到所述第一位置信息和所述第二位置信息;片段合并模块,用于基于所述第三位置信息、所述第一位置信息和所述第二位置信息,对所述第二数据片段进行排序合并,得到对应的第二合并数据;数据校验模块,用于基于所述第二不可逆加密算法对所述第二合并数据进行处理得到第二校验码,并判断所述第二校验码与所述第一校验码是否相同;判定模块,用于若所述第二校验码与所述第一校验码相同,判定所述待加密数据校验完整。
- 一种终端设备,其特征在于,所述终端设备包括存储器、处理器,所述存储器上存储有可在所述处理器上运行的计算机可读指令,所述处理器执行所述计算机可读指令时实现如下步骤:基于待加密数据的文件类型以及文件体积,对所述待加密数据进行数据片段提取,得到对应的多个第一数据片段以及每个所述第一数据片段在所述待加密数据中的第一位置信息;对所述第一数据片段进行随机排序合并,得到对应的第一合并数据以及每个所述第一数据片段在所述第一合并数据中的第二位置信息;查找所述第一合并数据的文件体积对应的第一不可逆加密算法以及第一可逆加密解密算法;基于所述第一不可逆加密算法对所述第一合并数据进行处理得到第一校验码,并基于所述第一可逆加密解密算法对所述第一位置信息及所述第二位置信息进行处理,得到加密信息;将所述第一校验码和所述加密信息,与所述待加密数据一同传输至接收方,其中,所述第一校验码和所述加密信息用于所述接收方对所述待加密数据进行数据完整性校验。
- 如权利要求13所述的终端设备,其特征在于,所述基于待加密数据的文件类型以及文件体积,对所述待加密数据进行数据片段提取,得到对应的多个第一数据片段以及每个所述第一数据片段在所述待加密数据中的第一位置信息,包括:若所述待加密数据的文件类型为图像且文件体积小于预设体积阈值,提取所述待加密数据的图像特征点,并基于所述图像特征点中的边缘特征点进行连线,绘制对应的多边形;对所述多边形内的图像内容进行分割,得到与所述第一数据片段一一对应的多个图像区域,并获取每个所述图像区域在所述待加密数据中的所述第一位置信息。
- 如权利要求13所述的终端设备,其特征在于,所述基于待加密数据的文件类型以及文件体积,对所述待加密数据进行数据片段提取,得到对应的多个第一数据片段以及每个所述第一数据片段在所述待加密数据中的第一位置信息,还包括:若所述待加密数据的文件类型为文本且文件体积小于预设体积阈值,对所述待加密数据进行关键字符查找,筛选出所述文本中与所述第一数据片段一一对应的多个关键字符,并获取每个关键字符在所述待加密数据中的所述第一位置信息。
- 如权利要求13所述的终端设备,其特征在于,所述基于待加密数据的文件类型以及文件体积,对所述待加密数据进行数据片段提取,得到对应的多个第一数据片段以及每个所述第一数据片段在所述待加密数据中的第一位置信息,还包括:若所述待加密数据的文件类型为音频且文件体积小于预设体积阈值,对所述待加密数据进行语音识别,判断所述待加密数据是否为语音数据;若所述待加密数据为语音数据,对语音识别得到的文字内容进行关键词查找,得到所述待加密数据对应的关键词;从所述待加密数据提取出与所述关键词一一对应的所述第一数据片段,并获取每个所述第一数据片段在所述待加密数据中的所述第一位置信息。
- 如权利要求13至16任意一项所述的终端设备,其特征在于,所述基于待加密数据的文件类型以及文件体积,对所述待加密数据进行数据片段提取,得到对应的多个第一数据片段以及每个所述第一数据片段在所述待加密数据中的第一位置信息,还包括:若所述待加密数据为任意文件类型,且文件体积大于或等于预设体积阈值,以预设数据间隔对所述待加密数据进行数据段提取,得到多个所述第一数据片段以及每个所述第一数据片段在所述待加密数据中的所述第一位置信息。
- 一种终端设备,其特征在于,所述终端设备包括存储器、处理器,所述存储器上存储有可在所述处理器上运行的计算机可读指令,所述处理器执行所述计算机可读指令时实现如下步骤:获取如权利要求13所述终端设备传输的所述待加密数据、所述第一校验码以及所述加密信息;基于所述待加密数据的文件类型以及文件体积,对所述待加密数据进行数据片段提取,得到对应的多个第二数据片段以及每个所述第而数据片段在所述待加密数据中的第三位置信息;查找所述第二数据片段的文件体积和对应的第二不可逆加密算法以及第二可逆加密解密算法,并基于所述第二可逆加密解密算法对所述加密信息进行处理,得到所述第一位置信息和所述第二位置信息;基于所述第三位置信息、所述第一位置信息和所述第二位置信息,对所述第二数据片段进行排序合并,得到对应的第二合并数据;基于所述第二不可逆加密算法对所述第二合并数据进行处理得到第二校验码,并判断所述第二校验码与所述第一校验码是否相同;若所述第二校验码与所述第一校验码相同,判定所述待加密数据校验完整。
- 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机可读指令,其特征在于,所述计算机可读指令被至少一个处理器执行时实现如下步骤:基于待加密数据的文件类型以及文件体积,对所述待加密数据进行数据片段提取,得到对应的多个第一数据片段以及每个所述第一数据片段在所述待加密数据中的第一位置信息;对所述第一数据片段进行随机排序合并,得到对应的第一合并数据以及每个所述第一数据片段在所述第一合并数据中的第二位置信息;查找所述第一合并数据的文件体积对应的第一不可逆加密算法以及第一可逆加密解密算法;基于所述第一不可逆加密算法对所述第一合并数据进行处理得到第一校验码,并基于所述第一可逆加密解密算法对所述第一位置信息及所述第二位置信息进行处理,得到加密信息;将所述第一校验码和所述加密信息,与所述待加密数据一同传输至接收方,其中,所述第一校验码和所述加密信息用于所述接收方对所述待加密数据进行数据完整性校验。
- 如权利要求19所述的计算机可读存储介质,其特征在于,所述基于待加密数据的文件类型以及文件体积,对所述待加密数据进行数据片段提取,得到对应的多个第一数据片段以及每个所述第一数据片段在所述待加密数据中的第一位置信息,包括:若所述待加密数据的文件类型为图像且文件体积小于预设体积阈值,提取所述待加密数据的图像特征点,并基于所述图像特征点中的边缘特征点进行连线,绘制对应的多边形;对所述多边形内的图像内容进行分割,得到与所述第一数据片段一一对应的多个图像区域,并获取每个所述图像区域在所述待加密数据中的所述第一位置信息。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910111103.8 | 2019-02-12 | ||
| CN201910111103.8A CN109977684B (zh) | 2019-02-12 | 2019-02-12 | 一种数据传输方法、装置及终端设备 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2020164211A1 true WO2020164211A1 (zh) | 2020-08-20 |
Family
ID=67076930
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2019/091503 Ceased WO2020164211A1 (zh) | 2019-02-12 | 2019-06-17 | 一种数据传输方法、装置、终端设备及介质 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN109977684B (zh) |
| WO (1) | WO2020164211A1 (zh) |
Cited By (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112039898A (zh) * | 2020-09-01 | 2020-12-04 | 广州小鹏汽车科技有限公司 | 加密通信方法、加密通信装置和车辆 |
| CN114448605A (zh) * | 2021-12-23 | 2022-05-06 | 上海扩博智能技术有限公司 | 加密密文校验方法、系统、设备及计算机可读存储介质 |
| CN115348099A (zh) * | 2022-08-18 | 2022-11-15 | 中国银行股份有限公司 | 一种文件加密方法、加密文件查看方法及装置 |
| CN115514494A (zh) * | 2022-09-16 | 2022-12-23 | 长城汽车股份有限公司 | 一种图像的传输方法、装置、电子设备及可读存储介质 |
| CN115758397A (zh) * | 2022-10-21 | 2023-03-07 | 北京计算机技术及应用研究所 | 一种模块化的数据加解密系统架构 |
| CN118381662A (zh) * | 2024-06-21 | 2024-07-23 | 浙江省白马湖实验室有限公司 | 一种介于无人推耙机硬件之间的通信方法及系统 |
| CN118709233A (zh) * | 2024-07-01 | 2024-09-27 | 华宇蓝创科技(北京)有限公司 | 一种基于sm4算法的合同数据保护方法及装置 |
| CN118740422A (zh) * | 2024-05-30 | 2024-10-01 | 镁佳(北京)科技有限公司 | 一种网址加密方法、装置、计算机设备、介质及程序产品 |
| CN119788300A (zh) * | 2023-10-08 | 2025-04-08 | 北京百度网讯科技有限公司 | 数据加密方法、装置、电子设备及存储介质 |
Families Citing this family (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112291268B (zh) * | 2020-11-26 | 2023-05-26 | 度小满科技(北京)有限公司 | 信息的传输方法、装置、设备以及存储介质 |
| CN113434561A (zh) * | 2021-06-24 | 2021-09-24 | 北京金山云网络技术有限公司 | 直播数据校验方法、系统、电子设备及存储介质 |
| CN113689321B (zh) * | 2021-08-23 | 2023-12-22 | 深圳普汇智为科技有限公司 | 基于立体投影加密的图像信息传输方法及装置 |
| CN113721956B (zh) * | 2021-08-26 | 2024-02-20 | 广州擎天实业有限公司 | 一种励磁系统控制程序的更新方法 |
| CN114553552B (zh) * | 2022-02-24 | 2024-08-13 | 北京小米移动软件有限公司 | 数据加密方法和装置、数据解密方法和装置及存储介质 |
| CN115220972A (zh) * | 2022-06-07 | 2022-10-21 | 中科驭数(北京)科技有限公司 | 设备故障检测方法、装置、设备及计算机可读存储介质 |
| CN115081017A (zh) * | 2022-06-16 | 2022-09-20 | 平安壹钱包电子商务有限公司 | 一种大字段数据调用方法和系统 |
| CN115499215B (zh) * | 2022-09-16 | 2025-06-10 | 中国电信股份有限公司 | 信息加密方法及装置、信息解密方法及装置 |
| CN118555150B (zh) * | 2024-07-30 | 2024-10-11 | 北京唯得科技有限公司 | 一种厂测脚本的安全传输方法、系统、设备及介质 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20060259781A1 (en) * | 2005-04-29 | 2006-11-16 | Sony Corporation/Sony Electronics Inc. | Method and apparatus for detecting the falsification of metadata |
| CN102402670A (zh) * | 2011-08-03 | 2012-04-04 | 广东欧珀移动通信有限公司 | 一种文件加解密方法 |
| CN103488952A (zh) * | 2013-09-24 | 2014-01-01 | 华为技术有限公司 | 文件完整性验证方法及文件处理器 |
| CN104091129A (zh) * | 2014-06-26 | 2014-10-08 | 腾讯科技(深圳)有限公司 | 一种数据处理方法及装置 |
| CN109145639A (zh) * | 2018-07-27 | 2019-01-04 | 北京北信源信息安全技术有限公司 | 文件加密方法、解密方法及装置 |
Family Cites Families (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101594227B (zh) * | 2008-05-30 | 2012-06-27 | 华为技术有限公司 | 数据加密和解密的方法、装置及通信系统 |
| CN103885723B (zh) * | 2014-03-04 | 2017-06-06 | 数安时代科技股份有限公司 | 数字证书存储方法、系统以及数字证书读取方法和系统 |
| CN105471575B (zh) * | 2014-09-05 | 2020-11-03 | 创新先进技术有限公司 | 一种信息加密、解密方法及装置 |
| CN104636444B (zh) * | 2015-01-13 | 2018-12-18 | 大唐移动通信设备有限公司 | 一种数据库的加解密方法及装置 |
| WO2016187529A1 (en) * | 2015-05-20 | 2016-11-24 | Paul Rad | Systems and methods for secure file transmission and cloud storage |
| CN107122634B (zh) * | 2017-04-26 | 2020-03-17 | 北京梆梆安全科技有限公司 | 软件安装包的加固保护方法及装置 |
-
2019
- 2019-02-12 CN CN201910111103.8A patent/CN109977684B/zh active Active
- 2019-06-17 WO PCT/CN2019/091503 patent/WO2020164211A1/zh not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20060259781A1 (en) * | 2005-04-29 | 2006-11-16 | Sony Corporation/Sony Electronics Inc. | Method and apparatus for detecting the falsification of metadata |
| CN102402670A (zh) * | 2011-08-03 | 2012-04-04 | 广东欧珀移动通信有限公司 | 一种文件加解密方法 |
| CN103488952A (zh) * | 2013-09-24 | 2014-01-01 | 华为技术有限公司 | 文件完整性验证方法及文件处理器 |
| CN104091129A (zh) * | 2014-06-26 | 2014-10-08 | 腾讯科技(深圳)有限公司 | 一种数据处理方法及装置 |
| CN109145639A (zh) * | 2018-07-27 | 2019-01-04 | 北京北信源信息安全技术有限公司 | 文件加密方法、解密方法及装置 |
Cited By (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112039898A (zh) * | 2020-09-01 | 2020-12-04 | 广州小鹏汽车科技有限公司 | 加密通信方法、加密通信装置和车辆 |
| CN114448605A (zh) * | 2021-12-23 | 2022-05-06 | 上海扩博智能技术有限公司 | 加密密文校验方法、系统、设备及计算机可读存储介质 |
| CN115348099A (zh) * | 2022-08-18 | 2022-11-15 | 中国银行股份有限公司 | 一种文件加密方法、加密文件查看方法及装置 |
| CN115514494A (zh) * | 2022-09-16 | 2022-12-23 | 长城汽车股份有限公司 | 一种图像的传输方法、装置、电子设备及可读存储介质 |
| CN115758397A (zh) * | 2022-10-21 | 2023-03-07 | 北京计算机技术及应用研究所 | 一种模块化的数据加解密系统架构 |
| CN119788300A (zh) * | 2023-10-08 | 2025-04-08 | 北京百度网讯科技有限公司 | 数据加密方法、装置、电子设备及存储介质 |
| CN118740422A (zh) * | 2024-05-30 | 2024-10-01 | 镁佳(北京)科技有限公司 | 一种网址加密方法、装置、计算机设备、介质及程序产品 |
| CN118381662A (zh) * | 2024-06-21 | 2024-07-23 | 浙江省白马湖实验室有限公司 | 一种介于无人推耙机硬件之间的通信方法及系统 |
| CN118709233A (zh) * | 2024-07-01 | 2024-09-27 | 华宇蓝创科技(北京)有限公司 | 一种基于sm4算法的合同数据保护方法及装置 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN109977684B (zh) | 2024-02-20 |
| CN109977684A (zh) | 2019-07-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2020164211A1 (zh) | 一种数据传输方法、装置、终端设备及介质 | |
| CN111344706B (zh) | 管理区块链上的交易的方法和系统 | |
| CN112163412B (zh) | 数据校验方法、装置、电子设备及存储介质 | |
| CN109635572B (zh) | 一种基于区块链的合约签订方法、装置及终端设备 | |
| CN108881230B (zh) | 一种政务大数据的安全传输方法及装置 | |
| US11258771B2 (en) | Systems and methods for sending user data from a trusted party to a third party using a distributed registry | |
| CN112016110A (zh) | 用于存储数据的方法、装置、设备以及存储介质 | |
| US12126711B2 (en) | Method and device for encryption of video stream, communication equipment, and storage medium | |
| CN110505228B (zh) | 基于边缘云架构的大数据处理方法、系统、介质及装置 | |
| CN116055067A (zh) | 一种弱口令检测的方法、装置、电子设备及介质 | |
| CN112053159A (zh) | 交易数据验证方法、装置、风险控制服务器及业务服务器 | |
| CN110381114B (zh) | 接口请求参数的处理方法、装置、终端设备及介质 | |
| US9647846B1 (en) | Systems and methods for verifying the authenticity of graphical images | |
| CN111817859A (zh) | 基于零知识证明的数据共享方法、装置、设备及存储介质 | |
| CN114239072B (zh) | 区块链节点管理方法及区块链网络 | |
| CN110020040A (zh) | 查询数据的方法、装置和系统 | |
| CN114239028B (zh) | 一种数据处理方法、装置、计算机设备及存储介质 | |
| Moreaux et al. | Blockchain assisted near-duplicated content detection | |
| KR20200064623A (ko) | 공개 데이터셋의 데이터 무결성 보장을 위한 블록체인 솔루션 제공 시스템, 이의 처리 방법 | |
| CN111611417B (zh) | 图像去重方法、装置、终端设备及存储介质 | |
| CN115001768A (zh) | 基于区块链的数据交互方法、装置、设备及存储介质 | |
| CN116843943B (zh) | 一种设备识别方法、系统、设备及介质 | |
| CN115510053B (zh) | 一种数据指纹的嵌入与提取方法和系统 | |
| US20250233750A1 (en) | Data asset identifier generation system | |
| CN113657451A (zh) | 数据对象的聚类方法、装置和服务器 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 19915364 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 04.10.2021) |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 19915364 Country of ref document: EP Kind code of ref document: A1 |