Voice prompt information sending method and device, storage medium and electronic equipment

By determining the user's field of vision and detecting the opposing virtual character in the game interface, and automatically sending voice prompts, the problem of not being able to send voice prompts automatically in the game is solved, improving the user experience and information accuracy.

CN115804952BActive Publication Date: 2026-02-13GUANGZHOU BOGUAN TELECOMM TECH LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202211566757.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-07
Publication Date
2026-02-13
Estimated Expiration
2042-12-07

AI Technical Summary

Technical Problem

Existing technology cannot automatically send voice prompts during gameplay, resulting in a degraded user experience and the potential for duplicate message transmission.

Method used

By determining the user's field of vision area in the terminal device's display interface, it detects whether there is a peer virtual character corresponding to the local virtual character being controlled, and generates and sends voice prompt information when it exists.

Benefits of technology

It enables automatic sending of voice prompts, enhancing the user's gaming experience, avoiding duplicate message sending, and improving the accuracy of message sending and the smoothness of user interaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115804952B_ABST
    Figure CN115804952B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a voice prompt information sending method and device, a storage medium and an electronic device, and relates to the technical field of human-computer interaction. The method comprises the following steps: determining a first line-of-sight area of a current user from a current game scene displayed in a display interface of a terminal device; detecting whether a first opposite-end virtual character corresponding to a local virtual character controlled by the current user exists in the first line-of-sight area; and if the first opposite-end virtual character exists in the first line-of-sight area, generating and sending voice prompt information. The method realizes automatic sending of voice prompt information in a game process.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] Embodiments of the present disclosure relate to the technical field of human-computer interaction, in particular to a voice information sending method, a voice information sending device, a computer readable storage medium and an electronic device. BACKGROUND

[0002] In the prior art, voice prompt information cannot be automatically sent during a game.

[0003] It should be noted that the information disclosed in the above background section is only used to strengthen the understanding of the background of the present disclosure, and therefore can include information that does not constitute prior art known to those of ordinary skill in the art. SUMMARY

[0004] The purpose of the present disclosure is to provide a voice information sending method, a voice information sending device, a computer readable storage medium and an electronic device, thereby at least partially overcoming the problem of not being able to automatically send voice prompt information during a game due to the limitations and defects of the related art.

[0005] According to one aspect of the present disclosure, a voice prompt information sending method is provided, configured in a terminal device, the voice prompt information sending method comprising:

[0006] determining a first line-of-sight area of a current user from a current game scene displayed in a display interface of the terminal device;

[0007] detecting whether a first opposite virtual character corresponding to a local virtual character controlled by the current user exists in the first line-of-sight area;

[0008] if the first opposite virtual character exists in the first line-of-sight area, generating and sending voice prompt information.

[0009] According to one aspect of the present disclosure, a voice prompt information sending device is provided, configured in a terminal device, the voice prompt information sending device comprising:

[0010] a first line-of-sight area determining module configured to determine a first line-of-sight area of a current user from a current game scene displayed in a display interface of the terminal device;

[0011] a first opposite virtual character detecting module configured to detect whether a first opposite virtual character corresponding to a local virtual character controlled by the current user exists in the first line-of-sight area;

[0012] a voice prompt information sending module configured to generate and send voice prompt information if the first opposite virtual character exists in the first line-of-sight area.

[0013] According to an aspect of the present disclosure, a computer readable storage medium is provided, which stores a computer program, and the computer program, when executed by a processor, implements the voice prompt information sending method according to any one of the above aspects.

[0014] According to an aspect of the present disclosure, an electronic device is provided, comprising:

[0015] a processor; and

[0016] a memory configured to store executable instructions of the processor;

[0017] wherein the processor is configured to execute the voice prompt information sending method according to any one of the above aspects by executing the executable instructions.

[0018] The voice prompt information sending method provided by the present disclosure, on one hand, determines the first line-of-sight area of the current user from the current game scene displayed on the display interface of the terminal device, then detects whether there is a first opposite virtual character corresponding to the local virtual character controlled by the current user in the first line-of-sight area, and generates and sends the voice prompt information when it is determined that there is a first opposite virtual character in the first line-of-sight area, thereby realizing the automatic sending of the voice prompt information, solving the problem that the voice prompt information cannot be automatically sent in the game process in the prior art, and improving the experience of the user in the game process; on the other hand, since the voice prompt information can be generated and sent when it is determined that there is a first opposite virtual character in the first line-of-sight area, the problem of repeated sending of information due to the false triggering of the sending of the voice prompt information can be avoided.

[0019] It should be understood that the foregoing general description and the following detailed description are only exemplary and explanatory, and are not limiting to the present disclosure. BRIEF DESCRIPTION OF DRAWINGS

[0020] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments consistent with the present disclosure and serve to explain the principles of the present disclosure. It is apparent that the accompanying drawings in the following description are only some embodiments of the present disclosure, and other drawings can be obtained by those skilled in the art without creative labor on the basis of these drawings.

[0021] Figure 1 A flowchart of a voice prompt information sending method according to an example embodiment of the present disclosure is schematically shown.

[0022] Figure 2 An example diagram of an application scenario of a voice prompt information sending method according to an example embodiment of the present disclosure is schematically shown.

[0023] Figure 3 An example diagram of a first line-of-sight region of a current user is illustratively shown according to example embodiments of the present disclosure.

[0024] Figure 4 An example diagram of a third line-of-sight region of a current user is illustratively shown according to example embodiments of the present disclosure.

[0025] Figure 5 An example diagram of a third line-of-sight region of a current user is illustratively shown according to example embodiments of the present disclosure.

[0026] Figure 6 An example diagram of a third line-of-sight region of a current user is illustratively shown according to example embodiments of the present disclosure.

[0027] Figure 7 An example diagram of a third line-of-sight region of a current user is illustratively shown according to example embodiments of the present disclosure.

[0028] Figure 8 An example diagram of a third line-of-sight region of a current user is illustratively shown according to example embodiments of the present disclosure.

[0029] Figure 9 An example diagram of a third line-of-sight region of a current user is illustratively shown according to example embodiments of the present disclosure.

[0030] Figure 10 An example diagram of a third line-of-sight region of a current user is illustratively shown according to example embodiments of the present disclosure.

[0031] Figure 11 An example diagram of a third line-of-sight region of a current user is illustratively shown according to example embodiments of the present disclosure.

[0032] Figure 12 An example diagram of a third line-of-sight region of a current user is illustratively shown according to example embodiments of the present disclosure. DETAILED DESCRIPTION

[0033] Example implementations will now be described more fully with reference to the accompanying drawings. Example implementations can be implemented in any number of manners, and are not limited to the examples described herein. Rather, these example implementations are presented herein to illustrate the full scope of the disclosure and to provide a factual description for purposes of the patent laws. The described features, structures, or characteristics can be combined in any suitable manner in one or more implementations. In the following description, numerous specific details are provided for a full understanding of the example implementations. One skilled in the relevant art, however, will realize that the implementations of the present disclosure can be practiced without one or more of the specific details, or with other methods, components, materials, and so forth. In other instances, well-known structures have not been described in detail so as not to obscure the disclosure.

[0034] Furthermore, the accompanying drawings are only schematic and are non-limiting detailed representations of example embodiments. Identical components have been given the same reference numerals, and thus will not be described again at length. Some embodiments are shown by way of example in the drawings and will be described in detail in the following. However, aspects can also be embodied in a wide variety of other forms. Each feature disclosed in this document, and / or the prior art, can be provided independently of all other disclosures.

[0035] In some Multiplayer Online Battle Arena (MOBA) games, there are a variety of different game characters. For example, in a certain game, there is a character of a crispy hero. In an actual game scene, the output crispy hero is often attacked after being rushed, at which time the player protecting the crispy hero does not react to other targets in the team battle, and the crispy hero cannot send a help-seeking voice at this time, and a defeat situation exists. Therefore, how to automatically send corresponding voice prompt information according to the current game scene in the game process has become a problem to be solved.

[0036] In the present example implementation, a voice prompt information sending method is first provided, which can run on a terminal device. Of course, those skilled in the art can also run the method of the present disclosure according to the needs, and the present example embodiment does not specially limit this. Specifically, referring to FIG. 1, the voice prompt information sending method can include the following steps: Figure 1

[0037] Step S110. Determine a first line-of-sight area of a current user from a current game scene displayed in a display interface of the terminal device;

[0038] ​Step S120. Detect whether there is a first peer virtual character in the first line of sight area that corresponds to the local virtual character controlled by the current user;

[0039] Step S130. If the first virtual character of the other end exists in the first line of sight area, generate a voice prompt message and send it.

[0040] In the aforementioned method for sending voice prompts, on the one hand, the first field of view of the current user is determined from the current game scene displayed on the terminal device's display interface; then, it is detected whether there is a first counterpart virtual character in the first field of view that corresponds to the virtual character controlled by the current user; and when it is determined that there is a first counterpart virtual character in the first field of view, voice prompts are generated and sent, thus realizing the automatic sending of voice prompts. This solves the problem that existing technologies cannot automatically send voice prompts during gameplay, improving the user's gaming experience. On the other hand, since voice prompts can be generated and sent when it is determined that there is a first counterpart virtual character in the first field of view, the problem of repeated sending of information due to accidental triggering of voice prompts can be avoided.

[0041] The following will provide a detailed explanation and description of the method for sending voice prompts according to an example embodiment of this disclosure, in conjunction with the accompanying drawings.

[0042] First, the application scenarios of the voice prompt information sending method described in the exemplary embodiments of this disclosure will be explained and described. Specifically, the terminal device described in the exemplary embodiments of this disclosure may include... Figure 2 One or more of 201, 202, and 203 shown herein; that is, the terminal device described herein can be various electronic devices with a display screen, including but not limited to desktop computers, portable computers, smartphones, and tablets, etc., and the terminal device can install and run game programs; in one possible example embodiment, the virtual item display method described in the example embodiment of this disclosure can also run on a server; wherein, when it runs on a server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.

[0043] In an optional embodiment, various cloud applications can be run under the cloud interaction system, for example, cloud games. Taking cloud games as an example, cloud games refer to a game mode based on cloud computing. In the running mode of cloud games, the running subject of the game program and the presentation subject of the game picture are separated, and the storage and running of the virtual item recommendation method are completed on the cloud game server. The client device is used for receiving and sending data and presenting the game picture. For example, the client device can be a display device close to the user side with a data transmission function, such as a mobile terminal, a television, a computer, a palm computer, etc. However, the cloud game server in the cloud end performs information processing. When playing the game, the player operates the client device to send operation instructions to the cloud game server, the cloud game server runs the game according to the operation instructions, encodes and compresses the game picture and other data, returns the data to the client device through the network, and finally decodes and outputs the game picture through the client device.

[0044] Secondly, the invention purpose of the example embodiments of the present disclosure is explained and described. Specifically, the sending method of the voice prompt information recorded in the example embodiments of the present disclosure can detect the specific situation of the role in the surrounding area of the user (game player) after the user opens the automatic voice prompt; further, when it is determined that the specific situation meets the specific trigger condition, the corresponding voice prompt information is generated according to the actual scene and is automatically sent; at the same time, in actual application, the sending frequency of the voice prompt information and / or the voice speed in the voice prompt information can also be controlled according to the blood volume decrease of the player role, so as to achieve the purpose of improving the battle experience of the player in the game battle process.

[0045] Further, in the sending method of the voice prompt information provided by the example embodiments of the present disclosure:

[0046] In step S110, the first line-of-sight area of the current user is determined from the current game scene displayed in the display interface of the terminal device.

[0047] In the example embodiment, the first line-of-sight region of the current user is determined from the current game scene displayed in the display interface of the terminal device. This can be achieved in the following manner. First, a first current eye image of the current user is captured based on a camera module included in the terminal device, and a first gaze position and a first gaze azimuth angle of the eyes of the current user relative to the display interface are determined based on the first current eye image. Second, a first line-of-sight region of the current user on the display interface is determined based on the first gaze position and the first gaze azimuth angle. That is, in a specific application process, when the current user is in a game battle, the camera module provided on the terminal device can be started to capture a first current eye image, and a first line-of-sight region is determined based on the first eye image. The obtained first line-of-sight region can be specifically referred to 301 in Figure 3

[0048] The camera module described herein can be a camera module carried by the terminal device or an external camera module connected to the terminal device, and the example does not make special limitations. In the process of processing the captured first current eye image, the image can be preprocessed (such as image enhancement, filtering, noise reduction, etc.) before the first gaze position and the first gaze azimuth angle are determined, and the first gaze position and the first gaze azimuth angle are determined based on the processed first current eye image. This method can improve the accuracy of the obtained first line-of-sight region.

[0049] In step S120, it is detected whether a first opposite virtual character corresponding to the local virtual character controlled by the current user exists in the first line-of-sight region.

[0050] In the example embodiment, whether the first opposite virtual character corresponding to the local virtual character controlled by the current user exists in the first line-of-sight region can be achieved in the following manner. First, it is detected whether the first line-of-sight region includes other virtual characters in addition to the local virtual character controlled by the current user. Second, if the first line-of-sight region includes the other virtual characters, the role identifier of the other virtual characters is obtained, and it is determined whether the other virtual characters belong to the first opposite virtual character based on the role identifier. The first opposite virtual character is a character in an antagonistic relationship with the local virtual character.

[0051] ​In an example embodiment, determining whether the other virtual character belongs to the first opposite virtual character according to the character identifier can be implemented in the following manner: first, obtaining a first character information list of the virtual characters in an antagonistic relationship with the local virtual character, and a second character information list of the virtual characters in a friendly relationship with the local virtual character; second, determining whether the other virtual character belongs to the first opposite virtual character according to the position of the character identifier in the first character information list or the second character information list; at the same time, if the first line-of-sight region only includes the local virtual character, it is determined that there is no first opposite virtual character corresponding to the local virtual character controlled by the current user in the first line-of-sight region; if the character identifier exists in the first character information list, it is determined that the other virtual character corresponding to the character identifier existing in the first character information list is the first opposite virtual character; if the character identifier exists in the second character information list, it is determined that the other virtual character corresponding to the character identifier existing in the second character information list is the second opposite virtual character; wherein the second opposite virtual character is a character in a friendly relationship with the local virtual character.

[0052] In the following, the specific detection process of the first opposite virtual character included in the first line-of-sight region will be detected and described. First, after determining the first line-of-sight region, all virtual characters included in the first line-of-sight region can be obtained, and the number of all virtual characters included in the first line-of-sight region is calculated. If the number of all virtual characters included in the first line-of-sight region is 1, it is determined that there is only the local virtual character in the first line-of-sight region, and there is no other virtual character. If the number of all virtual characters included in the first line-of-sight region is 2 or more, it is determined whether the other virtual character except the local virtual character belongs to the first opposite virtual character or the second opposite virtual character. The specific scene example diagram of the local virtual character, the first opposite virtual character and the second opposite virtual character included in the first line-of-sight region can be referred to as shown in FIG. 4. Figure 4 Figure 4 In FIG. 4, 401 can be used to represent the local virtual character, 402 can be used to represent the first opposite virtual character, and 403 can be used to represent the second opposite virtual character.

[0053] In the process of determining the first opposite virtual character and the second opposite virtual character, the identifier of each virtual character can be used for determination. Since in the Moba game, teaming up will be performed before starting the game, there will be a friendly character list and an antagonistic character list, and thus based on the list, it can be determined whether each virtual character belongs to the first opposite virtual character or the second opposite virtual character.

[0054] ​It needs to be further supplemented here that in actual application process, if the first opposite-end virtual role does not exist in the first line-of-sight area (that is, will not cause any harm to the local virtual role), the voice prompt information does not need to be sent; if the first opposite-end virtual role exists (that is, may cause harm or has caused harm), the corresponding voice prompt information can be sent according to the actual scene situation.

[0055] In step S130, if the first opposite-end virtual role exists in the first line-of-sight area, the voice prompt information is generated and sent.

[0056] In the example embodiment, in actual application process, generating the voice prompt information can be divided into the following cases: the first case is that the first opposite-end virtual role exists in the first line-of-sight area, and the corresponding voice prompt information is generated and sent; the second case is that when it is determined that the first opposite-end virtual role exists in the first line-of-sight area and the second line-of-sight area of the second opposite-end user corresponding to the second opposite-end virtual role is not in the first line-of-sight area, the corresponding voice prompt information is generated and sent. That is, if the first opposite-end virtual role exists in the first line-of-sight area, the second line-of-sight area of the second opposite-end user sent by the second opposite-end virtual role is received, and it is determined whether the second line-of-sight area is consistent with the first line-of-sight area; if the second line-of-sight area is not consistent with the first line-of-sight area, the matching condition of the to-be-sent content is determined according to the local virtual role, the first opposite-end virtual role or the second opposite-end virtual role, and the to-be-sent content is matched from the preset content list according to the matching condition; the voice prompt information is generated according to the to-be-sent content, and the voice prompt information is sent.

[0057] In an example embodiment, in the process of comparing the first line-of-sight area and the second line-of-sight area, the second line-of-sight area can be first positioned in the display interface of the terminal device corresponding to the local virtual role, and then the first line-of-sight area and the second line-of-sight area are compared; if the overlapping part of the first line-of-sight area and the second line-of-sight area is greater than a certain area, it can be considered that the first line-of-sight area and the second line-of-sight area are consistent; if not, it is determined that the first line-of-sight area and the second line-of-sight area are inconsistent.

[0058] Further, the voice prompt information sending method disclosed in the example embodiments of the present disclosure only generates the matching condition of the to-be-sent content according to the local virtual character, the first opposite-end virtual character or the second opposite-end virtual character when it is determined that the first opposite-end virtual character in an antagonistic relationship with the local virtual character exists in the first line-of-sight area, and then determines the to-be-sent content according to the matching condition. Under this premise, the matching condition of the to-be-sent content according to the local virtual character, the first opposite-end virtual character or the second opposite-end virtual character can exist in the following cases: one case is that the first matching condition of the to-be-sent content is determined according to the local virtual character and the first opposite-end virtual character; another case is that the second matching condition of the to-be-sent content is determined according to the local virtual character and the second opposite-end virtual character.

[0059] In the following, the specific determination process of the first matching condition and the second matching condition will be explained and described.

[0060] In an example embodiment, the first matching condition of the to-be-sent content according to the local virtual character and the first opposite-end virtual character can be realized by the following way: first, the second current eye image of the current user is collected, and the second gaze position and the second gaze azimuth angle of the eyes of the current user relative to the display interface are determined according to the second current eye image; second, the third line-of-sight area of the current user on the display interface is determined based on the second gaze position and the second gaze azimuth angle, and when it is determined that the third line-of-sight area is the area where the first opposite-end virtual character is located, the first matching condition of the to-be-sent content is generated according to the local virtual character and the first opposite-end virtual character. Wherein, the first matching condition of the to-be-sent content according to the local virtual character and the first opposite-end virtual character can be realized by the following way: on the one hand, the gaze duration of the current user on the area where the first opposite-end virtual character is located is calculated, and when it is determined that the gaze duration is greater than a preset duration, the first matching condition of the to-be-sent content is determined according to the gaze duration of the current user on the first opposite-end virtual character; on the other hand, the first position difference between the local virtual character and the first opposite-end virtual character at the current time and the second position difference between the local virtual character and the first opposite-end virtual character at the last time corresponding to the current time are calculated, and when it is determined that the first position difference is less than the second position difference, the first matching condition of the to-be-sent content is determined according to the first difference calculation result between the first position difference and the second position difference.

[0061] In an example embodiment, in actual application, when it is detected that the first peer virtual role exists in the first line-of-sight region, it is also needed to detect the line-of-sight staying time of the current user on the first peer virtual role, if the line-of-sight stays on the first peer virtual role and the line-of-sight staying time reaches a certain length (such as 1s or 0.5s, etc.); or, it can also be detected whether the distance between the local virtual role and the first peer virtual role is decreasing, if the distance is decreasing, it is determined that the voice prompt information needs to be sent; therefore, it can be determined that the first matching condition is that the line-of-sight staying time reaches a certain length and / or the distance is decreasing (the first peer virtual role is moving to the local virtual role). Wherein, as shown in Figure 5 , the third line-of-sight region can be as shown in 501 of Figure 5 .

[0062] It needs to be supplemented here that when determining the gaze time, it can be realized by the following way: interval preset time, collect the fourth current eye image of the current user, and determine the fourth gaze position and the fourth gaze azimuth angle of the eye of the current user relative to the display interface according to the fourth current eye image; secondly, based on the fourth gaze position and the fourth gaze azimuth angle, determine the fourth line-of-sight region of the current user on the display interface; judge whether the overlap degree between the fourth line-of-sight region and the third line-of-sight region is greater than the preset overlap degree, if yes, it is determined that the gaze time meets the above requirements, and it is determined that the above first matching condition; wherein, the matched content to be sent may be, for example: everyone, I am attacked, come to save me quickly; the specific scene example diagram can be referred to as shown in Figure 6 ; if not, it is determined that the gaze time does not meet the above requirements, and it is not needed to determine the first matching condition. By this method, the situation of false sending of voice can be avoided, and the game experience of the user is further improved.

[0063] In an example embodiment, the first matching condition of the to-be-sent content is determined according to the local virtual character and the first opposite virtual character, and the first matching condition of the to-be-sent content can also be determined by the following method: obtaining the skill attribute of the attack skill released by the first opposite virtual character, and determining the attack range of the attack skill according to the skill attribute; calculating a third distance difference value between the attack range and the first current position where the local virtual character is located, and when the third distance difference value is less than or equal to a first preset distance, determining the first matching condition of the to-be-sent content according to a second difference value between the third distance difference value and the first preset distance. That is, in this case, the attack range of the enemy character (the first opposite virtual character) can be detected in real time, and when the distance between the character (the local virtual character) operated by the current user and the enemy character (the first opposite virtual character) reaches N*attack range (the first preset distance), the first matching condition of the to-be-sent content is determined according to a second difference value between the third distance difference value and the first preset distance; wherein the first matching condition can be determined according to the specific value of the second difference value; wherein the closer the distance, the more urgent the situation; and N here is a self-defined value, which can be determined according to actual needs and the attack range, and the present example does not make special limitations on this; by this method, sufficient rescue time can be left for the second opposite virtual character, thereby avoiding the problem of game failure.

[0064] In an example embodiment, the second matching condition of the to-be-sent content is determined according to the local virtual character and the second opposite virtual character, and the second matching condition of the to-be-sent content can be determined by the following method: determining the number of the second opposite virtual characters in the first line-of-sight region that have a team relationship with the local virtual character, and determining the second matching condition of the to-be-sent content according to the number of the second opposite virtual characters; or determining a fourth distance difference value between the second opposite virtual character and the local virtual character in the first line-of-sight region, and determining the second matching condition of the to-be-sent content according to the fourth distance difference. That is, in actual application, the second matching condition can be determined according to the number of the second opposite virtual characters included in the first line-of-sight region, or the second matching condition can be determined according to the fourth distance difference value between the second opposite virtual character and the local virtual character; that is, the second matching condition can be determined by considering the distance between the local virtual character and the second opposite virtual character alone, or the second matching condition can be determined by considering the number of the second opposite virtual characters alone; of course, comprehensive consideration can also be made, and the present example does not make special limitations on this.

[0065] In an example embodiment, the number of roles includes one or more; wherein the second matching condition of the to-be-sent content is determined according to the number of roles of the second opposite-end virtual role, including: when the number of roles is one, obtaining second attribute information possessed by the second opposite-end virtual role, and determining the second matching condition of the to-be-sent content according to a second role attribute name included in the second attribute information and a second role attribute position of the second opposite-end virtual role in the current game scene; when the number of roles is more than one, selecting a target virtual role from the second opposite-end virtual role, and determining the second matching condition of the to-be-sent content according to the target virtual role. That is, if there is only one of our roles (the second opposite-end virtual role) in the first line-of-sight area, the second attribute information possessed by the second opposite-end virtual role can be obtained, and the second matching condition can be determined according to the second role attribute name (such as the hero name) included in the second attribute information and the second role attribute position (such as the lane position, for example, the upper road, the lower road, or the middle road, etc.). The second to-be-sent content with the first content category may, for example, be: the upper road master saves me; and a specific scene example diagram can be as shown in FIG. 7.

[0066] In an example embodiment, when the number of roles is more than one, a target virtual role is selected from the second opposite-end virtual role, and the second matching condition of the to-be-sent content is determined according to the target virtual role; wherein, referring to FIG. 8, selecting a target virtual role from the second opposite-end virtual role and determining the second matching condition of the to-be-sent content according to the target virtual role can include the following steps: Figure 8

[0067] Step S810: obtaining a second current position possessed by the second opposite-end virtual role, and calculating a fifth distance difference value between the second current position and the first current position;

[0068] Step S820: calculating a moving time length required for the second opposite-end virtual role to move from the second current position to the first current position according to the fifth distance difference value and a speed attribute possessed by the second opposite-end virtual role, and selecting a first target virtual role from the second opposite-end virtual role based on the moving time length,

[0069] Step S830: matching a second target virtual role from the first target virtual role according to a target skill attribute possessed by the first target virtual role and a current skill attribute required by the local virtual role, and determining the second matching condition of the to-be-sent content based on the second target virtual role.

[0070] ​Hereinafter, the step S810-step S830 will be explained and described. Specifically, first, the second current position of all second opposite virtual roles is obtained, and then the fifth distance difference value between the second opposite virtual role and the first opposite virtual role is calculated according to the second current position and the first current position; Then, according to the fifth distance difference value and the speed attribute (that is, the speed of movement) possessed by the second opposite virtual role, the moving time is calculated; Further, when the moving time is obtained, the first target virtual role is matched from the second opposite virtual role; That is, the second opposite virtual role with short support time is selected as the first target virtual role; Further, the first target virtual role with target skill attribute is selected from the first target virtual role as the second target virtual role; Wherein the target skill attribute described herein can include shield skill attribute or healing skill attribute and the like; After obtaining the second target virtual role, the second matching condition of the content to be sent is determined; Wherein the content to be sent with the second content category can be: assist the big boss to give a treatment, and thank you; At the same time, the specific scene diagram can refer to Figure 9

[0071] So far, the specific determination process of the matching condition of the content to be sent has been realized. Further, based on the above matching condition, the corresponding content to be sent can be matched from the preset content list and the corresponding voice prompt information is generated and sent. Wherein the voice prompt information generated according to the content to be sent can be realized by the following way: First, the current skill attribute of the local virtual role is obtained; Wherein the current skill attribute includes the first attribute value of the local virtual role before being attacked by the first opposite virtual role and the second attribute value after being attacked by the first opposite virtual role; Second, the attribute difference value between the first attribute value and the second attribute value is calculated, and the attribute difference value and the content to be sent are input into the preset voice generation model to obtain the voice prompt information. That is, in the specific application process, the frequency of the voice in the generated voice prompt information can be controlled according to the blood volume drop speed of the local virtual role. For example, after obtaining the attribute difference value, the attribute difference value and the content to be sent are input into the preset voice generation model to obtain the corresponding voice prompt information; Wherein the voice generation model described herein can include convolutional neural network model, recurrent neural network model and deep neural network model and the like, which is not specially limited in the present example.

[0072] It should be noted here that in the process of training the preset voice generation model, the game scene data in the actual game scene can be used for training, so as to ensure the accuracy of the obtained voice prompt information.

[0073] ​Secondly, after obtaining the voice prompt information, the voice prompt information can be sent. Specifically, during the process of sending the voice prompt information, the sending frequency can be determined based on the blood volume decrease speed. Specifically, the sending frequency of the voice prompt information can be calculated according to the attribute difference value, and the voice prompt information can be sent based on the sending frequency. During the calculation of the sending frequency, a preset frequency prediction model can be used. That is, the attribute difference value can be input into the preset frequency prediction model to obtain the sending frequency, and then the voice prompt information can be automatically sent based on the sending frequency. For example, if the blood volume decreases too fast, multiple voice prompt information can be sent in succession to serve as an urgent reminder. The specific scene diagram can be referred to in Figure 10 .

[0074] At this point, the voice prompt information sending method provided by the example embodiments of the present disclosure has been fully implemented. Based on the foregoing description, it can be known that the voice prompt information sending method described in the example embodiments of the present disclosure can match the corresponding to-be-sent content according to the actual game scene, and generate the corresponding voice prompt information according to the actual game scene and the to-be-sent content, and then automatically send the voice prompt information, thereby reducing the problem that the user experience is low due to the need for manual sending of voice information during the game process, and improving the user's game experience. At the same time, since the specific voice can be generated according to the actual scene, and the voice state can be controlled according to the blood volume decrease, the accuracy of the sent voice prompt information is improved.

[0075] The example embodiments of the present disclosure also provide a voice prompt information sending device configured in a terminal device. Specifically, as shown in Figure 11 , the voice prompt information sending device can include a first line-of-sight area determination module 1110, a first opposite-end virtual character detection module 1120, and a voice prompt information sending module 1130. Wherein:

[0076] The first line-of-sight area determination module 1110 is configured to determine a first line-of-sight area of a current user from a current game scene displayed on a display interface of the terminal device.

[0077] The first opposite-end virtual character detection module 1120 is configured to detect whether a first opposite-end virtual character corresponding to a local virtual character controlled by the current user exists in the first line-of-sight area.

[0078] The voice prompt information sending module 1130 is configured to generate and send voice prompt information if the first opposite-end virtual character exists in the first line-of-sight area.

[0079] In an example embodiment of the present disclosure, the first line-of-sight region of the current user is determined from a current game scene displayed in a display interface of the terminal device, including: capturing a first current eye image of the current user based on a camera module included in the terminal device, and determining a first gaze position and a first gaze azimuth angle of an eye of the current user relative to the display interface according to the first current eye image; and determining the first line-of-sight region of the current user on the display interface based on the first gaze position and the first gaze azimuth angle.

[0080] In an example embodiment of the present disclosure, detecting whether a first opposite virtual character corresponding to the local virtual character controlled by the current user exists in the first line-of-sight region includes: detecting whether the first line-of-sight region includes a virtual character other than the local virtual character controlled by the current user; if the first line-of-sight region includes the other virtual character, obtaining a character identifier of the other virtual character, and determining whether the other virtual character belongs to the first opposite virtual character according to the character identifier; wherein the first opposite virtual character is a character in an antagonistic relationship with the local virtual character.

[0081] In an example embodiment of the present disclosure, determining whether the other virtual character belongs to the first opposite virtual character according to the character identifier includes: obtaining a first character information list of characters in an antagonistic relationship with the local virtual character, and a second character information list of characters in a friendly relationship with the local virtual character; and determining whether the other virtual character belongs to the first opposite virtual character according to a position of the character identifier in the first character information list or the second character information list.

[0082] In an example embodiment of the present disclosure, if the first line-of-sight region only includes the local virtual character, it is determined that the first opposite virtual character corresponding to the local virtual character controlled by the current user does not exist in the first line-of-sight region; if the character identifier exists in the first character information list, it is determined that the other virtual character corresponding to the character identifier existing in the first character information list is the first opposite virtual character; if the character identifier exists in the second character information list, it is determined that the other virtual character corresponding to the character identifier existing in the second character information list is the second opposite virtual character; wherein the second opposite virtual character is a character in a friendly relationship with the local virtual character.

[0083] In an example embodiment of the present disclosure, the voice prompt information is generated and sent, including: receiving a second line-of-sight area of a second opposite user sent by a second opposite virtual character, and determining whether the second line-of-sight area is consistent with the first line-of-sight area; if the second line-of-sight area is not consistent with the first line-of-sight area, determining a matching condition of the to-be-sent content according to the local virtual character, the first opposite virtual character or the second opposite virtual character, and matching the to-be-sent content from a preset content list according to the matching condition; generating voice prompt information according to the to-be-sent content, and sending the voice prompt information.

[0084] In an example embodiment of the present disclosure, the matching condition of the to-be-sent content is determined according to the local virtual character, the first opposite virtual character and / or the second opposite virtual character, including: determining a first matching condition of the to-be-sent content according to the local virtual character and the first opposite virtual character; and / or determining a second matching condition of the to-be-sent content according to the local virtual character and the second opposite virtual character.

[0085] In an example embodiment of the present disclosure, the first matching condition of the to-be-sent content is determined according to the local virtual character and the first opposite virtual character, including: collecting a second current eye image of the current user, and determining a second gaze position and a second gaze azimuth angle of the eyes of the current user relative to the display interface according to the second current eye image; determining a second line-of-sight area of the current user on the display interface based on the second gaze position and the second gaze azimuth angle, and when it is determined that the second line-of-sight area is the area where the first opposite virtual character is located, generating a first matching condition of the to-be-sent content according to the local virtual character and the first opposite virtual character.

[0086] In an example embodiment of the present disclosure, the first matching condition of the to-be-sent content is generated according to the local virtual character and the first opposite virtual character, including: calculating a gaze duration of the current user on the area where the first opposite virtual character is located, and when it is determined that the gaze duration is greater than a preset duration, determining a first matching condition of the to-be-sent content according to the gaze duration of the current user on the first opposite virtual character; or calculating a first position difference value between the local virtual character and the first opposite virtual character at a current time, and a second position difference value between the local virtual character and the first opposite virtual character at a previous time corresponding to the current time, and when it is determined that the first position difference value is less than the second position difference value, determining a first matching condition of the to-be-sent content according to a first difference calculation result between the first position difference value and the second position difference value.

[0087] In an example embodiment of the present disclosure, the first matching condition of the to-be-sent content is determined according to the local virtual character and the first opposite-end virtual character, including: obtaining a skill attribute of an attack skill released by the first opposite-end virtual character, and determining an attack range of the attack skill according to the skill attribute; calculating a third distance difference between the attack range and a first current position of the local virtual character, and determining the first matching condition of the to-be-sent content according to a second difference between the third distance difference and a first preset distance when the third distance difference is less than or equal to the first preset distance.

[0088] In an example embodiment of the present disclosure, the second matching condition of the to-be-sent content is determined according to the local virtual character and the second opposite-end virtual character, including: determining a number of the second opposite-end virtual characters in the first line-of-sight region that have a team relationship with the local virtual character, and determining the second matching condition of the to-be-sent content according to the number of the second opposite-end virtual characters; or determining a fourth distance difference between the second opposite-end virtual characters and the local virtual character in the first line-of-sight region, and determining the second matching condition of the to-be-sent content according to the fourth distance difference.

[0089] In an example embodiment of the present disclosure, the number of the characters includes one or more;

[0090] In an example embodiment of the present disclosure, the number of the characters includes one or more;

[0091] In an example embodiment of the present disclosure, selecting a target virtual role from the second pair of virtual roles and determining a second matching condition of the to-be-sent content according to the target virtual role comprises: obtaining a second current position of the second pair of virtual roles, and calculating a fifth distance difference value between the second current position and the first current position; calculating a moving time length required for the second pair of virtual roles to move from the second current position to the first current position according to the fifth distance difference value and a speed attribute of the second pair of virtual roles; selecting a first target virtual role from the second pair of virtual roles based on the moving time length, and matching a second target virtual role from the first target virtual role according to a target skill attribute of the first target virtual role and a current skill attribute required by the local virtual role; and determining the second matching condition of the to-be-sent content based on the second target virtual role.

[0092] In an example embodiment of the present disclosure, generating the voice prompt information according to the to-be-sent content comprises: obtaining a current skill attribute of the local virtual role; wherein the current skill attribute comprises a first attribute value of the local virtual role before being attacked by the first pair of virtual roles and a second attribute value of the local virtual role after being attacked by the first pair of virtual roles; calculating an attribute difference value between the first attribute value and the second attribute value, and inputting the attribute difference value and the to-be-sent content into a preset voice generation model to obtain the voice prompt information.

[0093] In an example embodiment of the present disclosure, sending the voice prompt information comprises: calculating a sending frequency of the voice prompt information according to the attribute difference value, and sending the voice prompt information based on the sending frequency.

[0094] The specific details of each module in the above voice prompt information sending device have been described in detail in the corresponding voice prompt information sending method, and therefore will not be described here again.

[0095] It should be noted that although several modules or units of the device for action execution are mentioned in the above detailed description, such division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided into embodied by multiple modules or units.

[0096] Moreover, although individual steps of the methods in the present disclosure are described in a particular order in the drawings, this is not required or implied as to the order of execution of the steps, nor is it required that all of the steps be executed to achieve the desired result. Additionally or alternatively, certain steps can be omitted, multiple steps can be combined into a single step, a single step can be broken into multiple steps, etc.

[0097] In the exemplary embodiments of the present disclosure, an electronic device capable of implementing the above method is also provided.

[0098] Those skilled in the art can understand that various aspects of the present disclosure can be implemented as a system, a method or a program product. Therefore, various aspects of the present disclosure can be embodied as a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or an implementation combining hardware and software aspects, which can be collectively referred to as "circuitry", "module" or "system" herein.

[0099] The electronic device 1200 according to this embodiment of the present disclosure will be described below with reference to Figure 12 Figure 12 The electronic device 1200 shown is merely an example and should not impose any limitation on the functions and use range of the embodiments of the present disclosure.

[0100] As shown in Figure 12 , the electronic device 1200 is in the form of a general computing device. The components of the electronic device 1200 can include, but are not limited to, the at least one processing unit 1210 described above, the at least one storage unit 1220 described above, a bus 1230 connecting different system components (including the storage unit 1220 and the processing unit 1210), and a display unit 1240.

[0101] The storage unit stores program code that can be executed by the processing unit 1210, so that the processing unit 1210 performs the steps according to various exemplary embodiments of the present disclosure described in the "Exemplary Method" section of the present specification. For example, the processing unit 1210 can perform the steps shown in Figure 1 , such as step S110: determining a first line-of-sight area of a current user from a current game scene displayed in a display interface of the terminal device; step S120: detecting whether a first opposite virtual character corresponding to a local virtual character controlled by the current user exists in the first line-of-sight area; and step S130: if the first opposite virtual character exists in the first line-of-sight area, voice prompt information is prompted and sent.

[0102] ​Storage unit 1220 may include a readable medium in the form of a volatile storage unit, such as random access memory (RAM) 12201 and / or cache memory 12202, and may further include a read-only memory (ROM) 12203.

[0103] Storage unit 1220 may also include a program / utility 12204 having a set (at least one) of program modules 12205, such program modules 12205 including but not limited to: operating system, one or more application programs, other program modules and program data, each or some combination of these examples may include an implementation of a network environment.

[0104] Bus 1230 can represent one or more of several types of bus structures, including a memory cell bus or memory cell controller, a peripheral bus, a graphics acceleration port, a processing unit, or a local bus using any of the various bus structures.

[0105] Electronic device 1200 can also communicate with one or more external devices 1300 (e.g., keyboard, pointing device, Bluetooth device, etc.), and with one or more devices that enable a user to interact with electronic device 1200, and / or with any device that enables electronic device 1200 to communicate with one or more other computing devices (e.g., router, modem, etc.). This communication can be performed via input / output (I / O) interface 1250. Furthermore, electronic device 1200 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public networks, such as the Internet) via network adapter 1260. As shown, network adapter 1260 communicates with other modules of electronic device 1200 via bus 1230. It should be understood that, although not shown in the figures, other hardware and / or software modules can be used in conjunction with electronic device 1200, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0106] From the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solutions according to the embodiments of this disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (such as a CD-ROM, USB flash drive, external hard drive, etc.) or on a network, including several instructions to cause a computing device (such as a personal computer, server, terminal device, or network device, etc.) to execute the methods according to the embodiments of this disclosure.

[0107] In exemplary embodiments of the present disclosure, a computer readable storage medium having stored thereon a program product capable of implementing the above-described methods of the present specification is also provided. In some possible implementations, various aspects of the present disclosure can also be implemented in the form of a program product including a program code that, when run on a terminal device, causes the terminal device to perform the steps described in the above "Exemplary Methods" section according to various exemplary embodiments of the present disclosure.

[0108] A program product for implementing the above-described methods according to embodiments of the present disclosure can take the form of a portable compact disc read-only memory (CD-ROM) and include a program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present disclosure is not limited thereto, and in the present document, a readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.

[0109] The program product can take any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium, for example, can be, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (a non-exhaustive list) of the readable storage medium include an electrical connection having one or more wires, a portable disc, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.

[0110] The computer readable signal medium can include a data signal propagated in baseband or propagated as a carrier wave in a propagated data signal, in which the readable program code is embodied. Such propagated data signal can take multiple forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination thereof. The readable signal medium can also be any readable medium that is not a readable storage medium and that can transmit, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.

[0111] The program code contained on the readable medium can be transmitted using any suitable medium, including but not limited to wireless, wired, optical fiber, RF, and the like, or any suitable combination thereof.

[0112] The program code may be executed by one or more programmable processing devices, which can include processors, microprocessor, microcomputer or microcontrollers, as well as other electronic circuits that include elements that can execute a program of instructions written in any one of a variety of programming languages, including an object oriented programming language such as Java, C++, or the like, as well as conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's computing device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device or entirely on the remote computing device or server. In the latter scenario, the remote computing device can be connected to the user's computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection can be made to an external computing device, such as through the Internet using an Internet Service Provider (ISP).

[0113] In addition, the above-described flowcharts are merely illustrative of the processes included in the method according to the exemplary embodiments of the present disclosure, and are not intended to limit the purpose. It is easily understood that the processes shown in the above-described flowcharts do not indicate or limit the time sequence of the processes. In addition, it is also easily understood that the processes can be executed synchronously or asynchronously, for example, in a plurality of modules.

[0114] Other embodiments of the present disclosure will be readily apparent to those skilled in the art upon considering the description hereof in light of the drawings and specification. The application is intended to cover any variations, uses, or adaptations of the present disclosure following, in general, the principles of the present disclosure and including such departures from the present disclosure that come within known or customary practice in the art to which the present disclosure pertains. The specification and drawings should be regarded as illustrative only and the true scope of the present disclosure is indicated by the claims.

Claims

1. A method for sending voice prompt information, characterized in that, Configured on a terminal device, the method for sending the voice prompt information includes: Determine the current user's first line of sight area from the current game scene displayed on the terminal device's display interface; Detect whether there is a first peer virtual character in the first field of view area that corresponds to the local virtual character controlled by the current user; wherein, the first peer virtual character is a character that is in an adversarial relationship with the local virtual character; If a first peer virtual character exists in the first line of sight area, a voice prompt message is generated and sent, including: receiving the second line of sight area of ​​the peer user sent by the second peer virtual character, and determining whether the second line of sight area is consistent with the first line of sight area; if the second line of sight area is inconsistent with the first line of sight area, determining the matching conditions of the content to be sent based on the local virtual character, the first peer virtual character, or the second peer virtual character, and matching the content to be sent from a preset content list based on the matching conditions; generating a voice prompt message based on the content to be sent, and sending the voice prompt message to the second peer virtual character who is a teammate of the first peer virtual character.

2. The method for sending voice prompt information according to claim 1, characterized in that, Determining the current user's first line of sight area from the current game scene displayed on the terminal device's display interface includes: Based on the camera module included in the terminal device, a first current eye image of the current user is acquired, and based on the first current eye image, a first gaze position and a first gaze azimuth angle of the current user's eyes relative to the display interface are determined. Based on the first gaze position and the first gaze azimuth angle, the first gaze area of ​​the current user on the display interface is determined.

3. The method for sending voice prompt information according to claim 1, characterized in that, Detecting whether a first peer virtual character corresponding to the currently controlled local virtual character exists in the first line of sight area includes: Detect whether the first line of sight area includes any virtual characters other than the virtual character currently controlled by the user. If the first line of sight area includes the other virtual characters, then obtain the character identifier of the other virtual characters, and determine whether the other virtual characters belong to the first peer virtual characters based on the character identifier.

4. The method for sending voice prompt information according to claim 3, characterized in that, Determining whether the other virtual characters belong to the first peer virtual character based on the character identifier includes: Obtain a first list of characters who are in an adversarial relationship with the local virtual character, and a second list of characters who are teammates with the local virtual character; Based on the position of the character identifier in the first character information list or the second character information list, determine whether the other virtual characters belong to the first counterpart virtual characters.

5. The method for sending voice prompt information according to claim 4, characterized in that, If the first line of sight area only includes the local virtual character, then it is determined that there is no first peer virtual character corresponding to the local virtual character controlled by the current user in the first line of sight area; If the character identifier exists in the first character information list, then other virtual characters corresponding to the character identifier existing in the first character information list are determined as the first peer virtual character; If the character identifier exists in the second character information list, then other virtual characters corresponding to the character identifier existing in the second character information list are determined as the second peer virtual character; wherein, the second peer virtual character is a character that is a teammate of the local virtual character.

6. The method for sending voice prompt information according to claim 1, characterized in that, The matching conditions for the content to be sent are determined based on the local virtual role, the first peer virtual role, or the second peer virtual role, including: Based on the local virtual role and the first peer virtual role, determine the first matching condition for the content to be sent; or The second matching condition for the content to be sent is determined based on the local virtual character and the second peer virtual character.

7. The method for sending voice prompt information according to claim 6, characterized in that, Based on the local virtual role and the first peer virtual role, the first matching condition for the content to be sent is determined, including: Acquire a second current eye image of the current user, and determine the second gaze position and second gaze azimuth angle of the current user's eyes relative to the display interface based on the second current eye image; Based on the second gaze position and the second gaze azimuth angle, the third gaze area of ​​the current user on the display interface is determined, and when the third gaze area is determined to be the area where the first peer virtual character is located, a first matching condition for the content to be sent is generated according to the local virtual character and the first peer virtual character.

8. The method for sending voice prompt information according to claim 7, characterized in that, The first matching condition for generating the content to be sent based on the local virtual character and the first peer virtual character includes: Calculate the duration of the current user's gaze at the area where the first peer virtual character is located, and when it is determined that the gaze duration is greater than a preset duration, determine the first matching condition for the content to be sent based on the duration of the current user's gaze at the first peer virtual character; or Calculate the first position difference between the local virtual character and the first peer virtual character at the current moment, and the second position difference between the local virtual character and the first peer virtual character at the previous moment corresponding to the current moment. When it is determined that the first position difference is less than the second position difference, determine the first matching condition of the content to be sent based on the calculation result of the first difference between the first position difference and the second position difference.

9. The method for sending voice prompt information according to claim 6, characterized in that, The first matching condition for generating the content to be sent based on the local virtual character and the first peer virtual character includes: Obtain the skill attributes of the attack skill released by the first peer virtual character, and determine the attack range of the attack skill based on the skill attributes; Calculate the third distance difference between the attack range and the first current location of the local virtual character, and when the third distance difference is less than or equal to the first preset distance, determine the first matching condition of the content to be sent based on the calculation result of the second difference between the third distance difference and the first preset distance.

10. The method for sending voice prompt information according to claim 6, characterized in that, Based on the local virtual role and the second peer virtual role, the second matching condition for the content to be sent is determined, including: Determine the number of second-party virtual characters in the first line of sight area who are teammates with the local virtual character, and determine the second matching condition for the content to be sent based on the number of second-party virtual characters; or Determine the fourth distance difference between the second peer virtual character and the local virtual character in the first line of sight area, and determine the second matching condition of the content to be sent based on the fourth distance difference.

11. The method for sending voice prompt information according to claim 10, characterized in that, The number of roles may include one or more; The second matching condition for determining the content to be sent, based on the number of virtual characters on the second counterpart, includes: When the number of characters is one, the second attribute information of the second peer virtual character is obtained, and the second matching condition of the content to be sent is determined according to the second character attribute name included in the second attribute information and the second character attribute position of the second peer virtual character in the current game scene. When there are multiple roles, a target virtual role is selected from the second pair of virtual roles, and a second matching condition for the content to be sent is determined based on the target virtual role.

12. The method for sending voice prompt information according to claim 11, characterized in that, Selecting a target virtual character from the second peer virtual characters, and determining a second matching condition for the content to be sent based on the target virtual character, including: Obtain the second current position of the second peer virtual character, and calculate the fifth distance difference between the second current position and the first current position; Based on the fifth distance difference and the speed attribute of the second counterpart virtual character, calculate the movement time required for the second counterpart virtual character to move from the second current position to the first current position, and select the first target virtual character from the second counterpart virtual characters based on the movement time; Based on the target skill attributes of the first target virtual character and the current skill attributes required by the local virtual character, a second target virtual character is matched from the first target virtual character, and a second matching condition for the content to be sent is determined based on the second target virtual character.

13. The method for sending voice prompt information according to claim 1, characterized in that, Generate voice prompt information based on the content to be sent, including: Obtain the current skill attributes of the local virtual character; wherein, the current skill attributes include the first attribute value of the local virtual character before being attacked by the first peer virtual character and the second attribute value after being attacked by the first peer virtual character; Calculate the attribute difference between the first attribute value and the second attribute value, and input the attribute difference and the content to be sent into a preset speech generation model to obtain speech prompt information.

14. The method for sending voice prompt information according to claim 13, characterized in that, Sending the voice prompt information includes: The transmission frequency of the voice prompt information is calculated based on the attribute difference, and the voice prompt information is transmitted based on the transmission frequency.

15. A device for transmitting voice prompt information, characterized in that, The device for sending voice prompt information, configured in a terminal device, includes: The first line of sight area determination module is used to determine the first line of sight area of ​​the current user from the current game scene displayed on the display interface of the terminal device; The first peer virtual character detection module is used to detect whether there is a first peer virtual character in the first field of view area that corresponds to the local virtual character controlled by the current user; wherein, the first peer virtual character is a character that is in an adversarial relationship with the local virtual character; The voice prompt information sending module is used to generate and send voice prompt information if the first peer virtual character exists in the first line of sight area. This includes: receiving the second line of sight area of ​​the peer user sent by the second peer virtual character, and determining whether the second line of sight area is consistent with the first line of sight area; if the second line of sight area is inconsistent with the first line of sight area, determining the matching conditions for the content to be sent based on the local virtual character, the first peer virtual character, or the second peer virtual character, and matching the content to be sent from a preset content list based on the matching conditions; generating voice prompt information based on the content to be sent, and sending the voice prompt information to the second peer virtual character who is a teammate of the first peer virtual character.

16. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the method for sending voice prompt information as described in any one of claims 1-14.

17. An electronic device, characterized in that, include: processor; as well as Memory for storing the executable instructions of the processor; The processor is configured to execute the method for sending voice prompt information according to any one of claims 1-14 by executing the executable instructions.

Citation Information

Patent Citations

  • Information processing method, mobile terminals and computer readable storage medium

    CN107563212A

  • Information sending and displaying methods and devices for game, equipment and medium

    CN110052025A

  • Game information prompting method and device, storage medium and electronic equipment

    CN112546625A

  • Game data processing method, device and equipment and readable storage medium

    CN115138066A