Speech-to-text conversion method, system, device, equipment, and program

The system addresses language barriers in competitive conflict-based applications by translating conversational messages in real-time, enabling seamless communication among users with different languages.

JP7560202B2Active Publication Date: 2024-10-02TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
JP2021564719
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2020-12-18
Filing Date
2021-09-01
Publication Date
2024-10-02
Estimated Expiration
2041-09-01

AI Technical Summary

Technical Problem

Existing speech-to-text conversion systems in competitive conflict-based application programs fail to facilitate communication between users speaking different languages, leading to difficulties in interaction due to language barriers.

Method used

A method and system that converts speech to text by determining the language type of multiple users and translating conversational messages in real-time, allowing users to communicate seamlessly across different languages within virtual environments.

Benefits of technology

Facilitates direct and efficient communication between users by eliminating language barriers, improving interaction efficiency and accuracy through real-time translation and conversion.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007560202000001
    Figure 0007560202000001
  • Figure 0007560202000002
    Figure 0007560202000002
  • Figure 0007560202000003
    Figure 0007560202000003
Patent Text Reader

Abstract

The speech-to-text conversion method includes the steps of: a first client displaying a first user interface, the first user interface being a display screen of a virtual environment providing a virtual activity location for a first virtual character controlled by a first user account; a second client displaying a second user interface, the second user interface being a display screen of a virtual environment providing a virtual activity location for a second virtual character controlled by a second user account; and in response to a voice input operation on the first client, the first client displaying a conversation message entered by the first user account using a first language type, and the second client displaying the conversation message sent by the first user account using a second language type.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention claims priority to a Chinese patent application filed on December 18, 2020, bearing application number 202011504638.0 and entitled "Speech-to-text conversion method, system, device, and storage medium," the entire contents of which are incorporated herein by reference.

[0002] The present invention relates to human-computer interaction, and in particular to a method, system, device and storage medium for speech-to-text conversion. [Background technology]

[0003] In an application program based on competitive rivalry, multiple users are divided into two opposing teams, and the users operate virtual characters in a virtual environment to perform actions such as walking, purchasing, healing, and fighting, and users on the same team cooperate to accomplish missions in the virtual environment.

[0004] In the related art, application programs based on competitive competition realize speech-to-text conversion, and usually do not have the function of language conversion, so that users who use different languages ​​communicate in the same competition using different languages, making it difficult for users to communicate with each other. Summary of the Invention

[0005] The present invention provides a method for converting speech to text, executed by at least two clients, comprising the steps of: a first client displaying a first user interface, the first user interface being a display screen of a virtual environment providing a virtual activity location for a first virtual character controlled by a first user account; and a second client displaying a second user interface, the second user interface being a display screen of a virtual environment providing a virtual activity location for a second virtual character controlled by a second user account; and in response to a voice input operation at the first client, the first client displaying a conversation message entered by the first user account using a first language type and the second client displaying the conversation message sent by the first user account using a second language type, wherein the first language type is a language type associated with the first user account or the first client, and the second language type is a language type associated with the second user account or the second client, and the text content of the conversation message is recognized based on the voice content entered by the voice input operation.

[0006] A server-executed method for converting speech to text is provided, the method comprising the steps of: receiving speech content sent from a first client; determining a first language type and a second language type, the first language type being a language type associated with a first user account or the first client, and the second language type being a language type associated with a second user account or a second client; converting the speech content into a conversation message of the first language type based on the speech content and the first language type, the text content of the conversation message being recognized based on the speech content; obtaining the conversation message of the second language type by translation based on the conversation message of the first language type and the second language type; and sending the conversation message of the second language type to the second client.

[0007] A system for converting speech to text is provided, the system including a first device and a second device, the first device displays a first user interface, the first user interface being a display screen of a virtual environment providing a virtual activity location for a first virtual character controlled by a first user account, the second device displays a second user interface, the second user interface being a display screen of a virtual environment providing a virtual activity location for a second virtual character controlled by a second user account, the first device displays a conversation message entered by the first user account using a first language type in response to a voice input operation on the first device, the first language type being a language type associated with the first user account or the first device, text content of the conversation message being recognized based on the voice content entered by the voice input operation, and the second device displays the conversation message sent by the first user account using a second language type, the second language type being a language type associated with the second user account or the second device.

[0008] 1. An apparatus for converting speech to text, the apparatus including: a receiving module, a conversion module, a translation module, and a transmission module, the receiving module receiving audio content transmitted from a first client, the receiving module determining a first language type and a second language type, the first language type being a language type associated with a first user account or the first client, the first user account being used to control a first virtual character in a virtual activity location of a virtual environment provided by the first client, the second language type being a language type associated with a second user account or a second client, and the second language type being a language type associated with a second user account or a second client. the user account is used to control a second virtual character in a virtual activity location of a virtual environment provided by the second client, the conversion module converts the voice content into a conversation message of the first language type based on the voice content and the first language type, text content of the conversation message being recognized based on the voice content, the translation module obtains the conversation message of the second language type by translation based on the conversation message of the first language type and the second language type, and the transmission module transmits the conversation message of the second language type to the second client.

[0009] The present invention provides a computing device including a memory having computer-readable instructions stored thereon and one or more processors, the instructions, when executed by the one or more processors, causing the one or more processors to perform the above-described speech-to-text conversion method.

[0010] A computer-readable storage medium having computer-readable instructions stored thereon, the instructions, when executed by one or more processors, causing the one or more processors to perform the speech-to-text conversion method described above, is provided.

[0011] The present invention provides a computer program or computer program product including computer readable instructions, the instructions being stored in a computer readable storage medium, the instructions being, when read from the storage medium and executed by a processor, causing the processor to perform the speech-to-text conversion method described above. [Brief description of the drawings]

[0012] In order to more clearly describe the technology according to the embodiments of the present invention, the following briefly introduces drawings necessary for the description of the embodiments. Note that the drawings in the following description are merely some embodiments of the present invention, and those skilled in the art can obtain other drawings based on these drawings without creative work. [Figure 1] FIG. 1 is a block diagram of a computer system configuration according to one exemplary embodiment of the present invention. [Diagram 2] 1 is a flowchart of a speech-to-text method according to one exemplary embodiment of the present invention. [Diagram 3] FIG. 2 is a schematic diagram of a camera model according to one exemplary embodiment of the present invention. [Figure 4] 2 is a schematic diagram of an interface of a speech-to-text conversion method according to one exemplary embodiment of the present invention; FIG. [Diagram 5] 2 is a schematic diagram of an interface of a speech-to-text conversion method according to one exemplary embodiment of the present invention; FIG. [Figure 6] 1 is a flowchart of a speech-to-text method according to one exemplary embodiment of the present invention. [Figure 7] 2 is a schematic diagram of an interface of a speech-to-text conversion method according to one exemplary embodiment of the present invention; FIG. [Figure 8] 1 is a flowchart of a speech-to-text method according to one exemplary embodiment of the present invention. [Figure 9] 2 is a schematic diagram of an interface of a speech-to-text conversion method according to one exemplary embodiment of the present invention; [Figure 10] 2 is a schematic diagram of an interface of a speech-to-text conversion method according to one exemplary embodiment of the present invention; [Figure 11] 1 is a flowchart of a speech-to-text method according to one exemplary embodiment of the present invention. [Figure 12] 1 is a schematic diagram of a configuration of a speech-to-text conversion system according to one exemplary embodiment of the present invention; [Figure 13] 1 is a schematic diagram of the configuration of a speech-to-text conversion device according to one exemplary embodiment of the present invention; [Figure 14] FIG. 2 is a block diagram of a configuration of a terminal according to an exemplary embodiment of the present invention. [Figure 15] FIG. 2 is a schematic diagram of a server configuration according to one exemplary embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0013] In order to make the objectives, technical means and advantages of the present invention clearer, the following describes the embodiments of the present invention in more detail with reference to the drawings.

[0014] First, some terminology related to the embodiment of the present invention will be introduced.

[0015] Virtual Environment: A virtual environment that is displayed (or provided) when running on a client. The virtual environment may be a three-dimensional virtual environment or a two-dimensional virtual environment. The three-dimensional virtual environment may be a simulation of the real world, a semi-simulation and semi-fictional environment, or a purely fictional environment.

[0016] Virtual character: refers to a movable character in a virtual environment. The movable character may be a virtual person, a virtual animal, a cartoon or animation character, etc., for example, a person, an animal, a plant, a drum, a wall, a stone, etc. displayed in the virtual environment. Preferably, when the virtual environment is a three-dimensional virtual environment, the virtual characters are three-dimensional models created based on skeletal animation technology, and each virtual character has its own shape and volume in the three-dimensional virtual environment and occupies a part of the space in the three-dimensional virtual environment. Preferably, when the virtual environment is a two-dimensional virtual environment, the virtual characters are two-dimensional planar models created based on animation technology, and each virtual character has its own shape and area in the two-dimensional virtual environment and occupies a part of the area in the two-dimensional virtual environment.

[0017] Multiplayer online competitive competition: In a virtual environment, different virtual teams belonging to at least two opposing camps occupy their respective map areas and compete to achieve certain victory conditions. The victory conditions include, but are not limited to, at least one of occupying a base or destroying the base of the enemy camp, defeating a virtual character of the enemy camp, ensuring one's own survival within a specified scene and period, obtaining a specific resource, and exceeding the opponent's score within a specified period. The competitive competition may be conducted in units of rounds, and the map of each round of the competitive competition may be the same or different. Each virtual team includes one or more virtual characters, for example, 1, 2, 3, 5, etc.

[0018] MOBA (Multiplayer Online Battle Arena) game: A game in which several bases are provided in a virtual environment, and users belonging to different camps control virtual characters to compete in the virtual environment, occupying bases, or destroying the enemy camp's bases. For example, in a MOBA game, users are divided into two hostile camps, and virtual characters controlled by the users are distributed in the virtual environment to compete with each other, and the victory condition is to destroy or occupy all of the enemy's bases. MOBA games are played in rounds, and the duration of each round in a MOBA game is the period from when the game starts to when the victory condition is met.

[0019] FPS (First Person Shooting) game: A game in which several bases are provided in a virtual environment, and users belonging to different camps control virtual characters to compete in the virtual environment, occupy bases, destroy enemy camp bases, or defeat all or some of the characters in the enemy camp. Usually, in an FPS game, a user plays the game from a first-person perspective, or a user may select a third-person perspective to play the game. For example, in an FPS game, users are divided into two hostile camps, and virtual characters controlled by the users are distributed in the virtual environment to compete with each other, and the victory condition is to defeat all of the enemy characters. In an FPS game, the unit is a round, and the duration of each round in a MOBA game is the period from when the game starts to when the victory condition is met.

[0020] SLG (Simulation Games): A type of game that provides virtual resources in a virtual environment and simulates reality. For example, in an SLG game, multiple users may be divided into a single camp, and multiple users may cooperate to accomplish a specified mission. Preferably, each round of an SLG game usually does not have a specific victory condition.

[0021] Speech-to-text conversion: refers to converting the voice content input by the user into text and outputting it. For example, if the user inputs the voice content "Good morning", the corresponding text "Good morning" will be output. Usually, speech-to-text conversion only supports converting the voice content into one language type at a time.

[0022] 1 is a block diagram of a computer system configuration according to one exemplary embodiment of the present invention. The computer system 100 includes a first terminal 120, a server 140, and a second terminal 160.

[0023] The first terminal 120 installs and executes a client supporting a virtual environment. The client may be any of a MOBA game, a Virtual Reality (VR) client, a three-dimensional map client, a military simulation client, an FPS game, a multiplayer gun battle survival game, and an SLG game. The first terminal 120 is a terminal used by a first user, and the first user account is an account held by the first user. The first user uses the first terminal 120 to control a first virtual character in a three-dimensional virtual environment to perform an activity. The activity includes, but is not limited to, at least one of attacking, activating a skill, purchasing an item, healing, adjusting a body posture, crawling, walking, riding, jumping, jumping, driving, picking up, shooting, and throwing. For example, the first virtual character is a first virtual person.

[0024] The first terminal 120 is connected to the server 140 via a wireless network or a wired network.

[0025] The server 140 includes at least one of a server, a plurality of servers, a cloud computing platform, and a virtualization center. For example, the server 140 is used to provide background services for clients supporting a virtual environment. Preferably, the server 140 performs primary computing tasks, and the first terminal 120 and the second terminal 160 perform secondary computing tasks, or the server 140 performs secondary computing tasks, and the first terminal 120 and the second terminal 160 perform primary computing tasks, or the server 140, the first terminal 120, and the second terminal 160 adopt a distributed computing architecture to perform collaborative computing.

[0026] The second terminal 160 installs and executes a client supporting the virtual environment. The client may be any of a MOBA game, a virtual reality client, a three-dimensional map client, a military simulation client, an FPS game, a multiplayer gun battle survival game, and an SLG game. The second terminal 160 is a terminal used by a second user, and the second user account is an account held by the second user. The second user uses the second terminal 160 to control a second virtual character in the three-dimensional virtual environment to perform an activity. The activity includes, but is not limited to, at least one of attacking, activating a skill, purchasing an item, healing, adjusting a body posture, crawling, walking, riding, jumping, jumping, driving, picking up, shooting, and throwing. For example, the second virtual character is a second virtual person. The first virtual character and the second virtual character may belong to the same team or the same organization, and may have a friend relationship or temporary communication authority. The first virtual character and the second virtual character may belong to different teams or different organizations.

[0027] Preferably, the client installed on the first terminal 120 and the second terminal 160 is the same, or the client installed on the two terminals is the same type of client on different platforms. The first terminal 120 may generally mean one of a plurality of terminals, and the second terminal 160 may generally mean one of a plurality of terminals, and in this embodiment, the first terminal 120 and the second terminal 160 are simply taken as an example for description. The device types of the first terminal 120 and the second terminal 160 may be the same or different. The device types include at least one of a smartphone, a tablet computer, an e-book reader, an MP3 player, an MP4 player, a laptop computer, and a desktop computer.

[0028] In one exemplary embodiment, a first client at the first terminal 120 displays a first user interface. The first user interface is a display screen of a virtual environment providing a virtual activity location for a first virtual character controlled by a first user account. A second client at the second terminal 160 displays a second user interface. The second user interface is a display screen of a virtual environment providing a virtual activity location for a second virtual character controlled by a second user account. In response to a voice input operation at the first client, the first client displays a conversation message entered by the first user account using a first language type, and the second client displays a conversation message sent by the first user account using a second language type. The first language type is a language type associated with the first user account or first client, the second language type is a language type associated with the second user account or second client, and the text content of the conversation message is recognized based on the voice content entered by the voice input operation.

[0029] In this way, when a language input operation is received in a first client, conversation messages in different languages ​​are displayed in different clients, and the input voice information is translated into conversation messages in different languages, so that users who use different languages ​​can easily communicate with each other and language barriers can be eliminated. In addition, since the user does not need to use additional translation software to translate conversation messages in other languages, the user's operation procedures can be reduced and the efficiency of human-computer interaction can be improved.

[0030] 2 is a flowchart of a speech-to-text method according to an exemplary embodiment of the present invention. The method may be performed by the first terminal 120 or the second terminal 160 shown in FIG. 1. The method is applied to at least two clients. The method includes the following steps:

[0031] Step 202: The first client displays a first user interface, the first user interface being a display screen of a virtual environment providing a virtual playing field for a first virtual character controlled by a first user account.

[0032] The first client refers to a client program executed on the first terminal. Preferably, the client program includes any one of a MOBA game, a virtual reality client, a 3D map client, a military simulation client, an FPS game, a multiplayer gun battle survival game, and an SLG game.

[0033] A first user account means an account owned by a first user.

[0034] The first virtual character refers to a master character controlled by a first user on a first client. Preferably, the first virtual character is at least one of a human, an animal, a plant, and a cartoon animation character.

[0035] The first user interface refers to a screen observable on the first terminal during execution of the first client. Preferably, the first user interface is an image of a first virtual character viewed through a camera model in a virtual environment.

[0036] Preferably, the camera model automatically follows the virtual character in the virtual environment, i.e. when the position of the virtual character in the virtual environment changes, the camera model changes simultaneously to follow the position of the virtual character in the virtual environment, and the camera model is always within a predetermined distance range of the virtual character in the virtual environment. Preferably, in the automatic following process, the relative position between the camera model and the virtual character does not change.

[0037] The camera model means a three-dimensional model of the surroundings of the virtual character in the virtual environment. When a first-person viewpoint is adopted, the camera model is located near the head of the virtual character or at the head of the virtual character. When a third-person viewpoint is adopted, the camera model is located behind the virtual character and may be fixed relative to the virtual character, or may be located at any position at a predetermined distance away from the virtual character. The camera model may be used to observe the virtual character located in the virtual environment from various angles. Preferably, when the third-person viewpoint is a first-person over-the-shoulder viewpoint, the camera model is located behind the virtual character (e.g., the head and shoulders of the virtual person). Preferably, in addition to the first-person viewpoint and the third-person viewpoint, the viewpoint further includes other viewpoints such as a top-view viewpoint. When a top-view viewpoint is adopted, the camera model may be located in the air above the head of the virtual character. The top-view viewpoint is a viewpoint for observing the virtual environment as if viewed planarly from the air. Preferably, the camera model is not actually displayed in the virtual environment, that is, the camera model is not displayed in the virtual environment displayed in the user interface.

[0038] An example will be described in which the camera model is located at an arbitrary position at a predetermined distance from the virtual character. Preferably, one virtual character corresponds to one camera model, and the camera model may rotate with the virtual character as the center of rotation. For example, the camera model is rotated with an arbitrary point of the virtual character as the center of rotation, and during the rotation of the camera model, not only does it rotate by angle, but it also shifts by displacement. During the rotation, the distance between the camera model and the center of rotation is maintained as it is, that is, the camera model rotates on the surface of the sphere with the center of rotation as the center of the sphere. Here, the arbitrary point of the virtual character may be the head, the torso, or any point around the virtual character, but the embodiment of the present invention is not limited thereto. Preferably, when the camera model observes the virtual character, the orientation of the center of the viewpoint of the camera model is the direction in which the point on the spherical surface where the camera model is located faces the center of the sphere.

[0039] The camera models may view the virtual character at angles in different directions of the virtual character.

[0040] For example, as shown in Fig. 3, one point of a virtual character 11 is determined as a rotation center 12, and the camera model rotates around the rotation center 12. Preferably, an initial position is set for the camera model, and the initial position is a position above and behind the virtual character (e.g., a position behind the head). For example, as shown in Fig. 3, when the initial position is position 13 and the camera model rotates to position 14 or position 15, the viewpoint direction of the camera model changes with the rotation of the camera model.

[0041] Preferably, the first user screen further includes at least one other display element of a conversation message, a chat widget, a thumbnail map from a god's eye view, a backpack widget, a location display widget, a speaker audio switch, a microphone switch, a widget for moving a virtual character, and a widget for controlling the virtual character to perform a predetermined action.

[0042] For example, as shown in FIG. 4, the first user interface displays a virtual character 401, a chat widget 402, a conversation message 403, a thumbnail map 404, a movement widget 405, a user icon 406, a skill widget 407, and a purchase widget 408.

[0043] Step 204: The second client displays a second user interface, the second user interface being a display screen of a virtual environment providing a virtual playing field for a second virtual character controlled by a second user account.

[0044] The second client refers to a client program executed on the second terminal. Preferably, the client program includes any of a MOBA game, a virtual reality client, a 3D map client, a military simulation client, an FPS game, a multiplayer gun battle survival game, and an SLG game. Preferably, the second terminal and the first terminal may be of the same or different device types.

[0045] A second user account means an account held by a second user, where the first user account and the second user account are different.

[0046] The second virtual character means a master character controlled by a second user on a second client. Preferably, the second virtual character is at least one of a human, an animal, a plant, and a cartoon animation character. Here, the first virtual character and the second virtual character may be the same or different.

[0047] The second user interface means a screen observable on the second terminal during execution of the second client. Preferably, the second user interface is an image of a second virtual character observed through a camera model in a virtual environment. Preferably, the second user interface and the first user interface may be the same or different.

[0048] Preferably, the second user screen further includes at least one other display element of a conversation message, a chat widget, a thumbnail map from a god's eye view, a backpack widget, a location display widget, a speaker audio switch, a microphone switch, a widget for moving the virtual character, and a widget for controlling the virtual character to perform a predetermined action.

[0049] For example, as shown in FIG. 5, the second user interface displays a virtual character 501, a chat widget 502, a conversation message 503, a thumbnail map 504, a movement widget 505, a user icon 506, a skill widget 507, and a purchase widget 508.

[0050] Step 206: In response to a voice input operation on the first client, the first client displays a conversation message entered by the first user account using a first language type, and the second client displays a conversation message sent by the first user account using a second language type.

[0051] The voice input operation means that a user inputs voice content into a terminal. Preferably, the voice input operation may be pressing one or more predetermined physical buttons to input the voice content. Alternatively, the voice input operation may be long pressing, tapping, double tapping and / or swiping a signal generated in a designated area of ​​a touch screen to perform the voice input operation. Alternatively, the voice input operation may be directly inputting the voice content through a microphone device.

[0052] The first language type and the second language type may correspond to different language types. For example, if the first language type is Chinese, the second language type is English. By way of example, the language types include, but are not limited to, at least one of Chinese, English, Japanese, German, Russian, Latin, and French.

[0053] The conversation message includes the user name and the conversation content. The conversation message corresponds to the conversation message and the voice content input by the voice input operation. For example, the voice content input by user ABC is "I'm sorry," the conversation message of the first language type is "ABC: I'm sorry," and the conversation message of the second language type is "ABC: I'm sorry." The conversation message and the meaning expressed by the conversation message need to correspond to the input content.

[0054] Preferably, the display position of the conversation message may be set by the user, for example, the upper left corner of the user interface or the lower right corner of the user interface, but the present invention is not limited to a specific display position of the conversation message.

[0055] For example, as shown in Figures 4 and 5, the content of conversation message 403 displayed on the first user interface of Figure 4 is "ABC: Hello," and the content of conversation message 503 displayed on the second user interface of Figure 5 is "ABC: Hello." Although conversation message 403 and conversation message 503 are of different language types, the meanings expressed by both are the same.

[0056] As described above, this embodiment translates the input contents of the voice input operation and displays conversation messages in different languages ​​on the first client and the second client, making it easy for users who use different languages ​​to directly communicate with each other and improving the efficiency of communication between users. In addition, the real-time nature of the system can be improved, allowing users to obtain information about other users more quickly.

[0057] 6 is a flowchart of a speech-to-text method according to an exemplary embodiment of the present invention. The method may be performed by the first terminal 120 or the second terminal 160 shown in FIG. 1. The method is applied to at least two clients. The method includes the following steps:

[0058] Step 601: Display a first user interface.

[0059] The first client displays a first user interface.

[0060] Step 602: A second user interface is displayed.

[0061] The second client displays a second user interface.

[0062] The order of execution of steps 601 and 602 is not limited to a particular order in chronological order.

[0063] Step 603: In response to a voice input operation on the first client, the first client obtains voice content.

[0064] The audio content is audio information input by a user through a first client, and preferably, the first client obtains the audio content through an audio capture device, or the first client downloads the audio content through a network, or the first client receives the audio content transmitted from another client, or the first client queries a local storage to obtain the audio content.

[0065] Step 604: Transmit the audio content.

[0066] The first client sends the audio content to the server.

[0067] Preferably, the first client transmits the audio content and the first language type to the server.

[0068] Step 605: Determine a first language type and a second language type.

[0069] The server determines a first language type and a second language type.

[0070] The server receives a first language type sent from the first client, or the server has the first language type stored therein.

[0071] The server receives a second language type sent from the second client, or the server has the second language type stored therein.

[0072] Preferably, this step includes at least one of the following two steps:

[0073] 1. A first client sends a first language type to a server.

[0074] The server receives the first language type sent from the first client and determines the first language type.

[0075] For example, the first client sends version information to the server, and the version information includes a first language type. Or, the first client sends geographic information to the server, and the geographic information corresponds to the first language type. For example, if the geographic information indicates that the first client is located in China, the first language type is Chinese. Or, the first client sends a language setting of the first terminal to the server, and the language setting includes the first language type.

[0076] 2. The second client sends a second language type to the server.

[0077] The server receives the second language type sent from the second client and determines the second language type.

[0078] Preferably, the server receives the second language type sent from the second client and determines the second language type. For example, the second client sends version information to the server, and the version information includes the second language type. Or, the second client sends geographic information to the server, and the geographic information corresponds to the second language type. For example, if the geographic information indicates that the second client is located in China, the second language type is Chinese. Or, the second client sends the language setting of the second terminal to the server, and the language setting includes the second language type.

[0079] Preferably, the second client receives a language type acquisition request sent by the server, and the second client sends a second language type to the server according to the language type acquisition request. The language type acquisition request is used for the server to request the client to send a language type.

[0080] Step 606: Generate a conversational message of a first language type and a conversational message of a second language type based on the audio content.

[0081] The server generates a conversational message of a first language type and a conversational message of a second language type based on the audio content.

[0082] Preferably, the server converts the speech content into a conversational message of a first language type and translates the conversational message of the first language type into a conversational message of a second language type. For example, the server converts the speech content "I'm sorry" into the conversational message of the first language type "I'm sorry" and translates the conversational message of the first language type "I'm sorry" into the conversational message of the second language type "I'm sorry".

[0083] Preferably, the first client generates a conversation message of a first language type based on the audio content. The first client transmits the conversation message of the first language type to the server. The server generates a conversation message of a second language type based on the conversation message of the first language type. That is, the task of generating the conversation message of the first language type is performed by the first client.

[0084] Step 607: Send a conversation message of a first language type.

[0085] The server sends a conversational message in a first language type to the first client.

[0086] Step 608: Send the conversation message in the second language type.

[0087] The server sends a conversational message in a second language type to the second client.

[0088] The order of execution of steps 607 and 608 is not limited to a particular chronological order.

[0089] Step 609: Receive a conversational message of a first language type.

[0090] The first client receives a conversation message in a first language type sent from the server.

[0091] Step 610: Display the conversation message using a first language type.

[0092] The first client displays conversational messages in a first language type in a first user interface.

[0093] Step 611: The display of the conversation message is cancelled.

[0094] The first client cancels the display of the conversational message in the first language type.

[0095] Preferably, when a display time of displaying the conversation message in the first language type reaches a predetermined period, the first client cancels the display of the conversation message, for example, when the conversation message is displayed for 10 seconds, the first client cancels the display of the conversation message.

[0096] Preferably, the first client cancels the display of the conversation message in response to the first display cancellation operation. The first display cancellation operation is used to cancel the display of the conversation message. Here, the first display cancellation operation may be pressing one or more predetermined physical buttons to cancel the display of the conversation message. Alternatively, the first display cancellation operation may be long pressing, tapping, double tapping and / or swiping a signal generated in a designated area of ​​the touch screen to perform the first display cancellation operation. Alternatively, the first display cancellation operation may be recognizing the voice content inputted to perform the first display cancellation operation.

[0097] Step 612: Receive a conversational message of a second language type.

[0098] Preferably, the second client receives the conversation message of the first language type sent from the server, and the second client determines the conversation message of the second language type based on the conversation message of the first language type and the second language type, i.e. the task of determining the conversation message of the second language is performed by the second client.

[0099] Step 613: Display the conversation message in the second language type.

[0100] Preferably, in response to a voice input operation on the first client, the second client displays a conversation message of a first language type and a conversation message of a second language type on the second user interface. As shown in FIG. 7, the conversation message displayed on the second user interface includes a conversation message of a first language type and a conversation message of a second language type. Here, the conversation message of the first language type is "Hello", and the conversation message of the second language type is "Hello". By simultaneously displaying the conversation message of the first language type and the conversation message of the second language type, the user can easily study other languages, thereby enabling the user to communicate better in the future.

[0101] Step 614: The display of the conversation message is cancelled.

[0102] The second client cancels the display of the conversation message in the second language type.

[0103] Preferably, when the display time of displaying the conversation message in the second language type reaches a predetermined period, the second client cancels the display of the conversation message. For example, when the conversation message is displayed for 10 seconds, the second client cancels the display of the conversation message.

[0104] Preferably, the second client cancels the display of the conversation message in response to the second display cancel operation. The second display cancel operation is used to cancel the display of the conversation message. Here, the second display cancel operation may be pressing one or more predetermined physical buttons to cancel the display of the conversation message. Alternatively, the second display cancel operation may be long pressing, tapping, double tapping and / or swiping a signal generated in a designated area of ​​the touch screen to perform the second display cancel operation. Alternatively, the second display cancel operation may be recognizing the voice content inputted to perform the second display cancel operation. The second display cancel operation and the first display cancel operation may have the same or different specific operation modes, but the present invention is not limited thereto.

[0105] As described above, this embodiment translates the input contents of a voice input operation and displays conversation messages in different language types on the first client and the second client, thereby facilitating direct communication between users who speak different languages, thereby improving the efficiency of communication between users.

[0106] In addition, by performing speech conversion and translation of conversation messages by the server, the accuracy of the acquired conversation messages can be improved, and the accuracy of speech conversion and information translation can be improved.

[0107] Furthermore, the user can prevent the conversation message from interfering with the user's operation by canceling the display of the conversation message according to his / her needs.

[0108] With the present invention, users may achieve faster speech-to-text conversion.

[0109] 8 is a flowchart of a speech-to-text method according to an exemplary embodiment of the present invention. The method may be performed by the first terminal 120 or the second terminal 160 shown in FIG. 1. The method is applied to at least two clients. The method includes the following steps:

[0110] In a preferred embodiment of the embodiment of FIG. 2, the following steps 802 to 804 may be carried out instead of the above steps 202 to 204.

[0111] Step 802: A first client displays a first user interface.

[0112] Step 804: The second client displays a second user interface.

[0113] Step 806: In response to a first trigger operation on the chat widget on the first client, the first client displays the conversation message using a first language type and the second client displays the conversation message using a second language type.

[0114] The chat widget is used to exchange information between users of different clients, for example, a user taps on the chat widget and enters text.

[0115] The first trigger operation is used by a user using the first client to input voice content, where the first trigger operation may be pressing one or more predetermined physical buttons to input the voice content, or the first trigger operation may be long pressing, tapping, double tapping, and / or swiping signals generated in a designated area of ​​the touch screen to perform the first trigger operation.

[0116] Preferably, the speech content may be input and the conversation message displayed as follows:

[0117] 1. In response to an input start operation on the chat widget in the first client, the first client displays a voice recording prompt at a peripheral position of the chat widget and starts receiving the voice content.

[0118] The input start operation is used to control the first client to start receiving the audio content, where the input start operation may be pressing one or more predetermined physical buttons to start receiving the audio content, or the input start operation may be long pressing, tapping, double tapping, and / or swiping signals generated in a designated area of ​​the touch screen to perform the input start operation.

[0119] The voice recorded prompt is used to indicate that the first client is receiving the audio content. Preferably, the voice recorded prompt is at least one or a combination of the following: text, an icon, a sound, an image, vibration feedback, and a light.

[0120] Preferably, the voice recorded prompt is displayed on at least one of the top, bottom, left side, right side, top left side, bottom left side, top right side, and bottom right side of the chat widget.

[0121] For example, as shown in Figure 9, a user long presses the chat widget 402 on a first client to display a voice recording prompt 901, which includes a microphone icon and the text prompts "Countdown: 9s" and "Swipe finger left to cancel."

[0122] 2. In response to an input termination operation on the chat widget in the first client, the first client cancels the display of the voice recording prompt and terminates reception of the voice content.

[0123] The input termination operation is used to control the first client to terminate receiving the voice content. Here, the input termination operation may be pressing one or more predetermined physical buttons to terminate the input of the voice content. Alternatively, the input termination operation may be long pressing, tapping, double tapping and / or swiping a signal generated in a designated area of ​​the touch screen to perform the input termination operation.

[0124] Preferably, when the input duration of the voice content reaches the duration threshold, the first client cancels the display of the voice recording prompt and terminates receiving the voice content. For example, when a user inputs 10 seconds of voice content and the input duration of the voice content reaches the duration threshold, the first client terminates receiving the voice content.

[0125] For example, as shown in FIG. 10, a user presses and holds the chat widget 402 to input voice content, and the user releases the chat widget 402 to end inputting the voice content, or the user continues to press and hold the chat widget 402 for 9 seconds until a duration threshold is reached and the client stops receiving the voice content.

[0126] For example, as shown in FIG. 10, a conversion reminder 1001 is displayed during the voice conversion process, and the conversion reminder 1001 displays "Converting".

[0127] Preferably, when the input of the voice content is completed, the first client displays a voice conversion prompt. The voice conversion prompt is used to indicate to the user that the input of the voice content is completed and the voice content is being converted into a conversation message. The voice conversion prompt is at least one of or a combination of text, icon, voice, image, vibration feedback, and light.

[0128] 3. The first client displays the conversational messages using a first language type and the second client displays the conversational messages using a second language type.

[0129] For example, as shown in Figures 4 and 5, a first client displays conversational message 403 using a first language type, and a second client displays conversational message 503 using a second language type, where conversational message 403 is "ABC:Hello" and conversational message 503 is "ABC:Hello".

[0130] As described above, the present embodiment provides a shortcut for the user to input voice content, thereby enabling the user to input voice content more quickly, reducing the user's operation steps, and improving the efficiency of human-computer interaction.

[0131] 11 is a flowchart of a speech-to-text method according to one exemplary embodiment of the present invention. The method may be performed by the server 140 shown in FIG. 1, which is connected to at least two clients. The method includes the following steps:

[0132] Step 1101: Receive audio content sent from a first client.

[0133] The server receives the audio content sent from the first client.

[0134] Step 1102: Determine a first language type and a second language type.

[0135] Preferably, the server receives the first language type sent from the first client and determines the first language type.

[0136] Preferably, the first client sends version information to the server, and the version information includes the first language type. Alternatively, the first client sends geographic information to the server, and the geographic information corresponds to the first language type. For example, if the geographic information indicates that the first client is located in China, the first language type is Chinese. Alternatively, the first client sends language settings of the first terminal to the server, and the language settings include the first language type.

[0137] Preferably, the server receives the second language type sent from the second client and determines the second language type.

[0138] Preferably, the second client sends version information to the server, and the version information includes the second language type. Alternatively, the second client sends geographic information to the server, and the geographic information corresponds to the second language type. For example, if the geographic information indicates that the second client is located in China, the second language type is Chinese. Alternatively, the second client sends language settings of the second terminal to the server, and the language settings include the second language type.

[0139] Preferably, the server sends a language type acquisition request to the second client, and the server receives the second language type sent from the second client, where the language type acquisition request is used by the server to request the client to send the language type.

[0140] Step 1103: Based on the audio content and the first language type, convert the audio content into a conversational message of the first language type.

[0141] Preferably, the server converts the voice content into a conversational message, for example, the server converts the voice content "I'm sorry" into a conversational message "I'm sorry."

[0142] Step 1104: Based on the conversation message of the first language type and the second language type, obtain a conversation message of the second language type by translation.

[0143] Preferably, the server translates a conversation message of a first language type into a conversation message of a second language type, for example, the server translates a conversation message of a first language type "I'm sorry" into a conversation message of a second language type "I'm sorry".

[0144] Step 1105: Send a conversational message of a second language type to a second client.

[0145] The server sends the conversational message in the second language to the second client.

[0146] As described above, in this embodiment, the server converts the voice content into a conversation message and translates the conversation message into a conversation message, so that users of different languages ​​can easily communicate directly with each other and the efficiency of communication between users can be improved. In addition, the server can be used to improve the accuracy of conversion and translation, so that more accurate results can be provided to the user.

[0147] Preferably, the present invention is applied to MOBA games. For example, when user A and user B are playing a MOBA game, after user A inputs Chinese voice content, the client of user A displays Chinese conversation messages, and the client of user B displays English conversation messages.

[0148] Preferably, the present invention is applied to an FPS game. For example, when user A and user B are playing an FPS game, after user A inputs Chinese voice content, the client of user A displays a conversation message in Russian, and the client of user B displays a conversation message in English.

[0149] Preferably, the present invention is applied to an SLG game. For example, when user A and user B are playing an SLG game, after user A inputs Chinese voice content, the client of user A displays a Chinese conversation message, and the client of user B displays a Japanese conversation message.

[0150] An exemplary aspect further provides a method for converting speech to text, which may be performed by the first terminal 120 shown in Figure 1. The method includes the following steps:

[0151] A first user interface is displayed, the first user interface being a display of a virtual environment providing a virtual playing field for a first virtual character controlled by a first user account.

[0152] A conversation message entered by the first user account using a first language type is displayed in response to a voice input operation at the first client.

[0153] The conversation message is sent to the second terminal such that a second client at the second terminal displays the conversation message sent by the first user account using the second language type.

[0154] Here, the first language type is a language type associated with a first user account or a first client, the second language type is a language type associated with a second user account or a second client, and the text content of the conversation message is recognized based on the voice content input by a voice input operation.

[0155] As described above, this embodiment translates the input contents of the voice input operation and displays conversation messages in different languages ​​on the first client and the second client, making it easy for users who use different languages ​​to directly communicate with each other and improving the efficiency of communication between users. In addition, the real-time nature of the system can be improved, allowing users to obtain information about other users more quickly.

[0156] 12 is a schematic diagram of a configuration of a speech-to-text conversion system according to an exemplary embodiment of the present invention. The system may be implemented as a whole or part of a computer device by software, hardware, or a combination of both. The system 120 includes a first device 121 and a second device 122, and specifically includes the following components:

[0157] The first device 121 displays a first user interface, which is a display screen of a virtual environment that provides a virtual playing field for a first virtual character controlled by a first user account.

[0158] The second device 122 displays a second user interface, which is a display screen of a virtual environment that provides a virtual playing field for a second virtual character controlled by a second user account.

[0159] The first device 121 displays a conversation message entered by the first user account using a first language type in response to a voice input operation on the first device 121. The first language type is a language type associated with the first user account or the first device, and the text content of the conversation message is recognized based on the voice content entered by the voice input operation.

[0160] The second device 122 displays conversation messages sent by the first user account using a second language type, which is a language type associated with the second user account or the second device.

[0161] In a preferred embodiment of the present invention, the first device 121 acquires voice content in response to a voice input operation on the first device 121, transmits the voice content to a server so that the server generates a conversation message of a first language type and a conversation message of a second language type based on the voice content, and after receiving the conversation message transmitted from the server, displays the conversation message using the first language type.

[0162] In a preferred embodiment of the present invention, the second device 122 displays the conversation message using a second language type after receiving the conversation message sent from the server.

[0163] In a preferred embodiment of the present invention, the first device 121 transmits a first language type to the server.

[0164] In a preferred embodiment of the present invention, the second device 122 transmits a second language type to the server.

[0165] In a preferred embodiment of the present invention, the first device 121 transmits the audio content and the first language type to the server.

[0166] In a preferred embodiment of the present invention, the second device 122 receives a language type obtainment request sent from the server, and transmits a second language type to the server in response to the language type obtainment request.

[0167] In a preferred embodiment of the present invention, the first device 121 displays a conversation message using a first language type in response to a first trigger operation on a chat widget on the first device 121 .

[0168] In a preferred embodiment of the present invention, the second device 122 displays the conversation message using a second language type in response to a first trigger operation on a chat widget on the first device 121 .

[0169] In a preferred embodiment of the present invention, in response to an input start operation on the chat widget on the first device 121, the first device 121 displays a voice recording prompt at a peripheral position of the chat widget and starts receiving the voice content, and in response to an input end operation on the chat widget on the first device 121, cancels the display of the voice recording prompt and ends the reception of the voice content.

[0170] In a preferred embodiment of the present invention, the first device 121 cancels the display of the conversation message when the display time of displaying the conversation message in the first language type reaches a predetermined period, or cancels the display of the conversation message in response to a first display cancellation operation.

[0171] In a preferred embodiment of the present invention, the second device 122 cancels the display of the conversation message when the display time of displaying the conversation message in the second language type reaches a predetermined period, or cancels the display of the conversation message in response to a second display cancellation operation.

[0172] In a preferred embodiment of the present invention, the second device 122 displays conversational messages using a first language type and a second language type in response to a voice input operation on the first device 121 .

[0173] As described above, when a language input operation is received in a first client, conversation messages in different languages ​​are displayed in different clients, and the input voice information is translated into conversation messages in different languages, so that users who use different languages ​​can easily communicate with each other and language barriers can be eliminated. In addition, since the user does not need to use additional translation software to translate conversation messages in other languages, the user's operation procedures can be reduced and the efficiency of human-computer interaction can be improved.

[0174] An exemplary embodiment of the present invention further provides an apparatus for converting speech to text, which may be implemented as a whole or part of a computer device by software, hardware, or a combination of both, and specifically includes the following components:

[0175] The display module displays a first user interface, the first user interface being a display screen of a virtual environment providing a virtual playing field for a first virtual character controlled by a first user account.

[0176] The display module displays a conversation message entered by the first user account using the first language type in response to a voice input operation at the first client.

[0177] The sending module sends the conversation message to the second terminal such that a second client at the second terminal displays the conversation message sent by the first user account using a second language type.

[0178] Here, the first language type is a language type associated with a first user account or a first client, the second language type is a language type associated with a second user account or a second client, and the text content of the conversation message is recognized based on the voice content input by a voice input operation.

[0179] As described above, this embodiment translates the input contents of the voice input operation and displays conversation messages in different languages ​​on the first client and the second client, making it easy for users who use different languages ​​to directly communicate with each other and improving the efficiency of communication between users. In addition, the real-time nature of the system can be improved, allowing users to obtain information about other users more quickly.

[0180] 13 is a schematic diagram of the configuration of a speech-to-text conversion device according to one exemplary embodiment of the present invention. The device may be realized as a whole or part of a computer device by software, hardware, or a combination of both. The device 130 includes the following components:

[0181] The receiving module 131 receives the audio content sent from the first client.

[0182] The receiving module 131 determines a first language type and a second language type.

[0183] The conversion module 132 converts the audio content into a conversational message of a first language type based on the audio content and the first language type, the text content of the conversational message being recognized based on the audio content.

[0184] The translation module 133 obtains a conversation message of a second language type by translation based on the conversation message of a first language type and a second language type.

[0185] The sending module 134 sends the conversational message in the second language type to the second client.

[0186] In a preferred embodiment of the present invention, the receiving module 131 receives a first language type sent from a first client and receives a second language type sent from a second client.

[0187] In a preferred embodiment of the present invention, the sending module 134 sends a get language type request to the second client.

[0188] As described above, in this embodiment, the server converts the voice content into a conversation message and translates the conversation message of a first language type into a conversation message of a second language type, so that direct communication between users of different languages ​​can be easily performed and the efficiency of communication between users can be improved. In addition, the server can be used to improve the accuracy rate of conversion and translation, so that more accurate results can be provided to the user.

[0189] The present invention further provides a terminal including a processor and a memory having stored therein at least one instruction, which, when loaded and executed by the processor, causes the terminal to perform the method described in each of the above method embodiments, and which may be the terminal shown in Figure 14 below.

[0190] 14 is a block diagram of a configuration of a terminal according to an exemplary embodiment of the present invention. The terminal may be the first terminal or the second terminal described above. The terminal 1400 may be a smartphone, a tablet computer, a Moving Picture Experts Group Audio Layer III (MP3) player, a Moving Picture Experts Group Audio Layer IV (MP4) player, a laptop computer, or a desktop computer. The terminal 1400 may be referred to by other names such as a user device, a mobile terminal, a laptop terminal, a desktop terminal, etc.

[0191] Generally, the terminal 1400 includes a processor 1401 and a memory 1402 .

[0192] The processor 1401 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1401 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 1401 may include a main processor and a coprocessor. The main processor is a processor used to process data in an awake state, and is also referred to as a CPU (Central Processing Unit). The coprocessor is a low-power processor used to process data in a standby state. In some embodiments, the processor 1401 may be integrated with a GPU (Graphics Processing Unit), which is used to render and draw content that needs to be displayed on a display screen. In some embodiments, the processor 1401 may further include an AI (Artificial Intelligence) processor, which is used to process computational operations related to machine learning.

[0193] Memory 1402 may include one or more computer readable storage media, which may be tangible and non-transitory. Memory 1402 may further include high speed random access memory and non-volatile memory, such as one or more magnetic disk storage devices and flash memory storage devices. In some embodiments, the non-transitory computer readable storage media in memory 1402 is used to store at least one instruction, which is executed by processor 1401 to implement a method according to the present invention.

[0194] In some embodiments, the terminal 1400 may preferably further include a peripheral interface 1403 and at least one peripheral. The processor 1401, the memory 1402, and the peripheral interface 1403 may be connected via a bus or signal lines. Each peripheral may be connected to the peripheral interface 1403 via a bus, signal line, or circuit board. Specifically, the peripherals include at least one of a radio frequency circuit 1404, a screen 1405, a camera component 1406, an audio circuit 1407, a position determination component 1408, and a power source 1409.

[0195] As will be appreciated by those skilled in the art, terminal 1400 is not limited to the configuration shown in FIG. 14 and may include more or fewer components than those shown, may combine certain components, or may employ a different arrangement of components.

[0196] 15 is a schematic diagram of a server configuration according to one exemplary embodiment of the present invention. Specifically, the server 1500 includes a central processing unit (CPU) 1501, a system memory 1504 including a random access memory (RAM) 1502 and a read-only memory (ROM) 1503, and a system bus 1505 connected to the system memory 1504 and the central processing unit 1501. The server 1500 further includes a basic input / output (I / O) system 1506 for transmitting information between each device in the computer, and a mass storage device 1507 for storing an operating system 1513, an application program 1514, and other program modules 1515.

[0197] The basic input / output system 1506 includes a display 1508 for displaying information, and input devices 1509, such as a mouse, keyboard, or the like, for a user to input information. The display 1508 and the input devices 1509 are connected to the central processing unit 1501 via an input / output controller 1510, which is connected to the system bus 1505. The basic input / output system 1506 may further include an input / output controller 1510 for receiving and processing input from a number of other devices, such as a keyboard, mouse, or electronic stylus. Similarly, the input / output controller 1510 may further provide output to a display screen, printer, or other type of output device.

[0198] The mass storage device 1507 is connected to the central processing unit 1501 via a mass storage controller (not shown) that is connected to the system bus 1505. The mass storage device 1507 and its associated computer-readable media provide non-volatile storage for the server 1500. That is, the mass storage device 1507 may include a computer-readable medium (not shown), such as a hard disk or a Compact Disc Read-Only Memory (CD-ROM) drive.

[0199] It should be noted that computer readable media may include computer storage media and communication media. Computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information, such as computer readable instructions, data structures, program modules, or other data. Computer storage media includes RAM, ROM, Erasable Programmable Read-Only Memory (EPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Flash memory or other solid-state storage technology, CD-ROM, Digital Versatile Disc (DVD) or other optical storage, tape cartridge, magnetic tape, disk storage, or other magnetic storage devices. It should be noted that computer storage media is not limited to the above, as will be appreciated by those skilled in the art. The above system memory 1504 and mass storage device 1507 may be collectively referred to as memory.

[0200] In each embodiment of the present invention, the server 1500 may further be connected to a remote computer on a network, such as the Internet, for operation therewith. That is, the server 1500 may be connected to a network 1512 via a network interface unit 1511 connected to the system bus 1505, or in other words, may be connected to another type of network or remote computer system (not shown) using the network interface unit 1511.

[0201] In another aspect of the present invention, there is further provided a computer readable storage medium having stored thereon at least one program code, the program code being loaded and executed by a processor to perform the above-described method for converting speech to text.

[0202] According to another aspect of the present invention there is further provided a computer program product or computer program comprising computer readable instructions stored on a computer readable storage medium such that a processor of a computing device reads and executes the computer readable instructions from the computer readable storage medium to perform the speech to text conversion method described above.

[0203] It should be noted that "plurality" as referred to in this specification means two or more. "And / or" describes the association relationship of related objects, and indicates that there can be three types of relationships. For example, "A and / or B" may mean that only A exists, that A and B exist simultaneously, and that only B exists. The symbol " / " usually indicates that the related objects before and after are in an "or" relationship.

[0204] As can be understood by those skilled in the art, all or part of the steps in the above embodiments may be realized by hardware, or may be realized by instructing relevant hardware to execute through a program. The program may be stored in a computer-readable storage medium. The above-mentioned storage medium may be a read-only memory, a magnetic disk, an optical disk, etc.

[0205] The above only describes the exemplary embodiments of the present invention, and does not limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present invention are included within the protection scope of the present invention.

Claims

1. 1. A method for converting speech to text, executed by at least two clients, which are game clients, and a server, comprising: a step of displaying a first user interface by a first client, the first client being a game client, the first user interface being a screen showing an in-progress screen of a game and a virtual environment providing a virtual activity location for a first virtual character controlled by a first user account; a step of a second client being a game client displaying a second user interface, the second user interface being a screen showing an in-progress screen of the game and a display screen of a virtual environment providing a virtual playing field for a second virtual character controlled by a second user account; acquiring voice content by the first client in response to a voice input operation during progress of the game on the first client; After the voice input operation is completed, the first client transmits the voice content to the server; generating a conversational message of a first language type and a conversational message of a second language type based on the audio content; displaying the conversation message of the first language type on the first user interface after the first client receives the conversation message of the first language type sent from the server; and after the second client receives the conversation message of the second language type sent from the server, displaying the conversation message of the second language type on the second user interface; the first language type is a language type associated with the first user account or the first client, and the first language type is determined by the server based on version information of the first client that includes a language type of the first client; the second language type is a language type associated with the second user account or the second client, and the second language type is determined by the server based on version information of the second client that includes a language type of the second client; A method, wherein text content of the conversational message is recognized based on speech content input by the speech input operation.

2. the first client sending version information of the first client to the server, the version information of the first client including the first language type; and 2. The method of claim 1, further comprising at least one of the following steps: the second client sending version information of the second client to the server, the version information of the second client including the second language type.

3. The step of the second client transmitting version information of the second client to the server includes: receiving a language type acquisition request sent by the second client from the server; The method of claim 2 , further comprising the step of: the second client sending version information of the second client to the server in response to the get language type request.

4. a chat widget is displayed on the first client; A method according to any one of claims 1 to 3, wherein in response to a first trigger operation on the chat widget in the first client, the first client displays the conversation message in the first language type and a second client displays the conversation message in the second language type.

5. In response to an input start operation on the chat widget on the first client, the first client displays a voice recording prompt at a peripheral position of the chat widget, the voice recording prompt being used to indicate that the first client will start receiving the voice content; 5. The method of claim 4, wherein in response to an input end operation on a chat widget at the first client, the first client cancels display of the voice recording prompt to indicate that the first client has ended receiving the voice content.

6. when a display time of displaying the conversation message in the first language type reaches a predetermined period, the first client cancels the display of the conversation message; or The method according to claim 1 , further comprising the step of: the first client canceling display of the conversation message in response to a first display cancel operation.

7. when a display time of displaying the conversation message in the second language type reaches a predetermined period, the second client cancels the display of the conversation message; or The method according to claim 1 , further comprising the step of: the second client canceling display of the conversation message in response to a second display cancel operation.

8. A method according to any one of claims 1 to 3, further comprising a step in which the second client displays the conversation messages sent by the first user account using the first language type and the second language type in response to the voice input operation on the first client.

9. 1. A system for converting speech to text, the system including: a first device; a second device; and a server, the first device having a first client that is a game client; and the second device having a second client that is a game client; the first device displays a first user interface, the first user interface being a screen showing an in-progress game and a display screen of a virtual environment providing a virtual playing field for a first virtual character controlled by a first user account; the second device displays a second user interface, the second user interface being a display screen of a virtual environment during the game and providing a virtual playing field for a second virtual character controlled by a second user account; the first device acquires voice content in response to a voice input operation during the progress of the game on the first device, transmits the voice content to the server after the voice input operation is completed, so that the server generates a conversation message of a first language type and the conversation message of a second language type based on the voice content, and displays the conversation message of the first language type on the first user interface after receiving the conversation message of the first language type transmitted from the server; the first language type is a language type associated with the first user account or the first device, and the first language type is determined by the server based on version information of the first device that includes a language type of the first client; the text content of the conversation message is recognized based on the voice content input by the voice input operation, the second device displays the conversation message of the second language type on the second user interface after receiving the conversation message of the second language type sent from the server; The system, wherein the second language type is a language type associated with the second user account or the second device, and the second language type is determined by the server based on version information of the second device including the language type of the second client.

10. The first device comprises: In response to an input start operation on the chat widget on the first device, displaying a voice-recorded prompt around the chat widget to indicate that the first device will start receiving the voice content; The system of claim 9 , further comprising: canceling display of the voice recording prompt to indicate that the first device has terminated receiving the voice content in response to an input termination operation on a chat widget on the first device.

11. A computing device including a memory having a computer program stored therein and one or more processors, A computing device, the computer program, when executed by the one or more processors, causing the one or more processors to perform the steps of the method according to any of claims 1 to 8.

12. A program for causing a computer to execute the steps of the method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Translation display method and device, electronic equipment and storage medium

    CN111309207A

  • Information display method and device in virtual scene, equipment and storage medium

    CN111672099A

  • System for carrying out mahjong game through communication network

    JP2003205176A

  • Software execution control system and software execution control program

    JP2008262580A

  • Conversation providing system, game providing system, conversation providing method, game providing method, and program

    JP2014167517A