CN106375177A - Message transmission method and apparatus - Google Patents

Message transmission method and apparatus Download PDF

Info

Publication number
CN106375177A
CN106375177A CN201510432625.XA CN201510432625A CN106375177A CN 106375177 A CN106375177 A CN 106375177A CN 201510432625 A CN201510432625 A CN 201510432625A CN 106375177 A CN106375177 A CN 106375177A
Authority
CN
China
Prior art keywords
dictionary
message
initial session
session dictionary
pointer
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.)
Pending
Application number
CN201510432625.XA
Other languages
Chinese (zh)
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201510432625.XA priority Critical patent/CN106375177A/en
Priority to PCT/CN2016/075238 priority patent/WO2016177050A1/en
Publication of CN106375177A publication Critical patent/CN106375177A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/06Message adaptation to terminal or network requirements
    • H04L51/066Format adaptation, e.g. format conversion or compression
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention provides a message transmission method and apparatus. The method comprises the following steps: obtaining an initial session dictionary; obtaining a to-be-coded message composed of a first message unit and/or a second message unit; according to the initial session dictionary, performing compression coding on the first message unit of the to-be-coded message, and obtaining a to-be-sent message composed of a dictionary pointer of the first message unit and/or the second message unit; and sending the to-be-sent message, and according to a preset strategy, updating the initial session dictionary, wherein updating of the initial session dictionary comprises adding the second message unit to the initial session dictionary to obtain a dictionary pointer of the second message unit. According to the invention, the problem of low security of real-time communication encryption is solved, and the real-time communication security is improved.

Description

Method for message transmission and device
Technical field
The present invention relates to the communications field, in particular to a kind of method for message transmission and device.
Background technology
Development with mobile communication business and social networkies and popularization, the use of various real-time communication service also gets more and more, Communication security is a topic that cannot avoid in such circumstances.
The AES that may use in communication is divided into two big class, and a class is symmetric cryptography, and a class is asymmetric encryption. Symmetric cryptography is encrypted also known as private key encryption, shared key;Asymmetric encryption has title public key encryption.
Symmetric encipherment algorithm, or can simply mutually be calculated using two using identical key in encryption and deciphering Key, this group key is shared between two or more members, to maintain exclusive communication contact.With public-key cryptography plus Close compare it is desirable to both sides obtain identical key be one of major defect of symmetric key encryption, advantage is to compare public key encryption A lot of soon.Common symmetric encipherment algorithm has des, 3des, aes, blowfish, idea, rc5, rc6.
Asymmetric encryption needs a pair of secret keys, and one is a private key, and another is then public-key cryptography.This two keys are Mathematically related, with the information of gained after the encryption of certain user key, could can only be deciphered with the decruption key of this user.If It is aware of one of, another one can not be calculated.If therefore disclosing one of a pair of secret keys, can't Jeopardize the secret property of another one.Compared with symmetric key encryption, advantage, without shared universal key, solves Close private key is not sent to any user.Even if public key is trapped on the net, without matched private key, also cannot Deciphering, the public key intercepted and captured does not have any use.Common public key encryption algorithm has: rsa, elgamal, ellipse Circular curve AES.
Public key cryptosyst is usually client/server, and the method for conventional transmission certificate is ssl/tls agreement, digital certificate etc., But will not make in this way for conventional network service instrument.
With regard to part real-time Communication for Power instrument, its encryption safe correlation circumstance is as follows:
1st, do not encrypt, such as msn;
2nd, most of main software uses client-server pattern, is on the one hand to use symmetric cryptography, the opposing party Face message transmission can be through server storage it is impossible to ensure private data safety, such as qq, skype;
3rd, also have by the algorithm based on public key as being encrypted using ssl/tls agreement, but these agreements have been at present Through no longer safe;
4th, from the point of view of with current development situation, implement communication and can be partial to p2p (point-to-point) pattern further, message is transmitted Without server, in the case although information will not store on the server, but many one point is cut by attacker The possibility obtaining.
There is a problem of that safety is low for real-time Communication for Power encryption in correlation technique, not yet propose effective solution at present.
Content of the invention
In order to solve above-mentioned technical problem, the invention provides a kind of method for message transmission and device.
According to an aspect of the invention, it is provided a kind of method for message transmission, comprising: obtain initial session dictionary, its In, first message unit is present in described initial session dictionary, and corresponds in one of described initial session dictionary Dictionary pointer, dictionary pointer includes: original position in described initial session dictionary for the described first message unit and described The length of first message unit;Obtain the message to be encoded being made up of described first message unit and/or the second message elements; According to described initial session dictionary, the described first message unit of described message to be encoded is compressed encoding, obtain by The dictionary pointer of described first message unit and/or the message to be sent of described second message elements composition;Treat described in transmission Send message, and described initial session dictionary updated according to preset strategy, wherein, update described initial session dictionary and include: Add described second message elements to described initial session dictionary, obtain the dictionary pointer of described second message elements.
Preferably, after obtaining described initial session dictionary, methods described also includes: receives by described first message list The dictionary pointer of unit and/or the message to be decoded of the 3rd message elements composition;According to described initial session dictionary and described The dictionary pointer of one message elements, decompresses described message to be decoded, obtains by described first message unit and/or described The decoding message that 3rd message elements are constituted;Described initial session dictionary is updated according to described preset strategy, wherein, updates Described initial session dictionary includes: adds described 3rd message elements to described initial session dictionary, obtains the described 3rd and disappear The dictionary pointer of interest statement unit.
Preferably, obtain described initial session dictionary and include the mode of one below: by point-to-point secure communication, with The recipient of described message to be sent consults or exchanges described initial session dictionary;By way of loading configuration file, Obtain described initial session dictionary;By to the random generation of conventional characters word-base code and with the connecing of described message to be sent Debit holds consultation to interweave and is combined, and obtains described initial session dictionary;According to the recipient with described message to be sent pre- If the conversation recording in the time period, generate described initial session dictionary.
Preferably, after obtaining described initial session dictionary, methods described also includes: judges described initial session dictionary Whether mate with the initial session dictionary of the recipient of described message to be sent;In the case that judged result is coupling, hold Row subsequent step;Otherwise, reacquire described initial session dictionary.
Preferably, the mode that described initial session dictionary includes one below: real-time update is updated according to described preset strategy Described initial session dictionary;Instructed according to dictionary updating, update described initial session dictionary.
According to another aspect of the present invention, additionally provide a kind of massage transmission device, comprising: the first acquisition module, use In obtain initial session dictionary, wherein, first message unit is present in described initial session dictionary, and correspond in One dictionary pointer of described initial session dictionary, dictionary pointer includes: described first message unit is in described initial session Original position in dictionary and the length of described first message unit;Second acquisition module, is disappeared by described first for obtaining Interest statement unit and/or the message to be encoded of the second message elements composition;Coding module, for according to described initial session dictionary, The described first message unit of described message to be encoded is compressed encoding, obtains by the dictionary of described first message unit Pointer and/or the message to be sent of described second message elements composition;Sending module, for sending described message to be sent; First update module, for updating described initial session dictionary according to preset strategy, wherein, updates described initial session word Allusion quotation includes: adds described second message elements to described initial session dictionary, the dictionary obtaining described second message elements refers to Pin.
Preferably, described device also includes: receiver module, for receive by described first message unit dictionary pointer and / or the 3rd message elements constitute message to be decoded;Decoder module, for according to described initial session dictionary and described The dictionary pointer of one message elements, decompresses described message to be decoded, obtains by described first message unit and/or described The decoding message that 3rd message elements are constituted;Second update module, for updating described initial meeting according to described preset strategy Words dictionary, wherein, updates described initial session dictionary and includes: add described 3rd message elements to described initial session word Allusion quotation, obtains the dictionary pointer of described 3rd message elements.
Preferably, described first acquisition module is used for one below: by point-to-point secure communication, to be sent with described The recipient of message consults or exchanges described initial session dictionary;By way of loading configuration file, obtain described first Beginning session dictionary;Assist by the random generation to conventional characters word-base code and with the recipient of described message to be sent Business interweaves and is combined, and obtains described initial session dictionary;According to the recipient with described message to be sent in preset time period Conversation recording, generate described initial session dictionary.
Preferably, described device also includes: correction verification module, for judging that described initial session dictionary to be sent disappeared with described Whether the initial session dictionary of the recipient of breath mates;Wherein, in the case that judged result is coupling, enable follow-up mould Block;Otherwise, return described first acquisition module to reacquire described initial session dictionary.
Preferably, described first update module and/or described second update module are used for one below: described in real-time update Initial session dictionary;Instructed according to dictionary updating, update described initial session dictionary.
By the present invention, using obtaining initial session dictionary, wherein, initial session dictionary includes first message unit and the The dictionary pointer of one message elements;Obtain the message to be encoded being made up of first message unit and/or the second message elements; According to initial session dictionary, the first message unit treating coded message is compressed encoding, and obtains by first message unit Dictionary pointer and/or the second message elements constitute message to be sent;Send message to be sent, and according to preset strategy Update initial session dictionary, wherein, update initial session dictionary and include: add the second message elements to initial session dictionary, Obtain the mode of the dictionary pointer of the second message elements, solve the problems, such as that real-time Communication for Power encryption has a safety low, improve The safety of real-time Communication for Power.
Brief description
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, the present invention Schematic description and description be used for explaining the present invention, do not constitute inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of method for message transmission according to embodiments of the present invention;
Fig. 2 is coding schematic diagram according to the preferred embodiment of the invention;
Fig. 3 is host-guest architecture traffic model topological structure schematic diagram according to the preferred embodiment of the invention;
Fig. 4 is discrete topology traffic model topological structure schematic diagram according to the preferred embodiment of the invention;
Fig. 5 is point-to-point structure traffic model topological structure schematic diagram according to the preferred embodiment of the invention;
Fig. 6 is communication terminal basic session flow chart according to the preferred embodiment of the invention;
Fig. 7 is asynchronous dictionary updating flow chart according to the preferred embodiment of the invention;
Fig. 8 is the structural representation of massage transmission device according to embodiments of the present invention;
Fig. 9 is the workflow diagram of communication extension instrument according to the preferred embodiment of the invention it is adaptable to Fig. 3, Fig. 5 institute Show topological structure;
Figure 10 is another workflow diagram of communication extension instrument according to the preferred embodiment of the invention it is adaptable to Fig. 4, figure Topological structure shown in 5.
Specific embodiment
To describe the present invention in detail below with reference to accompanying drawing and in conjunction with the embodiments.It should be noted that in the feelings do not conflicted Under condition, the embodiment in the application and the feature in embodiment can be mutually combined.
It should be noted that term " first " in description and claims of this specification and above-mentioned accompanying drawing, " second " Etc. being for distinguishing similar object, without for describing specific order or precedence.
The compressed encoding adopting in the embodiment of the present invention is dictionary encoding, such as lz series coding.Wherein, with related skill As a example lz77 coding in art, in compressed encoding, by using the phase having occurred in encoder or decoder Matched data information is answered to replace current data thus realizing compression function.This match information use referred to as length-apart from right A pair of data encoded, it is equal to, and " each given length character is equal to below on specific range character position Uncompressed data flow ".Encoder all preserves a number of nearest data, such as nearest 2 kilobytes (kb), The data of 4kb or 32kb.The structure preserving these data is called sliding window and because so lz77 sometimes Also referred to as sliding window compression.Encoder preserves this data search matched data, and decoder preserves this data and explains volume The matched data that code device is referred to.So encoder can use the less sliding window of a ratio decoder device, but anti-mistake Come not all right.
The dictionary encoding mode applied in embodiments of the present invention is improved to the compressed encoding in correlation technique, thus It is allowed to be applied to the encrypted transmission of real-time Communication for Power: generate identical encoder dictionary, the number of follow-up input at real-time Communication for Power two ends According to will preferentially search encoder dictionary: as this data can be matched in dictionary, then by this data with the position in dictionary and Length etc. is replaced, and such as cannot match this data in dictionary, then this data be added in dictionary.Wherein, because This dictionary is real-time update, and in the case of not having initial code dictionary, data cannot be carried out decoding.
Embodiments provide a kind of method for message transmission, Fig. 1 is method for message transmission according to embodiments of the present invention Flow chart, as shown in figure 1, this flow process comprises the steps:
Step s102, obtains initial session dictionary, wherein, first message unit is present in initial session dictionary, and Correspond a dictionary pointer in initial session dictionary, dictionary pointer includes: first message unit is in initial session word Original position in allusion quotation and the length of first message unit;
Step s104, obtains the message to be encoded being made up of first message unit and/or the second message elements;
Step s106, according to initial session dictionary, the first message unit treating coded message is compressed encoding, and obtains The message to be sent constituting to the dictionary pointer by first message unit and/or the second message elements;
Step s108, sends message to be sent, and updates initial session dictionary according to preset strategy, wherein, updates just Beginning session dictionary includes: adds the second message elements to initial session dictionary, obtains the dictionary pointer of the second message elements.
By above-mentioned steps, message, and the information updating initial session word according to transmission are transmitted using dictionary encoding mode Allusion quotation.First, it is impossible to be decoded to the information receiving in the case that other side does not get initial session dictionary; Secondly, even if other side passes through certain by way of obtaining initial session dictionary, because initial session dictionary can be according to conversation recording (the second message elements of message for example to be encoded) are updated, therefore, if other side do not get before session Record, equally cannot obtain message in plain text.It can be seen that, by above-mentioned steps, solve real-time Communication for Power encryption and there is safety Low problem, improves the safety of real-time Communication for Power.
The embodiment of the present invention additionally provides a kind of communication terminal applying above-mentioned method for message transmission, including information receiving and transmitting two ends The communication terminal device being used and/or software.Described communication terminal device and software are referred to as in embodiments of the present invention Communication terminal.
Preferably, by the renewal of above-mentioned initial session dictionary so that the letter that between communication terminal, any time t is transmitted Breath, all can based on before moment t between communication terminal all or part information of transmission encoded.
Preferably, before carrying out message transmission, obtain the mode that initial session dictionary includes one below: by point-to-point Secure communication, consult with the recipient of message to be sent or exchange initial session dictionary;By loading configuration file Mode, obtains initial session dictionary;By the random generation to conventional characters word-base code and the reception with message to be sent Side holds consultation to interweave and is combined, and obtains initial session dictionary;According to the recipient with message to be sent in preset time period Conversation recording, generate initial session dictionary.
For example, the communication terminal a and communication terminal b of communicating pair can be consulted by an escape way or secure way Or exchange the session dictionary for message transmission.Preferably, escape way can be point-to-point transmission;Secure way and meeting The generation of words dictionary can also be in the default matching files input of communication two ends.
Preferably, the generation of session dictionary can also be by carrying out the random of the codings such as conventional characters character library at communication two ends The intertexture that generates and hold consultation is composited;Preferably, the content of session dictionary can be plaintext text, binary system or ten Senary data block or the text through certain algorithmic transformation.
Preferably, obtain initial session dictionary after, can also receive by first message unit dictionary pointer and/or The message to be decoded that 3rd message elements are constituted;According to the dictionary pointer of initial session dictionary and first message unit, decompress Contract message to be decoded, obtains the decoding message being made up of first message unit and/or the 3rd message elements;According to default plan Slightly update initial session dictionary, wherein, update initial session dictionary and include: add the 3rd message elements to initial session word Allusion quotation, obtains the dictionary pointer of the 3rd message elements.By this way it is achieved that the decoding of the message receiving, Yi Jigen According to the renewal to initial session dictionary for the message receiving.By this way so that messaging can pass through dictionary encoding Realize encrypted transmission.
For example, after session dictionary confirms, make to carry out with the following method message transmission:
Communication terminal a receives the message to be transmitted of input, starts to retrieve session dictionary, if disappearing in message to be transmitted Interest statement unit can find matching value in session dictionary, then by matching unit location and length in dictionary, directly or Indirectly alternate message unit, is added in message to be transmitted as dictionary pointer;If the message elements in input message Matching value cannot be found in session dictionary, then this message elements is added in session dictionary, simultaneously will be direct for this message Or indirectly add in message to be transmitted.When communication terminal a receives transmission instruction, message to be transmitted is sent to communication Terminal b.
Communication terminal b receives the message of communication terminal a, reads message by preset rules, if message segment is known Not Wei dictionary pointer, then search session dictionary reduction message elements, by reduction after message elements be added to message to be output; If message segment is identified as non-dictionary pointer, by preset rules, message segment is reduced, is added to message to be output, And the message elements after reduction are added to session dictionary;As communication terminal b receives output order, by message to be output Output.
It should be noted that communication terminal a and communication terminal b can exchange role.
Preferably, after obtaining initial session dictionary, method also includes: judges initial session dictionary and message to be sent The initial session dictionary of recipient whether mate;In the case that judged result is coupling, execute subsequent step;Otherwise, Reacquire initial session dictionary.For example, as initiated a new session, conversation recording can be checked, such as there is session note Record, then can generate session dictionary by conversation recording, and the eigenvalue of the dictionary that two ends generate is mated, if two End dictionary eigenvalue coupling, then using this session dictionary.
Preferably, the transmitting procedure of the negotiations process of session dictionary and message, all can be assisted by AES and/or safety View encapsulation is to carry out extra encrypted transmission.
Preferably, the transmission of the negotiation of session dictionary and message, can be independently using different encryptions and delivering path.
In the whole transmitting procedure of the embodiment of the present invention, session dictionary content can be continually changing with message transferring content, root According to setting, the size of session dictionary can be fixing or variation.Preferably, updated according to preset strategy Initial session dictionary includes the mode of one below: real-time update initial session dictionary;Instructed according to dictionary updating, update Initial session dictionary.
Preferably, dictionary can be updated by specific instruction, such as rearranges, or variation length.
Preferably, the renewal of session dictionary can be regularly updated or randomly update.
Preferably, the more new command of session dictionary can comprise/be hidden in be transmitted in message to be transmitted.Such as, may be used To implement as follows:
Communication terminal a triggers dictionary update event, and dictionary updating instruction and parameter are encoded as an input message And it is added to message to be transmitted, communication terminal a updates local session dictionary, and communication terminal a sends message to be transmitted. Communication terminal b is decoded after receiving message, when reading solution digital content is identified as instruction, reads instruction and parameter, Communication terminal b presses instruction and content of parameter more new session dictionary, and command content is added without carrying output message.
Preferably, for avoiding the dictionary that message sink mistake leads to fail normal synchronized, communication terminal a is when sending message Dictionary updating can not be carried out, after communication terminal b receives message, feedback one receives successful message to communication eventually End a, communication terminal a carry out dictionary updating after receiving feedback again.
Preferably, communication terminal b is after receiving message, the check value that a session dictionary can be fed back to communication terminal a, Communication terminal a mates the check value of local dictionary, if it matches, being then updated, if it does not match, renegotiating session Dictionary
Preferably, the session sequence errors for avoiding time delay to lead to, can carry out asynchronous refresh to dictionary, communicating pair leads to Letter certain time, or exchange after quantity of information reaches certain scale, dictionary updating is initiated at two ends, by extracting current message Previous window in session sequence or check code mated, such as the match is successful, then using the content in this window more New dictionary, such as cannot mate, then again mate.
Preferably, the dictionary timing error for avoiding session abnormal end to lead to, can increase session backtracking mechanism, when meeting When words are rebuild, the conversation recording that communicating pair stores according to itself, several session window of backtracking, by each window Content generates check code and compares, when two sides find the check code of coupling, then using the corresponding session window of this check code Interior content generates dictionary, such as cannot find matching content, then renegotiate or reset to original session dictionary.
By foregoing description, the compression of the dictionary encoding adopting in method for message transmission provided in an embodiment of the present invention With respect to general AES, there is following advantage in algorithm:
1st, the input of usual AES and output are all fixed length, and compression algorithm input and output length is all indefinite, Because if the not pointer structure of location aware and length, the length that data is mated in dictionary just cannot be known, simultaneously Do not know that an information has specifically been divided into several sections;
2nd, AES is burst encryption, and the encrypted segments of any one length-specific can independently decode;And compress Algorithm is continuous programming code, loses any part, and in general its further part will be unable to decode;
3rd, the key that AES uses is usually fixed, and the dictionary that compression algorithm uses is a sliding window, meeting Constantly update
4th, the coding/decoding result of AES is unique, therefore may determine that data correctness, further can pass through specific Method is exhaustive;And the coding of compression algorithm exports and not exclusive, even if exhaustive output also substantially cannot correct judgment by force
5th, compression algorithm script does not have encryption feature, but due to above-mentioned 2nd point of vulnerability speciality, and the 3rd Point sliding window mechanism, and the 4th point uncertain speciality so that real-time messages transmit scene under possess High safety;On the other hand, after compression, coding again may be by AES and is encrypted.
In order that the description of the embodiment of the present invention is clearer, it is described with reference to preferred embodiment and illustrates.
The preferred embodiment of the present invention provides a kind of method for message transmission based on compressed encoding, and the method can be used for leading in real time News.The compressed encoding of wherein employing can be one or more coded system for lossless data compression;This compressed encoding There are following features: the first, data of any instant transmission, transmitted all rely on this moment when being decoded before Data, the data in therefore one time slice cannot be decoded independently;Secondth, the data transmitted can pass through other AES or security protocol are encrypted further.
In the method that the preferred embodiment of the present invention provides, session and cataloged procedure are as illustrated in fig. 2, it is assumed that communicating pair is logical Letter terminal a (terminal a in Fig. 2) and communication terminal b (terminal b in Fig. 2), both sides are before starting session First exchange/consult a session dictionary (dictionary in Fig. 2) for session.For convenience of description it is assumed that initial assist The lexcographical order that business generates is classified as shown in 201: helowary.
When communication terminal a sends message a: hello to communication terminal b, communication terminal a searches in dictionary Big matching field, finds the hel of 3 characters of coupling first it is assumed that encode with a byte representation character start bit herein Put, a byte representation word length (side-play amount), then coding in initial dictionary for the hel is represented by 0x0003; Then equally find the lo of 2 characters of coupling, coding is represented by 0x0202, and therefore communication terminal a sends out in encoded It is 0x00030202 to the message of communication terminal b.
Communication terminal b, after receiving message, is decoded according to same principle, once reads two bytes, a word Save as original position, a byte is word length, then reading of content output from dictionary.
Because hello does not have complete match item in dictionary, therefore hellow is added to word as new word string In allusion quotation, obtain dictionary as shown in 202.
Then communication terminal b replies message hello to communication terminal a, searches dictionary and is encoded, sends after coding Message be 0x0805, due to all-character coupling, therefore without update dictionary.
Safety analysiss: assume that message 0x00030203 of a transmission b is intercepted and captured by attacker, but attacker does not have Obtain dictionary, even if he knows that this is the pointer of two characters, also can only know this be 6 byte content it is impossible to Know particular content.And in actual enforcement, therefore will not want to crack with so simple two character pointer combinations It is impossible.Assume again that initial dictionary is trapped, and intercept message 0x0806 that b is sent to a, but not Have and intercept the message that a is sent to b, because the content of the 08th byte is that do not have in initial dictionary, therefore do not know How much interior perhaps what content transmitted before road on earth, therefore nor decoding.
The encoding example of a real-time update shown by the dictionary 203 of special case 1: Fig. 2, updates dictionary in an encoding process. On the basis of dictionary 202, a sends message how are you to b, first looks for h (0x0001), so After find ow (0x0302), because how does not have in dictionary, add dictionary, followed by space, in dictionary No, add dictionary (0x1001), now space character needs to add information waiting for transmission according to preset rules, we The simple point here doing, just directly with the output of ascii code, typically will have individual method to be identified fresh character, such as certainly Specified pointer position represents fresh character with ff beginning, terminate to next ff (or a specified random site value table Show fresh character, terminate to next random site value, then skip this two positions in actual coding);Next ar (0x0502), e (0x0101), because are is not in dictionary, is added to dictionary, before ensuing space Be added to dictionary (0x1001), but are connect the character string in space not in dictionary, therefore still space plus Enter dictionary, then y (0x0701), o (0x0c01), yo, not in dictionary, add dictionary, last u is new word Symbol, adds dictionary, and u exports as fresh character.If fresh character is converted to hexadecimal, then space is expressed as 0xff20ff, u are expressed as 0xff55ff, and the information that a is sent to b is: 0x00010302ff20ff05020101100107010301ff55ff, b are when the information of receiving is decoded, if read Take two bytes be ff beginning be fresh character, then continue to read remainder bytes, till reading second ff always, carry Take out fresh character, add dictionary.
The probability that case above occurs in actual enforcement is in fact less, because can consult a larger word in actual enforcement Allusion quotation, if dictionary is with byte as minimum unit, the combination of ff is exactly the dictionary of more than 256 kinds, that is, 256 bytes Just can be without fresh character.
From the introduction of correlation technique, dictionary encoding is alternatively referred to as sliding window coding, and therefore dictionary is not unlimited expansion Exhibition, slided backward according to setting and be only correct method, ratio is in such example, if setting dictionary size as 16 bytes, The dictionary of so last output should be moved rearwards by 9 bytes, and now 203 dictionary should be as follows:
So now initial dictionary to attacker with regard to completely ineffective.But like this, if with the real-time volume in this Code, coding output just becomes complicated, and transmission error tolerance also can be very low, can produce problem, therefore actually more can make With the asynchronous refresh introduced below.
Communication terminal shown in the preferred embodiment of the present invention generally can have following three kinds of working communication structures:
Host-guest architecture traffic model shown in Fig. 3, i.e. client-server framework, communication terminal to server registration information, Message is sent to opposite end communication terminal id, message is forwarded to opposite end through server storage after logging on to server.
Fig. 4 show discrete topology traffic model, and communication terminal voluntarily finds other communication terminals on network and directly enters Row communication is it is not necessary to server.
Fig. 5 show point-to-point structure traffic model, and communication terminal passes through to server registration or reports self information, with When search the terminal that other can communicate, direct access opposite end address, then directly communicate with opposite end, conversation procedure information can With without server.
In actual application, communication terminal can be simultaneously using several structures in structure in above 3.
The communication terminal of the preferred embodiment of the present invention generally can work independently under topological structure shown in Fig. 4 or Fig. 5.Now The groundwork flow process of communication terminal is as shown in Figure 6.
Hypothesis communication terminal a is calling party, and communication terminal b is callee, and communication process is divided into two stages, first Stage (phase) 1 confirms the initial session dictionary for communication, and phase2 is communicated.Wherein, the phase2 stage leads to The role of letter terminal a and b can exchange.
Step s601, communication terminal a and b consults an encrypted tunnel, generally being directly connected to without server;
Step s602, communication terminal a and b is exchanged by encrypted tunnel or consults to generate an initial session dictionary, can Formed with meeting and being changed sequence at random using the local frequent word sequences of two communication terminals, dictionary size can be one Determine to take random value in scope.If not communicating first, then can generate initial session dictionary according to passing communications records, this Sample would not comprise the dictionary information of reality in interactive information.
Step s603, after initial session dictionary is decided through consultation, removes encrypted tunnel.Need communication can rebuild new encryption afterwards to lead to Road.So far phase1 terminates.
Step s604, communication terminal a receives input message to be sent, and coded method as shown in Figure 1 is encoded;
Step s605, the message after encoding is sent to communication terminal b by communication terminal a;
Step s606, communication terminal b is decoded after receiving message;
Step s607, decoded message is exported by communication terminal b;
Step s608, communication terminal b confirms that message receives, and sends receipt or a check code to communication terminal a;
Step s609, communication terminal a updates dictionary after receiving receipt, and communication terminal b updates dictionary;
Communication terminal b sends the step also in compliance with step s601~step s609 for the message to communication terminal a.
Flow process shown in Fig. 6 and above real-time update shown in special case 1 are slightly different, because it is therefore special not carry out real-time update In the coding of communication terminal a in example 1, second space also will be substituted with fresh character and be transmitted, but the word after final updated Allusion quotation is as broad as long.
In order to more reliable carries out dictionary updating, it is possible to use asynchronous refresh flow process as shown in Figure 7.
Step s701, trigger, triggers more new technological process.Trigger event can be time, message threshold values etc..
Step s702, after communication terminal a receives the message of input, generates more new signal, more new signal is usually one Comprise the instruction of some parameters, parameter such as dictionary updating rule, dictionary length etc.;Communication terminal a will more new signal and connecing The input message receiving is by certain rule mixing, and defines more new signal by specific method.
Step s703, mixed message is encoded by communication terminal a;
Step s704, the message after encoding is sent to communication terminal b by communication terminal a;
Step s705, communication terminal b is decoded after receiving message;
Step s706, communication terminal b reads decoded message, and identification more new signal defines symbol, message is pressed specific Rule is separated into more new signal and message to be output;
Step s707, communication terminal b will carry output message to export;
Step s708, communication terminal a and b, according to the parameter Backtrack through messages s record in more new signal, generates message window, Several message sequences of rollback, the content in message window is generated a check code by every one sequence of rollback, if can generate Dry check code;
Step s709, check code sequence is sent to communication terminal a by communication terminal b;
Step s710, communication terminal a compares itself check code, and select a coupling is sent to communication terminal b;
Step s711, the content in message window according to corresponding to the check code selected for communication terminal a and b is to dictionary It is updated;
When both sides' message sequence that advantage using the method is to occur communication abnormality or propagation delay time leads to is reciprocity, word Allusion quotation will not be updated.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-described embodiment Method can realize by the mode of software plus necessary general hardware platform naturally it is also possible to pass through hardware, but a lot In the case of the former is more preferably embodiment.Based on such understanding, technical scheme is substantially in other words to existing Have what technology contributed partly can embody in the form of software product, this computer software product is stored in one In storage medium (as rom/ram, magnetic disc, CD), including some instructions with so that a station terminal equipment (can To be mobile phone, computer, server, or the network equipment etc.) execution each embodiment of the present invention method.
Additionally provide a kind of massage transmission device in the present embodiment, be used for realizing above-described embodiment and preferred implementation, Carried out repeating no more of explanation, below the module being related in this device had been illustrated.As used below, The software of predetermined function and/or the combination of hardware can be realized in term " module ".Although the device described by following examples is relatively To be realized with software goodly, but hardware, or the realization of the combination of software and hardware is also may and to be contemplated.
Fig. 8 is the structural representation of massage transmission device according to embodiments of the present invention, as shown in figure 8, this device includes: First acquisition module 80, the second acquisition module 82, coding module 84, sending module 86 and the first update module 88, Wherein,
First acquisition module 80, for obtaining initial session dictionary, wherein, first message unit is present in initial session word In allusion quotation, and correspond a dictionary pointer in initial session dictionary, dictionary pointer includes: first message unit is first Original position in beginning session dictionary and the length of first message unit;Second acquisition module 82, is disappeared by first for obtaining Interest statement unit and/or the message to be encoded of the second message elements composition;Coding module 84, coupled to the first acquisition module 80 He Second acquisition module 82, for according to initial session dictionary, the first message unit treating coded message is compressed encoding, Obtain the message to be sent being made up of dictionary pointer and/or second message elements of first message unit;Sending module 86, Coupled to coding module 84, for sending message to be sent;First update module 88, coupled to the second acquisition module 82, For updating initial session dictionary according to preset strategy, wherein, update initial session dictionary to include: add the second message list Unit, to initial session dictionary, obtains the dictionary pointer of the second message elements.
Preferably, device also includes: receiver module, for receiving by the dictionary pointer and/or the 3rd of first message unit The message to be decoded that message elements are constituted;Decoder module, coupled to receiver module, for according to initial session dictionary and The dictionary pointer of one message elements, decompresses message to be decoded, obtains by first message unit and/or the 3rd message elements The decoding message constituting;Second update module, coupled to receiver module, for updating initial session word according to preset strategy Allusion quotation, wherein, updates initial session dictionary and includes: add the 3rd message elements to initial session dictionary, obtain the 3rd message The dictionary pointer of unit.
Preferably, the first acquisition module 80 is used for one below: by point-to-point secure communication, with message to be sent Recipient consult or exchange initial session dictionary;By way of loading configuration file, obtain initial session dictionary; By to the random generation of conventional characters word-base code and compound with the recipient of message to be sent intertexture of holding consultation, obtain Initial session dictionary;According to conversation recording in preset time period for the recipient with message to be sent, generate initial session Dictionary.
Preferably, device also includes: correction verification module, coupled to the first acquisition module, for judge initial session dictionary with Whether the initial session dictionary of the recipient of message to be sent mates;Wherein, in the case that judged result is coupling, make Can subsequent module;Otherwise, return the first acquisition module 80 to reacquire initial session dictionary.
Preferably, the first update module and/or the second update module are used for one below: real-time update initial session dictionary; Instructed according to dictionary updating, update initial session dictionary.
The preferred embodiment of the present invention additionally provides a kind of expander tool for real-time Communication for Power instrument, for for server-visitor The means of communication of family end structure provides data protection.Expander tool a acts on means of communication a, and expander tool b acts on In means of communication b, means of communication can be different from the communication terminal in the embodiment of the present invention herein.
Expander tool in the preferred embodiment of the present invention is used for monitoring input/output interface and the COM1 of means of communication;Expand Exhibition instrument passes through to obtain the address of opposite end, interacts confirmation to opposite end expander tool, such as successfully confirms, then extends Instrument bypasses server directly and opposite end expander tool consults dictionary information.When means of communication a start information inputs, expand Exhibition instrument a intercepts input information and is encoded, and the message after coding is delivered to the input interface of means of communication.When communication work Tool b receives information, and expander tool b intercepts output, is decoded, then decoded message is delivered to output and connect Mouthful.
Preferably, can bypass server direction communication between expander tool.
Preferably, expander tool can provide dictionary file input function, using the default matching files in input communication two ends as Session dictionary.
Fig. 9 provide the preferred embodiment of the present invention for means of communication extension when a workflow example it is adaptable to Means of communication using point-to-point connection.Terminal a shown in Fig. 9 and terminal b is existing communication instrument, Plugin a and plugin b is the expander tool of the preferred embodiment of the present invention, and wherein, plugin a acts on terminal a, Plugin b acts on terminal b.
Phase1 shown in Fig. 9 is an initialization procedure, searches peer node for expander tool, for follow-up p2p Session.Phase2 is to carry out dictionary negotiation between expander tool, can be used for generating initial session dictionary and follow-up dictionary updating, Step s601 shown in its process and Fig. 6~step s603 similar process.Phase3 is the information transfer stage.
Phase1 flow process is as follows:
The network interface of expander tool monitoring means of communication and input/output interface, it is assumed that means of communication a is leading role, communicate Instrument b is called.
Step s901, means of communication a and b is registered on the server;
Step s902, means of communication a thinks the state of server lookup means of communication b;
Step s903, expander tool a gets the state of means of communication b by monitoring means of communication a, including communication Address;
Because expander tool is to interact with opposite end expander tool, typically results in opposite end address and be sufficient to, Phase1 terminates;Then phase2 stage expander tool a initiates dictionary negotiation.
Phase3 phase flow is as follows:
Step s904: when expander tool a intercepts the input information of means of communication a, information is encoded;
Step s905: expander tool a by encode after information transmission to means of communication a input interface;
Step s906: information after means of communication a is coding, send to means of communication b through point-to-point connection;
Step s907: or information after means of communication a is coding, forward to means of communication b through server;
Step s908: expander tool b monitors the information that means of communication b receives, intercepts output, information is decoded;
Step s909: decoded information transmission to the output interface of means of communication b and is exported by expander tool b.
Figure 10 provide the preferred embodiment of the present invention for means of communication extension when another workflow example, fit For the means of communication using no point-to-point connection, topology as shown in Figure 3.Terminal a and terminal shown in Figure 10 B is existing communication instrument, and plugin a and plugin b is the expander tool of the preferred embodiment of the present invention, wherein, plugin A acts on terminal a, and plugin b acts on terminal b.
Phase1 shown in Figure 10 is an initialization procedure, searches peer node for expander tool, for follow-up expansion The session of exhibition Tool Room.Phase2 is to carry out dictionary negotiation between expander tool, can be used for generating initial session dictionary and follow-up Dictionary updating, step s601 shown in its process and Fig. 6~step s603 similar process.Phase3 is information transfer rank Section is similar with step s905 of example shown in Fig. 9~step s909 step.The stream in phase1 stage is mainly explained below Journey:
The network interface of expander tool monitoring means of communication and input/output interface, it is assumed that means of communication a is leading role, communicate Instrument b is called.
Step s1001, means of communication is registered on the server, and finds opposite end;
Step s1002, expander tool detects the change of means of communication network state to start to detect local communication address;
Step s1003, local communication address is sent to means of communication b by means of communication a by expander tool a;
Step s1004, expander tool b intercepts the message that means of communication b receives, and extracts the communication of means of communication a Address;
Step s1005, local communication address is sent to means of communication a by means of communication b by expander tool b;
Step s1006, expander tool b is to expander tool a initiation connection simultaneously;
Step s1007, expander tool a intercepts the message that means of communication a receives, and extracts the communication of means of communication b Address, the source address matches connecting with step s1006 after confirmation, then receive request, otherwise refusal connection.
Example as shown in Figure 9 and Figure 10, the interaction of its dictionary and information transfer are to be completed by different approach, and pass through Server is all encoded information, even if the storage of being serviced device also will not reveal privacy information, is foolproof side Method.
It should be noted that above-mentioned modules can be by software or hardware to realize, for the latter, Ke Yitong Cross in the following manner to realize, but not limited to this: above-mentioned module is respectively positioned in same processor;Or, above-mentioned module position respectively In multiple processors.
Embodiments of the invention additionally provide a kind of software, and this software is used for executing in above-described embodiment and preferred implementation The technical scheme of description.
Embodiments of the invention additionally provide a kind of storage medium.In the present embodiment, above-mentioned storage medium can be set For storage for executing the program code of following steps:
S1, obtains initial session dictionary, wherein, first message unit is present in initial session dictionary, and corresponds In a dictionary pointer of initial session dictionary, dictionary pointer includes: first message unit rising in initial session dictionary Beginning position and the length of first message unit;
S2, obtains the message to be encoded being made up of first message unit and/or the second message elements;
S3, according to initial session dictionary, the first message unit treating coded message is compressed encoding, and obtains by first The dictionary pointer of message elements and/or the message to be sent of the second message elements composition;
S4, sends message to be sent, and updates initial session dictionary according to preset strategy, wherein, updates initial session word Allusion quotation includes: adds the second message elements to initial session dictionary, obtains the dictionary pointer of the second message elements.
Alternatively, in the present embodiment, above-mentioned storage medium can include but is not limited to: u disk, read only memory (rom, Read-only memory), random access memory (ram, random access memory), portable hard drive, Magnetic disc or CD etc. are various can be with the medium of store program codes.
Alternatively, the specific example in the present embodiment may be referred to showing described in above-described embodiment and optional embodiment Example, the present embodiment will not be described here.
In sum, the above embodiment of the present invention and preferred embodiment provide a kind of enhanced messaging encrypted transmission method, Ensure private data safety using the sliding window mechanism in data compression algorithm.Such scheme can be used independently as message and pass Transmission method, or provide secondary encryption for existing communication instrument, thus providing higher on the basis of the real-time Communication for Power of current popular Safety, and can be existing instrument provide further secret protection.Existing security protocol itself provides data check With certain data compression function, but still there are a lot of potential safety hazards.The present invention is carried by above-described embodiment and preferred embodiment For be a kind of private data safety method, and data integrity can be ensured by transport layer protocol;In above-described embodiment Although employing Compression Coding Principle, purpose is simultaneously uncompressed, and its cataloged procedure of compression coding technology due to using is one Individual continuous process, encoder dictionary be one there is highly probabilistic sliding window so that single encoded data slot no Method is cracked, and possesses higher safety in real-time Communication for Power.
Obviously, those skilled in the art should be understood that each module of the above-mentioned present invention or each step can be with general Realizing, they can concentrate on single computing device computing device, or be distributed in multiple computing devices and formed Network on, alternatively, they can be realized with the executable program code of computing device, it is thus possible to by they Storage to be executed by computing device in the storage device, and in some cases, can be to hold different from order herein The shown or described step of row, or they are fabricated to respectively each integrated circuit modules, or will be many in them Individual module or step are fabricated to single integrated circuit module to realize.So, the present invention is not restricted to any specific hardware Combine with software.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for the technology of this area For personnel, the present invention can have various modifications and variations.All within the spirit and principles in the present invention, made any Modification, equivalent, improvement etc., should be included within the scope of the present invention.

Claims (10)

1. a kind of method for message transmission is it is characterised in that include:
Obtain initial session dictionary, wherein, first message unit is present in described initial session dictionary, and one by one Corresponding to a dictionary pointer of described initial session dictionary, dictionary pointer includes: described first message unit is in institute State original position in initial session dictionary and the length of described first message unit;
Obtain the message to be encoded being made up of described first message unit and/or the second message elements;
According to described initial session dictionary, the described first message unit of described message to be encoded is compressed encoding, Obtain the message to be sent being made up of dictionary pointer and/or described second message elements of described first message unit;
Send described message to be sent, and described initial session dictionary is updated according to preset strategy, wherein, update institute State initial session dictionary to include: add described second message elements to described initial session dictionary, obtain described second The dictionary pointer of message elements.
2. method according to claim 1 it is characterised in that obtain described initial session dictionary after, described side Method also includes:
Receive the message to be decoded being made up of dictionary pointer and/or the 3rd message elements of described first message unit;
According to the dictionary pointer of described initial session dictionary and described first message unit, decompress described to be decoded disappear Breath, obtains the decoding message being made up of described first message unit and/or described 3rd message elements;
Described initial session dictionary is updated according to described preset strategy, wherein, updates described initial session dictionary and include: Add described 3rd message elements to described initial session dictionary, obtain the dictionary pointer of described 3rd message elements.
3. method according to claim 1 includes one below it is characterised in that obtaining described initial session dictionary Mode:
By point-to-point secure communication, consult with the recipient of described message to be sent or exchange described initial meeting Words dictionary;
By way of loading configuration file, obtain described initial session dictionary;
Hold consultation by the random generation to conventional characters word-base code and with the recipient of described message to be sent Interweave compound, obtain described initial session dictionary;
According to conversation recording in preset time period for the recipient with described message to be sent, generate described initial meeting Words dictionary.
4. method according to claim 1 it is characterised in that obtain described initial session dictionary after, described side Method also includes:
Judge whether described initial session dictionary and the initial session dictionary of the recipient of described message to be sent mate;
In the case that judged result is coupling, execute subsequent step;Otherwise, reacquire described initial session word Allusion quotation.
5. method according to any one of claim 1 to 4 is it is characterised in that update institute according to described preset strategy State the mode that initial session dictionary includes one below:
Initial session dictionary described in real-time update;
Instructed according to dictionary updating, update described initial session dictionary.
6. a kind of massage transmission device is it is characterised in that include:
First acquisition module, for obtaining initial session dictionary, wherein, first message unit is present in described initial In session dictionary, and correspond a dictionary pointer in described initial session dictionary, dictionary pointer includes: institute State original position in described initial session dictionary for the first message unit and the length of described first message unit;
Second acquisition module, for obtain be made up of described first message unit and/or the second message elements wait compile Code message;
Coding module, for according to described initial session dictionary, the described first message list to described message to be encoded Unit is compressed encoding, and obtains by the dictionary pointer of described first message unit and/or described second message elements structure The message to be sent becoming;
Sending module, for sending described message to be sent;
First update module, for updating described initial session dictionary according to preset strategy, wherein, updates described first Beginning session dictionary includes: adds described second message elements to described initial session dictionary, obtains described second message The dictionary pointer of unit.
7. device according to claim 6 is it is characterised in that described device also includes:
Receiver module, is made up of the dictionary pointer of described first message unit and/or the 3rd message elements for receiving Message to be decoded;
Decoder module, for the dictionary pointer according to described initial session dictionary and described first message unit, decompresses Contract described message to be decoded, obtains the decoding being made up of described first message unit and/or described 3rd message elements Message;
Second update module, for updating described initial session dictionary according to described preset strategy, wherein, updates institute State initial session dictionary to include: add described 3rd message elements to described initial session dictionary, obtain the described 3rd The dictionary pointer of message elements.
8. device according to claim 6 is it is characterised in that described first acquisition module is for one below:
By point-to-point secure communication, consult with the recipient of described message to be sent or exchange described initial meeting Words dictionary;
By way of loading configuration file, obtain described initial session dictionary;
Hold consultation by the random generation to conventional characters word-base code and with the recipient of described message to be sent Interweave compound, obtain described initial session dictionary;
According to conversation recording in preset time period for the recipient with described message to be sent, generate described initial meeting Words dictionary.
9. device according to claim 6 is it is characterised in that described device also includes:
Correction verification module, for judging the initial session of described initial session dictionary and the recipient of described message to be sent Whether dictionary mates;
Wherein, in the case that judged result is coupling, enable subsequent module;Otherwise, return described first acquisition Module is to reacquire described initial session dictionary.
10. the device according to any one of claim 6 to 9 it is characterised in that described first update module and/or Described second update module is for one below:
Initial session dictionary described in real-time update;
Instructed according to dictionary updating, update described initial session dictionary.
CN201510432625.XA 2015-07-21 2015-07-21 Message transmission method and apparatus Pending CN106375177A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510432625.XA CN106375177A (en) 2015-07-21 2015-07-21 Message transmission method and apparatus
PCT/CN2016/075238 WO2016177050A1 (en) 2015-07-21 2016-03-01 Message transmission method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510432625.XA CN106375177A (en) 2015-07-21 2015-07-21 Message transmission method and apparatus

Publications (1)

Publication Number Publication Date
CN106375177A true CN106375177A (en) 2017-02-01

Family

ID=57217354

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510432625.XA Pending CN106375177A (en) 2015-07-21 2015-07-21 Message transmission method and apparatus

Country Status (2)

Country Link
CN (1) CN106375177A (en)
WO (1) WO2016177050A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107528828A (en) * 2017-07-27 2017-12-29 福建天泉教育科技有限公司 The method and terminal of a kind of compressed data
CN110740123A (en) * 2019-09-18 2020-01-31 华为技术有限公司 Data compression method and data transmission method, terminal equipment and system based on data compression method
CN110928809A (en) * 2019-11-25 2020-03-27 航天科技控股集团股份有限公司 Method for programming image data to external Flash through CAN bus

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114299673A (en) * 2021-12-29 2022-04-08 建信金融科技有限责任公司 Material object management method and device, material object cabinet, computer equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1228887A (en) * 1996-07-24 1999-09-15 尤尼西斯公司 Data compression and decompression system with immediate dictionary updating interleaved with string search
US20080147801A1 (en) * 2006-12-18 2008-06-19 Telefonaktiebolaget Lm Ericsson (Publ) Method, communications node, and memory for dynamic dictionary updating and optimization for compression and decompression of messages
CN103078706A (en) * 2012-12-31 2013-05-01 上海宇芯科技有限公司 Dictionary query compression method and device by utilizing redundancy bits
CN103095305A (en) * 2013-01-06 2013-05-08 中国科学院计算技术研究所 System and method for hardware LZ77 compression implementation

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1228887A (en) * 1996-07-24 1999-09-15 尤尼西斯公司 Data compression and decompression system with immediate dictionary updating interleaved with string search
US20080147801A1 (en) * 2006-12-18 2008-06-19 Telefonaktiebolaget Lm Ericsson (Publ) Method, communications node, and memory for dynamic dictionary updating and optimization for compression and decompression of messages
CN103078706A (en) * 2012-12-31 2013-05-01 上海宇芯科技有限公司 Dictionary query compression method and device by utilizing redundancy bits
CN103095305A (en) * 2013-01-06 2013-05-08 中国科学院计算技术研究所 System and method for hardware LZ77 compression implementation

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
毕菲菲: ""LZ数据压缩算法分析及其在******中的应用"", 《中国学位论文全文数据库》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107528828A (en) * 2017-07-27 2017-12-29 福建天泉教育科技有限公司 The method and terminal of a kind of compressed data
CN110740123A (en) * 2019-09-18 2020-01-31 华为技术有限公司 Data compression method and data transmission method, terminal equipment and system based on data compression method
CN110740123B (en) * 2019-09-18 2021-03-09 华为技术有限公司 Data compression method and data transmission method, terminal equipment and system based on data compression method
CN110928809A (en) * 2019-11-25 2020-03-27 航天科技控股集团股份有限公司 Method for programming image data to external Flash through CAN bus

Also Published As

Publication number Publication date
WO2016177050A1 (en) 2016-11-10

Similar Documents

Publication Publication Date Title
WO2021196915A1 (en) Encryption and decryption operation-based data transmission methods and systems, and computer device
CN1244998C (en) Enciphering method using double keys and its wireless local network system
RU2638639C1 (en) Encoder, decoder and method for encoding and encrypting input data
CN110138739B (en) Data information encryption method and device, computer equipment and storage medium
CN106375177A (en) Message transmission method and apparatus
CN112511514A (en) HTTP encrypted transmission method and device, computer equipment and storage medium
CN110912682B (en) Data processing method, device and system
CN113691512B (en) Data hiding transmission system and method combining block chain and onion network
CN106603579B (en) The tele-control system and method and its wireless terminal of a kind of wireless terminal
CN112437060B (en) Data transmission method and device, computer equipment and storage medium
CN107070998B (en) A kind of safe Internet of Things communications protocol and method
CN114710558B (en) Asynchronous secure transmission channel construction method based on cloud storage
CN105556890A (en) Cryptographic processing method, cryptographic system, and server
CN112822228A (en) Browser file encryption uploading method and system based on state cryptographic algorithm
Alawatugoda et al. Protecting encrypted cookies from compression side-channel attacks
WO2023236984A1 (en) Wireless network access method, apparatus and device, and storage medium
CN111211894A (en) Data transmission method, device and system
CN110351086B (en) Method and system for processing and transmitting encrypted information in robot group
CN110417804B (en) Bidirectional identity authentication encryption communication method and system suitable for single-chip microcomputer implementation
CN102624741A (en) TLV (Threshold Limit Value) based data transmission method and system thereof
CN115119200A (en) Information transfer method for 5G communication environment
CN114844649A (en) Secret key distribution method containing trusted third party based on superlattice PUF
CN111064560B (en) Data encryption transmission method and device, terminal and data encryption transmission system
CN112468291A (en) Method, device and system for synchronizing sensitive data, computer equipment and computer readable storage medium
CN112230889A (en) Method for making software development coding specification

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170201

WD01 Invention patent application deemed withdrawn after publication