View angle control method and device suitable for X86 cloud application

By acquiring mobile terminal posture data and calculating offsets in an X86 cloud application, and sending the data to the cloud server to control the viewing angle, the problem of users being unable to effectively control the viewing angle on the mobile terminal is solved, enabling viewing angle control without a third hand and improving the user experience.

CN120832045AActive Publication Date: 2025-10-24HAIMA CLOUD TIANJIN INFORMATION TECH CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202511337705.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-09-18
Publication Date
2025-10-24
Estimated Expiration
2045-09-18

AI Technical Summary

Technical Problem

When using X86 cloud applications on mobile terminals, users cannot effectively control the viewpoint. The viewpoint control logic of existing ARM applications is not applicable to X86 cloud applications, and X86 cloud applications cannot recognize the gyroscope attitude data of mobile terminals.

Method used

By acquiring the posture data of the mobile terminal, intermediate data is calculated and sent to the cloud server. The cloud server determines the offset of the mouse on the cloud application screen based on the intermediate data, thereby realizing the view control of the X86 cloud application. Users only need to adjust the posture of the mobile terminal to control the view.

Benefits of technology

It enables view control via mobile terminal posture adjustment in x86 cloud applications without the need for a third hand, thus improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120832045A_ABST
    Figure CN120832045A_ABST
Patent Text Reader

Abstract

The invention provides a visual angle control method and device suitable for an X86 cloud application. The method comprises the following steps: acquiring attitude data of a mobile terminal; determining intermediate data according to the attitude data, and sending the intermediate data to a cloud server, so that the cloud server determines an offset accumulated value offset Y of the mouse in the height direction and an offset accumulated value offset X of the mouse in the width direction on a cloud application picture of the cloud server according to the intermediate data, and the offset accumulated value offset Y and the offset accumulated value offset X are sent to a system of a cloud server, so that the view angle of the X86 cloud application can be controlled, and view angle control can be carried out on the X86 cloud application.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of cloud applications, and particularly relates to a view angle control method and device suitable for X86 cloud applications. BACKGROUND

[0002] With the development of the market of cloud applications (such as cloud games), the proportion of X86 cloud applications (X86 cloud applications are applications running on cloud servers adopting X86 architecture) in the cloud application market is also increasing. Using mobile terminals such as mobile phones and tablets becomes an important use scenario of X86 cloud applications, but in this use scenario, users cannot control the view angle, for the following reasons: on the one hand, users cannot control the view angle during the process of controlling X86 cloud applications, for example, when a user is playing an FPS game (First-Person Shooter game), on the touch screen of a mobile terminal, the user uses two hands to control the virtual joystick to move the game character and to control the shooting button to shoot, and there is no third hand to drag the screen or use an additional virtual joystick to control the view angle; on the other hand, the view angle control logic commonly used in ARM applications is not suitable for X86 cloud applications, for example, the game on a mobile phone controls the view angle by collecting attitude data of a gyroscope, but X86 cloud games usually only recognize input devices such as keyboards, mice and joysticks, and do not directly support the original attitude data collected by the gyroscope of a mobile phone.

[0003] Therefore, how to control the view angle of X86 cloud applications becomes a technical problem to be solved. SUMMARY

[0004] Therefore, the embodiments of the present application provide a view angle control method and device suitable for X86 cloud applications.

[0005] In a first aspect, the embodiments of the present application provide a view angle control method suitable for X86 cloud applications, applied to a mobile terminal, comprising: obtaining attitude data of the mobile terminal; According to the attitude data, intermediate data is determined and sent to the cloud server, so that the cloud server determines offset accumulation value offsetY and offset accumulation value offsetX of the mouse in the height direction and the width direction on the cloud application picture of the cloud server according to the intermediate data, and sends the offset accumulation value offsetY and the offset accumulation value offsetX to the system of the cloud server, so as to control the view angle of the X86 cloud application, wherein the intermediate data is source data or intermediate result or target result in the process of obtaining the offset accumulation value offsetY and the offset accumulation value offsetX according to the attitude data, and the process of obtaining the offset accumulation value offsetY and the offset accumulation value offsetX according to the attitude data includes: obtaining offset diffY in the height direction and offset diffX in the width direction of the mouse on the cloud application picture of the cloud server according to the attitude data; calculating the offset accumulation value offsetY and the offset accumulation value offsetX according to the offset diffY and the offset diffX.

[0006] In a second aspect, the embodiments of the present application further provide a view angle control method suitable for X86 cloud application, applied to a cloud server, comprising: receiving intermediate data sent by a mobile terminal; According to the attitude data, intermediate data is determined and sent to the cloud server, so that the cloud server determines offset accumulation value offsetY and offset accumulation value offsetX of the mouse in the height direction and the width direction on the cloud application picture of the cloud server according to the intermediate data, and sends the offset accumulation value offsetY and the offset accumulation value offsetX to the system of the cloud server, so as to control the view angle of the X86 cloud application, wherein the intermediate data is source data or intermediate result or target result in the process of obtaining the offset accumulation value offsetY and the offset accumulation value offsetX according to the attitude data, and the process of obtaining the offset accumulation value offsetY and the offset accumulation value offsetX according to the attitude data includes: obtaining offset diffY in the height direction and offset diffX in the width direction of the mouse on the cloud application picture of the cloud server according to the attitude data; calculating the offset accumulation value offsetY and the offset accumulation value offsetX according to the offset diffY and the offset diffX.

[0007] In a third aspect, the embodiments of the present application further provide a view angle control device suitable for X86 cloud application, applied to a mobile terminal, comprising: an obtaining unit, configured to obtain attitude data of the mobile terminal; The first sending unit is configured to determine intermediate data according to the posture data, and send the intermediate data to the cloud server, so that the cloud server determines offset accumulation value offsetY and offset accumulation value offsetX of the mouse in the height direction and the width direction on the cloud application picture of the cloud server according to the intermediate data, and sends the offset accumulation value offsetY and the offset accumulation value offsetX to the system of the cloud server, so as to control the view angle of the X86 cloud application. The intermediate data is source data, intermediate result or target result in a process of obtaining the offset accumulation value offsetY and the offset accumulation value offsetX according to the posture data. The process of obtaining the offset accumulation value offsetY and the offset accumulation value offsetX according to the posture data includes: obtaining offset diffY in the height direction and offset diffX in the width direction of the mouse on the cloud application picture of the cloud server according to the posture data; and calculating the offset accumulation value offsetY and the offset accumulation value offsetX according to the offset diffY and the offset diffX.

[0008] In a fourth aspect, the embodiments of the present application further provide a view angle control device suitable for X86 cloud application, applied to a cloud server, comprising: The receiving unit is configured to receive the intermediate data sent by the mobile terminal. The second sending unit is configured to determine offset accumulation value offsetY and offset accumulation value offsetX of the mouse in the height direction and the width direction on the cloud application picture of the cloud server according to the intermediate data, and send the offset accumulation value offsetY and the offset accumulation value offsetX to the system of the cloud server, so as to control the view angle of the X86 cloud application. The intermediate data is source data, intermediate result or target result in a process of obtaining the offset accumulation value offsetY and the offset accumulation value offsetX according to the posture data of the mobile terminal. The process of obtaining the offset accumulation value offsetY and the offset accumulation value offsetX according to the posture data includes: obtaining offset diffY in the height direction and offset diffX in the width direction of the mouse on the cloud application picture of the cloud server according to the posture data; and calculating the offset accumulation value offsetY and the offset accumulation value offsetX according to the offset diffY and the offset diffX.

[0009] In summary, the view angle control method and device suitable for X86 cloud application provided by the embodiments of the present application obtain the posture data of the mobile terminal, determine the intermediate data according to the posture data, and send the intermediate data to the cloud server. After receiving the intermediate data, the cloud server determines the offset value offsetY in the height direction and the offset value offsetX in the width direction of the mouse on the cloud application picture of the cloud server according to the intermediate data, and sends the offset value offsetY and the offset value offsetX to the system of the cloud server. That is, the posture data of the mobile terminal is converted into the offset value of the mouse that can be recognized by the system of the cloud server and can control the view angle of the X86 cloud application, so as to control the view angle of the X86 cloud application. When the user uses the X86 cloud application, the view angle control can be performed only by adjusting the posture of the mobile terminal, without the need of the third hand for control. In this way, the view angle control of the X86 cloud application can be realized. BRIEF DESCRIPTION OF DRAWINGS

[0010] Figure 1 A flowchart of an embodiment of a view angle control method suitable for X86 cloud application provided by the embodiments of the present application; Figure 2 A flowchart of another embodiment of a view angle control method suitable for X86 cloud application provided by the embodiments of the present application; Figure 3 A structural diagram of an embodiment of a view angle control device suitable for X86 cloud application provided by the embodiments of the present application; Figure 4 A structural diagram of another embodiment of a view angle control device suitable for X86 cloud application provided by the embodiments of the present application. DETAILED DESCRIPTION

[0011] To make the objectives, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described below in detail with reference to the drawings in the embodiments of the present application. It should be understood that the drawings in the present application only serve the purpose of description and illustration, and do not serve to limit the protection scope of the present application. In addition, it should be understood that the schematic drawings are not drawn according to the actual proportions. The flowchart shows the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowchart can not be implemented in sequence, and the steps without logical context relationship can be reversed in sequence or implemented simultaneously. In addition, one or more other operations can be added to the flowchart or one or more operations can be removed from the flowchart under the guidance of the content of the present application.

[0012] In addition, the described embodiments are only some embodiments of the present application, rather than all embodiments. The components of the embodiments of the present application described and shown in the drawings herein can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the claimed present application, but only represents selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without creative labor fall within the scope of protection of the present application.

[0013] It should be noted that the term "comprising" will be used in the embodiments of the present application to indicate the presence of the features declared thereafter, but does not exclude the addition of other features.

[0014] Referring to Figure 1 As shown in the flowchart of a perspective control method for X86 cloud applications, the method is applied to a mobile terminal and includes the following steps: S10, obtaining posture data of the mobile terminal; In the present embodiment, it should be noted that the posture data of the mobile terminal can be collected using a gyroscope of the mobile terminal, or the results of the optimized posture data collected by the gyroscope can be obtained using a related module provided by the system of the mobile terminal as the posture data of the mobile terminal, such as when the mobile terminal is an iPhone or iPad, the attitude object of the CMDeviceMotion module (i.e. the sensor framework module provided by the iOS system) callback can be used to obtain the posture data of the mobile terminal.

[0015] S11, determining intermediate data according to the posture data, and sending the intermediate data to a cloud server, so that the cloud server determines offset accumulation value offsetY and offset accumulation value offsetX of the mouse in the height direction and the width direction on the cloud application picture of the cloud server according to the intermediate data, and sends the offset accumulation value offsetY and the offset accumulation value offsetX to the system of the cloud server, so as to control the perspective of the X86 cloud application, wherein the intermediate data is the source data or the intermediate result or the target result in the process of obtaining the offset accumulation value offsetY and the offset accumulation value offsetX from the posture data, and the process of obtaining the offset accumulation value offsetY and the offset accumulation value offsetX from the posture data includes: obtaining offset diffY and offset diffX in the height direction and the width direction of the mouse on the cloud application picture of the cloud server according to the posture data; calculating the offset accumulation value offsetY and the offset accumulation value offsetX according to the offset diffY and the offset diffX.

[0016] It should be noted that the purpose of the scheme is that the cloud server sends the offset accumulation value offsetY and the offset accumulation value offsetX to the system of the cloud server to control the view angle of the X86 cloud application. Based on this purpose, the source data or the intermediate result or the target result (i.e., the intermediate data) in the process of obtaining the offset accumulation value offsetY and the offset accumulation value offsetX from the attitude data can be sent to the cloud server. After receiving the intermediate data, the cloud server can determine the offset accumulation value offsetY and the offset accumulation value offsetX based on the intermediate data. That is, the operation process of obtaining the offset accumulation value offsetY and the offset accumulation value offsetX from the attitude data in the embodiment can be independently executed by the mobile terminal, or independently executed by the cloud server, or cooperatively executed by the mobile terminal and the cloud server.

[0017] The method for controlling the view angle of the X86 cloud application provided in the embodiment of the application comprises the following steps: obtaining attitude data of a mobile terminal; determining intermediate data from the attitude data; and sending the intermediate data to a cloud server, so that the cloud server determines offset accumulation values of a mouse in a height direction and a width direction of a cloud application picture of the cloud server from the intermediate data, and sends the offset accumulation values offsetY and offsetX to a system of the cloud server. That is, the attitude data of the mobile terminal is converted into the offset accumulation values of the mouse that can be recognized by the system of the cloud server and can control the view angle of the X86 cloud application, so as to control the view angle of the X86 cloud application. When a user uses the X86 cloud application, the user only needs to adjust the attitude of the mobile terminal to control the view angle, without the need of a third hand to control. Thus, the view angle of the X86 cloud application can be controlled.

[0018] On the basis of the method embodiment, the offset diffY in the height direction and the offset diffX in the width direction of the mouse on the cloud application picture of the cloud server obtained from the attitude data can comprise the following steps: determining a rotation angle roll of the mobile terminal around an X axis of the reference coordinate system and a rotation angle pitch of the mobile terminal around a Y axis of the reference coordinate system from the attitude data; mapping the rotation angle roll to a Y axis coordinate point Y1 on the mobile terminal screen and mapping the rotation angle pitch to an X axis coordinate point X1 on the mobile terminal screen if the mobile terminal screen is horizontal, or mapping the rotation angle pitch to the Y axis coordinate point Y1 on the mobile terminal screen and mapping the rotation angle roll to the X axis coordinate point X1 on the mobile terminal screen if the mobile terminal screen is vertical; calculating the offset diffY from the Y axis coordinate point Y1 and calculating the offset diffX from the X axis coordinate point X1.

[0019] In this embodiment, it should be noted that the rotation angle roll of the mobile terminal around the X axis of the reference coordinate system and the rotation angle pitch of the mobile terminal around the Y axis of the reference coordinate system can be obtained from the attitude data, and the rotation angle roll and the rotation angle pitch are mapped to the coordinate points on the corresponding coordinate axes on the screen of the mobile terminal. Specifically, if the screen of the mobile terminal is horizontal, the cloud application picture is displayed horizontally, the rotation angle roll needs to be mapped to the Y axis coordinate point Y1 on the screen of the mobile terminal, and the rotation angle pitch needs to be mapped to the X axis coordinate point X1 on the screen of the mobile terminal. If the screen of the mobile terminal is vertical, the cloud application picture is displayed horizontally, the rotation angle pitch needs to be mapped to the Y axis coordinate point Y1 on the screen of the mobile terminal, and the rotation angle roll needs to be mapped to the X axis coordinate point X1 on the screen of the mobile terminal. When the coordinate points on the coordinate axes are mapped, a linear mapping manner or a nonlinear mapping manner can be used. The linear mapping manner refers to the value mapped by the rotation angle in the case that the maximum range of the rotation angle is uniformly mapped to [0, L]; the nonlinear mapping manner refers to the value mapped by the rotation angle in the case that the maximum range of the rotation angle is non-uniformly mapped to [0, L], and L is the height screenHeight or the width screenWidth of the cloud application picture of the mobile terminal. When the screen of the mobile terminal is horizontal, the cloud application picture is displayed horizontally: if the rotation angle is roll, the maximum range of the rotation angle can be [−π, π] (the rotation angle can be negative when the mobile terminal is reversed to the direction of the handheld user, and the rotation angle can be positive when the mobile terminal is reversed to the direction facing the handheld user), and L is screenHeight; if the rotation angle is pitch, the maximum range of the rotation angle can be [−π / 2, π / 2] (the rotation angle can be positive when the mobile terminal is reversed to the left direction of the handheld user, and the rotation angle can be negative when the mobile terminal is reversed to the right direction of the handheld user), and L is screenWidth. When the screen of the mobile terminal is vertical, the cloud application picture is displayed horizontally: if the rotation angle is roll, the maximum range of the rotation angle can be [−π / 2, π / 2] (the rotation angle can be negative when the mobile terminal is reversed to the direction of the handheld user, and the rotation angle can be positive when the mobile terminal is reversed to the direction facing the handheld user), and L is screenWidth; if the rotation angle is pitch, the maximum range of the rotation angle can be [−π, π] (the rotation angle can be negative when the mobile terminal is reversed to the left direction of the handheld user, and the rotation angle can be positive when the mobile terminal is reversed to the right direction of the handheld user), and L is screenHeight.

[0020] If the linear mapping manner is used, the calculation formula of mapping the rotation angle roll to the Y axis coordinate point Y1 on the screen of the mobile terminal can be: Y1= (roll + π) / (2 x π) x screenHeight (1) wherein, screenHeight represents the height of the cloud application picture of the mobile terminal; The calculation formula of the X-axis coordinate point X1 on the mobile terminal screen mapped by the rotation angle pitch can be: X1= (pitch + π / 2) / π x screenWidth (2) wherein, screenWidth represents the width of the cloud application picture of the mobile terminal.

[0021] If the linear mapping is adopted, the calculation formula of the Y-axis coordinate point Y1 on the mobile terminal screen mapped by the rotation angle pitch can be the formula obtained by replacing roll in formula (1) with pitch; the calculation formula of the X-axis coordinate point X1 on the mobile terminal screen mapped by the rotation angle roll can be the formula obtained by replacing pitch in formula (2) with roll.

[0022] The maximum range of the rotation angle can be segmented, and each segment is uniformly mapped to a subset of [0, L], and the length of the subset mapped by each segment is not completely the same. For example, the maximum range of the rotation angle roll is [-π, π], and L is screenHeight. Then, [-π, 0] can be uniformly mapped to [0, L / 4], and (0, π] can be uniformly mapped to (L / 4, L].

[0023] On the basis of the foregoing method embodiment, the offset diffY calculated according to the Y-axis coordinate point Y1 can include: the Y-axis coordinate point Y1 is mapped to the Y-axis coordinate point Y2 on the cloud application picture of the cloud server, and the offset diffY is calculated according to the Y-axis coordinate point Y2; or the Y-axis coordinate point offset is calculated according to the Y-axis coordinate point Y1, and the Y-axis coordinate point offset is mapped to the offset diffY; The offset diffX calculated according to the X-axis coordinate point X1 can include: the X-axis coordinate point X1 is mapped to the X-axis coordinate point X2 on the cloud application picture of the cloud server, and the offset diffX is calculated according to the X-axis coordinate point X2; or the X-axis coordinate point offset is calculated according to the X-axis coordinate point X1, and the X-axis coordinate point offset is mapped to the offset diffX.

[0024] It should be noted that the ratio of the width and height of the cloud application picture of the mobile terminal is the same as that of the cloud server, and cWidth and cHeight are the width and height of the cloud application picture of the cloud server. Y2=Y1 / screenHeight×cHeight, X2=X1 / screenWidth×cWidth. The offset diffY can be the product of the difference between the current Y2 and the last Y2 and the offset sensitivity, and the offset diffX can be the product of the difference between the current X2 and the last X2 and the offset sensitivity. The offset sensitivity can be set as needed, such as 3.

[0025] The calculation formula of the Y-axis coordinate point offset according to the Y-axis coordinate point Y1 can be: tiffY=(Y1-Y1`)×gyroSensitivityY (3) Wherein, tiffY represents the Y-axis coordinate point offset, Y1 and Y1` represent the current Y-axis coordinate point Y1 and the last Y-axis coordinate point Y1 respectively, and gyroSensitivityY represents the offset sensitivity. diffY=tiffY / screenHeight×cHeight.

[0026] The calculation formula of the X-axis coordinate point offset according to the X-axis coordinate point X1 can be consistent with formula (3), which will not be repeated here. diffX=tiffX / screenWidth×cWidth.

[0027] On the basis of the foregoing method embodiment, the calculation formula of the Y-axis coordinate point offset according to the Y-axis coordinate point Y1 can be: tiffY=(α×f(liffY) / T+(1-α)×liffY`)×sensitivity, Wherein, f(liffY)=sign(liffY)×|liffY| γ , The formula for calculating the X-axis coordinate point offset according to the X-axis coordinate point X1 can be consistent with the formula for calculating the Y-axis coordinate point offset according to the Y-axis coordinate point Y1. Details are not repeated here.

[0028] On the basis of the foregoing method embodiment, the calculating the offset accumulation value offsetY and the offset accumulation value offsetX according to the offset diffY and the offset diffX can include: When the absolute value of the offset diffY is greater than a first threshold or the absolute value of the offset diffX is greater than a second threshold, the offset accumulation value offsetY is calculated according to the offset diffY, and the offset accumulation value offsetX is calculated according to the offset diffX.

[0029] In this embodiment, it should be noted that only when the absolute value of the latest offset diffY is greater than the first threshold or the absolute value of the latest offset diffX is greater than the second threshold, the latest offset diffY is added to the existing offsetY, and the latest offset diffX is added to the existing offsetX; otherwise, the latest offset diffY / diffX is not added to the existing offsetY / offsetX, in which case the offsetY and the offsetX do not change, and the cloud server will not send the offsetY and the offsetX to the system of the cloud server. The offsetY and the offsetX can be initially set to 0. The first threshold = θ x π / 180 x screenHeight, and the second threshold = σ x π / 180 x screenWidth. θ and σ can be set as needed, for example, to 1°.

[0030] Referring to Figure 2 As shown in the method for controlling the view angle of the X86 cloud application provided by the embodiment of the present application, the method is applied to a cloud server and includes the following steps: S20, receiving intermediate data sent by a mobile terminal; S21, determining offsetY and offsetX according to the intermediate data, and sending offsetY and offsetX to the system of the cloud server to control the view angle of the X86 cloud application, wherein the intermediate data is source data or intermediate result or target result in the process of obtaining offsetY and offsetX according to the posture data of the mobile terminal, and the process of obtaining offsetY and offsetX according to the posture data comprises: obtaining offsetY and offsetX according to the posture data of the mobile terminal.

[0031] The view angle control method for X86 cloud application provided by the embodiments of the present application receives the intermediate data determined according to the posture data of the mobile terminal, determines offsetY and offsetX according to the intermediate data, and sends offsetY and offsetX to the system of the cloud server, that is, converts the posture data of the mobile terminal into offsetY and offsetX of the mouse which can be recognized by the system of the cloud server and can control the view angle of the X86 cloud application, to control the view angle of the X86 cloud application, and when the user uses the X86 cloud application, only needs to adjust the posture of the mobile terminal to control the view angle, without the need of the third hand to control, so as to realize the view angle control of the X86 cloud application.

[0032] Referring to Figure 3 The device for view angle control of X86 cloud application provided by the embodiments of the present application is applied to a mobile terminal, and comprises: The obtaining unit 30 is configured to obtain the posture data of the mobile terminal. The first sending unit 31 is configured to determine intermediate data according to the attitude data, and send the intermediate data to the cloud server, so that the cloud server determines offset accumulation value offsetY and offset accumulation value offsetX of the mouse in the height direction and the width direction on the cloud application picture of the cloud server according to the intermediate data, and sends the offset accumulation value offsetY and the offset accumulation value offsetX to the system of the cloud server, so as to control the view angle of the X86 cloud application. The intermediate data is source data or intermediate result or target result in the process of obtaining the offset accumulation value offsetY and the offset accumulation value offsetX according to the attitude data. The process of obtaining the offset accumulation value offsetY and the offset accumulation value offsetX according to the attitude data includes: obtaining offset diffY and offset diffX in the height direction and the width direction of the mouse on the cloud application picture of the cloud server according to the attitude data; and calculating the offset accumulation value offsetY and the offset accumulation value offsetX according to the offset diffY and the offset diffX.

[0033] The view angle control device for the X86 cloud application provided by the embodiment of the application obtains the attitude data of the mobile terminal, determines intermediate data according to the attitude data, and sends the intermediate data to the cloud server, so that the cloud server determines offset accumulation value offsetY and offset accumulation value offsetX of the mouse in the height direction and the width direction on the cloud application picture of the cloud server according to the intermediate data, and sends the offset accumulation value offsetY and the offset accumulation value offsetX to the system of the cloud server. That is, the attitude data of the mobile terminal is converted into the offset accumulation value of the mouse that can be recognized by the system of the cloud server and can control the view angle of the X86 cloud application, so as to control the view angle of the X86 cloud application. When the user uses the X86 cloud application, the view angle control can be performed only by adjusting the attitude of the mobile terminal, without the need of the third hand for control. Therefore, the view angle control of the X86 cloud application can be realized.

[0034] The view angle control device for the X86 cloud application provided by the embodiment of the application has the same implementation process and effect as the view angle control method for the X86 cloud application provided by the embodiment of the application, and details are not described herein.

[0035] Referring to Figure 4 The view angle control device for the X86 cloud application provided by the embodiment of the application has the same implementation process and effect as the view angle control method for the X86 cloud application provided by the embodiment of the application, and details are not described herein. The receiving unit 40 is configured to receive the intermediate data sent by the mobile terminal. The second sending unit 41 is configured to determine offset accumulation value offsetY and offset accumulation value offsetX of the mouse in the height direction and the width direction on the cloud application picture of the cloud server according to the intermediate data, and send the offset accumulation value offsetY and the offset accumulation value offsetX to the system of the cloud server to control the view angle of the X86 cloud application, wherein the intermediate data is source data or intermediate result or target result in the process of obtaining the offset accumulation value offsetY and the offset accumulation value offsetX according to the posture data of the mobile terminal, and the process of obtaining the offset accumulation value offsetY and the offset accumulation value offsetX according to the posture data comprises: obtaining offset diffY in the height direction and offset diffX in the width direction of the mouse on the cloud application picture of the cloud server according to the posture data; and calculating the offset accumulation value offsetY and the offset accumulation value offsetX according to the offset diffY and the offset diffX.

[0036] The view angle control device for the X86 cloud application provided by the embodiments of the present application receives the intermediate data determined according to the posture data sent by the mobile terminal, determines offset accumulation value offsetY and offset accumulation value offsetX of the mouse in the height direction and the width direction on the cloud application picture of the cloud server according to the intermediate data, and sends the offset accumulation value offsetY and the offset accumulation value offsetX to the system of the cloud server, that is, converts the posture data of the mobile terminal into the offset accumulation value of the mouse which can be recognized by the system of the cloud server and can control the view angle of the X86 cloud application, to control the view angle of the X86 cloud application, and when the user uses the X86 cloud application, only needs to adjust the posture of the mobile terminal to control the view angle, without the need of the third hand to control, so that the view angle control of the X86 cloud application can be realized.

[0037] The above merely describes the specific embodiments of the present application, but the protection scope of the present application is not limited to this, any person skilled in the art can easily think of the changes or replacements within the technical range disclosed by the present application, which should be covered in the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims

1. A perspective control method suitable for X86 cloud applications, applied to a mobile terminal, characterized in that, The method comprises the following steps: Obtaining posture data of the mobile terminal; According to the posture data, intermediate data is determined, and the intermediate data is sent to the cloud server, so that the cloud server determines the offset value offsetY in the height direction and the offset value offsetX in the width direction of the mouse on the cloud application picture of the cloud server according to the intermediate data, and sends the offset value offsetY and the offset value offsetX to the system of the cloud server to control the view angle of the X86 cloud application, wherein the intermediate data is source data or intermediate result or target result in the process of obtaining the offset value offsetY and the offset value offsetX according to the posture data, and the process of obtaining the offset value offsetY and the offset value offsetX according to the posture data comprises the following steps: obtaining the offset value diffY in the height direction and the offset value diffX in the width direction of the mouse on the cloud application picture of the cloud server according to the posture data; calculating the offset value offsetY and the offset value offsetX according to the offset value diffY and the offset value diffX.

2. The method of claim 1, wherein, The process of obtaining the offset value diffY in the height direction and the offset value diffX in the width direction of the mouse on the cloud application picture of the cloud server according to the posture data comprises the following steps: According to the posture data, the rotation angle roll of the mobile terminal around the X axis of the reference coordinate system and the rotation angle pitch of the mobile terminal around the Y axis of the reference coordinate system are determined; If the mobile terminal screen is horizontal, the rotation angle roll is mapped to the Y axis coordinate point Y1 on the mobile terminal screen, the rotation angle pitch is mapped to the X axis coordinate point X1 on the mobile terminal screen, or if the mobile terminal screen is vertical, the rotation angle pitch is mapped to the Y axis coordinate point Y1 on the mobile terminal screen, and the rotation angle roll is mapped to the X axis coordinate point X1 on the mobile terminal screen; According to the Y axis coordinate point Y1, the offset value diffY is calculated, and according to the X axis coordinate point X1, the offset value diffX is calculated.

3. The method of claim 2, wherein, The calculation formula of mapping the rotation angle roll to the Y axis coordinate point Y1 on the mobile terminal screen is: Y1=(roll+π) / (2×π)×screenHeight, Wherein, screenHeight represents the height of the cloud application picture of the mobile terminal; The calculation formula of mapping the rotation angle pitch to the X axis coordinate point X1 on the mobile terminal screen is: X1=(pitch+π / 2) / π×screenWidth, Wherein, screenWidth represents the width of the cloud application picture of the mobile terminal.

4. The method of claim 2, wherein, The calculation of the offset value diffY according to the Y axis coordinate point Y1 comprises: Mapping the Y axis coordinate point Y1 to the Y axis coordinate point Y2 on the cloud application picture of the cloud server, and calculating the offset value diffY according to the Y axis coordinate point Y2; or According to the Y axis coordinate point Y1, the Y axis coordinate point offset is calculated, and the Y axis coordinate point offset is mapped to the offset value diffY.

5. The method of claim 4, wherein, The calculation formula for calculating the Y-axis coordinate point offset according to the Y-axis coordinate point Y1 is: tiffY= (Y1-Y1') x gyroSensitivityY, Wherein, tiffY represents the Y-axis coordinate point offset, Y1 and Y1' represent the Y-axis coordinate point Y1 calculated this time and the Y-axis coordinate point Y1 calculated last time respectively, and gyroSensitivityY represents the offset sensitivity.

6. The method of claim 4, wherein, The calculation formula for calculating the Y-axis coordinate point offset according to the Y-axis coordinate point Y1 is: tiffY= (α x f (liffY) / T + (1-α) x liffY') x sensitivity, where f(liffY) = sign(liffY) x |liffY| γ , α represents the EMA filter coefficient, liffY represents the difference between the Y-axis coordinate point Y1 calculated this time and the Y-axis coordinate point Y1 calculated last time, liffY' represents the difference between the Y-axis coordinate point Y1 calculated last time and the Y-axis coordinate point Y1 calculated two times ago, T represents the sampling time interval, sensitivity represents the offset sensitivity, sign (liffY) represents the sign of liffY, and γ represents the adjustment parameter.

7. The method of claim 1, wherein, The calculation of the offset cumulative value offsetY and the offset cumulative value offsetX according to the offset diffY and the offset diffX comprises: When the absolute value of the offset diffY is greater than a first threshold or the absolute value of the offset diffX is greater than a second threshold, the offset cumulative value offsetY is calculated according to the offset diffY, and the offset cumulative value offsetX is calculated according to the offset diffX.

8. A view control method suitable for X86 cloud applications, applied to a cloud server, characterized in that, It comprises: Receiving intermediate data sent by a mobile terminal; According to the intermediate data, the offset cumulative value offsetY in the height direction and the offset cumulative value offsetX in the width direction of the mouse on the cloud application picture of the cloud server are determined, and the offset cumulative value offsetY and the offset cumulative value offsetX are sent to the system of the cloud server to control the view angle of the X86 cloud application, wherein the intermediate data is source data, intermediate results or target results in the process of obtaining the offset cumulative value offsetY and the offset cumulative value offsetX according to the posture data of the mobile terminal, and the process of obtaining the offset cumulative value offsetY and the offset cumulative value offsetX according to the posture data comprises: obtaining the offset diffY in the height direction and the offset diffX in the width direction of the mouse on the cloud application picture of the cloud server according to the posture data; and calculating the offset cumulative value offsetY and the offset cumulative value offsetX according to the offset diffY and the offset diffX.

9. A perspective control device suitable for X86 cloud applications, applied to a mobile terminal, characterized in that, It comprises: An acquisition unit is configured to acquire posture data of a mobile terminal; The first sending unit is used for determining intermediate data according to the posture data and sending the intermediate data to the cloud server, so that the cloud server determines offset accumulation value offsetY and offset accumulation value offsetX of the mouse in the height direction and the width direction on the cloud application picture of the cloud server according to the intermediate data, and sends the offset accumulation value offsetY and the offset accumulation value offsetX to the system of the cloud server to control the view angle of the X86 cloud application, wherein the intermediate data is source data or intermediate result or target result in the process of obtaining the offset accumulation value offsetY and the offset accumulation value offsetX according to the posture data, and the process of obtaining the offset accumulation value offsetY and the offset accumulation value offsetX according to the posture data comprises: obtaining offset diffY in the height direction and offset diffX in the width direction of the mouse on the cloud application picture of the cloud server according to the posture data; and calculating the offset accumulation value offsetY and the offset accumulation value offsetX according to the offset diffY and the offset diffX.

10. A perspective control device suitable for X86 cloud applications, applied to a cloud server, characterized in that, Comprise: The receiving unit is used for receiving the intermediate data sent by the mobile terminal; The second sending unit is used for determining offset accumulation value offsetY and offset accumulation value offsetX of the mouse in the height direction and the width direction on the cloud application picture of the cloud server according to the intermediate data, and sending the offset accumulation value offsetY and the offset accumulation value offsetX to the system of the cloud server to control the view angle of the X86 cloud application, wherein the intermediate data is source data or intermediate result or target result in the process of obtaining the offset accumulation value offsetY and the offset accumulation value offsetX according to the posture data of the mobile terminal, and the process of obtaining the offset accumulation value offsetY and the offset accumulation value offsetX according to the posture data comprises: obtaining offset diffY in the height direction and offset diffX in the width direction of the mouse on the cloud application picture of the cloud server according to the posture data; and calculating the offset accumulation value offsetY and the offset accumulation value offsetX according to the offset diffY and the offset diffX.

Citation Information

Patent Citations

  • Cloud-gaming-based mouse signal processing device and method

    CN103970290A

  • Game client side control method, device, storage medium, and electronic device

    CN109550246A

  • Viewing angle interaction control method and device and computer readable storage medium

    CN112402951A

  • Cursor control method and device, electronic equipment and storage medium

    CN113407045A

  • IMU-based cursor control method and device, storage medium and computer equipment

    CN117806468A