Method and device for evaluating terminal vibration in game scenes, electronic device, and computer program
The method and device for evaluating terminal vibration in game scenes align actual and theoretical curves using machine learning, addressing the lack of standardization in game scene vibrations to enhance player immersion and realism.
Patent Information
- Application Number
- JP2023530187
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2021-02-05
- Filing Date
- 2022-01-28
- Publication Date
- 2024-10-16
- Estimated Expiration
- 2042-01-28
AI Technical Summary
Current methods lack a standardized evaluation of device vibration in game scenes, which affects the player's immersion and realism, as existing evaluations focus on hardware capabilities rather than player experience and do not account for game-specific vibrations.
A method and device for evaluating terminal vibration in game scenes by comparing actual and theoretical vibration curves, using machine learning models to determine deviation data and adjust vibration parameters to match the game scene, ensuring consistent and immersive vibrations.
Provides a standardized evaluation for device vibrations in game scenes, enhancing player immersion and realism by aligning vibrations with game content, reducing deviation and lag, and offering a self-correction mechanism for mismatched vibrations.
Smart Images

Figure 0007568377000004 
Figure 0007568377000005 
Figure 0007568377000006
Abstract
Description
[Technical field]
[0001] This application claims priority based on a Chinese patent application filed with the China Patent Office on February 5, 2021, bearing application number 2021101639309 and title of the invention "Method, device, medium and equipment for detecting terminal vibration in game scenes," the entire contents of which are incorporated herein by reference.
[0002] The present application relates to the technical field of information processing, and in particular to a technology for detecting terminal vibration in a game scene. [Background technology]
[0003] With the development of hardware technology and the improvement of network capabilities, the smoothness and image quality of terminal games have been greatly improved, which can enable players to have a better experience in terms of sensation, vision and interaction during the game, and thus improve the players' sense of realism, feeling of substitution and feeling of immersion when playing the game. It can also enhance the player's immersion by generating vibrations on the device along with the game scene, stimulating the player's sense of touch and allowing the player to have a better gaming experience.
[0004] However, at present, most of the vibrations of terminal devices are simple feedback type, such as call reminders, alarm clocks and other scenes. However, there is a lack of methods for evaluating terminal vibrations in game scenes, that is, there is no standard for evaluating the vibration effect felt by the player through the sense of touch after the vibration occurs on the terminal device. Summary of the Invention [Problem to be solved by the invention]
[0005] The embodiments of the present application provide a method for evaluating terminal vibration in a game scene, a device for detecting terminal vibration in a game scene, an electronic device, and a computer program, which can effectively detect the terminal vibration effect in a game scene, help reduce the deviation data in the theoretical vibration description (definition) file, make the terminal vibration consistent with the game scene, and further improve the player's immersion in the game. [Means for solving the problem]
[0006] According to one aspect of the present application, there is provided a method for evaluating terminal vibration in a game scene, the method being executed by an electronic device, the method comprising: Obtaining an actual vibration curve of a target terminal when displaying a target game scene, the target terminal being a device for displaying the target game scene; obtaining a theoretical vibration description file associated with the target game scene, and determining a theoretical vibration curve based on the theoretical vibration description file; determining target deviation data between the actual vibration curve and the theoretical vibration curve; and The method further includes detecting whether the vibration of the target terminal coincides with the target game scene based on the target deviation data.
[0007] According to one aspect of the present application, a game scene terminal vibration detection device is provided, the device includes: an actual vibration curve acquisition module, a theoretical vibration curve acquisition module, a deviation data determination module and a detection module; Wherein, the above-mentioned actual vibration curve acquisition module is configured to acquire an actual vibration curve of a target terminal when displaying a target game scene, and the target terminal is a device for displaying the target game scene; The theoretical vibration curve acquisition module is configured to acquire a theoretical vibration description file associated with the target game scene, and determine a theoretical vibration curve based on the theoretical vibration description file; The deviation data determining module is configured to determine a target deviation data between the actual vibration curve and the theoretical vibration curve; The above-mentioned detection module is configured to detect whether the vibration of the target terminal coincides with the target game scene according to the target deviation data.
[0008] According to one aspect of the present application, a computer-readable storage medium is provided, having a computer program stored therein, which, when executed by a processor, realizes the above-mentioned method for evaluating terminal vibration in a game scene.
[0009] According to one aspect of the present application, an electronic device is provided, comprising a processor and a memory, the memory storing instructions executable by the processor, wherein the processor is configured to execute the instructions to realize the above-mentioned method for evaluating terminal vibration in a game scene.
[0010] According to one aspect of the present application, there is provided a computer program product or computer program, the computer program product or computer program including computer instructions, the computer instructions being stored in a computer-readable storage medium, a processor of a computing device reading the computer instructions from the computer-readable storage medium, and the processor executing the computer instructions, thereby causing the computing device to perform the above-mentioned method for evaluating terminal vibration in a game scene. Effect of the Invention
[0011] Exemplary embodiments of the present application may provide some or all of the following advantageous effects:
[0012] In the method for evaluating terminal vibration of a game scene provided in the embodiment of the present application, an actual vibration curve of a target terminal (terminal device for displaying a target game scene) is obtained when a target game scene is displayed, a theoretical vibration description file associated with the target game scene is obtained, a theoretical vibration curve is determined based on the theoretical vibration description file, and target deviation data between the actual vibration curve and the theoretical vibration curve is determined, and whether the vibration of the target terminal matches the target game scene is detected based on the target deviation data. In this way, a criterion for detecting whether the vibration of the terminal matches the game scene (e.g., game sound, game screen) can be provided, which is favorable to promoting the provision of a terminal vibration format that matches the game scene, and can improve the sense of substitution of the game and the immersion of the player.
[0013] As will be understood, the foregoing general description and the following specific description are exemplary and explanatory only and are not intended to limit the present application. [Brief description of the drawings]
[0014] [Figure 1] FIG. 2 is a diagram showing the system architecture of an exemplary application environment in which a terminal vibration scheme for a game scene in one embodiment of the present application can be applied. [Diagram 2] 1 is a flowchart of a method for evaluating terminal vibration in a game scene in an embodiment of the present application. [Diagram 3] FIG. 2 is a diagram showing the link from starting vibration to ending vibration in one embodiment of the present application. [Figure 4] 4 is a flowchart of a method for determining deviation data in one exemplary embodiment of the present application. [Diagram 5] 11 is a flowchart of a method for evaluating terminal vibration in a game scene in another embodiment of the present application. [Figure 6] FIG. 2 illustrates a vibration curve in one exemplary embodiment of the present application. [Figure 7] FIG. 13 illustrates a vibration curve in another exemplary embodiment of the present application. [Figure 8]13 is a flowchart of a method for evaluating terminal vibration in a game scene in another embodiment of the present application. [Figure 9] 13 is a flowchart of a method for evaluating terminal vibration in a game scene in another embodiment of the present application. [Figure 10] FIG. 13 is a diagram showing the configuration of a terminal vibration detection device in a game scene according to another embodiment of the present application. [Figure 11] FIG. 1 is a diagram showing the configuration of a computer system that can realize an electronic device in an embodiment of the present application. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0015] Hereinafter, exemplary embodiments will be described in detail in conjunction with the drawings. However, the exemplary embodiments can be implemented in a variety of forms, and the present application is not limited to these examples. These embodiments are provided to make the present application more complete and complete, and to fully convey the concept of the exemplary embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner with one or more embodiments. In the following description, many specific details are provided to fully understand the embodiments of the present application. However, as will be understood by those skilled in the art, the implementation of the technical proposal of the present application may omit one or more of these specific details, or may employ other methods, elements, devices, steps, etc. In addition, well-known technical proposals may not be described in detail so as not to obscure each aspect of the present application.
[0016] Additionally, the drawings are merely schematic representations of the present application and are not necessarily drawn to scale. In addition, the same reference numerals in the drawings indicate the same or similar parts, and duplicated explanations are omitted. Some of the block diagrams shown in the drawings are functional entities, which do not necessarily correspond to physically or logically separated entities. These functional entities can be implemented in software, or in one or more hardware modules or integrated circuits, or in different networks and / or processors and / or microcontrollers.
[0017] Usually, the vibration effect is called when entering the game, and serves as a reminder to the player. After actually participating in the game, the vibration can be flexibly defined according to the interaction, rendering, rhythm, etc. in the game, thereby improving the player's immersion and realism. For example, when a character is revived or receives a dangerous attack, different vibration effects can be set for the scenes such as the recoil force of a gunshot and the impact force of a bomb, stimulating the player's sense of touch to achieve a realism effect.
[0018] FIG. 1 is a diagram showing the system architecture of an exemplary application environment in which the terminal vibration scheme of the game scene provided in the embodiment of the present application can be applied.
[0019] 1, the system architecture 100 may include a game terminal 110, a network 120, and a game serving end 130. Among them, the game terminal 110, the network 120, and the game serving end 130 may be connected to each other via the network 120.
[0020] For example, the game terminal 110 may be a terminal device capable of supporting the execution of a game, among which the games may include, but are not limited to, console games, client games or web games at a PC end, mobile games executed on a smartphone, tablet computer, etc., cloud games executed on a large screen terminal such as a television, etc. The network 120 is a communication medium of various connection forms capable of providing a communication link between the game terminal 110 and the game serving end 130, and may be, for example, a wired communication link, a wireless communication link, an optical fiber cable, etc., but the present application is not limited thereto. The game serving end 130 may be an independent physical server, a server group or a distributed system consisting of multiple physical servers, and may further be a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, big data, and artificial intelligence platforms.
[0021] The method for evaluating terminal vibration in a game scene provided in the embodiment of the present application may be executed by any electronic device, for example, by any one node in the game serving end 130, and the terminal vibration detection device in the game scene may be disposed in the game serving end 130 accordingly. Also, for example, the method for evaluating terminal vibration in a game scene provided in the embodiment of the present application may be executed by the terminal 110, and the terminal vibration detection device in the game scene may be disposed in the corresponding terminal accordingly, and the embodiment is not limited thereto.
[0022] For example, for a terminal game, the game serving end 130 transmits a vibration command to the game terminal 110 to generate vibration, but since there are many vibration influencing factors in this process (e.g., network factors, terminal motor factors, etc.), it may cause a lag before the terminal vibrates and a delay after the vibration. In addition, the vibration amplitude during the terminal vibration process may also be affected by the vibration influencing factors, which may cause the actual vibration curve to deviate from the theoretical vibration curve, and the vibration sensation actually felt by the player may not reach the vibration effect originally designed.
[0023] For example, in one exemplary terminal vibration embodiment of the present technical solution, the game serving end 130 obtains an actual vibration curve of the target terminal when displaying a target game scene, and also obtains a theoretical vibration description file associated with the target game scene, determines a theoretical vibration curve based on the theoretical vibration description file, and determines target deviation data between the actual vibration curve and the theoretical vibration curve, and detects whether the vibration of the target terminal matches the target game scene based on the target deviation data.
[0024] In addition, in the related art, the evaluation methods based on the equipment vibration effect mainly include a vibration timeliness evaluation method, a precision stability evaluation method, a residual stress test method, etc., but there is no method for evaluating the vibration effect during the game in conjunction with the game scene (e.g., sound, rendering effect). In addition, the evaluation method of the terminal vibration effect provided in the related art has the following problems: (1) only the hardware capability of the terminal device is evaluated, for example, the smoothness of the amplitude curve, the magnitude of the effect of the residual force after vibration, the size of the vibration granularity, etc. can be evaluated, but there is no scheme for evaluating the vibration in conjunction with the game scene and the player experience; (2) different evaluation criteria need to be set for different terminal devices, and when debugging the vibration effect, it is necessary to debug and modify it separately for each manufacturer, which requires a large amount of manpower and material resources; and (3) only the vibration data of the terminal is evaluated, and the occurring problems cannot be used as a starting point for correction.
[0025] In view of one or more problems existing in the related art, the present technical solution at least provides a method for evaluating terminal vibration in a game scene, a device for detecting terminal vibration in a game scene, and a computer-readable storage medium and electronic device for implementing such a method. Hereinafter, the embodiment of the method for evaluating terminal vibration in a game scene provided in the present application will be described in detail.
[0026] 2 is a flowchart of a terminal vibration evaluation method for a game scene in an exemplary embodiment of the present application. As shown in FIG. 2, the method includes the following steps:
[0027] step S210: obtaining an actual vibration curve of a target terminal when displaying a target game scene, the target terminal being a device for displaying the target game scene; Step S220: Obtain a theoretical vibration description file associated with the target game scene, and determine a theoretical vibration curve based on the theoretical vibration description file; Step S230: determining target deviation data between the actual vibration curve and the theoretical vibration curve; and Step S240: Detect whether the vibration of the target terminal coincides with the target game scene based on the target deviation data.
[0028] In the terminal vibration scheme of the game scene provided in the embodiment shown in FIG. 2, deviation data between the actual vibration curve and the theoretical vibration curve is determined, and based on the deviation data, it is detected whether the terminal vibration matches the game scene. In this way, an evaluation scheme for detecting whether the terminal vibration matches the game scene (e.g., game sound, game screen) can be provided, which is advantageous to improving the degree of matching between the terminal vibration and the game scene, and can improve the sense of substitution in the game and the player's immersion.
[0029] A specific implementation method for each step in the embodiment shown in FIG. 2 will be described in detail below.
[0030] In an exemplary embodiment, the vibration of the terminal is set based on the content (e.g., screen, sound, etc.) of the current game scene for different types of games or different scenes in the same type of game, thereby enhancing the sense of substitution in the game and the immersion of the player. In addition, the above-mentioned theoretical vibration description file refers to an amplitude value that changes with time, and the game terminal can realize the vibration of the terminal by analyzing the related theoretical vibration description file. For example, if a game scene is one in which a character receives a dangerous attack, a theoretical vibration description file can be developed for the scene, and the game terminal can realize the vibration of the terminal by analyzing the file, thereby providing the player with a sense of realism when the character receives a dangerous attack.
[0031] In step S210, the actual vibration curve of the target terminal when displaying the target game scene is obtained. Wherein, the target game scene can be any one game scene with vibration effect in any one game. The target terminal is the terminal device that displays the target game scene. In this embodiment, the vibration influence factor, deviation data and terminal related to the target game scene are respectively referred to as the target vibration influence factor, the target deviation data and the target terminal in order to distinguish them from the related terms in other game scenes.
[0032] In addition, an actual vibration curve of the target terminal when displaying the target game scene is obtained, and in the process of the target terminal displaying the target game scene, vibration data generated by the target terminal is collected, and an actual vibration curve can be generated according to each collected vibration data according to the generation time of the vibration data. In step S220, a theoretical vibration description file associated with the target game scene is obtained, and a theoretical vibration curve is determined according to the theoretical vibration description file.
[0033] Furthermore, a theoretical vibration description file (note that in this case, this is the theoretical vibration description file before adjustment) associated with the target game scene is obtained, and a theoretical vibration curve is determined based on the time-varying amplitude values contained in the theoretical vibration description file.
[0034] For example, refer to the diagram showing the link from vibration start to vibration end shown in Figure 3. When vibration is started, the game terminal sends a vibration command associated with the current game scene to the game serving end, and the game serving end accordingly determines a theoretical vibration description (definition) file to be sent according to the vibration command (31), calls a target interface (32), unifies and packages the files, calls the game terminal (33), and sends the packaged theoretical vibration description file to the game terminal. Then, the game terminal analyzes the theoretical vibration description file to generate vibration (34). Specifically, the game terminal drives a motor to generate vibration (35), and reports actual vibration data to the game serving end (38) during the vibration process (36) (for example, cyclic vibration, or vibrations of different amplitudes and different frequencies in a single vibration process) until the vibration ends and triggers a vibration end event (37), and finally the vibration stops. Among them, the lag of vibration start may be caused by several factors such as the calling operation taking time, the packaging operation taking time, the file analysis taking time, and the communication delay between the game pad, the game terminal and the game pad. In addition, the motor model of the game terminal, the mounting position of the motor on the terminal, etc. also affect the amplitude or frequency of vibration during the vibration process (36), which may cause the actual vibration curve to deviate from the theoretical vibration curve.
[0035] Therefore, it can be seen that there are two problems in the vibration of a game terminal, namely, the vibration delay problem and the deviation problem between the actual curve and the ideal (theoretical) curve during the vibration process. In this technical solution, the target deviation data between the actual vibration curve and the above-mentioned theoretical vibration curve is determined, and the vibration of the terminal is detected to be consistent with the game scene (for example, steps S230 and S240), thereby providing a criterion for evaluating the terminal vibration effect in conjunction with the game scene.
[0036] In an exemplary embodiment, in the specific realization step S230, when determining target deviation data between the actual vibration curve and the theoretical vibration curve, a target fitting parameter is determined based on the actual vibration curve and the theoretical vibration curve, so that the target fitting parameter can be the target deviation data.
[0037] Specifically, Fig. 7 shows an actual vibration curve S1 generated when displaying a certain game scene, and a theoretical vibration curve S2 determined according to the corresponding theoretical vibration description file, and based on the compatibility between these two curves, the consistency between the actual vibration effect and the theoretical vibration effect in the process of displaying the game scene can be determined. Specifically, the compatibility between the two can be calculated by adopting the Hausdorff algorithm.
[0038] For example, a fitting can be performed on the collected vibration data to calculate the transition points of the intensity or frequency, which can then be compared to a theoretical vibration curve to obtain the lag time length (also called the lag overall index generation) and trailing time length (also called the trailing overall index parameter) of the intensity or frequency response.
[0039] After obtaining the delay time length and trailing time length of each turning point, the original actual vibration curve (non-fitted curve of the original vibration data) is shifted on the x-axis and scaled to obtain the actual vibration intensity or frequency curve, and the original actual vibration curve is divided into multiple segments according to the turning points and time information of the original actual vibration curve.
[0040] Then, the relative intensity or relative frequency is calculated using the following formula:
[0041]
number
[0042] Furthermore, the overall deviation index can be calculated by the following formula:
[0043]
number
[0044] If the delay overall index parameter, the trailing overall index parameter, the frequency deviation index parameter and the intensity deviation index parameter are determined based on the actual vibration curve and the theoretical vibration curve in step S230, when step S240 is executed to detect whether the vibration of the target terminal matches the target game scene based on the target deviation data, a vibration overall evaluation index value is determined based on the above-mentioned delay overall index parameter, trailing overall index parameter, frequency deviation index parameter and intensity deviation index parameter together with the vibration effect influence parameter, and then it can be detected whether the vibration of the target terminal matches the target game scene based on the vibration overall evaluation index value.
[0045] For example, the vibration overall evaluation index value F is calculated using the following formula: score can be calculated.
[0046]
number
[0047] The vibration overall evaluation index value can reflect whether the vibration of the target terminal matches the target game scene. For example, if the vibration overall evaluation index value is higher than a predetermined evaluation index threshold, the vibration of the target terminal can be deemed to match the target game scene. Conversely, if the vibration overall evaluation index value is below a predetermined evaluation index threshold, the vibration of the target terminal can be deemed to not match the target game scene.
[0048] In an exemplary embodiment, when specifically performing step S230 to determine target deviation data between the actual vibration curve and the theoretical vibration curve, the target deviation data between the actual vibration curve and the theoretical vibration curve can be determined based on the target vibration influence factor.
[0049] Please refer to the flowchart of the deviation data determining method in one exemplary embodiment of the present application shown in Figure 4, which can be a specific implementation manner of step S230. As shown in Figure 4, the method includes the following steps:
[0050] step S410: obtaining a scene ID corresponding to the target game scene and a terminal ID of a target terminal that displays the target game scene; step S420: obtaining a game indicator corresponding to the target game scene according to the scene indicator; Step S430: According to the terminal identification, obtain at least one of the following information of the target terminal: motor information of the target terminal, a network delay factor associated with the target terminal, and Bluetooth information of the target terminal; and Step S440: The information of the target terminal obtained according to the scene indicator, the game indicator, and the terminal indicator is determined as the target vibration influence factor.
[0051] As an example, the target game scene may be a "yy scene" in an "xx game", in which the scene indicator is "yy" and the game indicator is "xx", and different games or different scenes in the same game may correspond to different types of vibration. Thus, the vibration influence factors include scene indicators and game indicators. In addition, since the relevant information of the terminal may also affect the terminal vibration effect, physical information of the terminal, such as the terminal mass, terminal shape, and material (material) used in the terminal that affect the vibration, may be further obtained based on the indicator (e.g., terminal model) of the terminal currently executing the above-mentioned game. In addition, motor information of the terminal model, such as motor type, motor manufacturer, and the mounting position of the motor in the terminal, which may affect the vibration of the terminal, may be further obtained. In addition, network delay factor and Bluetooth information related to the target terminal may be further obtained. All of these pieces of information affect the timing of vibration activation and can cause the actual vibration curve of the terminal to deviate from the theoretical vibration curve, and can be used as vibration influence factors. As a result, the vibration influence factor of the target game scene (referred to as the "target vibration influence factor") can be obtained.
[0052] In addition, in step S450, a prediction is made on the target vibration influencing factors through a pre-trained machine learning model to obtain the target deviation data (a specific implementation manner will be described in detail in the embodiment corresponding to FIG. 5). The technical solution adopts artificial intelligence technology to obtain the deviation data of the above-mentioned game scenes, so as to provide a self-correcting scheme for the vibration of the terminal.
[0053] In an exemplary embodiment, Fig. 5 shows a flowchart of a method for evaluating terminal vibration of a game scene in another exemplary embodiment of the present application. Specifically, in conjunction with Fig. 5, the following two aspects related to the game terminal vibration are described, specifically, by steps S540-S560, detecting whether the terminal vibration is consistent with the game scene based on the vibration delay; and by steps S540'-S560', detecting whether the terminal vibration is consistent with the game scene based on the situation in which the actual vibration curve deviates from the ideal vibration curve during the vibration process.
[0054] Wherein, the specific implementation manners of steps S510 and S520 are the same as those of steps S210 and S220, so detailed description thereof will be omitted here.
[0055] After obtaining the above-mentioned target influence factors through step S530, the specific implementation manner of steps S540 to S560 will be described first.
[0056] In step S540, N sets of first sample data are obtained, and a first machine learning model is trained based on the first training sample data.
[0057] Wherein, the i-th set of first sample data includes a scene mark corresponding to the i-th game scene, a mark of a terminal for displaying the i-th game scene, and a vibration delay time length when the terminal displays the i-th game scene, where N is a positive integer, and i is a positive integer less than N. That is, each set of first sample data includes a set of vibration influencing factors and a vibration start delay time length under the influence of the vibration influencing factors of the set.
[0058] In an exemplary embodiment, the vibration delay time length in each set of first sample data is determined as follows.
[0059] Refer to FIG. 6, which shows a vibration curve whose amplitude Y changes with the change of time t. For the first sample data of the i-th set, obtain a theoretical vibration description file before adjustment associated with the i-th game scene, and obtain a theoretical vibration curve (vibration curve A shown by dotted line in FIG. 6) of the i-th game scene based on the theoretical vibration description file before adjustment. Also obtain an actual vibration curve (vibration curve B shown by solid line in FIG. 6) of the terminal when displaying the i-th game scene, where the actual vibration curve is generated based on the theoretical vibration description file before adjustment when the terminal has a vibration influencing factor. Then, compare the above-mentioned theoretical vibration curve with the actual vibration curve (for example, based on the difference between the start time t1 of the vibration curve B and the start time t0 of the vibration curve A) to obtain a vibration delay time length (the time length from t0 to t1 in FIG. 6) when the terminal displays the i-th game scene.
[0060] In an exemplary embodiment, the first machine learning model is trained and tested based on the above-mentioned first sample data, so that the first machine learning model after training satisfies a predetermined model evaluation index. For example, model evaluation indexes such as AUC, F1 score, model improvement degree, etc. can be adopted to evaluate the model prediction ability.
[0061] Still referring to Fig. 5, in step S550, the first machine learning model after training determines a desired vibration delay time length corresponding to the desired game scene according to the desired vibration influencing factors.
[0062] In step S560, a delay error value corresponding to the target game scene is obtained, and whether the vibration of the target terminal matches the target game scene is determined based on whether the target vibration delay time length is greater than the delay error value.
[0063] As an example, the above delay error value is related to a game scene and may be determined according to actual needs, but the present technical solution is not limited thereto.
[0064] For example, if the target vibration delay time length is greater than the delay error value, it means that the current vibration delay time length is not within the error range and will affect the player's immersive feeling, and the detection result is that the vibration of the target terminal does not match the target game scene; if the target vibration delay time length is less than or equal to the delay error value, it means that the current vibration delay time length is within the error range and will not affect the player's immersive feeling, and the detection result is that the vibration of the target terminal matches the target game scene.
[0065] In an exemplary embodiment, for game scenes that require complex vibration effects, such as game scenes including start-up vibration, cyclic vibration, high and low frequency amplitude vibration, the technical solution takes the conformity between the theoretical vibration curve and the actual vibration curve as the evaluation criterion for the terminal vibration effect. Refer to FIG. 7, which shows a vibration curve whose amplitude Y changes with the change of time t, in which the vibration curve S1 is the actual vibration curve and the vibration curve S2 is the theoretical vibration curve. Based on the conformity between the theoretical vibration curve S2 shown in FIG. 7 and the actual vibration curve S1 actually generated by the terminal device, the conformity (consistency) between the actual vibration effect and the ideal vibration effect in the entire interaction process can be calculated. For example, the Hausdorff algorithm can be adopted to calculate such conformity. A specific solution is as follows:
[0066] In step S540', M sets of second sample data are obtained, and a second machine learning model is trained based on the second training sample data.
[0067] Wherein, the jth set of second sample data includes a scene mark corresponding to the jth game scene, a mark of the terminal for displaying the above-mentioned jth game scene, and a vibration conformity when the terminal displays the jth game scene, where M is a positive integer, and j is a positive integer less than M. That is, each set of second sample data includes a set of vibration influencing factors, and the conformity between the actual vibration curve and the theoretical vibration curve under the influence of the set of vibration influencing factors.
[0068] In an exemplary embodiment, the determination manner for the vibration fit in each set of second sample data is as follows.
[0069] For the jth set of second sample data, obtain a theoretical vibration description file before adjustment associated with the jth game scene, determine a theoretical vibration curve (for example, the vibration curve S2 shown in FIG. 7) of the jth game scene based on the theoretical vibration description file before adjustment, and obtain an actual vibration curve (for example, the vibration curve S1 shown in FIG. 7) of the terminal when displaying the jth game scene, the actual vibration curve is generated based on the theoretical vibration description file before adjustment when the terminal has a vibration influence factor. Then, compare the above-mentioned theoretical vibration curve S2 with the actual vibration curve S1 (for example, the curve comparison diagram shown on the right side of FIG. 7), obtain an amplitude deviation sequence (the sequence includes an amplitude deviation a1 corresponding to the time point t2 in FIG. 7, an amplitude deviation a2 corresponding to the time point t3, etc.) when the terminal displays the jth game scene, and calculate a vibration compatibility based on the amplitude deviation sequence.
[0070] In an exemplary embodiment, the second machine learning model can be trained and tested using the above-mentioned second sample data, so that the second machine learning model after training satisfies a predetermined model evaluation index. For example, model evaluation indexes such as AUC, F1 score, model improvement degree, etc. may be adopted to evaluate the model prediction ability.
[0071] Still referring to FIG. 5, in step S550', the second machine learning model after training determines a target vibration fitness corresponding to the target game scene according to the target vibration influence factors.
[0072] In step S560', a compatibility error value corresponding to the target game scene is obtained, and it is determined whether the vibration of the target terminal matches the target game scene based on whether the target vibration compatibility is greater than the compatibility error value.
[0073] For illustrative purposes, the above-mentioned fitness error value is related to a game scene and may be determined according to actual needs, but the present technical solution is not limited thereto.
[0074] As an example, when the target vibration conformance is greater than the conformance error value, it means that the current vibration conformance is not within the error range and affects the player's immersive feeling, and the detection result is that the vibration of the target terminal does not match the target game scene; when the target vibration conformance is less than or equal to the conformance error value, it means that the current vibration conformance is within the error range and does not affect the player's immersive feeling, and the detection result is that the vibration of the target terminal matches the target game scene.
[0075] In an exemplary embodiment, FIG. 8 shows a flowchart of a method for evaluating terminal vibration in a game scene in yet another exemplary embodiment of the present application, and the embodiment shown in FIG. 8 is carried out on the basis of FIG.
[0076] Specifically, if the detection result obtained in step S240 is that the vibration of the target terminal does not match the target game scene, execute step S850 to adjust the theoretical vibration description file according to the target deviation data to obtain an adjusted theoretical vibration description file. Since the deviation data in the adjusted theoretical vibration description file is offset (canceled), the vibration generated based on the adjusted theoretical vibration description file can make the vibration of the terminal match the target game scene (e.g., sound, screen), which is favorable to improving the sense of substitution in the game and the immersive sense of the player. In other words, the technical solution can provide not only a detection scheme for terminal vibration of a game scene, but also a self-correction scheme for a scene where the vibration does not match the game scene.
[0077] Illustratively, a specific implementation manner of step S850 is to determine a deviation offset factor according to the target deviation data, and perform an adjustment process on the theoretical vibration description file according to the deviation offset factor to obtain an adjusted theoretical vibration description file.
[0078] Among them, according to actual needs, the deviation offset factor can be obtained by multiplying the obtained target deviation data with a certain coefficient, and then an adjustment process is performed on the original theoretical vibration description file based on the deviation offset factor to obtain an adjusted theoretical vibration description file.
[0079] For example, when the above-mentioned target deviation data is a target vibration delay time length, a specific implementation manner of step S840 is to determine a first deviation offset factor based on the target vibration delay time length, and advance each time point in the theoretical vibration description file by a time length corresponding to the first deviation offset factor to obtain an adjusted theoretical vibration description file.
[0080] Similarly to the above, the first deviation offset factor can be obtained by multiplying the obtained target vibration delay time length by a predetermined coefficient according to actual needs, and of course, the predetermined coefficient can take a value of 1. Then, for each time point in the theoretical vibration description file, only the time length corresponding to the first deviation offset factor is advanced, and an adjusted theoretical vibration description file is obtained. For example, referring to FIG. 6, if the time length corresponding to the first deviation offset factor is the time length shown from t0 to t1, after the above adjustment is made to the original theoretical vibration description file, the actual vibration curve (vibration curve B shown by the solid line in FIG. 6) is theoretically the same as the theoretical vibration curve (vibration curve A shown by the dotted line in FIG. 6) (including the startup time), so that the problem of the startup delay / lag of the terminal vibration can be solved.
[0081] For example, when the above-mentioned target deviation data is a target vibration conformance, a specific implementation manner of step S850 is to determine a second deviation offset factor based on the target vibration conformance, and process the amplitude values corresponding to each time point in the theoretical vibration description file based on the second deviation offset factor to obtain an adjusted theoretical vibration description file.
[0082] Similarly to the above, according to actual needs, the obtained vibration conformance can be multiplied by a predetermined coefficient to obtain a second deviation offset factor, and of course, the predetermined coefficient can take the value of 1. Then, according to the target vibration conformance at each time point, the amplitude value at the corresponding time point in the original theoretical vibration description file is obtained, and an adjusted theoretical vibration description file is obtained.
[0083] For example, as shown in FIG. 7, after the above-mentioned adjustment is made to the original theoretical vibration description file based on the second deviation offset factor, the actual vibration curve (e.g., the vibration curve S1 shown in FIG. 7) will theoretically have a degree of conformance of 1 (100%) with the theoretical vibration curve (e.g., the vibration curve S2 shown in FIG. 7), thereby eliminating the problem of the actual curve deviating from the theoretical curve during the terminal vibration process.
[0084] Continuing to refer to FIG. 8, if the detection result obtained in step S240 is that the vibration of the target terminal matches the target game scene (which means that there is no deviation in the current theoretical vibration positioning (description) file), or if the theoretical vibration description file is adjusted based on the target deviation data as shown in step S850 (in which case the deviation is offset in the adjusted vibration positioning file), step S860 is executed, i.e., in response to a vibration command call initiated by the target terminal and associated with the target game scene, the theoretical vibration description file is sent to the target terminal, so that the target terminal generates a vibration that matches the target game scene based on the adjusted theoretical vibration description file.
[0085] Since the deviation data in the theoretical vibration description file is offset in step S860, the problems of the start-up lag / delay of the terminal vibration and the deviation of the actual vibration curve from the theoretical vibration curve during the vibration process can be avoided based on the adjusted theoretical vibration description file, and the vibration of the terminal can be made to match the target game scene (e.g., sound, screen), which is beneficial to improving the player's immersive feeling.
[0086] For example, one specific implementation manner of step S850 is to call a target interface in response to a vibration command invocation related to the target game scene initiated by a plurality of target terminals, and perform format protocol conversion on the theoretical vibration description file through the target interface to obtain a theoretical vibration description file in a unified format, and then send the theoretical vibration description file in the unified format to the plurality of target terminals, so that the target terminals analyze the adjusted theoretical vibration description file and generate vibrations according to the target game scene.
[0087] For example, the above-mentioned target interface can hide the differences between different game terminal manufacturers and between different game platforms, and is an interface that substantially satisfies a unified protocol (for example, TGPA, which unifies and packages the vibration calling interfaces of each terminal manufacturer). As a result, the development process of the game vibration description file only needs to focus on the vibration effect in the scene, and the vibration effect is generated in the lower layer of the terminal by calling the above-mentioned target interface and sending the theoretical vibration description file of the unified format to the terminal, and there is no need to care about the differences between different game platforms or terminal manufacturers. In other words, there is no need to set different evaluation criteria for different device terminals, and there is no need to debug and modify separately for each manufacturer when debugging the vibration effect, which saves manpower and material resources.
[0088] In this technical solution, the above-mentioned target interface is made into a unified calling interface of each game terminal, so that the vibration influence factors and the vibration delay time length / vibration compatibility in the game scene can be unified and reported to the cloud end through the interface, and the above-mentioned multiple granularities can be learned and trained by a large amount of data on the vibration lag time and the vibration effect diagram in the scene (the fitting curve training process (92) in FIG. 9), and the uncertain factors can be trained into quantifiable vibration offset factors by using the regularity of big data, and then put into actual use to offset the interference factors. In addition, the machine learning model is trained to generate training data (93), and it is determined whether the original file (i.e., the theoretical vibration description file before adjustment (91)) needs to be adjusted (94). If no adjustment is required, the original file can be used to realize the vibration of the terminal, and if adjustment is required, the adjusted theoretical vibration description file (for example, the file (95) in FIG. 9 that actually generates vibration on the terminal) can be used to vibrate the terminal, and the model can be trained on the above-mentioned adjustment amount and the above-mentioned theoretical vibration description file before adjustment. This realizes the closure of the entire iterative optimization. Moreover, the entire process does not require any human intervention and can self-learn and perform optimization iterations using large amounts of data at the cloud end.
[0089] It should be understood by those skilled in the art that all or part of the steps of implementing the above-mentioned implementation method can be implemented as a computer program executed by a processor (including a CPU and a GPU). When the computer program is executed by the processor, it can realize the above-mentioned functions defined by the above-mentioned method provided in this application. The program can be stored in a computer-readable storage medium, which can be a read-only memory, a magnetic disk, an optical disk, etc.
[0090] Moreover, the above drawings are merely exemplary illustrations of the processes included in the method in the exemplary embodiment of the present application, and are not intended to limit the present application. As can be understood, the processes shown in the above drawings do not limit the time order (execution order) of these processes. Also, as can be understood, these processes can be, for example, performed synchronously or asynchronously in multiple modules.
[0091] The following describes the device for detecting terminal vibration in a game scene provided by the present technical solution.
[0092] In this embodiment, a game scene terminal vibration detection device is provided. As shown in FIG. 10, the game scene terminal vibration detection device 1000 includes an actual vibration curve acquisition module 1001, a theoretical vibration curve acquisition module 1002, a deviation data determination module 1003 and a detection module 1004.
[0093] Wherein, the above-mentioned actual vibration curve acquisition module 1001 is configured to acquire an actual vibration curve of the target terminal when displaying a target game scene, the target terminal being an equipment for displaying the target game scene, the above-mentioned theoretical vibration curve acquisition module 1002 is configured to acquire a theoretical vibration description file associated with the target game scene and determine a theoretical vibration curve based on the theoretical vibration description file, the above-mentioned deviation data determination module 1003 is configured to determine target deviation data between the actual vibration curve and the theoretical vibration curve, and the above-mentioned detection module 1004 is configured to detect whether the vibration of the target terminal matches the above-mentioned target game scene based on the above-mentioned target deviation data.
[0094] In an exemplary embodiment, based on the above scheme, the above-mentioned deviation data determination module 1003 is specifically configured to determine target fitting parameters based on the actual vibration curve and the theoretical vibration curve, and set the target fitting parameters as the target deviation data.
[0095] In an exemplary embodiment, based on the above scheme, the above-mentioned deviation data determination module 1003 is specifically configured to determine a delay overall index parameter, a trailing overall index parameter, a frequency deviation index parameter and an intensity deviation index parameter based on the actual vibration curve and the theoretical vibration curve, and the above-mentioned detection module 1004 is specifically configured to determine a vibration overall evaluation index value based on the delay overall index parameter, the trailing overall index parameter, the frequency deviation index parameter and the intensity deviation index parameter in conjunction with a vibration effect influence parameter, and detect whether the vibration of the target terminal matches the target game scene based on the vibration overall evaluation index value.
[0096] In an exemplary embodiment, based on the above scheme, the above-mentioned deviation data determination module 1003 is specifically configured to determine target deviation data between the actual vibration curve and the theoretical vibration curve based on a target vibration influence factor.
[0097] In an exemplary embodiment, based on the above scheme, the above-mentioned deviation data determination module 1003 is specifically configured to obtain a scene indicator corresponding to the above-mentioned target game scene and a terminal indicator of the above-mentioned target terminal, and based on the above-mentioned scene indicator, obtain a game indicator corresponding to the above-mentioned target game scene, and based on the above-mentioned terminal indicator, obtain at least one of the following information of the above-mentioned target terminal, namely, motor information of the above-mentioned target terminal, a network delay factor associated with the above-mentioned target terminal, and Bluetooth information of the above-mentioned target terminal, and determine the information of the above-mentioned target terminal obtained based on the above-mentioned scene indicator, game indicator and the above-mentioned terminal indicator as the above-mentioned target vibration influence factor.
[0098] In an exemplary embodiment, based on the above scheme, the above-mentioned target deviation data includes a target vibration delay time length, and the above-mentioned apparatus further includes a first model training module 1005 .
[0099] Wherein, the above-mentioned first model training module 1005 is configured as follows: obtain N sets of first sample data, the i-th set of first sample data including a scene mark corresponding to the i-th game scene, a mark of a terminal for displaying the above-mentioned i-th game scene, and a vibration delay time length when the terminal displays the above-mentioned i-th game scene, where N is a positive integer, and i is a positive integer less than N; train a first machine learning model based on the above-mentioned N sets of first sample data, make the trained first machine learning model satisfy a predetermined model evaluation index, and the trained first machine learning model is used to determine the target vibration delay time length.
[0100] In an exemplary embodiment, based on the above scheme, the above-mentioned apparatus further includes a first sample processing module 1006 .
[0101] Wherein, the above-mentioned first sample processing module 1006 is configured as follows: for the i-th set of first sample data, obtain a pre-adjustment theoretical vibration description file associated with the above-mentioned i-th game scene, obtain a theoretical vibration curve of the i-th game scene based on the above-mentioned pre-adjustment theoretical vibration description file, and obtain an actual vibration curve of the terminal when displaying the i-th game scene, the above-mentioned actual vibration curve is generated based on the above-mentioned pre-adjustment theoretical vibration description file when the above-mentioned terminal exists a vibration affecting factor, compare the above-mentioned theoretical vibration curve with the actual vibration curve, and determine the vibration delay time length when the terminal displays the above-mentioned game scene.
[0102] In an exemplary embodiment, based on the above scheme, the above-mentioned deviation data determination module 1003 is further configured to determine a target vibration delay time length corresponding to the above-mentioned target game scene based on the above-mentioned target vibration influence factors by the above-mentioned first machine learning model after the above-mentioned training.
[0103] In an exemplary embodiment, based on the above scheme, the above-mentioned detection module 1004 is specifically configured as follows: obtain a delay error value corresponding to the above-mentioned target game scene, and if the above-mentioned target vibration delay time length is greater than the above-mentioned delay error value, determine that the detection result is that the vibration of the above-mentioned target terminal does not match the above-mentioned target game scene.
[0104] In an exemplary embodiment, based on the above scheme, the above target deviation data includes a target vibration fitness, and the above apparatus further includes a second model training module 1005'.
[0105] Wherein, the above-mentioned second model training module 1005' is configured as follows: obtain M sets of second sample data, the jth set of second sample data including a scene mark corresponding to the jth game scene, a mark of the terminal for displaying the above-mentioned jth game scene, and a vibration compatibility when the terminal displays the above-mentioned jth game scene, where M is a positive integer, and j is a positive integer less than M, train a second machine learning model based on the above-mentioned M sets of second sample data, make the trained second machine learning model satisfy a predetermined model evaluation index, and the trained second machine learning model is used to determine the target vibration compatibility.
[0106] In an exemplary embodiment, based on the above scheme, the above-mentioned apparatus further includes a second sample processing module 1006'.
[0107] Wherein, the above-mentioned second sample processing module 1005' is configured as follows: for the jth set of second sample data, obtain a pre-adjustment theoretical vibration description file associated with the above-mentioned jth game scene, determine a theoretical vibration curve of the jth game scene based on the pre-adjustment theoretical vibration description file, and obtain an actual vibration curve of the terminal when the jth game scene is displayed, the above-mentioned actual vibration curve is generated based on the above-mentioned pre-adjustment theoretical vibration description file when the above-mentioned terminal exists a vibration influencing factor, compare the above-mentioned theoretical vibration curve with the actual vibration curve, obtain an amplitude deviation sequence when the terminal displays the above-mentioned jth game scene, and calculate the vibration compatibility based on the amplitude deviation sequence.
[0108] In an exemplary embodiment, based on the above scheme, the above-mentioned deviation data determination module 1002 is further configured to determine a target vibration fitness corresponding to the above-mentioned target game scene based on the above-mentioned target vibration influence factors by the above-mentioned second machine learning model after training.
[0109] In an exemplary embodiment, based on the above scheme, the above-mentioned detection module 1004 is specifically configured as follows: obtain a compatibility error value corresponding to the above-mentioned target game scene, and if the above-mentioned target vibration compatibility is greater than the above-mentioned compatibility error value, determine that the detection result is that the vibration of the above-mentioned target terminal does not match the above-mentioned target game scene.
[0110] In an exemplary embodiment, based on the above scheme, the above-mentioned device further includes a coordination processing module 1007 and a sending module 1008 .
[0111] Wherein, the above-mentioned adjustment processing module 1007 is configured as follows, namely, adjusts the above-mentioned theoretical vibration description file according to the above-mentioned target deviation data, and obtains the adjusted theoretical vibration description file; the above-mentioned transmission module 1008 is configured as follows, namely, in response to the invocation of a vibration command associated with the above-mentioned target game scene initiated by the above-mentioned target terminal, transmits the above-mentioned adjusted theoretical vibration description file to the above-mentioned target terminal, so that the above-mentioned target terminal generates a vibration consistent with the above-mentioned target game scene based on the adjusted theoretical vibration description file.
[0112] In an exemplary embodiment, based on the above scheme, the above-mentioned adjustment processing module 1007 is specifically configured to determine a deviation offset factor based on the above-mentioned target deviation data, perform adjustment processing on the above-mentioned theoretical vibration description file based on the above-mentioned deviation offset factor, and obtain an adjusted theoretical vibration description file.
[0113] In an exemplary embodiment, based on the above scheme, the above-mentioned target deviation data includes a target vibration delay time length, and the above-mentioned adjustment processing module 1007 is further configured as follows: determine a first deviation offset factor based on the above-mentioned target vibration delay time length, advance each time point in the above-mentioned theoretical vibration description file by a time length corresponding to the above-mentioned first deviation offset factor, and obtain an adjusted theoretical vibration description file.
[0114] In an exemplary embodiment, based on the above scheme, the above-mentioned target deviation data includes a target vibration fit, and the above-mentioned adjustment processing module 1007 is further configured as follows: determine a second deviation offset factor based on the above-mentioned target vibration fit, and process the amplitude values corresponding to each time point in the above-mentioned theoretical vibration description file based on the above-mentioned second deviation offset factor, to obtain an adjusted theoretical vibration description file.
[0115] In an exemplary embodiment, based on the above scheme, the above-mentioned sending module 1008 is specifically configured as follows: based on the invocation of a vibration command associated with the above-mentioned target game scene initiated by multiple target terminals, invoke a target interface, perform format protocol conversion on the above-mentioned adjusted theoretical vibration description file through the above-mentioned target interface, obtain a theoretical vibration description file in a unified format, and send the theoretical vibration description file in the unified format to the above-mentioned multiple target terminals, so that the target terminals analyze the above-mentioned adjusted theoretical vibration description file and then generate vibrations consistent with the above-mentioned target game scene.
[0116] Note that the specific contents of each module or unit in the above-mentioned game scene terminal vibration detection device are explained in detail in the corresponding game scene terminal vibration evaluation method, so detailed explanations thereof will be omitted here.
[0117] FIG. 11 is a configuration diagram of a computer system that can be applied to realize an electronic device in an embodiment of the present invention.
[0118] It should be noted that the computer system 1100 of the electronic device shown in FIG. 11 is merely an example and does not limit the functions and application range of the embodiments of the present invention.
[0119] As shown in FIG. 11, computer system 1100 includes a processor 1101, which may include a graphics processing unit (GPU) or a central processing unit (CPU), and can perform various appropriate operations and processes according to programs stored in read-only memory (ROM) 1102 or programs loaded from storage unit 1108 to random access memory (RAM) 1103. Various programs and data required for system operation can also be stored in RAM 1103. Processor (GPU / CPU) 1101, ROM 1102 and RAM 1103 are connected to each other by a bus 1104. An input / output (I / O) interface 1105 is also connected to the bus 1104.
[0120] The I / O interface 1105 is connected to the following components: an input unit 1106 such as a keyboard and a mouse, an output unit 1107 including a CRT (Cathode Ray Tube, CRT), a Liquid Crystal Display (LCD), and a speaker, a storage unit 1108 such as a hard disk, and a LAN (Local Area Network). and a communication unit 1109 including a network interface card such as a network area network (WAN) card, a modem, etc. The communication unit 1109 can perform communication processing via a network such as the Internet. A drive 1110 is also connected to the I / O interface 1105 according to need. A removable medium 1111, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., can be set in the drive 1110 as needed, and a computer program read from the removable medium can be installed in the storage unit 1108 as needed.
[0121] In particular, according to embodiments of the present application, the processes described with reference to the above flowcharts may be implemented as a computer software program. For example, embodiments of the present application include a computer program product, which includes a computer program carried on a computer readable medium, the computer program including program code for performing the method illustrated in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via the communication unit 1109 and / or installed from a removable medium 1111. When the computer program is executed by the processor (GPU / CPU) 1101, it can perform various functions defined in the system of the present application. In some embodiments, the computer system 1100 further includes an AI (Artificial Intelligence) processor. The AI processor is used to process computational operations related to machine learning.
[0122] It should be noted that the computer-readable medium in the embodiments of the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of both. The computer-readable storage medium may be, for example, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of the computer-readable storage medium may be, but are not limited to, an electrical connection having one or more conductors, a portable computer magnetic disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an EPROM (Erasable Programmable Read Only Memory), a flash memory, an optical fiber, a CD-ROM (Compact Disc Read-Only Memory, CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present application, the computer-readable storage medium may be, but is not limited to, a tangible medium that contains or stores a program, which may be used by or in conjunction with an instruction execution system, apparatus, or device. In this application, a computer-readable signal medium may include a data signal propagating in baseband or as part of a carrier, in which computer-readable program code is carried. Such a propagated data signal may take several types of forms, including, for example, an electromagnetic signal, an optical signal, or any suitable combination thereof. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may transmit, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained in the computer-readable medium may be transmitted by any suitable medium, including, for example, but not limited to, wireless, wired, or the like, or any suitable combination thereof.
[0123] The flowcharts and block diagrams in the drawings illustrate possible system architectures, functions and operations of the systems, methods and computer program products in various embodiments of the present application. In this regard, each block in the flowcharts or block diagrams may represent a module, program segment or part of code, which includes one or more executable instructions for implementing the specified logical function. It should be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than the order marked in the drawings. For example, two blocks shown to be connected may actually be executed in parallel or in the reverse order, depending on the functions involved. Also, each block in the block diagrams or flowcharts, and combinations of blocks in the blocks or flowcharts, may be implemented by a dedicated hardware-based system that executes the specified functions or operations, or may be implemented by a combination of dedicated hardware and computer instructions.
[0124] The relevant units described in the embodiments of the present application may be implemented in a software manner, or may be implemented in a hardware manner, and the relevant units described may be disposed in a processor, in which the names of these units are not intended to limit the units themselves.
[0125] In another aspect, the present application further provides a computer-readable medium, which may be included in the electronic device described in the above embodiments, or may be independent of the electronic device, and such a computer-readable medium may carry one or more programs, which, when executed by one of the electronic devices, can cause the electronic device to perform the method described in the above embodiments.
[0126] It should be noted that, although the above detailed description refers to multiple modules or units in an apparatus for performing operations, such division is not mandatory. In fact, based on the embodiments of the present application, the features and functions of two or more of the above modules or units can be embodied in one module or unit. Conversely, the features and functions of one of the above modules or units can be embodied by further dividing them into multiple modules or units.
[0127] Although the preferred embodiment of the present application has been described above, the present application is not limited to this embodiment, and any modification to the present application falls within the technical scope of the present application as long as it does not depart from the spirit of the present application.
Claims
1. A method for evaluating terminal vibration in a game scene, which is executed by an electronic device, comprising: obtaining an actual vibration curve of a target terminal when displaying a target game scene, the target terminal being for displaying the target game scene; obtaining a theoretical vibration description file associated with the target game scene, and determining a theoretical vibration curve based on the theoretical vibration description file; determining target deviation data between the actual vibration curve and the theoretical vibration curve; and detecting whether the vibration of the target terminal coincides with the target game scene based on the target deviation data; The step of determining target deviation data between the actual vibration curve and the theoretical vibration curve includes: determining a target fitting parameter based on the actual vibration curve and the theoretical vibration curve, and setting the target fitting parameter as the target deviation data; determining a target fitting parameter based on the actual vibration curve and the theoretical vibration curve, determining a lagging overall indicator parameter, a trailing overall indicator parameter, a frequency deviation indicator parameter and an intensity deviation indicator parameter based on the actual vibration curve and the theoretical vibration curve; The step of detecting whether the vibration of the target terminal coincides with the target game scene based on the target deviation data includes: determining a vibration overall evaluation index value based on the lag overall index parameter, the trailing overall index parameter, the frequency deviation index parameter, and the intensity deviation index parameter in conjunction with a vibration effect influence parameter; and The method includes detecting whether the vibration of the target terminal matches the target game scene based on the vibration overall evaluation index value.
2. A method for evaluating terminal vibration in a game scene, which is executed by an electronic device, comprising: obtaining an actual vibration curve of a target terminal when displaying a target game scene, the target terminal being for displaying the target game scene; obtaining a theoretical vibration description file associated with the target game scene, and determining a theoretical vibration curve based on the theoretical vibration description file; determining target deviation data between the actual vibration curve and the theoretical vibration curve; and detecting whether the vibration of the target terminal coincides with the target game scene based on the target deviation data; The step of determining target deviation data between the actual vibration curve and the theoretical vibration curve includes: determining target deviation data between the actual vibration curve and the theoretical vibration curve based on a target vibration influence factor; The target vibration influence factor is determined in the following manner: Obtain a scene indicator corresponding to the target game scene and a terminal indicator of the target terminal; Obtaining a game indicator corresponding to the target game scene based on the scene indicator; According to the terminal identification, obtain at least one of the following information of the target terminal: physical information of the target terminal, motor information of the target terminal, a network delay factor associated with the target terminal, and Bluetooth information of the target terminal; and The method further comprises determining information of the target terminal obtained based on the scene indicator, the game indicator, and the terminal indicator as the target vibration influence factor.
3. 3. The method of claim 2, The target deviation data includes a target vibration delay time length, The method further comprises: Obtaining N sets of first sample data, where the i set of first sample data includes a scene indicator corresponding to the i game scene, an indicator of a terminal for displaying the i game scene, and a vibration delay time length when the terminal displays the i game scene, where N is a positive integer, and i is a positive integer less than N; and The method includes a step of training a first machine learning model based on the N sets of first sample data, and causing the trained first machine learning model to satisfy a predetermined model evaluation index, wherein the trained first machine learning model is used to determine the target vibration delay time length.
4. 4. The method of claim 3, The vibration delay time length when the terminal displays the i game scene is determined in the following manner: For the i-th set of first sample data, obtain an unadjusted theoretical vibration description file associated with the i-th game scene; Determine a theoretical vibration curve of the i game scene based on the unadjusted theoretical vibration description file; Obtain an actual vibration curve of the terminal when displaying the i-th game scene, and the actual vibration curve is generated by the terminal according to the unadjusted theoretical vibration description file when a vibration influence factor exists; and The method includes comparing the theoretical vibration curve with the actual vibration curve to obtain a vibration delay time length when the terminal displays the i-th game scene.
5. 4. The method of claim 3, The step of determining target deviation data between the actual vibration curve and the theoretical vibration curve based on the target vibration influence factor includes: The method includes determining a target vibration delay time length corresponding to the target game scene based on the target vibration influence factors using the trained first machine learning model.
6. 4. The method of claim 3, The step of detecting whether the vibration of the target terminal coincides with the target game scene based on the target deviation data includes: obtaining a delay error value corresponding to the target game scene; and The method includes a step of determining a detection result as "the vibration of the target terminal does not match the target game scene" when the target vibration delay time length is greater than the delay error value.
7. A method for evaluating terminal vibration in a game scene, which is executed by an electronic device, comprising: obtaining an actual vibration curve of a target terminal when displaying a target game scene, the target terminal being for displaying the target game scene; obtaining a theoretical vibration description file associated with the target game scene, and determining a theoretical vibration curve based on the theoretical vibration description file; determining target deviation data between the actual vibration curve and the theoretical vibration curve; and detecting whether the vibration of the target terminal coincides with the target game scene based on the target deviation data; The step of determining target deviation data between the actual vibration curve and the theoretical vibration curve includes: determining target deviation data between the actual vibration curve and the theoretical vibration curve based on a target vibration influence factor; the target deviation data includes a target vibration fit; The method further comprises: Obtaining M sets of second sample data, where the j set of second sample data includes a scene indicator corresponding to the j game scene, an indicator of a terminal for displaying the j game scene, and a vibration suitability when the terminal displays the j game scene, where M is a positive integer, and j is a positive integer less than M; and The method includes a step of training a second machine learning model based on the M sets of second sample data, and causing the trained second machine learning model to satisfy a predetermined model evaluation index, and the trained second machine learning model is used to determine the target vibration fitness.
8. 8. The method of claim 7, The vibration compatibility when the device displays the jth game scene is determined in the following manner: For the j-th set of second sample data, obtain an unadjusted theoretical vibration description file associated with the j-th game scene; Determine a theoretical vibration curve of the j game scene based on the unadjusted theoretical vibration description file; Obtain an actual vibration curve of the terminal when displaying the jth game scene, and the actual vibration curve is generated by the terminal according to the unadjusted theoretical vibration description file when a vibration influence factor exists; and The method includes comparing the theoretical vibration curve with the actual vibration curve to obtain an amplitude deviation sequence when the terminal displays the jth game scene, and calculating the vibration compatibility based on the amplitude deviation sequence.
9. 8. The method of claim 7, The step of determining target deviation data between the actual vibration curve and the theoretical vibration curve based on the target vibration influence factor includes: The method includes determining, by the trained second machine learning model, a target vibration fitness corresponding to the target game scene based on the target vibration influence factors.
10. 8. The method of claim 7, The step of detecting whether the vibration of the target terminal coincides with the target game scene based on the target deviation data includes: obtaining a fitness error value corresponding to the target game scene; and The method includes a step of determining a detection result as "the vibration of the target terminal does not match the target game scene" when the target vibration conformance is greater than the conformance error value.
11. A method for evaluating terminal vibration in a game scene, which is executed by an electronic device, comprising: obtaining an actual vibration curve of a target terminal when displaying a target game scene, the target terminal being for displaying the target game scene; obtaining a theoretical vibration description file associated with the target game scene, and determining a theoretical vibration curve based on the theoretical vibration description file; determining target deviation data between the actual vibration curve and the theoretical vibration curve; and detecting whether the vibration of the target terminal coincides with the target game scene based on the target deviation data; The method further comprises: adjusting the theoretical vibration description file based on the target deviation data to obtain an adjusted theoretical vibration description file; and transmitting the adjusted theoretical vibration description file to the target terminal in response to a call of a vibration command associated with the target game scene initiated by the target terminal, and causing the target terminal to generate a vibration consistent with the target game scene based on the adjusted theoretical vibration description file; a step of transmitting the adjusted theoretical vibration description file to the target terminal in response to a call of a vibration command associated with the target game scene initiated by the target terminal, and causing the target terminal to generate a vibration corresponding to the target game scene based on the adjusted theoretical vibration description file, In response to the invocation of a vibration command associated with the target game scene initiated by the multiple target terminals, invoking a target interface, and performing format protocol conversion on the adjusted theoretical vibration description file through the target interface to obtain a unified format theoretical vibration description file; and The method includes a step of transmitting a theoretical vibration description file in a unified format to a plurality of target terminals, and causing the target terminals to generate vibrations consistent with the target game scene after analyzing the adjusted theoretical vibration description file.
12. 12. The method of claim 11, The step of adjusting the theoretical vibration description file based on the target deviation data and obtaining the adjusted theoretical vibration description file includes: determining a deviation offset factor based on the target deviation data; and performing an adjustment process on the theoretical vibration description file based on the deviation offset factor to obtain the adjusted theoretical vibration description file.
13. 12. The method of claim 11, The target deviation data includes a target vibration delay time length, The step of adjusting the theoretical vibration description file based on the target deviation data and obtaining the adjusted theoretical vibration description file includes: determining a first deviation offset factor based on the target vibration delay time length; and advancing each time point in the theoretical vibration description file by a time length corresponding to the first deviation offset factor to obtain the adjusted theoretical vibration description file.
14. 12. The method of claim 11, the target deviation data includes a target vibration fit; The step of adjusting the theoretical vibration description file based on the target deviation data and obtaining the adjusted theoretical vibration description file includes: determining a second deviation offset factor based on the target vibration fit; and The method includes a step of processing amplitude values corresponding to each time point in the theoretical vibration description file based on the second deviation offset factor to obtain the adjusted theoretical vibration description file.
15. A program for causing a computer to carry out the method according to any one of claims 1 to 14.
16. A processor; and An electronic device including a memory connected to the processor, The storage device stores a computer program, 15. An electronic device, the processor being configured to execute the computer program to implement the method according to any one of claims 1 to 14.
17. A device for detecting terminal vibrations in a game scene, an actual vibration curve acquisition module for acquiring an actual vibration curve of a target terminal when displaying a target game scene, the target terminal being for displaying the target game scene; a theoretical vibration curve acquisition module for acquiring a theoretical vibration description file associated with the target game scene, and determining a theoretical vibration curve based on the theoretical vibration description file; a deviation data determining module for determining target deviation data between the actual vibration curve and the theoretical vibration curve; and a detection module for detecting whether the vibration of the target terminal coincides with the target game scene based on the target deviation data; Determining target deviation data between the actual vibration curve and the theoretical vibration curve includes: determining a target fitting parameter based on the actual vibration curve and the theoretical vibration curve, and setting the target fitting parameter as the target deviation data; determining target fitting parameters based on the actual vibration curve and the theoretical vibration curve, determining a lagging overall indicator parameter, a trailing overall indicator parameter, a frequency deviation indicator parameter, and a magnitude deviation indicator parameter based on the actual oscillation curve and the theoretical oscillation curve; Detecting whether the vibration of the target terminal matches the target game scene based on the target deviation data, determining a vibration overall evaluation index value based on the lagging overall index parameter, the trailing overall index parameter, the frequency deviation index parameter, and the intensity deviation index parameter in conjunction with a vibration effect impact parameter; and detecting whether the vibration of the target terminal matches the target game scene based on the vibration overall evaluation index value.
18. A device for detecting terminal vibrations in a game scene, an actual vibration curve acquisition module for acquiring an actual vibration curve of a target terminal when displaying a target game scene, the target terminal being for displaying the target game scene; a theoretical vibration curve acquisition module for acquiring a theoretical vibration description file associated with the target game scene, and determining a theoretical vibration curve based on the theoretical vibration description file; a deviation data determining module for determining target deviation data between the actual vibration curve and the theoretical vibration curve; and a detection module for detecting whether the vibration of the target terminal coincides with the target game scene based on the target deviation data; Determining target deviation data between the actual vibration curve and the theoretical vibration curve includes: determining target deviation data between the actual vibration curve and the theoretical vibration curve based on a target vibration influence factor; The target vibration influence factor is determined in the following manner: Obtain a scene indicator corresponding to the target game scene and a terminal indicator of the target terminal; Obtaining a game indicator corresponding to the target game scene based on the scene indicator; According to the terminal identification, obtain at least one of the following information of the target terminal: physical information of the target terminal, motor information of the target terminal, a network delay factor associated with the target terminal, and Bluetooth information of the target terminal; and The device determines information of the target terminal obtained based on the scene indicator, the game indicator, and the terminal indicator as the target vibration influence factor.
19. A device for detecting terminal vibrations in a game scene, an actual vibration curve acquisition module for acquiring an actual vibration curve of a target terminal when displaying a target game scene, the target terminal being for displaying the target game scene; a theoretical vibration curve acquisition module for acquiring a theoretical vibration description file associated with the target game scene, and determining a theoretical vibration curve based on the theoretical vibration description file; a deviation data determining module for determining target deviation data between the actual vibration curve and the theoretical vibration curve; and a detection module for detecting whether the vibration of the target terminal coincides with the target game scene based on the target deviation data; Determining target deviation data between the actual vibration curve and the theoretical vibration curve includes: determining target deviation data between the actual vibration curve and the theoretical vibration curve based on a target vibration influence factor; the target deviation data includes a target vibration fit; The target vibration fitness is determined in the following manner: Obtain M sets of second sample data, and the jth set of second sample data includes a scene indicator corresponding to the jth game scene, an indicator of a terminal for displaying the jth game scene, and a vibration suitability when the terminal displays the jth game scene, where M is a positive integer, and j is a positive integer less than M; Training a second machine learning model based on the M sets of second sample data, so that the trained second machine learning model satisfies a predetermined model evaluation index; and The apparatus determines the target vibration fitness using the trained second machine learning model.
20. A device for detecting terminal vibrations in a game scene, an actual vibration curve acquisition module for acquiring an actual vibration curve of a target terminal when displaying a target game scene, the target terminal being for displaying the target game scene; a theoretical vibration curve acquisition module for acquiring a theoretical vibration description file associated with the target game scene, and determining a theoretical vibration curve based on the theoretical vibration description file; a deviation data determining module for determining target deviation data between the actual vibration curve and the theoretical vibration curve; and a detection module for detecting whether the vibration of the target terminal coincides with the target game scene based on the target deviation data; The apparatus further comprises: Adjusting the theoretical vibration description file based on the target deviation data to obtain an adjusted theoretical vibration description file; and In response to a vibration command invocation associated with the target game scene initiated by the target terminal, transmitting the adjusted theoretical vibration description file to the target terminal, so that the target terminal generates a vibration corresponding to the target game scene based on the adjusted theoretical vibration description file; transmitting the adjusted theoretical vibration description file to the target terminal in response to a call of a vibration command associated with the target game scene initiated by the target terminal, and causing the target terminal to generate a vibration corresponding to the target game scene based on the adjusted theoretical vibration description file; In response to the invocation of a vibration command associated with the target game scene initiated by the multiple target terminals, a target interface is invoked, and the target interface performs format protocol conversion on the adjusted theoretical vibration description file to obtain a unified format theoretical vibration description file; and The apparatus includes transmitting a theoretical vibration description file in a unified format to a plurality of target terminals, and causing the target terminals to generate vibrations that correspond to the target game scene after analyzing the adjusted theoretical vibration description file.
Citation Information
Patent Citations
Information processing apparatus, information processing system, information processing method, and program
JP2015166890A
Authentication system, method, and program
JP2017140070A
Controller, control method and program
JP2017182496A
Decoding device, decoding method, and program
WO2020158596A1
