CN104917595B - Key switching method and system during a kind of coded communication - Google Patents

Key switching method and system during a kind of coded communication Download PDF

Info

Publication number
CN104917595B
CN104917595B CN201510331691.8A CN201510331691A CN104917595B CN 104917595 B CN104917595 B CN 104917595B CN 201510331691 A CN201510331691 A CN 201510331691A CN 104917595 B CN104917595 B CN 104917595B
Authority
CN
China
Prior art keywords
key
transmitting terminal
ciphertext
timer
sends
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
CN201510331691.8A
Other languages
Chinese (zh)
Other versions
CN104917595A (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.)
Block power (Guangzhou) Technology Co., Ltd
Original Assignee
Communication Science And Technology Ltd Of Sichuan Changhong
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 Communication Science And Technology Ltd Of Sichuan Changhong filed Critical Communication Science And Technology Ltd Of Sichuan Changhong
Priority to CN201510331691.8A priority Critical patent/CN104917595B/en
Publication of CN104917595A publication Critical patent/CN104917595A/en
Application granted granted Critical
Publication of CN104917595B publication Critical patent/CN104917595B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • H04L1/1867Arrangements specially adapted for the transmitter end
    • H04L1/188Time-out mechanisms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/1607Details of the supervisory signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0816Key establishment, i.e. cryptographic processes or cryptographic protocols whereby a shared secret becomes available to two or more parties, for subsequent use
    • H04L9/0819Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s)

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses key switching method and system during a kind of coded communication:Key switching is carried out using signaling handshake mechanism to confirm:The confirmation message that key reception end is sent is received after key transmitting terminal transmission key and then thinks that key is sent successfully, otherwise will be retransmitted in key;Key reception end includes:Ciphertext transmitting terminal and ciphertext receiving terminal, key reception end has correctly received and sends key reception success message to key transmitting terminal after key, the effective key ciphertext stationary problem for completing key handoff procedure is realized, interface-free resources has been saved, has improved the technique effect of user experience.

Description

Key switching method and system during a kind of coded communication
Technical field
The present invention relates to key switching method and system during field of communication technology, more particularly to a kind of coded communication.
Background technology
With the development of mobile communication technology, mobile terminal is continuous towards intelligentized direction there occurs huge change Stride forward, with the trend of Intelligent Terminal and wideband, mobile terminal function is from only providing single voice clothes Business becomes rich and varied, and mobile Internet business emerges in an endless stream, and becomes increasingly prosperous, and at the same time, mobile terminal relates to more and more And the sensitive information such as business secret and individual privacy, various security threats are faced, such as malice order, automatic dialing information service center, prison Answer a call, steal local information, mobile terminal as mobile Internet epoch most important carrier, choose by the safety for being faced with sternness War, next target that mobile terminal from malicious software will develop as Malware, at present the attention journey to mobile terminal safety Degree is but nothing like PC industries, and when fast traffic lane is driven into mobile Internet development, the safety of mobile terminal is likely to become The important bottleneck of mobile Internet development is restricted, therefore, the safety problem for solving mobile terminal is imperative, extremely urgent.
Key is as the important means in secure communication, and sender and recipient must bases in mobile Internet transmission The ciphertext of transmission could being handled in key, key has term of validity problem, if special cipher-text information is important, Then the key updating cycle is shorter, it is possible to may all convert different keys with a coded communication process.
Key and the necessary reasonably combined use of ciphertext, wrong cipher key, then cause the mistake of whole coded communication flow, still Such as above-mentioned analysis, there is the term of validity in the transmission of key in a network, therefore in ciphertext transmitting procedure, there are cutting for key Change, this may cause the mistake that ciphertext is transmitted there are following two situations:
1) new key is not received by or receives mistake;
2) the nonsynchronous problem of ciphertext key, i.e., new and old key and ciphertext matching problem;
Particularly, with the development of mobile communication, data exchange amount is increasing, and the data transfer of mistake causes final Re-transmission will greatly promote network blockage rate and network load rate, reduce user experience, therefore, encryption number be controlled using rational method Correctly transmitted according to stream extremely important.
It is most of using repeating to ensure cipher key delivery by the way of transmission key in current system, about it is scheduled on n-th and connects Receive m successive frame after key is exactly as key switch frame, guarantee key correct switch, a disadvantage of such scheme, The interface-free resources of multiple frames are wasted, and key switching is dumb.
In conclusion present inventor is during inventive technique scheme in realizing the embodiment of the present application, in discovery Technology is stated at least to have the following technical problems:
In the prior art, existing communication encryption system, which exists, wastes interface-free resources, and key switches inflexible skill Art problem.
The content of the invention
The present invention provides key switching method and system during a kind of coded communication, solves existing communication encryption System, which exists, wastes interface-free resources, and key switches inflexible technical problem, realizes effective completion key handoff procedure Key ciphertext stationary problem, saved interface-free resources, improved the technique effect of user experience.
In order to solve the above technical problems, key switches on the one hand the embodiment of the present application provides a kind of coded communication during Method, the described method includes:
Key switching is carried out using signaling handshake mechanism to confirm:Key transmitting terminal receives key reception end hair after sending key The confirmation message sent then thinks that key is sent successfully, otherwise will be retransmitted in key;Key reception end includes:Ciphertext is sent End and ciphertext receiving terminal, key reception end have correctly received and send key reception success message to key transmitting terminal after key;
Wherein, key transmitting terminal is provided with key and sends overtime timer, key sends overtime timer and sent out in key Start after sending, key sends overtime timer and fails after key transmitting terminal receives key confirmation message;If key does not pass It is sent to key reception end or key reception end and is not properly received key, or the confirmation message at key reception end is not sent correctly Reach key transmitting terminal, then key sends overtime timer time-out after preset time period, and key transmitting terminal sends key again.
Further, key death timer is set in key transmitting terminal, key death timer is set in encrypted transmission During key effective time, key death timer opens after new key comes into operation, and key death timer can Out-of-service time is set according to the confidentiality of encrypted content.
Further, t1 moment, key transmitting terminal send a message to ciphertext transmitting terminal before key death timer time-out, Obtain current ciphertext and send state, if ciphertext has correctly been sent and ciphertext transmitting terminal receives correct ciphertext and confirms to disappear Cease, then ciphertext transmitting terminal replys success message, and otherwise ciphertext transmitting terminal uniformly sends failed message.
Further, key switching flow can be carried out after key transmitting terminal receives success message, sends new key; And it is t2 that key transmitting terminal, which receives failed message then to need the length of extension key death timer, key transmitting terminal is constantly and close Literary transmitting terminal interaction message, waits this ciphertext to carry out the switching of key after sending successfully again.
Further, ciphertext transmitting terminal is after the query messages that key transmitting terminal comes are received, if current ciphertext is just Really send and receive confirmation message, then empty the key storage space of ciphertext transmitting terminal;When new ciphertext needs to send, if Key for sky cannot then send, it is necessary to etc. new key obtain just being transmitted;Sent if current ciphertext is not also correct, it is unclear Empty key storage space, continues normal ciphertext transmission process.
On the other hand, present invention also provides key switching system during a kind of coded communication, system to be held using signaling Mobile phone system carries out key switching and confirms, the system comprises:
Key transmitting terminal, the key transmitting terminal are used to receive the confirmation message that key reception end is sent after sending key Then think that key is sent successfully, otherwise will be retransmitted in key;
Key reception end includes:Ciphertext transmitting terminal and ciphertext receiving terminal, key reception end are had correctly received after key to close Key transmitting terminal sends key reception success message;
Wherein, key transmitting terminal is provided with key and sends overtime timer, key sends overtime timer and sent out in key Start after sending, key sends overtime timer and fails after key transmitting terminal receives key confirmation message;If key does not pass It is sent to key reception end or key reception end and is not properly received key, or the confirmation message at key reception end is not sent correctly Reach key transmitting terminal, then key sends overtime timer time-out after preset time period, and key transmitting terminal sends key again.
Wherein, key death timer is additionally provided with key transmitting terminal, key death timer is set in encrypted transmission During key effective time, key death timer opens after new key comes into operation, and key death timer can Out-of-service time is set according to the confidentiality of encrypted content, wherein, key death timer and key send overtime timer composition Timer unit.
Wherein, the t1 moment before key death timer time-out, key transmitting terminal send a message to ciphertext transmitting terminal, obtain Current ciphertext sends state, if ciphertext is correctly sent and ciphertext transmitting terminal receives correct ciphertext confirmation message, Ciphertext transmitting terminal replys success message, and otherwise ciphertext transmitting terminal uniformly sends failed message.
Wherein, key switching flow can be carried out after key transmitting terminal receives success message, sends new key;It is and close The length that key transmitting terminal receives failed message and then needs to extend key death timer is t2, and key transmitting terminal is constantly sent out with ciphertext Sending end interaction message, waits this ciphertext to carry out the switching of key after sending successfully again.
Wherein, ciphertext transmitting terminal is after the query messages that key transmitting terminal comes are received, if current ciphertext is correctly sent out Send and receive confirmation message, then empty the key storage space of ciphertext transmitting terminal;When new ciphertext needs to send, if key For sky cannot then send, it is necessary to etc. new key obtain just being transmitted;Send, do not empty close if current ciphertext is not also correct Key memory space, continues normal ciphertext transmission process.
The one or more technical solutions provided in the embodiment of the present application, have at least the following technical effects or advantages:
It is designed as a result of by key switching method during coded communication:Key is carried out using signaling handshake mechanism Switching confirms:Key transmitting terminal send key after receive the confirmation message that key reception end is sent then think key send into Work(, otherwise will be retransmitted in key;Key reception end includes:Ciphertext transmitting terminal and ciphertext receiving terminal, key reception are rectified really Receive and send key reception success message to key transmitting terminal after key;Wherein, set key to send in key transmitting terminal to surpass When timer, timer key transmission after start, timer fails after key transmitting terminal receives key confirmation message;If Key is not communicated to key reception end or key reception end is not properly received key, or the confirmation message at key reception end does not have There is correct send to reach key transmitting terminal, then timer expiry after preset time period, key transmitting terminal send the skill of key again Art scheme, i.e., complete the switching of key using signaling handshake mechanism, sends wall scroll key switching message, receives correct response and disappear Then think that key switches successfully after breath, different from the repeat mechanism used in traditional scheme, fixed repeatedly transmission is with true Secrecy key correct switch, so, efficiently solve existing communication encryption system and there are waste interface-free resources, and key switching is not Flexible technical problem, and then the effective key ciphertext stationary problem for completing key handoff procedure is realized, save and eated dishes without rice or wine Resource, improves the technique effect of user experience.
Further, signaling handshake mechanism using the present invention completes the switching of key, and signaling channel condition is good enough In the case of can quickly finish key switching flow, different from the repeat mechanism that is used in traditional scheme no matter channel condition The all fixed repeatedly transmission of quality is to ensure key correct switch so further increasing utilization rate of air interface resource and use Experience at family.
Brief description of the drawings
Fig. 1 is key and ciphertext transmitting terminal Signalling exchange flow diagram I in the embodiment of the present application one;
Fig. 2 is key and ciphertext transmitting terminal Signalling exchange flow diagram II in the embodiment of the present application one;
Fig. 3 is that key switches successfully flow diagram in the embodiment of the present application one;
Fig. 4 is key handover failure procedures schematic diagram in the embodiment of the present application one;
Fig. 5 is the composition schematic diagram of key switching system during coded communication in the embodiment of the present application one.
Embodiment
The present invention provides key switching method and system during a kind of coded communication, solves existing communication encryption System, which exists, wastes interface-free resources, and key switches inflexible technical problem, realizes effective completion key handoff procedure Key ciphertext stationary problem, saved interface-free resources, improved the technique effect of user experience.
Technical solution during the application is implemented is solution above-mentioned technical problem.General thought is as follows:
Employ and be designed as key switching method during coded communication:Key switching is carried out using signaling handshake mechanism Confirm:The confirmation message that key reception end is sent, which is received, after key transmitting terminal transmission key then thinks that key is sent successfully, it is no It will then be retransmitted in key;Key reception end includes:Ciphertext transmitting terminal and ciphertext receiving terminal, key reception end have correctly received After key key reception success message is sent to key transmitting terminal;Wherein, key is set to send time-out timing in key transmitting terminal Device, timer start after key transmission, and timer fails after key transmitting terminal receives key confirmation message;If key does not have It is transmitted to key reception end or key reception end is not properly received key, or the confirmation message at key reception end is not correct Transmission reaches key transmitting terminal, then timer expiry after preset time period, and key transmitting terminal sends the technical solution of key again, Complete the switching of key using signaling handshake mechanism, send wall scroll key switching message, receive after correct response message then Think that key switches successfully, different from the repeat mechanism used in traditional scheme, fixed repeatedly transmission is to ensure key Correct switch, so, efficiently solve existing communication encryption system and there are waste interface-free resources, and key switching is inflexible Technical problem, and then the effective key ciphertext stationary problem for completing key handoff procedure is realized, interface-free resources have been saved, have been carried The high technique effect of user experience.
In order to better understand the above technical scheme, in conjunction with appended figures and specific embodiments to upper Technical solution is stated to be described in detail.
Embodiment one:
In embodiment one, key switching method during a kind of coded communication is on the one hand provided, is specifically included:
Key switching is carried out using signaling handshake mechanism to confirm:Key transmitting terminal sends the confirmation of wait receiving terminal after key Message then thinks that key is sent successfully, otherwise will be retransmitted in key, key reception end (including ciphertext transmitting terminal and ciphertext connect Receiving end is required for receiving key) have correctly received and need after key to send key reception success message to transmitting terminal.Utilize interaction Information ensures the handover success of key.
This method further comprises:Set key to send overtime timer in key transmitting terminal, just opened after key transmission It is dynamic, fail after receiving key confirmation message, if key be not communicated to receiving terminal or receiving terminal be not properly received it is close Key, or receiving terminal confirmation message without correctly send reach key transmitting terminal, then after a period of time timer expiry, it is necessary to Key is sent again, ensures that the correct of key sends by this flow.
This method further comprises:It is above-mentioned close since key reception end includes ciphertext transmitting terminal and ciphertext receiving terminal Key, which sends overtime timer, to be needed to be designed as two sets, is managed respectively.
This method further comprises:Key death timer is set in transmitting terminal, which provides in encrypted transmission mistake Cheng Zhong, the effective time of key, opens after new key comes into operation, when can set failure according to the confidentiality of encrypted content Between.
This method further comprises:Key transmitting terminal, the t1 moment is, it is necessary to send message before key death timer time-out To ciphertext transmitting terminal, obtain current ciphertext and send state, if ciphertext has correctly sent and and received correct ciphertext Confirmation message, then reply success message, otherwise unifies to send failed message;Further, successfully disappear when key transmitting terminal receives Key switching flow can be carried out after breath, sends new key;And receiving failed message then needs to extend key death timer Length be t2, constantly and ciphertext transmitting terminal interaction message, wait this ciphertext to carry out the switching of key, mesh after sending successfully again Be ensure key and ciphertext switching after synchronization and correct matching problem.
This method further comprises ciphertext transmitting terminal, after the query messages that key transmitting terminal comes are received, if currently Ciphertext correctly sends and receives confirmation message, then empties the key storage space of ciphertext transmitting terminal, when new ciphertext needs If key cannot to send if empty when sending, it is necessary to etc. new key obtain just being transmitted, if current ciphertext is also not It is correct to send, then key storage space is not emptied, continues normal ciphertext transmission process.
This method further comprises ciphertext receiving terminal, is responsible for the reception of key and ciphertext, ciphertext is solved using key Close process, and response message is sent to ciphertext transmitting terminal.
On the other hand, the embodiment of the present application additionally provides key switching system during a kind of coded communication, the system bag Include:
Key transmitting terminal, generation and transmission for network transmission key and the interacting message with ciphertext end;
The key transmitting terminal has the timer unit of oneself, and time-out is sent for maintenance key death timer and key Timer run, timer unit to these timer monitors control key operating status, promote processor to key state into Row further management, open, be delayed and reset etc., detection key death timer, sends in particular moment to ciphertext transmitting terminal Query messages and reception feedback message, further, under low power consumpting state, timer unit also needs to change over clock operation frequency Rate, is converted to low-frequency clock by the counting of timer and counts, when system recovers normal work, carry out clock compensation;
Ciphertext transmitting terminal, for the generation and transmission of network transmission ciphertext and with key end interacting message, same bag ciphertext Send, a key can only be used, it is therefore intended that can improve transporting using the diversity gain being transmitted several times when retransmitting Energy.
Ciphertext receiving terminal, reception and key reception for ciphertext, give key ciphertext transmitting terminal feedback reception success or not Message.
Wherein, in the embodiment of the present application, please refer to Fig.1, it is key of the present invention and ciphertext transmitting terminal Signalling exchange that Fig. 1, which is, Flow diagram I, at the t1 moment before the failure of key death timer, 101, which send a message to ciphertext transmitting terminal inquiry ciphertext, sends shape State, ciphertext are sent successfully, and ciphertext transmitting terminal empties key storage register, and newly close is waited to making ciphertext temporarily to send Key, to the key handoff reservation time;102 ciphertext transmitting terminals send to key transmitting terminal transmission ciphertext and successfully indicate;103 keys are sent out Sending end starts transmission new key and gives ciphertext transmitting terminal, starts key switching flow, and starts key and send the regular device of time-out;Close Key sends to overcharge in the overtime timer time to 104 keys and sends success message then key transmitting terminal stops key sending time-out fixed When device, it is believed that key is sent successfully to ciphertext transmitting terminal;If all do not received after key sends overtime timer time-out close Key sends success message, then 105 need to think that ciphertext transmitting terminal sends key again.
Wherein, in the embodiment of the present application, please refer to Fig.2, Fig. 2 is key of the present invention and ciphertext transmitting terminal Signalling exchange stream Journey schematic diagram II, at the t1 moment before the failure of key death timer, 201, which send a message to ciphertext transmitting terminal inquiry ciphertext, sends shape State, ciphertext send unsuccessful, it is necessary to retransmit;202 send unsuccessful message, key timer pipe to key transmitting terminal feedback ciphertext After managing cell delay key death timer time t2, T+T2, ciphertext is sent to ciphertext transmitting terminal again and send status inquiry, such as After this poll knows that feedback ciphertext is sent successfully, key switching flow is just initiated, in this way, same ciphertext data packet, using same Key, increase data merge gain, be conducive to detection result of the receiving terminal to ciphertext.
Wherein, in the embodiment of the present application, please refer to Fig.3, Fig. 3 is that the key in the present invention switches successfully flow signal Figure, is divided into two parts, ciphertext transmitting terminal and receiving terminal are required for feedback success message key management as Fig. 3 keys switch successfully End can just think that key is sent successfully;First, 301 key ends to ciphertext transmitting terminal send ciphertext send status inquiry command, 302 Ciphertext transmitting terminal is sent successfully to key end feedback ciphertext;303a/303b keys transmitting terminal is respectively to ciphertext transmitting terminal and ciphertext Receiving terminal sends key respectively, is then separately turned on the feedback of two group key overtime timers supervision ciphertext transmitting terminal and receiving terminal Message, thinks if if receiving two before key sends overtime timer time-out to send successfully feedback 304a/304b to key Key switches successfully, and communications are carried out with new key.
Wherein, in the embodiment of the present application, please refer to Fig.4, Fig. 4 is the key handover failure procedures signal in the present invention Figure, 301 ~ 303 with Fig. 3 flows, 304 in key-timeout timer period key transmitting terminal receive the key of ciphertext transmitting terminal Send and successfully feed back;And in key-timeout timer period key transmitting terminal do not receive ciphertext receiving terminal key feedback disappear Breath, then 305 will initiate key transmission flow, again its key transmission timer, Zhi Daoshou to initiation ciphertext receiving terminal again Untill correct key sends feedback, key could calculate handover success, particularly, if prolonged retransmit can not receive always Feedback, then there may be problem, whole transmission link to rebuild for the connecting link of mobile phone.
Wherein, in the embodiment of the present application, Fig. 5 is refer to, Fig. 5 is that key switches during coded communication in the present invention The composition schematic diagram of system, key switching system are matched somebody with somebody by 501 ciphertext transmitting terminals, 502 key transmitting terminals, 503 ciphertext receiving terminals Close and carry out, wherein key transmitting terminal is also provided with timer unit, timer unit bag for the supervision in cipher key transmitting process Include key death timer and key sends overtime timer, the flow of key switching is that 502 key transmitting elements are first sent out to 501 Information query ciphertext sends state, determines whether to carry out the switching flow of key according to ciphertext state;When ciphertext send into Work(, in the case of not retransmitting, it is close to 501/503 ciphertext transmitting terminal/receiving terminal transmission to start key handover key transmitting terminal 502 Key information, and open key and send overtime timer, the key successful reception feedback that both sides are received in timer period disappears Breath then thinks that key switches successfully, otherwise for key handoff failure, it is necessary to carry out unilateral or bilateral repeating transmission according to feedback.
Particularly, when without the system for concentrating Key Management Center, usual key transmitting terminal and ciphertext transmitting terminal are all same It is 501/502 unification unit on a component, then period communication information for the same part disparate modules communication information rather than eats dishes without rice or wine to disappear Breath, appoints and is so suitable for the present invention, another embodiment as the present invention.
Technical solution in above-mentioned the embodiment of the present application, at least has the following technical effect that or advantage:
It is designed as a result of by key switching method during coded communication:Key is carried out using signaling handshake mechanism Switching confirms:Key transmitting terminal send key after receive the confirmation message that key reception end is sent then think key send into Work(, otherwise will be retransmitted in key;Key reception end includes:Ciphertext transmitting terminal and ciphertext receiving terminal, key reception are rectified really Receive and send key reception success message to key transmitting terminal after key;Wherein, set key to send in key transmitting terminal to surpass When timer, timer key transmission after start, timer fails after key transmitting terminal receives key confirmation message;If Key is not communicated to key reception end or key reception end is not properly received key, or the confirmation message at key reception end does not have There is correct send to reach key transmitting terminal, then timer expiry after preset time period, key transmitting terminal send the skill of key again Art scheme, i.e., complete the switching of key using signaling handshake mechanism, sends wall scroll key switching message, receives correct response and disappear Then think that key switches successfully after breath, different from the repeat mechanism used in traditional scheme, fixed repeatedly transmission is with true Secrecy key correct switch, so, efficiently solve existing communication encryption system and there are waste interface-free resources, and key switching is not Flexible technical problem, and then the effective key ciphertext stationary problem for completing key handoff procedure is realized, save and eated dishes without rice or wine Resource, improves the technique effect of user experience.
Further, signaling handshake mechanism using the present invention completes the switching of key, and signaling channel condition is good enough In the case of can quickly finish key switching flow, different from the repeat mechanism that is used in traditional scheme no matter channel condition The all fixed repeatedly transmission of quality is to ensure key correct switch so further increasing utilization rate of air interface resource and use Experience at family.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know basic creation Property concept, then can make these embodiments other change and modification.So appended claims be intended to be construed to include it is excellent Select embodiment and fall into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art God and scope.In this way, if these modifications and changes of the present invention belongs to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprising including these modification and variations.

Claims (4)

  1. A kind of 1. key switching method during coded communication, it is characterised in that the described method includes:
    Key switching is carried out using signaling handshake mechanism to confirm:Key reception end is received after key transmitting terminal transmission key to send Confirmation message then think that key is sent successfully, otherwise the key will be retransmitted;Key reception end includes:Ciphertext transmitting terminal and Ciphertext receiving terminal, key reception end have correctly received and send key reception success message to key transmitting terminal after key;
    Wherein, key transmitting terminal is provided with key and sends overtime timer, key sends overtime timer after key transmission Start, key sends overtime timer and fails after key transmitting terminal receives key confirmation message;If key is not communicated to Key reception end or key reception end are not properly received key, or the confirmation message at key reception end reaches without correctly transmission Key transmitting terminal, then key sends overtime timer time-out after preset time period, and key transmitting terminal sends key again;In key Transmitting terminal sets key death timer, and key death timer is set in the effective time of key during encrypted transmission, close Key death timer is opened after new key comes into operation, and key death timer can be set according to the confidentiality of encrypted content Out-of-service time;The t1 moment before key death timer time-out, key transmitting terminal send a message to ciphertext transmitting terminal, obtain current Ciphertext sends state, if ciphertext is correctly sent and ciphertext transmitting terminal receives correct ciphertext confirmation message, ciphertext Transmitting terminal replys success message, and otherwise ciphertext transmitting terminal uniformly sends failed message, after key transmitting terminal receives success message Key switching flow can be carried out, sends new key;And key transmitting terminal receives failed message and then needs to extend key failure The length of timer is t2, key transmitting terminal constantly and ciphertext transmitting terminal interaction message, wait this ciphertext send successfully after again Carry out the switching of key.
  2. 2. according to the method described in claim 1, it is characterized in that, ciphertext transmitting terminal is receiving the inquiry of key transmitting terminal transmission After message, if current ciphertext correctly sends and receives confirmation message, the key storage space of ciphertext transmitting terminal is emptied; When new ciphertext needs to send, if key cannot to send if empty, the new key such as needing to obtain can just be transmitted;It is if current close Text is not also correct to be sent, then does not empty key storage space, continue normal ciphertext transmission process.
  3. 3. key switching system during a kind of coded communication, it is characterised in that system carries out key using signaling handshake mechanism Switching confirmation, the system comprises:
    Key transmitting terminal, the key transmitting terminal, which is used to send, to be received the confirmation message that key reception end is sent after key and then recognizes Sent successfully for key, otherwise the key will be retransmitted;
    Key reception end includes:Ciphertext transmitting terminal and ciphertext receiving terminal, key reception end are sent out after having correctly received key to key Sending end sends key reception success message;
    Wherein, key transmitting terminal is provided with key and sends overtime timer, key sends overtime timer after key transmission Start, key sends overtime timer and fails after key transmitting terminal receives key confirmation message;If key is not communicated to Key reception end or key reception end are not properly received key, or the confirmation message at key reception end reaches without correctly transmission Key transmitting terminal, then key sends overtime timer time-out after preset time period, and key transmitting terminal sends key again;In key Transmitting terminal is additionally provided with key death timer, key death timer be set in key during encrypted transmission it is effective when Between, key death timer is opened after new key comes into operation, and key death timer can be according to the secrecy of encrypted content Property the out-of-service time is set, wherein, key death timer and key send overtime timer composition timer unit;When key loses T1 moment before effect timer expiry, key transmitting terminal send a message to ciphertext transmitting terminal, obtain current ciphertext and send state, if close Text is correctly sent and ciphertext transmitting terminal receives correct ciphertext confirmation message, then ciphertext transmitting terminal, which is replied, successfully disappears Breath, otherwise ciphertext transmitting terminal uniformly sends failed message;Key switching can be carried out after key transmitting terminal receives success message Flow, sends new key;And it is t2 that key transmitting terminal, which receives failed message then to need the length of extension key death timer, Key transmitting terminal constantly and ciphertext transmitting terminal interaction message, wait this ciphertext to carry out the switching of key after sending successfully again.
  4. 4. key switching system during coded communication according to claim 3, it is characterised in that ciphertext transmitting terminal is being received After the query messages sent to key transmitting terminal, if current ciphertext correctly sends and receives confirmation message, empty close The key storage space of literary transmitting terminal;When new ciphertext needs to send, it cannot be sent if key is sky, the new key such as need obtains Obtaining can just be transmitted;Sent if current ciphertext is not also correct, do not empty key storage space, continue normal ciphertext and be transmitted across Journey.
CN201510331691.8A 2015-06-16 2015-06-16 Key switching method and system during a kind of coded communication Active CN104917595B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510331691.8A CN104917595B (en) 2015-06-16 2015-06-16 Key switching method and system during a kind of coded communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510331691.8A CN104917595B (en) 2015-06-16 2015-06-16 Key switching method and system during a kind of coded communication

Publications (2)

Publication Number Publication Date
CN104917595A CN104917595A (en) 2015-09-16
CN104917595B true CN104917595B (en) 2018-04-27

Family

ID=54086331

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510331691.8A Active CN104917595B (en) 2015-06-16 2015-06-16 Key switching method and system during a kind of coded communication

Country Status (1)

Country Link
CN (1) CN104917595B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109428709B (en) * 2017-08-22 2022-03-01 中国电信股份有限公司 Quantum key distribution method and system and optical network system
CN108923916A (en) * 2018-06-22 2018-11-30 武汉彤科电力科技有限公司 A kind of terminal symmetric key update exchange method
CN114614985B (en) * 2022-05-12 2022-08-05 施维智能计量系统服务(长沙)有限公司 Communication key updating method, key server and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1889769A (en) * 2005-06-29 2007-01-03 华为技术有限公司 A periodical updating method for transmission encrypted symmetric keys
CN101411219A (en) * 2003-07-17 2009-04-15 摩托罗拉公司 Method for providing point-to-point encryption in a communication system
CN102984700A (en) * 2011-09-05 2013-03-20 中兴通讯股份有限公司 Security information storage apparatus, and authentication method and system
CN103595529A (en) * 2012-08-13 2014-02-19 西安西电捷通无线网络通信股份有限公司 A switching method for a unidirectional secret key and a realization apparatus
CN104270752A (en) * 2014-09-30 2015-01-07 杭州华三通信技术有限公司 Key negotiation method and device for wireless network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101411219A (en) * 2003-07-17 2009-04-15 摩托罗拉公司 Method for providing point-to-point encryption in a communication system
CN1889769A (en) * 2005-06-29 2007-01-03 华为技术有限公司 A periodical updating method for transmission encrypted symmetric keys
CN102984700A (en) * 2011-09-05 2013-03-20 中兴通讯股份有限公司 Security information storage apparatus, and authentication method and system
CN103595529A (en) * 2012-08-13 2014-02-19 西安西电捷通无线网络通信股份有限公司 A switching method for a unidirectional secret key and a realization apparatus
CN104270752A (en) * 2014-09-30 2015-01-07 杭州华三通信技术有限公司 Key negotiation method and device for wireless network

Also Published As

Publication number Publication date
CN104917595A (en) 2015-09-16

Similar Documents

Publication Publication Date Title
RU2736284C1 (en) Method and user equipment for reception of downlink signals
CN109691155B (en) Method and apparatus for managing user plane operations in a wireless communication system
CN102196509B (en) Wireless communication method of supplemental node transmission assistance and communications network
CN101572597B (en) Operation method for synchronous mixed automatic repeat request of wireless communication system
CN102428669B (en) The hybrid ARQ mechanism of cooperative base station up link
CN1968534B (en) A method for connection re-establishment in a mobile communication system
CN102917459B (en) In spread-spectrum communications, the down link group insersion business of subscriber equipment is provided
CN110140409A (en) Communication device, infrastructure equipment and method
TWI728420B (en) Base station and user equipment for early-data transmission in a random access procedure
EP2282595A1 (en) Method of handling resource assignment and related communication device
CN109150419B (en) Communication method and device thereof
CN101888675A (en) Cross-base station switching method and system in long term evolution system
CN104221319A (en) HARQ for dynamic change of the TDD UL/DL configuration in LTE TDD systems
CN102571302B (en) For providing method and the device of circuit switching event notice on a packet data network
UA81231C2 (en) Method (variants) and device (varients) for receiving, method (variants) and device for transmission of packets through channel with automatic request for retransmission and data carriers (variants)
CN101682886A (en) System and method for semi-persistent and dynamic scheduling and discontinuous reception control
CN114514777A (en) Method and apparatus for performing handover in wireless communication system
TW200931871A (en) Method for improving discontinuous reception functionality and related communication device
WO2014069105A1 (en) Communication control apparatus, communication control method, terminal apparatus, program and communication control system
CN101801039B (en) Method for reducing delay in multiple base station cooperation
CN104917595B (en) Key switching method and system during a kind of coded communication
CN115038049B (en) Multicast service receiving method, configuration method, terminal and network equipment
CN106171004A (en) A kind of RLC packet shunt method and base station
CN101753281B (en) Method and system for reducing redundant message retransmission of radio link control layer
CN102246555A (en) Method, base station and relay node for processing handover

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20200628

Address after: Room 1109, No. 136, banhe Road, Huangpu District, Guangzhou City, Guangdong Province

Patentee after: Block power (Guangzhou) Technology Co., Ltd

Address before: 621000 No. 39 Sanjiang Avenue, Mianyang economic and Technological Development Zone, Sichuan

Patentee before: SICHUAN CHANGHONG COMMUNICATION TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right