View control method and device suitable for x86 cloud application

By acquiring mobile terminal posture data and calculating intermediate data to control the cloud server's perspective, the problem of perspective control in X86 cloud applications has been solved. Users only need to adjust the terminal posture to achieve perspective control, thus improving the user experience.

CN120832045BActive Publication Date: 2025-12-12HAIMA CLOUD TIANJIN INFORMATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202511337705.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-09-18
Publication Date
2025-12-12
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 there is a lack of solutions for third-party viewpoint control.

Method used

By acquiring the posture data of the mobile terminal, calculating intermediate data and sending it 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 view control. Users only need to adjust the posture of the terminal to control the view.

Benefits of technology

It enables view control without a third hand in x86 cloud applications, resulting in a better user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120832045B_ABST
    Figure CN120832045B_ABST
Patent Text Reader

Abstract

The application provides a perspective control method and device suitable for X86 cloud application, the method comprises the following steps: obtaining posture data of a mobile terminal; determining intermediate data according to the posture data, and sending the intermediate data to a cloud server, so that the cloud server determines offset cumulative value offsetY of a height direction and offset cumulative value offsetX of a width direction of a mouse on a cloud application picture of the cloud server according to the intermediate data, and sends the offset cumulative value offsetY and the offset cumulative value offsetX to a system of the cloud server, so as to control the perspective of the X86 cloud application, and the perspective of the X86 cloud application can be controlled.
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 the 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:

[0006] obtaining attitude data of the mobile terminal;

[0007] According to the attitude data, intermediate data is determined and sent to the cloud server, so that the cloud server determines offsetY and offsetX of the mouse on the cloud application picture of the cloud server in the height direction and the width direction according to the intermediate data, and sends 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, intermediate result or target result in the process of obtaining offsetY and offsetX according to the attitude data, and the process of obtaining offsetY and offsetX according to the attitude data includes: obtaining offsetY and offsetX of the mouse on the cloud application picture of the cloud server in the height direction and the width direction according to the attitude data; calculating offsetY and offsetX according to offsetY and offsetX.

[0008] 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:

[0009] Receiving the intermediate data sent by the mobile terminal;

[0010] According to the attitude data, intermediate data is determined and sent to the cloud server, so that the cloud server determines offsetY and offsetX of the mouse on the cloud application picture of the cloud server in the height direction and the width direction according to the intermediate data, and sends 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, intermediate result or target result in the process of obtaining offsetY and offsetX according to the attitude data, and the process of obtaining offsetY and offsetX according to the attitude data includes: obtaining offsetY and offsetX of the mouse on the cloud application picture of the cloud server in the height direction and the width direction according to the attitude data; calculating offsetY and offsetX according to offsetY and offsetX.

[0011] 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:

[0012] The attitude data of the mobile terminal is obtained by the obtaining unit.

[0013] 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 values offsetY and 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 values offsetY and 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, intermediate result or target result in a process of obtaining the offset accumulation values offsetY and offsetX according to the posture data, and the process of obtaining the offset accumulation values offsetY and 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 values offsetY and offsetX according to the offset diffY and the offset diffX.

[0014] In a fourth aspect, the embodiments of the present application further provide a view angle control device suitable for X86 cloud application, which is applied to a cloud server and comprises:

[0015] The receiving unit is configured to receive the intermediate data sent by the mobile terminal.

[0016] The second sending unit is configured to determine offset accumulation values offsetY and 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 values offsetY and 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, intermediate result or target result in a process of obtaining the offset accumulation values offsetY and offsetX according to the posture data of the mobile terminal, and the process of obtaining the offset accumulation values offsetY and 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 values offsetY and offsetX according to the offset diffY and the offset diffX.

[0017] 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 can be controlled only by adjusting the posture of the mobile terminal, without the need of the third hand for control. In this way, the view angle of the X86 cloud application can be controlled. BRIEF DESCRIPTION OF DRAWINGS

[0018] Figure 1 The flowchart of an embodiment of the view angle control method suitable for X86 cloud application provided by the embodiments of the present application is shown in FIG. 1.

[0019] Figure 2 The flowchart of another embodiment of the view angle control method suitable for X86 cloud application provided by the embodiments of the present application is shown in FIG. 2.

[0020] Figure 3 The structural diagram of an embodiment of the view angle control device suitable for X86 cloud application provided by the embodiments of the present application is shown in FIG. 3.

[0021] Figure 4 The structural diagram of another embodiment of the view angle control device suitable for X86 cloud application provided by the embodiments of the present application is shown in FIG. 4. DETAILED DESCRIPTION

[0022] 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 are not used 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 flowcharts show the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowcharts 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 flowcharts or one or more operations can be removed from the flowcharts under the guidance of the content of the present application.

[0023] In addition, the described embodiments are only some of the embodiments of the present application, rather than all the 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.

[0024] 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.

[0025] Referring to Figure 1 As shown in the flowchart of the perspective control method for X86 cloud application provided by the embodiments of the present application, the method is applied to a mobile terminal and comprises the following steps:

[0026] S10, acquiring posture data of the mobile terminal;

[0027] In the embodiments, it should be noted that the posture data of the mobile terminal can be collected by using the gyroscope of the mobile terminal, or the optimized result of the posture data collected by the gyroscope can be obtained by using the 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 an 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.

[0028] 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 in the height direction and offset accumulation value offsetX in the width direction of a mouse on a 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 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 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.

[0029] It should be noted that the purpose of the present solution is to 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. Based on this purpose, the source data or intermediate results or target results (i.e., 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 present 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.

[0030] The method for controlling the view angle of the X86 cloud application provided by the embodiments of the present application comprises the following steps: obtaining the attitude data of the mobile terminal; determining the intermediate data from the attitude data; and sending the intermediate data to the cloud server, so that the cloud server determines the offset accumulation value offsetY and the offset accumulation value offsetX of the mouse in the height direction and the width direction of the cloud application picture of the cloud server based on 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. Thus, the view angle control of the X86 cloud application can be realized.

[0031] On the basis of the foregoing method embodiments, the offset diffY and the offset diffX of the mouse in the height direction and the width direction of the cloud application picture of the cloud server obtained from the attitude data can comprise the following steps:

[0032] determining 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 from the attitude data;

[0033] if the mobile terminal screen is horizontal, mapping the rotation angle roll to the Y axis coordinate point Y1 on the mobile terminal screen, and mapping the rotation angle pitch to the X axis coordinate point X1 on the mobile terminal screen, or if the mobile terminal screen is vertical, 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;

[0034] According to the Y-axis coordinate point Y1, the offset diffY is calculated, and according to the X-axis coordinate point X1, the offset diffX is calculated.

[0035] 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 mobile terminal screen 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 mobile terminal screen 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 point mapping on the coordinate axis is performed, 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 mobile terminal screen 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 mobile terminal screen 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.

[0036] If a linear mapping is used, the calculation formula of the rotation angle roll mapped to the Y-axis coordinate point Y1 on the screen of the mobile terminal can be:

[0037] Y1= (roll + π) / (2 × π) × screenHeight (1)

[0038] screenHeight represents the height of the cloud application picture of the mobile terminal.

[0039] The calculation formula of the rotation angle pitch mapped to the X-axis coordinate point X1 on the screen of the mobile terminal can be:

[0040] X1= (pitch + π / 2) / π × screenWidth (2)

[0041] screenWidth represents the width of the cloud application picture of the mobile terminal.

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

[0043] 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].

[0044] On the basis of the foregoing method embodiment, the offset diffY calculated according to the Y-axis coordinate point Y1 can include:

[0045] 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

[0046] 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.

[0047] The offset diffX calculated according to the X-axis coordinate point X1 can include:

[0048] Map the X-axis coordinate point X1 to the X-axis coordinate point X2 on the cloud application picture of the cloud server, and calculate the offset diffX according to the X-axis coordinate point X2; or

[0049] According to the X-axis coordinate point X1, calculate the X-axis coordinate point offset, and map the X-axis coordinate point offset to the offset diffX.

[0050] In this embodiment, 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 the ratio of the width and height of the cloud application picture of the cloud server. Assuming that cWidth and cHeight are the width and height of the cloud application picture of the cloud server, Y2=Y1 / screenHeight×cHeight, and X2=X1 / screenWidth×cWidth. The offset diffY can be the product of the difference between the Y2 calculated this time and the Y2 calculated last time and the offset sensitivity, the offset diffX can be the product of the difference between the X2 calculated this time and the X2 calculated last time and the offset sensitivity, and the offset sensitivity can be set as needed, such as 3.

[0051] The calculation formula of the Y-axis coordinate point offset according to the Y-axis coordinate point Y1 can be:

[0052] tiffY=(Y1-Y1`)×gyroSensitivityY (3)

[0053] 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. diffY=tiffY / screenHeight×cHeight.

[0054] 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.

[0055] 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:

[0056] tiffY=(α×f(liffY) / T+(1-α)×liffY`)×sensitivity,

[0057] Wherein, f(liffY)=sign(liffY)×|liffY| γ ,

[0058] 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.

[0059] 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:

[0060] When the absolute value of the offset diffY is greater than the first threshold or the absolute value of the offset diffX is greater than the 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.

[0061] 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°.

[0062] Referring to Figure 2 As shown in the method provided by the embodiment of the present application, a flowchart of a view control method suitable for X86 cloud applications is provided. The method is applied to a cloud server and includes the following steps.

[0063] S20, receiving intermediate data sent by the mobile terminal;

[0064] S21, determining offsetY and 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 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, the process of obtaining offsetY and offsetX according to the posture data includes: obtaining offsetY and offsetX of the mouse in the height direction and the width direction on the cloud application picture of the cloud server according to the posture data; calculating offsetY and offsetX according to offsetY and offsetX.

[0065] The view angle control method for X86 cloud application provided by the embodiments of the present application receives intermediate data determined according to posture data sent by the mobile terminal, determines offsetY and 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 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 that the view angle control of the X86 cloud application can be realized.

[0066] 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 includes:

[0067] The obtaining unit 30 is configured to obtain posture data of the mobile terminal.

[0068] 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, 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; and calculating the offset accumulation value offsetY and the offset accumulation value offsetX according to the offset diffY and the offset diffX.

[0069] The view angle control device for the X86 cloud application provided by the embodiment of the present application is used for obtaining the attitude data of the mobile terminal, determining intermediate data according to the attitude data, 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, that is, the attitude data of the mobile terminal is converted 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, so as to control the view angle of the X86 cloud application, and 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, so that the view angle control of the X86 cloud application can be realized.

[0070] The view angle control device for the X86 cloud application provided by the embodiment of the present 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 present application, and details are not described herein.

[0071] Referring to Figure 4 As shown in FIG. 1, the view angle control device for the X86 cloud application provided by the embodiment of the present application is applied to a cloud server, and includes:

[0072] The receiving unit 40 is configured to receive the intermediate data sent by the mobile terminal.

[0073] 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.

[0074] The view angle control device for the X86 cloud application provided by the embodiment 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.

[0075] 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 results or target results in the process of obtaining the offset value offsetY and the offset value offsetX from the posture data, and the process of obtaining the offset value offsetY and the offset value offsetX from the posture data comprises the following steps: 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; calculating the offset value offsetY and the offset value offsetX according to the offset diffY and the offset diffX, and the cloud application is cloud game.

2. The method of claim 1, wherein, The process of 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 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 diffY is calculated, and according to the X axis coordinate point X1, the offset 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 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 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 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, and the cloud application is a cloud game.

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 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 values offsetY and offsetX of the mouse in the height direction and the width direction on a cloud application screen of the cloud server according to the intermediate data, and sends the offset accumulation values offsetY and offsetX to a system of the cloud server to control a view angle of an X86 cloud application, wherein the intermediate data is source data, intermediate results or target results in a process of obtaining the offset accumulation values offsetY and offsetX according to the posture data, the process of obtaining the offset accumulation values offsetY and 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 screen of the cloud server according to the posture data; and calculating the offset accumulation values offsetY and offsetX according to the offset diffY and the offset diffX, and the cloud application is a cloud game.

10. A perspective control device suitable for X86 cloud applications, applied to a cloud server, characterized in that, Comprise: 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 values offsetY and offsetX of the mouse in the height direction and the width direction on a cloud application screen of the cloud server according to the intermediate data, and send the offset accumulation values offsetY and offsetX to a system of the cloud server to control a view angle of an X86 cloud application, wherein the intermediate data is source data, intermediate results or target results in a process of obtaining the offset accumulation values offsetY and offsetX according to the posture data of the mobile terminal, the process of obtaining the offset accumulation values offsetY and 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 screen of the cloud server according to the posture data; and calculating the offset accumulation values offsetY and offsetX according to the offset diffY and the offset diffX, and the cloud application is a cloud game.

Citation Information

Patent Citations

  • Mouse control monitoring method and device

    CN120143995A

  • Mouse cursor control method based on inertial measurement unit

    CN120653134A