Patent ID: 11968482
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H  Y | IPC H

Claim 5:
6. The method according to claim 5, wherein the orientation data comprises values of the terminal on X, Y, and Z axes in a preset coordinate system, and the performing normalization processing on the orientation data to obtain normalized data comprises:
performing normalization processing on the value on the X axis in the orientation data according to the following formula, to obtain normalized data:, Normalized
    ⁢
       
    data
   
   =
   
    
     X
     ⁢
        
     axis
    
    
     C
     ⁢
     1
    
   
  
  ,
 

wherein C1 is a maximum value on the X axis; or
performing normalization processing on the value on the Y axis in the orientation data according to the following formula to obtain normalized data:, Normalized
    ⁢
       
    data
   
   =
   
    
     Y
     ⁢
        
     axis
    
    
     C
     ⁢
     2
    
   
  
  ,
 

wherein C2 is a maximum value on the Y axis; or
performing normalization processing on the value on the Z axis in the orientation data according to the following formula to obtain normalized data:, Normalized
    ⁢
       
    data
   
   =
   
    
     Z
     ⁢
        
     axis
    
    
     C
     ⁢
     3
    
   
  
  ,
 

wherein C3 is a maximum value on the Z axis.