Patent ID: 11888614
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
Field: Digital communication (Electrical engineering)
Classification: CPC H  Y | IPC H

Claim 6:
7. The method according to claim 6, wherein determining the remaining segment quantity of each type of segments based on N, the reserved code length, the segment code length of each type of segments and the segment code lengths from the largest to the smallest comprises:
determining, when N<2{circumflex over ( )}a, that a second remaining segment quantity zc,N that corresponds to N and that is of the segments whose segment code lengths are 2{circumflex over ( )}c is 0, and a third remaining segment quantity za,N that corresponds to N and that is of the segments whose segment code lengths are 2{circumflex over ( )}a is 1, wherein a<c≤b; or
determining, when N≥2{circumflex over ( )}a, the remaining segment quantity of each type of segments based on the segment code lengths from the largest to the smallest, and determining that a second remaining segment quantity zb,N that corresponds to N and that is of segments whose segment code lengths are 2{circumflex over ( )}b is, floor
  ⁢
  
   
    (
    
     
      N
      -
      
       N
       res
      
     
     
      2
      
       ⋀
       b
      
     
    
    )
   
   ,
  
 

 and a third remaining segment quantity zc,N that corresponds to N and that is of the segments whose segment code lengths are 2{circumflex over ( )}c is, floor
   ⁢
   
    (
    
     
      N
      -
      
       N
       res
      
      -
      
       
        ∑
        
         e
         =
         
          c
          +
          1
         
        
        b
       
       
        
         
          z
          
           e
           ,
           N
          
         
         *
        
        ⁢
        
         2
         
          ⋀
          e
         
        
       
      
     
     
      2
      
       ⋀
       c
      
     
    
    )
   
  
  ,
 

 wherein a≤c<b, and floor(x) represents rounding down x, wherein Nres is a first reserved code length.