CN1758587B - Data processing method - Google Patents

Data processing method Download PDF

Info

Publication number
CN1758587B
CN1758587B CN 200510098582 CN200510098582A CN1758587B CN 1758587 B CN1758587 B CN 1758587B CN 200510098582 CN200510098582 CN 200510098582 CN 200510098582 A CN200510098582 A CN 200510098582A CN 1758587 B CN1758587 B CN 1758587B
Authority
CN
China
Prior art keywords
data
compression
data blocks
processing method
blocks
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.)
Active
Application number
CN 200510098582
Other languages
Chinese (zh)
Other versions
CN1758587A (en
Inventor
方鼎钰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Acer Inc
Original Assignee
Acer Inc
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Acer Inc filed Critical Acer Inc
Priority to CN 200510098582 priority Critical patent/CN1758587B/en
Publication of CN1758587A publication Critical patent/CN1758587A/en
Application granted granted Critical
Publication of CN1758587B publication Critical patent/CN1758587B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

A method for processing data before a compressed data is transmitted at sending end includes dividing said compressed data to be two data blocks and adding an index column in said data blocks, enciphering data block containing a compression parameter, enciphering the other data blocks according to a preset enciphering grade and then executing transmission action at sending end.

Description

Data processing method
Technical field:
The present invention is a kind of data processing method, particularly about the compression of data, the processing method of cutting apart and encrypting.
Background technology:
Seeing also Fig. 1, is to show that the data of prior art is in the process chart of transmitting terminal.This flow process comprises the following step:
Step S11 a: firsthand information is provided.
Step S12: utilize compression algorithm compression firsthand information, obtain the compression data of an integral body and add the compression parameters information in compression data.
Step S13: the compression data of integral body is encrypted by encrypting algorithm.
Again, seeing also Fig. 2, is to show that the data of prior art is in the process chart of receiving terminal.This flow process comprises the following step:
Step S21: the data that receives a compression and encryption by the networking.
Step S22:, obtain the compression data of an integral body and include the compression parameters information in compression data according to encrypting after algorithm is decrypted the data that is received.
Step S23: read the compression parameters information and utilize compression algorithm to decompress at compression data.
Among above-mentioned Fig. 1 and Fig. 2, data between transmitting terminal and the receiving terminal is to see through the networking to transmit, the general algorithm of encrypting has RC4, MD5 or RSA etc., and employed compression algorithm has the function of the integrality of differentiating compression data, as zip and rar compression algorithm, when decompressing, differentiate the integrality of compression data, when integrality is not enough, warning message is provided, and deletes the compression data that is received in the imperfect back of the data of informing.
Yet in the prior art, if data needs encipherment protection, data will be carried out encryption all.And, because encryption acts needs a large amount of computings, so when the user need be on portable communication device encrypts data, a large amount of computings was very big burden to portable communication device.
Therefore, the inventor inquires into based on many practical experience and special topic, then proposes a kind of data processing method with implementation and foundation as above-mentioned expectation in the present invention.
Summary of the invention:
Be the compression about data, the processing method of cutting apart and encrypting.
Edge is, in order to achieve the above object, according to data processing method of the present invention, is used for transmitting terminal before transmission one compression data, carries out one and handles action.The method comprise at least step as after, at first, cut apart above-mentioned compression data and be at least two data blocks, and increase by index shelves in those data blocks.Continue, carry out an encryption acts at the data blocks that comprises a compression parameters information.In addition, according to a default secret grade, the wherein some blocks of other data blocks random chooses are carried out its required encryption acts, the high more multi-tiling more of then selecting of default secret grade again; Otherwise then deny that for example default secret grade is minimum, the then neither encryption of other blocks.After waiting to finish above-mentioned processing action, transmitting terminal is carried out its transmission action then.
For reaching another above-mentioned purpose,, be used for receiving terminal and carry out a processing action according to data processing method of the present invention again.The method comprise at least step as after, at first, receive at least two data blocks after, the data blocks of having encrypted is carried out a decryption acts.Continue, the index shelves according to each data blocks sort those data blocks.Simultaneously, in become a complete compression data in conjunction with those data blocks after, read a compression parameters information of compression data.In addition, again according to the compression parameters information, compression data is carried out a decompression action by a compression algorithm.
From the above, because of the operand that can reduce encryption according to data processing method of the present invention can have simultaneously the effect of encryption again, be applicable on the portable communication device.
Description of drawings:
Fig. 1 shows that the data of prior art is in the process chart of transmitting terminal;
Fig. 2 shows that the data of prior art is in the process chart of receiving terminal;
Fig. 3 is an embodiment flow chart that shows data processing method of the present invention;
Fig. 4 is the schematic diagram of the data processing method of displayed map 3 described transmitting terminals;
Fig. 5 is an embodiment flow chart that shows data processing method of the present invention;
Fig. 6 is the schematic diagram of the data processing method of displayed map 5 described receiving terminals.
The figure number simple declaration:
S11~S13: steps flow chart; S21~S24: steps flow chart;
S31~S34: steps flow chart; 41: firsthand information;
42: compression data; 421: the compression parameters information;
43: data blocks; 431: the index shelves;
44 and 45: data blocks; S51~S55: steps flow chart;
61 and 62: data blocks; 621: the index shelves;
63: compression data; 631: the compression parameters information;
64: firsthand information.
Execution mode:
Now further understand and understanding for the auditor is had architectural feature of the present invention and the effect reached, sincerely help with preferred embodiment and cooperate detailed explanation, illustrate as after:
Seeing also Fig. 3, is an embodiment flow chart that shows data processing method of the present invention.The method is used for the transmitting terminal just like portable communication device, and a processing action of being carried out before the transmission compression data comprises the following step in the flow process:
Step S31: cutting apart compression data becomes at least two data blocks, and increases the index shelves in each data blocks.
Step S32: carry out encryption acts at the data blocks that includes the compression parameters information.
Step S33:, the some blocks of data blocks random choose beyond the data blocks of tool compression parameters information are carried out its required encryption acts according to default secret grade.
Step S34: after finishing the processing action, transmitting terminal is promptly carried out the transmission action, to transmit all data blocks.
In the above-mentioned steps, transmitting terminal is to see through to carry out data transmission just like wired or wireless networking approach, general encryption acts normal encryption algorithm of using on the networking has RC4, MD5 or RSA etc., being applied to the method then is must carry out encryption acts for the data blocks with compression parameters information, because the compression parameters information comprises employed compression algorithm of compression data and compression parameters etc.,, malice can't learn that this compression parameters information then has no way of destroying or reading the content that this compression data includes if picking taker; Data blocks as for other then can optionally carry out encryption acts with other data blocks according to the default secret grade of user.Select higher secret grade as the user, then select more data blocks and carry out encryption acts, with raising data level of encryption, otherwise secret grade is lower, then selects less data blocks and carries out encryption acts.Again, select minimum secret grade as the user, then a data blocks at tool compression parameters information carries out encryption acts.To reduce the operand that compression data is encrypted, reduce the burden of portable communication device in view of the above.And include the ordering information in the index shelves that data blocks provided so that data blocks is reassembled into a complete compression data, simultaneously, but employed compression algorithm must be the compression algorithm of verifying data integrality, as zip and rar compression algorithm, so that receiving terminal can carry out the differentiation of compression data integrality.
Seeing also Fig. 4, is the schematic diagram of going up the data processing method of displayed map 3 described transmitting terminals.Produce a firsthand information 41 in transmitting terminal, but and produce compression datas 42 via the compression algorithm of verifying data integrality compression firsthand information 41, this compression data 42 includes compression parameters information 421 employed compression algorithm of record and compression parameters.Then, compression data 42 is divided into several data blocks 43, and adds index shelves 431 before each data blocks 43, these index shelves 431 record material blocks 43 are the ordering information in the compression data 42.Continue, the data blocks 44 that will include compression parameters information 421 by the encryption algorithm carries out encryption acts, and determines the situation that other data blocks 45 are encrypted according to default secret grade.At last, see through the networking and transmit all data blocks 44,45.
Seeing also Fig. 5, is an embodiment flow chart that shows data processing method of the present invention.The method is used for carrying out a processing action just like the receiving terminal of portable communication device, comprises the following step in the flow process:
Step S51: receiving terminal is decrypted action with the data blocks of having encrypted after receiving at least two data blocks.
Step S52: the ordering information according in the index shelves of data blocks, sort all data blocks.
Step S53: after becoming a complete compression data in conjunction with the data blocks finished of ordering, read the compression parameters information of compression data, to learn employed compression algorithm of compression data and compression parameters etc.
Step S54: according to the compression parameters information that obtains, by compression algorithm to the compression data action that decompresses.
In the above-mentioned steps, receiving terminal via just like wired or wireless networking delivering path to receive data blocks.Decryption acts then is to be decrypted according to the encryption algorithm that is provided, and the encryption algorithm of general normal use on the networking has RC4, MD5 or RSA etc.And but compression algorithm must be the compression algorithm of verifying data integrality, as zip and rar compression algorithm, when decompressing, differentiate the integrality of compression data, when integrality is not enough, warning message is provided, and carries out deletion action, the compression data that deletion is received in the imperfect back of the data of informing.
Seeing also Fig. 6, is the schematic diagram of the data processing method of displayed map 5 described receiving terminals.Receiving terminal receives all data blocks 61 on the networking, and the data blocks that encryption is arranged is decrypted action according to encrypting algorithm, with all data blocks 62 after obtaining deciphering, and arrange the order of data blocks according to the index shelves in the data blocks 62 621.Then, data blocks 62 after the ordering is combined into a complete compression data 63, but read compression parameters information 631 in the compression data 63 by the compression algorithm of verifying data integrality, when decompressing, differentiate the integrality of compression data 63, when determine be complete compression data after, the action of proceeding to decompress obtains firsthand information 64; When determine be incomplete compression data after, inform that user's compression data 63 damages and delete action.
The above, it only is preferred embodiment of the present invention, be not to be used for limiting scope of the invention process, all according to the described shape of the present patent application claim, structure, feature and principle etc. change and modify, all should be contained in the claim of the present invention.

Claims (13)

1. a data processing method is used for a transmitting terminal and handles action to carry out one before transmission one compression data, and this method comprises at least:
Cutting apart this compression data is a compression parameters data blocks and at least one common data blocks that comprises a compression parameters information, common data blocks is the data blocks beyond the compression parameters data blocks, and increases by index shelves in this compression parameters data blocks and this common data blocks;
Carry out an encryption acts at this compression parameters data blocks;
The some common data blocks of random choose are carried out the foundation of encryption acts as default secret grade, if it is high more to preset secret grade, then the common data blocks of random choose is many more, if it is low more to preset secret grade, then the common data blocks of random choose is few more;
After finishing this processing action, this transmitting terminal is carried out a transmission action, to transmit the compression data after handling.
2. data processing method according to claim 1, wherein more comprising provides a portable communication device as this transmitting terminal.
3. data processing method according to claim 1 compresses a data but wherein more comprise by the compression algorithm of a verifying data integrality, to obtain this compression data.
4. data processing method according to claim 1, wherein more comprising provides a networking with the approach as this transmission action.
5. data processing method according to claim 1, wherein more comprising provides one of each data blocks to sort information as these index shelves.
6. data processing method according to claim 1, wherein more comprising provides an employed compression algorithm of this compression data and a compression parameters as this compression parameters information.
7. data processing method according to claim 1, wherein more comprising provides one to encrypt algorithm and encrypt with as this encryption acts.
8. a data processing method is used for a receiving terminal and handles action to carry out one, and this method comprises at least:
A compression parameters data blocks that comprises a compression parameters information that receives at least one common data blocks and encrypted, common data blocks is the data blocks beyond the compression parameters data blocks, wherein, common data blocks is encrypted by random choose, if a default secret grade is high more, the quantity that then common data blocks is encrypted by random choose is many more, if default secret grade is low more, the quantity that then common data blocks is encrypted by random choose is few more;
This compression parameters data blocks of having encrypted and this common data blocks of having encrypted are carried out a decryption acts respectively;
Afterwards, the index shelves according to each data blocks sort all data blocks;
After all data blocks of finishing in conjunction with this ordering are a complete compression data, read a compression parameters information of this compression data;
According to this compression parameters information, this compression data is carried out a decompression action by a decompression algorithm.
9. data processing method according to claim 8, wherein more comprising provides a portable communication device as this receiving terminal.
10. data processing method according to claim 8, wherein more comprising provides a deciphering algorithm to be decrypted with as this decryption acts.
11. data processing method according to claim 8, wherein more comprising provides one of described each data blocks to sort information as these index shelves.
12. data processing method according to claim 8, wherein more comprising provides an employed compression algorithm of this compression data and a decompressed parameters as this compression parameters information.
13. data processing method according to claim 8, but wherein more comprise a verifying data integrality is provided the decompression algorithm as this algorithm that decompresses.
CN 200510098582 2005-09-06 2005-09-06 Data processing method Active CN1758587B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200510098582 CN1758587B (en) 2005-09-06 2005-09-06 Data processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200510098582 CN1758587B (en) 2005-09-06 2005-09-06 Data processing method

Publications (2)

Publication Number Publication Date
CN1758587A CN1758587A (en) 2006-04-12
CN1758587B true CN1758587B (en) 2011-10-26

Family

ID=36703801

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200510098582 Active CN1758587B (en) 2005-09-06 2005-09-06 Data processing method

Country Status (1)

Country Link
CN (1) CN1758587B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101286837B (en) * 2008-05-13 2012-08-29 江苏大学 Message encryption device and method oriented to storage area network
CN101859360A (en) * 2009-04-08 2010-10-13 黄金富 File security processing method, corresponding software and decryption reading device
EP2441260B1 (en) * 2009-06-09 2020-02-12 EMC Corporation Segment deduplication system with encryption segments
US8731190B2 (en) 2009-06-09 2014-05-20 Emc Corporation Segment deduplication system with encryption and compression of segments
US8762348B2 (en) 2009-06-09 2014-06-24 Emc Corporation Segment deduplication system with compression of segments
CN104734723A (en) * 2015-03-10 2015-06-24 中国人民解放军信息工程大学 Data conversion method based on compression and scrambling
CN106169020A (en) * 2016-06-27 2016-11-30 臻和(北京)科技有限公司 A kind of data processing method and tumor based on gene type are with diagnostic system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1494803A (en) * 2001-02-26 2004-05-05 �ɸ���Ӱ��ɷ����޹�˾ Encryption of compressed video stream

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1494803A (en) * 2001-02-26 2004-05-05 �ɸ���Ӱ��ɷ����޹�˾ Encryption of compressed video stream

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
萤火虫.让Total Commander 使用更方便.《电子与电脑》.2003,(第6期),132-133. *

Also Published As

Publication number Publication date
CN1758587A (en) 2006-04-12

Similar Documents

Publication Publication Date Title
CN1758587B (en) Data processing method
CN101605326B (en) Method for encrypting and decrypting mobile terminal network locking/card locking unlock code
US10341305B2 (en) Encrypted communications method and communications terminal, and computer storage medium
JP2006526227A5 (en)
CN103548300A (en) Encryption device, encryption method and encryption program
CN104954890B (en) A kind of equal forwarding method of cloud storage image crushing
CN101789862A (en) Encryption and decryption device and method based on gravity acceleration
EP1320272A3 (en) Mobile communication terminal
CN101153910B (en) Method and system for safe transmission of GPS locating information and GPS receiver
CN102804800B (en) Section with encrypted section removes repetition system
CN101083814A (en) Apparatus and method for encrypting security key in mobile communication terminal
AU2006221272A1 (en) Data processing apparatus
CN110266682A (en) Data ciphering method, device, mobile terminal and decryption method
CN102231883A (en) Teledata transmission content encrypting system and method based on RFID (radio frequency identification)-SIM (subscriber identity module) card
CN102572750A (en) Method and terminal for protecting short messages
DE60205879D1 (en) ENCRYPTION OF A COMPRESSED VIDEO DRUM
CN108737353B (en) Data encryption method and device based on data analysis system
CN103067897A (en) Asymmetrical mobile phone short message encryption method
CN106685897A (en) Safe input method, device and system
CN102332077A (en) Hand-held equipment data encryption and decryption method and hand-held equipment peripheral equipment thereof
KR101067146B1 (en) Method for processing encrypted message in portable terminal and portable terminal
Manjula et al. Enhanced secure image steganography using double encryption algorithms
CN109062096B (en) Wisdom building site system
CN106209976A (en) Information sharing method and system
CN106656496A (en) Data encryption method and apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant