USRE50223EActiveUtility

Operating method, apparatus and system for media stream transmission key

64
Assignee: HUAWEI TECH CO LTDPriority: Feb 11, 2010Filed: Jun 26, 2020Granted: Nov 26, 2024
Est. expiryFeb 11, 2030(~3.6 yrs left)· nominal 20-yr term from priority
Inventors:Weiwei Yang
H04L 65/65H04L 67/145H04L 63/108H04L 63/068H04L 63/06H04L 65/1043
64
PatentIndex Score
0
Cited by
34
References
27
Claims

Abstract

An operating method for a media stream transmission key includes: detecting, by a media gateway, lifetime status information of a media stream transmission key; and when the media gateway determines that a lifetime of the media stream transmission key expires, executing, by the media gateway, a media stream transmission key lifetime expiry behavior according to an instruction of a media gateway controller. The embodiments of the present invention fill a technical gap that an operation is performed on a lifetime status of a media stream transmission key in an architecture where an MG and an MGC are separated.

Claims

exact text as granted — not AI-modified
What is claimed is: 
     
       1. An operating method for a media stream transmission key, comprising:
 receiving, by a media gateway, a key expiry event including a key lifetime expiry behavior parameter delivered by a media gateway controller, wherein the key lifetime expiry behavior parameter instructs the media gateway to execute, when the media stream transmission key expires, a corresponding key lifetime expiry behavior;   detecting, by the media gateway, lifetime status information of a media stream transmission key according to the received key expiry event; and   when the media gateway determines that a lifetime of the media stream transmission key expires, executing, by the media gateway, the key lifetime expiry behavior corresponding to the key lifetime expiry behavior parameter delivered by the media gateway controller;   wherein the key lifetime expiry behavior corresponding to the key lifetime expiry behavior parameter comprises at least one of the following:
 closing a media stream and sending a media stream close message, or 
 reporting the key expiry event to the media gateway controller, without sending a media stream close message, wherein the reported key expiry event carries a key expiry indication parameter which indicates whether or not the media stream transmission key is still used. 
   
     
     
       2. The method according to  claim 1 , wherein the key expiry event comprises a key type parameter, and the media gateway detects lifetime status information of the media stream transmission key of a specified type according to the key expiry event comprising the key type parameter; when the media gateway determines that a lifetime of the media stream transmission key of the specified type expires, the media gateway executes the key lifetime expiry behavior corresponding to the key lifetime expiry behavior parameter of the media gateway controller. 
     
     
       3. The method according to  claim 1 , wherein the key expiry event comprises a key identifier parameter, and the media gateway detects lifetime status information of a media stream transmission key with a specified identifier according to the key expiry event comprising the key identifier parameter; when the media gateway determines that a lifetime of the media stream transmission key with the specified identifier expires, the media gateway executes the key lifetime expiry behavior corresponding to the key lifetime expiry behavior parameter of the media gateway controller. 
     
     
       4. The method according to  claim 1 , wherein the key expiry event is a master key expiry event, and the media gateway detects lifetime status information of a media stream transmission master key according to the received master key expiry event; when the media gateway determines that a lifetime of the media stream transmission master key expires, the media gateway executes the key lifetime expiry behavior corresponding to the key lifetime expiry behavior parameter of the media gateway controller. 
     
     
       5. The method according to  claim 1 , wherein a condition for determining that a lifetime of the media stream transmission key expires is that, the number of packets that are transmitted by using the media stream transmission key reaches a maximum number that is set for the media stream transmission key. 
     
     
       6. A media gateway, comprising a receiving module, a detecting module, a judging module and an operating module, wherein
 the receiving module is configured to receive a key expiry event including a key lifetime expiry behavior parameter that are delivered by a media gateway controller, wherein the key lifetime expiry behavior parameter instructs the media gateway to execute, when the media stream transmission key expires, a corresponding key lifetime expiry behavior;   the detecting module is configured to detect lifetime status information of a media stream transmission key according to the key expiry event that is delivered by the media gateway controller and received by the receiving module;   the judging module is configured to judge whether the lifetime of the media stream transmission key expires; and   the operating module is configured to execute the key lifetime expiry behavior corresponding to the key lifetime expiry behavior parameter delivered by a media gateway controller, when the judging module determines that the lifetime of the media stream transmission key expires;   wherein the key lifetime expiry behavior corresponding to the key lifetime expiry behavior parameter comprises at least one of the following:
 closing a media stream and sending a media stream close message, or 
 reporting the key expiry event to the media gateway controller, without sending a media stream close message, wherein the reported key expiry event carries a key expiry indication parameter which indicates whether or not the media stream transmission key is still used. 
   
     
     
       7. The media gateway according to  claim 6 , wherein the receiving module is further configured to receive a key expiry event comprising a key type parameter;
 the detecting module is configured to detect lifetime status information of media stream transmission key of a specified type according to the key expiry event that is delivered by the media gateway controller and received by the receiving module;   the judging module is configured to judge whether the lifetime status information of media stream transmission key of the specified type expires; and   the operating module is configured to execute the media stream transmission key lifetime expiry behavior corresponding to the key lifetime expiry behavior parameter of the media gateway controller, when the judging module determines that a lifetime of media stream transmission key of the specified type expires.   
     
     
       8. An operating system for a media stream transmission key, comprising a media gateway controller and a media gateway, wherein
 the media gateway controller is configured to send a key expiry event including a key lifetime expiry behavior parameter to the media gateway, wherein the key lifetime expiry behavior parameter instructs the media gateway to execute, when the media stream transmission key expires, a corresponding key lifetime expiry behavior; and   the media gateway is configured to receive the key expiry event and the key lifetime expiry behavior parameter sent by the media gateway controller; according to the received key expiry event that is delivered by the media gateway controller, detect lifetime status information of a media stream transmission key; judge whether the lifetime of the media stream transmission key expires; and when determining that the lifetime of the media stream transmission key expires, execute the key lifetime expiry behavior corresponding to the key lifetime expiry behavior parameter sent by the media gateway controller;   wherein the key lifetime expiry behavior corresponding to the key lifetime expiry behavior parameter comprises at least one of the following:
 closing a media stream and sending a media stream close message, or 
 reporting the key expiry event to the media gateway controller, without sending a media stream close message, wherein the reported key expiry event carries a key expiry indication parameter which indicates whether or not the media stream transmission key is still used. 
   
     
     
       9. The media gateway according to  claim 6 , wherein the receiving module is further configured to receive a key expiry event comprising a key identifier parameter;
 the detecting module is configured to detect lifetime status information of a media stream transmission key with a specified identifier according to the key expiry event that is delivered by the media gateway controller and received by the receiving module;   the judging module is configured to judge whether the lifetime status information of the media stream transmission key with the specified identifier expires; and   the operating module is configured to execute the key lifetime expiry behavior corresponding to the key lifetime expiry behavior parameter of the media gateway controller, when the judging module determines that a lifetime of the media stream transmission key with the specified identifier expires.   
     
     
       10. The media gateway according to  claim 6 , wherein the receiving module is further configured to receive a master key expiry event;
 the detecting module is configured to detect lifetime status information of a media stream transmission master key according to the master key expiry event;   the judging module is configured to judge whether the lifetime status information of the media stream transmission master key expires; and   the operating module is configured to execute the key lifetime expiry behavior corresponding to the key lifetime expiry behavior parameter of the media gateway controller, when the judging module determines that a lifetime of the media stream transmission master key expires.   
     
     
       11. The media gateway according to  claim 6 , wherein a condition for determining that a lifetime of the media stream transmission key expires is that, the number of packets that are transmitted by using the media stream transmission key reaches a maximum number that is set for the media stream transmission key. 
     
     
       12. The system according to  claim 8 , wherein the key expiry event comprises a key type parameter;
 the media gateway is configured to detect lifetime status information of the media stream transmission key of a specified type according to the key expiry event comprising the key type parameter; when determining that a lifetime of the media stream transmission key of the specified type expires, to execute the key lifetime expiry behavior corresponding to the key lifetime expiry behavior parameter of the media gateway controller.   
     
     
       13. The system according to  claim 8 , wherein the key expiry event comprises a key identifier parameter;
 the media gateway is configured to detect lifetime status information of a media stream transmission key with a specified identifier according to the key expiry event comprising the key identifier parameter; when determining that a lifetime of the media stream transmission key with the specified identifier expires, to execute the key lifetime expiry behavior corresponding to the key lifetime expiry behavior parameter of the media gateway controller.   
     
     
       14. The system according to  claim 8 , wherein the key expiry event is a master key expiry event, and the media gateway is configured to detect lifetime status information of a media stream transmission master key according to the received master key expiry event; when determining that a lifetime of the media stream transmission master key expires, to execute the key lifetime expiry behavior corresponding to the key lifetime expiry behavior parameter of the media gateway controller. 
     
     
       15. The system according to  claim 8 , wherein a condition for determining that a lifetime of the media stream transmission key expires is that, the number of packets that are transmitted by using the media stream transmission key reaches a maximum number that is set for the media stream transmission key. 
     
     
       16. An operating method for a media stream transmission key, comprising:
 receiving, by the media gateway, a key expiry event and a key lifetime expiry behavior parameter delivered by a media gateway controller, wherein the key lifetime expiry behavior parameter instructs the media gateway to execute, when the media stream transmission key expires, a key lifetime expiry behavior corresponding to the key lifetime expiry behavior parameter;   detecting, by the media gateway, lifetime status information of the media stream transmission key according to the received key expiry event;   determining, by the media gateway, that a lifetime of the media stream transmission key expired; and   in response to determining, by the media gateway, that the lifetime of the media stream transmission key expired, executing, by the media gateway, the key lifetime expiry behavior and reporting to the media gateway controller that the media stream transmission key has expired;   wherein the key lifetime expiry behavior comprises one of   closing a media stream and sending a media stream close message; or   not closing the media stream.    
     
     
       17. The method according to  claim 16 , wherein the key expiry event is a master key expiry event, and the media gateway detects lifetime status information of the media stream transmission master key according to the received master key expiry event; in response to determining, by the media gateway that the lifetime of the media stream transmission master key expired, the media gateway executes the key lifetime expiry behavior.  
     
     
       18. The method according to  claim 16 , wherein a condition for determining that the lifetime of the media stream transmission key expired is that, the number of packets that are transmitted by using the media stream transmission key reaches a maximum number that is set for the media stream transmission key.  
     
     
       19. An operating method for a media stream transmission key, comprising:
 sending, by a media gateway controller, a key expiry event and a key lifetime expiry behavior parameter to a media gateway, wherein the key lifetime expiry behavior parameter is used to instruct the media gateway to execute, when the media stream transmission key expires, a key lifetime expiry behavior corresponding to the key lifetime expiry behavior parameter;   receiving, by the media gateway, the key expiry event and the key lifetime expiry behavior parameter from the media gateway controller;   detecting, by the media gateway, lifetime status information of the media stream transmission key according to the received key expiry event;   determining, by the media gateway, that a lifetime of the media stream transmission key expired; and   in response to determining, by the media gateway that the lifetime of the media stream transmission key expired, executing, by the media gateway, the key lifetime expiry behavior and reporting to the media gateway controller that the media stream transmission key has expired;   wherein the key lifetime expiry behavior comprises one of:   closing a media stream and sending a media stream close message; or   not closing the media stream.    
     
     
       20. The method according to  claim 19 , wherein the key expiry event is a master key expiry event, and the media gateway detects lifetime status information of a media stream transmission master key according to the received master key expiry event; in response to determining, by the media gateway determines that the lifetime of the media stream transmission master key expired, the media gateway executes the key lifetime expiry behavior.  
     
     
       21. The method according to  claim 19 , wherein a condition for determining that the lifetime of the media stream transmission key expired is that, the number of packets that are transmitted by using the media stream transmission key reaches a maximum number that is set for the media stream transmission key.  
     
     
       22. A communication system, comprising a media gateway controller and a media gateway,
 wherein the media gateway controller comprises a non-transitory memory storing instructions and a processor, and the processor executes the instructions to:   send a key expiry event and a key lifetime expiry behavior parameter to a media gateway, wherein the key lifetime expiry behavior parameter is used to instruct the media gateway to execute, when a media stream transmission key expires, a key lifetime expiry behavior corresponding to the key lifetime expiry behavior parameter;   and the media gateway comprising a memory and a processor, when executable program code stored in the memory is executed by the processor, the media gateway is caused to:   receive the key expiry event and the key lifetime expiry behavior parameter from the media gateway controller;   detect lifetime status information of the media stream transmission key according to the received key expiry event;   determine that a lifetime of the media stream transmission key expired;   execute the key lifetime expiry behavior; and   report to the media gateway controller that the media stream transmission key has expired;   wherein the key lifetime expiry behavior comprises one of:   closing a media stream and sending a media stream close message; or   not closing the media stream.    
     
     
       23. The system according to  claim 22 , wherein the key expiry event is a master key expiry event, and the media gateway is caused to detect lifetime status information of a media stream transmission master key according to the received master key expiry event; when determining that the lifetime of the media stream transmission master key expired, execute the key lifetime expiry behavior.  
     
     
       24. The system according to  claim 22 , wherein a condition for determining that the lifetime of the media stream transmission key expires is that, the number of packets that are transmitted by using the media stream transmission key reaches a maximum number that is set for the media stream transmission key.  
     
     
       25. A communication system, comprising a media gateway controller and a media gateway,
 wherein the media gateway controller comprises a non-transitory memory storing instructions and a processor, and the processor executes the instructions to:   send a key expiry event and a key lifetime expiry behavior parameter to a media gateway, wherein the key lifetime expiry behavior parameter is used to instruct the media gateway to execute, when a media stream transmission key expires, a key lifetime expiry behavior corresponding to the key lifetime expiry behavior parameter;   and the media gateway comprising a memory and a processor, when executable program code stored in the memory is executed by the processor, the media gateway is caused to:   receive the key expiry event and the key lifetime expiry behavior parameter from the media gateway controller;   detect lifetime status information of the media stream transmission key according to the received key expiry event;   determine that a lifetime of the media stream transmission key expired;   execute the key lifetime expiry behavior; and   report to the media gateway controller that the media stream transmission key has expired;   wherein the key lifetime expiry behavior comprises one of:   closing a media stream and sending a media stream close message; or   not closing the media stream.    
     
     
       26. The system according to  claim 25 , wherein the key expiry event is a master key expiry event, and the media gateway is caused to detect lifetime status information of a media stream transmission master key according to the received master key expiry event;
 when determining that the lifetime of the media stream transmission master key expired, execute the key lifetime expiry behavior.    
     
     
       27. The system according to  claim 25 , wherein a condition for determining that the lifetime of the media stream transmission key expires is that, the number of packets that are transmitted by using the media stream transmission key reaches a maximum number that is set for the media stream transmission key.

Cited by (0)

No later patents cite this yet.

References (0)

No backward citations on record.