Cloud game strategy screen angle adjustment method, system, device and storage medium

By obtaining and adjusting the information of the game strategy screen and character perspective, the problem of fixed angle of the strategy screen in the existing technology is solved, and a convenient experience for users to understand the strategy operation in real time in the game is achieved.

CN115054919BActive Publication Date: 2025-03-25MIGU INTERACTIVE ENTERTAINMENT CO LTD +2
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210647152.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-09
Publication Date
2025-03-25
Estimated Expiration
2042-06-09

AI Technical Summary

Technical Problem

In the existing game teaching guide, the screen angle is fixed and cannot be adjusted in real time, which makes it impossible for users to intuitively understand the operations in the guide when switching the character perspective in the game, and lacks a real-time and convenient experience.

Method used

By obtaining the perspective of the strategy screen and the character perspective, determine the perspective change information, and adjust the strategy screen based on this information to make it synchronously switch angles in the character perspective screen.

Benefits of technology

It realizes that users understand the relevant operations in the strategy in real time and intuitively in the game, and improves the character's experience in strategy teaching.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115054919B_ABST
    Figure CN115054919B_ABST
Patent Text Reader

Abstract

The present application discloses a method, system, device and storage medium for adjusting the angle of a cloud game strategy screen. The method for adjusting the angle of a cloud game strategy screen includes: obtaining the strategy screen perspective and the character perspective; determining perspective change information based on the strategy screen perspective and the character perspective; and adjusting the strategy screen based on the perspective change information. The present application belongs to the field of cloud game technology. After determining the character perspective in the game, the strategy screen is displayed in a screen from the character perspective, that is, by switching different perspectives in the game and synchronously switching the angle of the teaching strategy screen, the user can understand the relevant operations in the strategy screen in real time and intuitively, thereby improving the user's experience in the strategy screen.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of cloud gaming technology, and in particular to a method, system, device and storage medium for adjusting the angle of a cloud gaming strategy screen. Background Art

[0002] Existing game teaching guides only provide fixed videos or pictures for specified game scenarios. When users switch character perspectives in the game, they cannot intuitively understand the relevant operations in the guide in real time, and the video teaching cannot provide users with a real-time and convenient experience. Summary of the invention

[0003] The main purpose of this application is to provide a method, system, device and storage medium for adjusting the angle of a cloud game strategy screen, aiming to solve the technical problems in the prior art that the strategy screen is single and the game scene angle and the teaching strategy angle are inconsistent.

[0004] To achieve the above objectives, the present application provides a method for adjusting the angle of a cloud game strategy screen, the method comprising:

[0005] Get the strategy screen perspective and character perspective;

[0006] Determining perspective change information based on the strategy screen perspective and the character perspective;

[0007] Based on the perspective change information, the strategy screen is adjusted.

[0008] Optionally, the step of adjusting the strategy screen based on the perspective change information includes:

[0009] Determine target screens in two orthogonal directions corresponding to the perspective change information, wherein the target screen is a projection of the strategy screen in the game at a vertical perspective, and the projection directions of the target screens are different;

[0010] The target picture is mapped in a direction corresponding to the character's perspective.

[0011] Optionally, the step of mapping the target picture to a direction corresponding to the character's perspective includes:

[0012] Determine a mapping position corresponding to each pixel point on the target image;

[0013] Based on a preset mapping relationship between pixel points and pixel values, determining a pixel value of each pixel point at the mapping position;

[0014] Based on the pixel value, a mapping in a direction corresponding to the character's perspective is obtained.

[0015] Optionally, the viewing angle change information includes a viewing angle change angle θ, and the step of determining a mapping position corresponding to each pixel point on the target picture includes:

[0016] The mapping position corresponding to each pixel point on the target screen is determined by the following position relationship function:

[0017]

[0018]

[0019] Among them, (x i ,y i ) is any pixel point on the target image, (x' i ,y' i ) is (x i ,y i ), (0,b0) is the fixed position of one target screen, and (c0,0) is the fixed position of another target screen.

[0020] Optionally, the step of obtaining the perspective of the strategy screen includes:

[0021] Get the character's current game screen;

[0022] Determining characteristics of the game screen;

[0023] Performing strategy screen matching on the features to determine a matching strategy screen;

[0024] Determine the perspective of the strategy screen based on the matching strategy screen.

[0025] Optionally, the step of determining the features of the game screen includes:

[0026] Extracting a trajectory curve in the game screen;

[0027] Converting the point pixel values ​​of the trajectory curve into color intuitive model values;

[0028] Based on the trajectory curve and the color intuitive model value, the game screen feature is obtained.

[0029] Optionally, the step of matching the features with strategy screens to determine matching strategy screens includes:

[0030] Get the features of the strategy screen;

[0031] Calculating the similarity between the features of the game screen and the features of the strategy screen;

[0032] According to the features of the strategy screens whose similarities are within a preset probability threshold range, a matching strategy screen is determined.

[0033] The present application also provides a cloud game strategy screen angle adjustment system, the cloud game strategy screen angle adjustment system comprising:

[0034] The acquisition module is used to obtain the perspective of the strategy screen and the perspective of the character;

[0035] A determination module, used to determine perspective change information based on the strategy screen perspective and the character perspective;

[0036] The adjustment module is used to adjust the strategy screen based on the perspective change information.

[0037] The present application also provides a cloud game strategy screen angle adjustment device, the cloud game strategy screen angle adjustment device comprising: a memory, a processor, and a program stored in the memory for implementing the cloud game strategy screen angle adjustment method,

[0038] The memory is used to store a program for implementing a method for adjusting the angle of a cloud game strategy screen;

[0039] The processor is used to execute a program for implementing the cloud game strategy screen angle adjustment method to implement the steps of the cloud game strategy screen angle adjustment method.

[0040] The present application also provides a storage medium, on which is stored a program for implementing a method for adjusting the angle of a cloud game strategy screen. The program for implementing the method for adjusting the angle of a cloud game strategy screen is executed by a processor to implement the steps of the method for adjusting the angle of a cloud game strategy screen.

[0041] The present application provides a method, system, device and storage medium for adjusting the angle of a cloud game strategy screen. Compared with the prior art in which the strategy video is single and the game scene angle and the teaching video angle are inconsistent, in the present application, the strategy screen perspective and the character perspective are obtained; based on the strategy screen perspective and the character perspective, the perspective change information is determined; based on the perspective change information, the strategy screen is adjusted. That is, in the present application, after determining the strategy screen perspective and the character perspective, the strategy screen is displayed in the screen from the character perspective, that is, by switching the different perspectives of the character in the game and synchronously switching the angle of the teaching video, the user can understand the relevant operations in the strategy in real time and intuitively, and improve the character's experience in strategy teaching. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] The drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present application, and are used together with the specification to explain the principles of the present application. In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the drawings required for use in the embodiments or the prior art description will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0043] Figure 1 It is a schematic diagram of the device structure of the hardware operating environment involved in the embodiment of the present application;

[0044] Figure 2 This is a flowchart of the first embodiment of the method for adjusting the angle of the cloud game strategy screen of the present application;

[0045] Figure 3 This is a data curve diagram of a game screen feature set of the method for adjusting the screen angle of a cloud game strategy in this application;

[0046] Figure 4 This is a schematic diagram of the distance between the game screen feature set and the strategy screen feature set of the cloud game strategy screen angle adjustment method of this application;

[0047] Figure 5 Schematic diagram of vertical screen of target strategy in different directions of the method for adjusting the angle of the screen of the cloud game strategy of this application;

[0048] Figure 6 The cloud game strategy screen angle adjustment method of the present application generates a strategy screen schematic diagram of the role-playing game perspective;

[0049] Figure 7 Schematic diagram of the three-dimensional viewing angle of the method for adjusting the screen angle of the cloud game strategy in this application;

[0050] Figure 8 The method for adjusting the angle of the cloud game strategy screen in this application changes the target strategy screen to obtain a schematic diagram of a vertical target strategy screen in different directions;

[0051] Fig. 9 The cloud game strategy screen angle adjustment method of the present application generates a top view of the strategy screen from the perspective of a role-playing game.

[0052] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0053] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0054] like Figure 1 As shown, Figure 1 It is a schematic diagram of the terminal structure of the hardware operating environment involved in the embodiment of the present application.

[0055] The terminal in the embodiment of the present application can be a PC, or it can be a smart phone, a tablet computer, an e-book reader, an MP3 (Moving Picture Experts Group Audio Layer III) player, an MP4 (Moving Picture Experts Group Audio Layer IV) player, a portable computer, or other portable terminal devices with display function.

[0056] like Figure 1 As shown, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.

[0057] Optionally, the terminal may also include a camera, an RF (Radio Frequency) circuit, a sensor, an audio circuit, a WiFi module, and the like. Among them, sensors include light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display screen according to the brightness of the ambient light, and the proximity sensor may turn off the display screen and / or backlight when the mobile terminal is moved to the ear. As a type of motion sensor, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; of course, the mobile terminal may also be equipped with other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which will not be repeated here.

[0058] Those skilled in the art will understand that Figure 1The terminal structure shown in the figure does not constitute a limitation on the terminal, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0059] like Figure 1 As shown, the memory 1005 as a computer storage medium may include an operating device, a network communication module, a user interface module, and a cloud game strategy screen angle adjustment program.

[0060] exist Figure 1 In the terminal shown, the network interface 1004 is mainly used to connect to the background server and communicate data with the background server; the user interface 1003 is mainly used to connect to the client (user end) and communicate data with the client; and the processor 1001 can be used to call the cloud game strategy screen angle adjustment program stored in the memory 1005.

[0061] Reference Figure 2 , the embodiment of the present application provides a method for adjusting the angle of a cloud game strategy screen, the method for adjusting the angle of a cloud game strategy screen comprising:

[0062] Step S100, obtaining the strategy screen perspective and the character perspective;

[0063] Step S200, determining perspective change information based on the strategy screen perspective and the character perspective;

[0064] Step S300: adjusting the strategy screen based on the perspective change information.

[0065] In this embodiment, the specific application scenario may be:

[0066] After the character enters the teaching level in the game, the game teaching video only provides fixed videos or pictures for the specified game scene. The angle of the teaching video cannot be switched synchronously by switching different perspectives in the game, resulting in the user being unable to understand the relevant operations in the strategy in real time and intuitively, and the video teaching cannot provide users with a real-time and convenient experience.

[0067] The specific steps are as follows:

[0068] Step S100, obtaining the strategy screen perspective and the character perspective;

[0069] In this embodiment, the strategy screen is a screen that provides a detailed explanation of the game process, steps, and techniques. It is a strategy screen in the game scene corresponding to the character. The strategy screen is pre-made in the game, and the perspective of the strategy screen is the perspective of the strategy screen in the game scene corresponding to the character.

[0070] In this embodiment, the character perspective is the perspective of the character model controlled by the user in the game, wherein the game perspective of the character can be a first-person perspective or a third-person perspective.

[0071] The system obtains the character's perspective by receiving in real time the strategy screen display perspective and the character's game perspective sent by the game terminal, wherein the game terminal obtains the strategy screen display perspective and the character's game perspective after the character operated by the character enters the target scene, and sends the strategy screen display perspective and the character's game perspective to the system, wherein the character's perspective can be transformed by moving the mouse or by rotating the handle, and the strategy screen display perspective is the strategy screen display perspective within the level preset by the game terminal.

[0072] Specifically, the step S100 includes the following steps S110-S130:

[0073] Step S110, obtaining the current game screen of the character;

[0074] In this embodiment, the character's current game screen is the game screen after the character enters the game teaching level. The character's game screen is a scene screen. The scene screen is the scene screen in the current game. The scene screen includes, for example, a mountain model, a tree model, a stone model, etc., wherein the game screen can be a dynamic screen or a static screen.

[0075] The system obtains the character's game screen by receiving the character's game screen sent by the game terminal in real time, wherein the game terminal obtains the character's game screen after the character operated by the character enters the target scene, and sends the character's game screen to the system, wherein the target scene can be a scene where the character operated by the character enters a teaching level, or a scene where the character operated by the character enters a plot level.

[0076] In this embodiment, the game screen feature set is a set used to calculate the relevance similarity with the strategy screen, so that the system can determine the corresponding strategy screen under the game screen.

[0077] Step S120, determining the characteristics of the game screen;

[0078] Specifically, the step S120 includes the following steps S121-S123:

[0079] Step S121, extracting a trajectory curve in the game screen;

[0080] In this embodiment, the preset trajectory curve is used as a feature matching function of the game screen of the character, wherein the preset trajectory curve covers various parts of the screen and can reduce the amount of calculation at the same time. For example, the feature matching function of the game screen of the character is y 2 =x 3 +ax+b, where a and b are constants and can be adjusted, and (x, y) is any point on the preset trajectory curve of the game screen of the character.

[0081] Step S122, converting the point pixel value of the trajectory curve into a color intuitive model value;

[0082] In this embodiment, the point pixel value of the trajectory curve is the pixel value of any point on the trajectory curve, that is, the RGB value, and the color intuitive model value is the HSV value, wherein HSV respectively represents Hue, Saturation and Brightness. HSV further encapsulates the color information to express color changes (changes in hue, brightness, and color purity) in a form that is easier for humans to perceive.

[0083] Specifically, the process of converting the point pixel value of the trajectory curve into the color intuitive model value is:

[0084] max=max(R,G,B)

[0085] min = min(R, G, B)

[0086] V = max(R, G, B)

[0087] S=(max-min) / max

[0088] if(R=max)H=(GB) / (max-min)×60;

[0089] if(G=max)H=120+(BR) / (max-min)×60;

[0090] if(B=max)H=240+(RG) / (max-min)×60;

[0091] if(H<0)H=H and 360

[0092] Constructor-based The color intuitive model value of the point on the trajectory curve is calculated.

[0093] Step S123, obtaining the game screen features based on the trajectory curve and the color intuitive model value.

[0094] In this embodiment, the sample values ​​z1, z2, ... z of several sample pixel points on this curve are constructed. N , in the two-dimensional space composed of the curve x and the color intuitive model value z, the sample point data (x1, z1), (x2, z2), ... (x N , z N ), we get the game screen feature set A = {(x1, z1), (x2, z2), ... (x N , z N )}, refer to Figure 3 , is to draw a data curve based on the set A of game screen features.

[0095] Step S120, matching the features with strategy screens to determine matching strategy screens;

[0096] In this embodiment, the feature set is matched with the strategy screen by calculating the feature set of the character's current game screen through a preset association similarity model, finding a strategy picture with similar features from the strategy screen, and determining the final strategy screen.

[0097] Specifically, the step S120 includes the following steps S121-S123:

[0098] Step S121, obtaining features of the strategy screen;

[0099] In this embodiment, the feature set of the strategy screen is obtained in the same manner as in step S110 above, and the feature sets of all strategy screens are obtained, wherein there may be only one or more feature sets of the strategy screens.

[0100] Step S122, calculating the similarity between the features of the game screen and the features of the strategy screen;

[0101] In this embodiment, the system can calculate the current game screen feature set of the character through a preset association similarity model, find a strategy picture with similar features from the strategy screen, and determine the target strategy screen. Among them, there can be only one strategy screen for the game, or there can be several, that is, there can be only one teaching level in the game, or there can be several. Among them, if there is only one strategy screen for the game, the strategy screen can be determined as the final strategy screen. If there are several strategy screens for the game, the preset association similarity model is used to calculate the current game screen feature set of the character, and find a strategy picture with similar features from several strategy screens to determine the target strategy screen.

[0102] In this embodiment, the preset association similarity model calculates the feature similarity function of the game screen feature set and the screen feature set of all strategies:

[0103] H(A,B)=max(h(A,B),h(B,A))

[0104] Among them, set A is the strategy screen feature set, set B is the game screen feature set, and

[0105] h(A, B)=max(min(dist(a, b))), a∈A, b∈B

[0106] h(B,A)=max(min(dist(b,a))), a∈A, b∈B

[0107]

[0108] Among them, h(A, B) is the one-way similarity distance function from set A to set B, that is, h(A, B) actually first calculates each point a in point set A. i To the distance a from this point i The nearest point b in set B j The distance between ||a i -b j || sort them, and then take the maximum value of the distance as the value of h(A, B), and h(B, A) can be obtained similarly.

[0109] For example, refer to Figure 4 , let a={a1,a2},b={b1,b2,b3},the distances from point a1 to points b1,b2,b3 are d 11 , d 12 , d 13 , the distances from point a2 to points b1, b2, and b3 are d 21 , d 22 , d 23 ,and:

[0110] d 11 ≤d 13 ≤d 12 ,

[0111] d 23 ≤d 21 ≤d 22 ,

[0112] d 11 ≥d 23

[0113] First, take out the minimum value set from point a to point b, and then take the maximum value from the set, that is:

[0114] h(a, b) = d 11

[0115] By dividing the A and B sets into a preset number of segments, set to m, the similarity distance set is obtained by segment calculation in the above manner:

[0116] C = {d1, d2, ..d m}

[0117] Based on the similarity distance set, similarity probability results of a preset number of the strategy screens are calculated:

[0118]

[0119] Among them, C1, R are constants, and

[0120]

[0121] Step S123, determining a matching strategy screen according to the features of the strategy screens whose similarities are within a preset probability threshold range.

[0122] When the similarity probability result of the strategy screen is α≤ρ≤1, that is, the comparison result of the similarity probability result is within the preset probability threshold, the target strategy screen is obtained.

[0123] In this embodiment, based on the game screen information of the character, the game strategy picture of the corresponding scene and the strategy screen of the associated perspective are matched, that is, the corresponding strategy screen in the game scene.

[0124] Step S140, determining the perspective of the strategy screen based on the matched strategy screen.

[0125] In this embodiment, the system determines the display perspective of the strategy screen in the game interface based on the strategy screen.

[0126] Before the step of obtaining the current game screen of the character and determining a game screen feature set based on the game screen in step S110, the method includes the following steps A100-A200:

[0127] Step A100, obtaining a sample of a game screen feature set;

[0128] In this embodiment, the system pre-acquires a sample of a game screen feature set, wherein the game screen is a fixed screen for each teaching level in the game, and the feature set of the fixed screen for each teaching level is used as a sample set.

[0129] Step A200, inputting the game screen feature set sample into the preset association similarity model to obtain a similarity probability result, and using the similarity probability result as a probability threshold.

[0130] In this embodiment, the system inputs the game screen feature set sample into the preset association similarity model, and based on the preset association similarity model, performs feature similarity function calculation on the game screen feature set sample and the corresponding strategy screen feature set to obtain a similarity probability result, and uses the similarity probability result as a probability threshold. For example, if the similarity probability between the teaching level 1 and its corresponding strategy screen is 96%, 96% is used as the probability threshold.

[0131] Step S300: adjusting the strategy screen based on the perspective change information.

[0132] In this embodiment, after determining the game perspective of the character, the target strategy screen is displayed in the screen of the character's game perspective. By switching different perspectives in the game and synchronously switching the angle of the teaching video, the user can understand the relevant operations in the strategy in real time and intuitively, thereby improving the character's experience in video teaching.

[0133] In step S300, before the step of adjusting the strategy screen to the direction of the character's perspective based on the perspective change information, the method includes the following steps B100-B200:

[0134] Step B100, determining a projection screen of the strategy screen in a vertical viewing angle in the game;

[0135] Step B200: obtaining a preset number of target images in different directions based on the projection image.

[0136] In this embodiment, refer to Figure 5 , synchronously prepare a preset number of target strategy screens in different directions, and the preset number of target strategy screens in different directions are vertical perspectives. For example, synchronously prepare four vertical perspectives of the target strategy screen, namely, front, back, left, and right. The back perspective of the character is used as the C perspective, the left perspective is used as the L perspective, the right perspective is used as the R perspective, and the front perspective is used as the D perspective.

[0137] In another embodiment, before the step S100 of obtaining the strategy screen perspective and the character perspective, the following steps C100-C200 are included:

[0138] Step C100, pre-processing all the strategy screens to determine the vertical viewing angles of all the strategy screens in the game;

[0139] Step C200, based on the total strategy screens of the vertical viewing angle, obtain a preset number of the total strategy screens of different directions.

[0140] In this embodiment, the system pre-synchronizes a preset number of all the strategy screens in different directions for all the strategy screens. For example, all the strategy screens are synchronously prepared in four vertical perspectives of front, back, left, and right, with the character's back perspective as the C screen, the left side screen as the L perspective screen, the right side as the R perspective screen, and the front screen as the D screen.

[0141] Specifically, the step S300 includes the following steps S310-S320:

[0142] Step S310, determining target screens in two orthogonal directions corresponding to the perspective change information, wherein the target screen is a projection of the strategy screen in the game at a vertical perspective, and the projection directions of the target screens are different;

[0143] In this embodiment, the initial game perspective is defined as the perspective of the character controlled by the character when it is stationary, which is convenient for obtaining the change of perspective. The character can change the perspective by moving the mouse or rotating the handle. Based on the difference between the initial game perspective and the game perspective of the character, the perspective change information is obtained, and the perspective change information includes the perspective rotation angle and rotation direction.

[0144] In this embodiment, based on the preset number of target images in different directions and the perspective change information, the target image in the game perspective direction of the character is obtained, referring to Figure 6 Based on the perspective change information, the target screen of the associated direction is determined, and the role-playing game perspective screen is simulated and generated. For example, referring to Figure 6 , the perspective change information is a 45-degree rotation angle in the southeast direction, then the target strategy screens in the associated direction are the D screen and the R screen, and the angle screen T is generated by quickly simulating the D screen and the associated R screen.

[0145] Reference Figure 7 The three-dimensional perspective, point a is the character's initial perspective, ab is the vector of the character observing the D screen from the front (ab is perpendicular to the D screen), ac is the vector of the character observing the R screen (ac is perpendicular to the R screen), when the character is in the ab direction, start rolling the mouse to adjust the direction perspective to ad (forming the perspective of the character observing the T screen, ad is perpendicular to the T screen). The strategy has been pre-processed, so you can directly get the strategy pictures of different directions associated with the target pictures of the recommended strategy, refer to Figure 8 , according to picture D, it is associated with picture R rotated 90° to the left, picture R rotated 90° to the right, and picture C rotated 180°.

[0146] Step S320, mapping the target image to a direction corresponding to the character's perspective.

[0147] Specifically, the step S320 includes the following steps S321-S322:

[0148] Step S321, determining the mapping position corresponding to each pixel point on the target image;

[0149] Specifically, the step S321 includes the following steps:

[0150] In this embodiment, refer to Fig. 9 When the character's perspective changes, the trajectory formed is the trajectory formed by the following circle, and the rotating perspective screen forms a section on the circle. Then the character's current screen T is the projection of the oe+of part in the D screen on the ef screen, where: o is the intersection point of the D screen and the R screen; b is the vertical point of the D screen in front of the character, and it is also the tangent point of the trajectory circle; c is the vertical point of the R screen in front of the character, and it is also the tangent point of the trajectory circle; ef is the T screen plane formed when the character moves the character; d is the vertical point of the T screen in front of the character, and it is also the tangent point of the trajectory circle. According to the pictures in two orthogonal directions, the character direction perspective screen model is dynamically generated. Taking line calculation as an example: move any position (0, y on the ob line) i ), the corresponding pixel value is (r i ,g i ,b i ), the position of ob is a fixed value (0, b0), then at this time (x i ,y i ) is mapped onto the ef line (x' i ,y' i ), then when ab rotates to ad, the angle is θ, and the position relationship function of the two points is:

[0151]

[0152]

[0153] Among them, (x i ,y i ) is any pixel point on the target image, (x' i ,y' i ) is (x i ,y i ), (0, b0) is a fixed position of one target image, and (c0, 0) is a fixed position of another target image. Step S322, based on a preset mapping relationship between pixel points and pixel values, determining the pixel value of each pixel point at the mapping position;

[0154] Step S323: obtaining a mapping in a direction corresponding to the character's perspective based on the pixel value.

[0155] In this embodiment, the pixel (r, g, b) at any (x, y) of the D screen is stored in a computer storage mapping set map object (the mapping relationship is (x, y) -> (r, g, b)), then the RGB value of the pixel point at the corresponding position in the T screen can be calculated based on any point. Through this proposal, the character operates the mouse or handle to generate the target strategy T screen pixel value in real time.

[0156] The present application provides a method, system, device and storage medium for adjusting the angle of a cloud game strategy screen. Compared with the prior art in which the strategy video is single and the game scene angle and the teaching video angle are inconsistent, in the present application, the strategy screen perspective and the character perspective are obtained; based on the strategy screen perspective and the character perspective, the perspective change information is determined; based on the perspective change information, the strategy screen is adjusted to the direction of the character perspective. That is, in the present application, after determining the strategy screen perspective and the character perspective, the strategy screen is displayed in the screen of the character perspective, that is, by switching the different perspectives of the character in the game and synchronously switching the angle of the teaching video, the user can understand the relevant operations in the strategy in real time and intuitively, and improve the character's experience in strategy teaching.

[0157] The present application also provides a cloud game strategy screen angle adjustment system, the cloud game strategy screen angle adjustment system comprising:

[0158] The acquisition module is used to obtain the perspective of the strategy screen and the perspective of the character;

[0159] A determination module, used to determine perspective change information based on the strategy screen perspective and the character perspective;

[0160] The adjustment module is used to adjust the strategy screen based on the perspective change information.

[0161] Optionally, the adjustment module includes:

[0162] A target screen determination module, used to determine target screens in two orthogonal directions corresponding to the perspective change information, wherein the target screen is a projection of the strategy screen in the game at a vertical perspective, and the projection directions of the target screens are different;

[0163] A mapping module is used to map the target image to a direction corresponding to the character's perspective.

[0164] Optionally, the mapping module includes:

[0165] A mapping position determination module, used to determine the mapping position corresponding to each pixel point on the target image;

[0166] A pixel value determination module, used to determine the pixel value of each pixel at the mapping position based on a preset mapping relationship between pixel points and pixel values;

[0167] The strategy screen obtaining module is used to obtain the mapping in the direction corresponding to the character's perspective based on the pixel value.

[0168] Optionally, the mapping position determination module includes:

[0169] The mapping position corresponding to each pixel point on the target screen is determined by the following position relationship function:

[0170]

[0171]

[0172] Among them, (x i ,y i ) is any pixel point on the target image, (x' i ,y' i ) is (x i ,y i ), (0,b0) is the fixed position of one target screen, and (c0,0) is the fixed position of another target screen.

[0173] Optionally, the acquisition module includes:

[0174] The game screen acquisition module is used to obtain the current game screen of the character;

[0175] A feature determination module, used to determine the features of the game screen;

[0176] A matching module, used to match the features with strategy screens and determine matching strategy screens;

[0177] The strategy screen perspective determination module is used to determine the strategy screen perspective based on the matching strategy screen.

[0178] Optionally, the feature determination module includes:

[0179] An extraction module, used to extract the trajectory curve in the game screen;

[0180] A conversion module, used for converting the point pixel value of the trajectory curve into a color intuitive model value;

[0181] The feature acquisition module is used to obtain the game screen feature set based on the trajectory curve and the color intuitive model value.

[0182] Optionally, the matching module includes:

[0183] A strategy screen feature acquisition module is used to acquire the features of the strategy screen;

[0184] A similarity calculation module, used to calculate the similarity between the features of the game screen and the features of the strategy screen;

[0185] The screening module is used to determine matching strategy screens according to the features of the strategy screens whose similarities are within a preset probability threshold range.

[0186] The specific implementation methods of the cloud game strategy screen angle adjustment system of the present application are basically the same as the above-mentioned embodiments of the cloud game strategy screen angle adjustment method, and will not be repeated here.

[0187] The present application also provides a cloud game strategy screen angle adjustment device, the cloud game strategy screen angle adjustment device comprising: a memory, a processor, and a program stored in the memory for implementing the cloud game strategy screen angle adjustment method,

[0188] The memory is used to store a program for implementing a method for adjusting the angle of a cloud game strategy screen;

[0189] The processor is used to execute a program for implementing the cloud game strategy screen angle adjustment method to implement the steps of the cloud game strategy screen angle adjustment method.

[0190] The specific implementation methods of the cloud game strategy screen angle adjustment device of the present application are basically the same as the above-mentioned embodiments of the cloud game strategy screen angle adjustment method, and will not be repeated here.

[0191] The present application also provides a storage medium, on which is stored a program for implementing a method for adjusting the angle of a cloud game strategy screen. The program for implementing the method for adjusting the angle of a cloud game strategy screen is executed by a processor to implement the steps of the method for adjusting the angle of a cloud game strategy screen.

[0192] The specific implementation method of the storage medium of the present application is basically the same as the embodiments of the above-mentioned cloud game strategy screen angle adjustment method, and will not be repeated here.

[0193] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0194] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0195] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0196] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A method for adjusting a cloud game strategy screen, characterized in that: The cloud game strategy screen angle adjustment method includes: Get the strategy screen perspective and character perspective; Determining perspective change information based on the strategy screen perspective and the character perspective; Adjusting the strategy screen based on the perspective change information; The step of adjusting the strategy screen based on the perspective change information includes: Determine target screens in two orthogonal directions corresponding to the perspective change information, wherein the target screen is a projection of the strategy screen in the game at a vertical perspective, and the projection directions of the target screens are different; Mapping the target image to a direction corresponding to the character's perspective; The step of mapping the target picture to a direction corresponding to the character's perspective includes: Determine a mapping position corresponding to each pixel point on the target image; Based on a preset mapping relationship between pixel points and pixel values, determining a pixel value of each pixel point at the mapping position; Based on the pixel value, a mapping in a direction corresponding to the character's perspective is obtained.

2. The method for adjusting the angle of a cloud game strategy screen according to claim 1, characterized in that: The viewing angle change information includes a viewing angle change angle θ, and the step of determining a mapping position corresponding to each pixel point on the target image includes: The mapping position corresponding to each pixel point on the target screen is determined by the following position relationship function: Among them, (x i ,y i ) is any pixel point on the target image, (x i ',y i ') is (x i ,y i ), (0,b0) is the fixed position of one target screen, and (c0,0) is the fixed position of another target screen.

3. The method for adjusting the angle of a cloud game strategy screen according to claim 1, characterized in that: The step of obtaining the perspective of the strategy screen includes: Get the character's current game screen; Determining characteristics of the game screen; Performing strategy screen matching on the features to determine a matching strategy screen; Determine the perspective of the strategy screen based on the matching strategy screen.

4. The method for adjusting the angle of a cloud game strategy screen according to claim 3, characterized in that: The step of determining the features of the game screen includes: Extracting a trajectory curve in the game screen; Converting the point pixel values ​​of the trajectory curve into color intuitive model values; Based on the trajectory curve and the color intuitive model value, the game screen feature is obtained.

5. The method for adjusting the angle of a cloud game strategy screen according to claim 4, characterized in that: The step of matching the features with strategy screens to determine the matching strategy screens includes: Get the features of the strategy screen; Calculating the similarity between the features of the game screen and the features of the strategy screen; According to the features of the strategy screens whose similarities are within a preset probability threshold range, a matching strategy screen is determined.

6. A cloud game strategy screen angle adjustment system, characterized in that: The cloud game strategy screen angle adjustment system includes: The acquisition module is used to obtain the perspective of the strategy screen and the perspective of the character; A determination module, used to determine perspective change information based on the strategy screen perspective and the character perspective; An adjustment module, used for adjusting the strategy screen based on the perspective change information; The adjustment module comprises: A target screen determination module, used to determine target screens in two orthogonal directions corresponding to the perspective change information, wherein the target screen is a projection of the strategy screen in the game at a vertical perspective, and the projection directions of the target screens are different; A mapping module, used for mapping the target picture to a direction corresponding to the character's perspective; The mapping module comprises: A mapping position determination module, used to determine the mapping position corresponding to each pixel point on the target image; A pixel value determination module, used to determine the pixel value of each pixel at the mapping position based on a preset mapping relationship between pixel points and pixel values; The strategy screen obtaining module is used to obtain the mapping in the direction corresponding to the character's perspective based on the pixel value.

7. A cloud game strategy screen angle adjustment device, characterized in that: The cloud game strategy screen angle adjustment device includes: a memory, a processor, and a program stored in the memory for implementing the cloud game strategy screen angle adjustment method, The memory is used to store a program for implementing a method for adjusting the angle of a cloud game strategy screen; The processor is used to execute a program for implementing the cloud game strategy screen angle adjustment method to implement the steps of the cloud game strategy screen angle adjustment method as described in any one of claims 1 to 5.

8. A storage medium, characterized in that: The storage medium stores a program for implementing a method for adjusting the angle of a cloud game strategy screen, and the program for implementing the method for adjusting the angle of a cloud game strategy screen is executed by a processor to implement the steps of the method for adjusting the angle of a cloud game strategy screen as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Game strategy pushing method, wearable device and computer-readable storage medium

    CN110354498A