Instant messaging method, device, equipment and storage medium in games
By automatically establishing communication groups in response to the selection and dragging of signal controls in the game, it solves the problem of cumbersome communication methods in the game, achieves instant and convenient communication, and enhances the game experience.
Patent Information
- Application Number
- CN202211515755.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-29
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2042-11-29
AI Technical Summary
In existing games, when players launch an attack in a team, the communication method is cumbersome and the communication efficiency is not high, which affects the game experience.
By responding to the selection and dragging of signal controls on the graphical user interface, communication groups are automatically established and managed, communication information within the same camp is displayed, instant communication is achieved, and the communication process is simplified.
It improves the efficiency and convenience of real-time communication between players in the same camp in the game and enhances the game experience.
Smart Images

Figure CN115865854B
Abstract
Description
Technical Field
[0001] The present application relates to the field of game technology, and in particular to an instant communication method, device, equipment and storage medium in a game. Background Art
[0002] With the development of Internet technology, games have played an increasingly important role in people's lives. People use games as a pastime for leisure and entertainment. Among them, team games are particularly popular.
[0003] In the prior art, players form teams to enter a game. If a player wants to launch an attack during the game, he needs to first ask other players in the current camp whether to launch an attack with the current player, and determine the attack tactics through communication.
[0004] However, this communication method is cumbersome and inefficient, which affects the players' gaming experience. Summary of the invention
[0005] The purpose of this application is to provide an instant communication method, device, equipment and storage medium in the game to address the deficiencies in the above-mentioned prior art, so as to solve the problems in the prior art that the communication method is cumbersome to operate, the communication efficiency is low, and the game experience of players is affected.
[0006] To achieve the above purpose, the technical solution adopted in the embodiment of the present application is as follows:
[0007] In a first aspect, an embodiment of the present application provides an instant messaging method in a game, the method comprising:
[0008] In response to a first selection operation among a plurality of signal controls, determining that a signal of the signal control selected by the first selection operation is a first target signal;
[0009] In response to a drag operation that is continuous with the first selection operation, determining an end position of the drag operation;
[0010] If the end position is on the chat control, the first communication group interface corresponding to the first target signal is displayed on the current player's graphical user interface, and the first communication group is used to display: the communication information of the first communication group associated with the first target signal in the same camp in the current game.
[0011] Optionally, displaying the first communication group interface corresponding to the first target signal on the graphical user interface of the current player includes:
[0012] Establishing a first communication group corresponding to the first target signal;
[0013] adding at least one first player to the first communication group;
[0014] The first communication group interface is displayed on a graphical user interface.
[0015] Optionally, the method further comprises:
[0016] Sending an invitation for the first target signal to other players in the same camp in the current game;
[0017] If an invitation confirmation instruction returned by a second player among the other players is received, the second player is added to the first communication group.
[0018] Optionally, the method further comprises:
[0019] In response to a second selection operation among the plurality of signal controls on the graphical user interface, determining that a signal of the signal control corresponding to the second selection operation is a second target signal;
[0020] If the second target signal conflicts with the first target signal, the first communication group is exited and the display of the first communication group interface is cancelled.
[0021] Optionally, the method further comprises:
[0022] If within a first preset time, all players in the same camp in the current game match do not initiate the first target signal, the first communication group is disbanded, and the display of the first communication group interface is cancelled.
[0023] Optionally, adding at least one first player to the first communication group comprises:
[0024] In the current game match, within a second preset time when the first communication group interface is established, the players in the same camp who initiate the first target signal are added to the first communication group interface.
[0025] Optionally, if the second target signal conflicts with the first target signal, after exiting the first communication group and canceling display of the first communication group interface, the method further includes:
[0026] If a second communication group corresponding to the second target signal exists in the current game match, the current player is added to the second communication group.
[0027] Optionally, the method further comprises:
[0028] In response to the exit operation on the first communication group, the first communication group is exited, and the display of the first communication group interface is canceled.
[0029] Optionally, the first communication group interface displays the number of players currently in the first communication group interface.
[0030] Optionally, information indicating that the second player has joined the first communication group is displayed on the first communication group interface.
[0031] In a second aspect, another embodiment of the present application provides an instant messaging device in a game, the device comprising: a determination module and a display module, wherein:
[0032] The determination module is configured to, in response to a first selection operation among a plurality of signal controls, determine that a signal of a signal control selected by the first selection operation is a first target signal; and in response to a drag operation continuous with the first selection operation, determine an end position of the drag operation;
[0033] The display module is used to display the first communication group interface corresponding to the first target signal on the current player's graphical user interface if the end position is on the chat control, and the first communication group is used to display: communication information of the first communication group associated with the first target signal in the same camp in the current game.
[0034] Optionally, the device further comprises: a establishing module and a joining module, wherein:
[0035] The establishing module is used to establish a first communication group corresponding to the first target signal;
[0036] The joining module is used to join at least one first player into the first communication group;
[0037] The display module is specifically configured to display the first communication group interface on a graphical user interface.
[0038] Optionally, the device further comprises: a sending module, configured to send an invitation for the first target signal to other players in the same camp in the current game match;
[0039] The joining module is specifically configured to add a second player among the other players to the first communication group if an invitation confirmation instruction returned by the second player is received.
[0040] Optionally, the device further comprises: a cancellation module, wherein:
[0041] The determination module is specifically configured to, in response to a second selection operation among the plurality of signal controls on the graphical user interface, determine that a signal of the signal control corresponding to the second selection operation is a second target signal;
[0042] The canceling module is configured to exit the first communication group and cancel the display of the first communication group interface if the second target signal conflicts with the first target signal.
[0043] Optionally, the canceling module is specifically configured to disband the first communication group and cancel display of the first communication group interface if all players in the same camp in the current game match do not initiate the first target signal within a first preset time.
[0044] Optionally, the establishing module is specifically used to add the players in the same camp who initiate the first target signal within a second preset time of establishing the first communication group interface in the current game to the first communication group interface.
[0045] Optionally, the joining module is specifically configured to add the current player to the second communication group if a second communication group corresponding to the second target signal exists in the current game match.
[0046] Optionally, the canceling module is specifically configured to, in response to an exit operation on the first communication group, exit the first communication group and cancel display of the first communication group interface.
[0047] Optionally, the display module is specifically configured to display the number of players currently in the first communication group interface on the first communication group interface.
[0048] Optionally, the display module is specifically configured to display information indicating that the second player has joined the first communication group on the first communication group interface.
[0049] In the third aspect, another embodiment of the present application provides an instant communication device in a game, comprising: a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the instant communication device in the game is running, the processor communicates with the storage medium through the bus, and the processor executes the machine-readable instructions to perform the steps of any method described in the first aspect above.
[0050] In a fourth aspect, another embodiment of the present application provides a storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of any method described in the first aspect are executed.
[0051] The beneficial effect of the present application is that: by using the instant communication method in the game provided by the present application, the current player can, after determining the first target signal, perform a drag operation continuously with the first selection operation to enable the instant communication method in the game to
[0052] If the end position of the dragging operation is on the chat interface, the first communication group interface corresponding to the first target signal is displayed on the graphical user interface, so that the communication information of the first communication group associated with the first target signal is displayed in the first communication group interface, thereby realizing the display of the first communication group corresponding to the first target signal and the display of the communication information associated with the first target signal in this coherent, convenient and intuitive manner. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only illustrate certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can be obtained based on these drawings without creative work.
[0054] Figure 1 A flowchart of an instant messaging method in a game provided by an embodiment of the present application;
[0055] Figure 2 A schematic diagram of a graphical user interface provided in one embodiment of the present application;
[0056] Figure 3 A schematic diagram of a graphical user interface provided in one embodiment of the present application;
[0057] Figure 4 A schematic diagram of a flow chart of an instant messaging method in a game provided by another embodiment of the present application;
[0058] Figure 5 A schematic diagram of a flow chart of an instant messaging method in a game provided by another embodiment of the present application;
[0059] Figure 6 A schematic diagram of the structure of an instant messaging device in a game provided by an embodiment of the present application;
[0060] Figure 7 A schematic diagram of the structure of an instant messaging device in a game provided by another embodiment of the present application;
[0061] Figure 8 A schematic diagram of the structure of an instant messaging device in a game provided by one embodiment of the present application. DETAILED DESCRIPTION
[0062] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in combination with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments.
[0063] The components of the embodiments of the present application generally described and shown in the drawings herein may be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
[0064] In one embodiment of the present disclosure, the instant communication method in the game can be run on a local terminal device or a server. When the instant communication method in the game is run 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.
[0065] In an optional implementation, various cloud applications can be run under the cloud interaction system, such as cloud games. Taking cloud games as an example, cloud games refer to a game mode based on cloud computing. In the operation mode of cloud games, the operating body of the game program and the main body of the game screen presentation are separated. The storage and operation of the instant communication method in the game are completed on the cloud game server. The role of the client device is used for receiving and sending data and presenting the game screen. For example, the client device can be a display device with data transmission function close to the user side, such as a mobile terminal, a TV, a computer, a handheld computer, etc.; but the cloud game server in the cloud is used for information processing. When playing the game, the player operates the client device to send an operation instruction to the cloud game server. The cloud game server runs the game according to the operation instruction, encodes and compresses the game screen and other data, and returns it to the client device through the network. Finally, the client device decodes and outputs the game screen.
[0066] In an optional embodiment, taking a game as an example, a local terminal device stores a game program and is used to present a game screen. The local terminal device is used to interact with the player through a graphical user interface, that is, the game program is downloaded and installed by an electronic device and run conventionally. The local terminal device may provide the graphical user interface to the player in a variety of ways, for example, it may be rendered and displayed on a display screen of the terminal, or provided to the player through a holographic projection. For example, the local terminal device may include a display screen and a processor, the display screen is used to present a graphical user interface, the graphical user interface includes a game screen, and the processor is used to run the game, generate a graphical user interface, and control the display of the graphical user interface on the display screen.
[0067] In a possible implementation, an embodiment of the present invention provides an instant communication method in a game, providing a graphical user interface through a terminal device, wherein the terminal device can be the local terminal device mentioned above, or can be a client device in the cloud interaction system mentioned above.
[0068] In addition, the flowchart used in this application shows the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowchart can be implemented out of order, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art can add one or more other operations to the flowchart under the guidance of the content of this application, and can also remove one or more operations from the flowchart.
[0069] The following is an explanation of an instant messaging method in a game provided by an embodiment of the present application in combination with a number of specific application examples.
[0070] In a possible implementation, the embodiment of the present invention provides an instant communication method in a game. Figure 1 A flowchart of an instant messaging method in a game provided by an embodiment of the present application is shown in FIG. Figure 1 As shown, the method includes:
[0071] S101: In response to a first selection operation among a plurality of signal controls, determining that a signal of a signal control selected by the first selection operation is a first target signal.
[0072] Figure 2 A schematic diagram of a graphical user interface provided in an embodiment of the present application, such as Figure 2 As shown, multiple signal controls may include, for example: an attack control, a retreat control, and a collection control; each control is displayed in the upper right corner of the graphical user interface in the form of its corresponding icon; it should be understood that the above embodiment is only an exemplary description, and the specific contents included in the multiple signal controls, as well as the display method and display position of each control, can be flexibly adjusted according to user needs. For example, each control can also be displayed with its own name in the middle of the right side or the upper left side of the graphical user interface, or displayed in the form of its corresponding icon and course of disease below the small map of the graphical user interface, etc., which can be flexibly adjusted according to user needs and are not limited to the above embodiments.
[0073] S102: In response to a drag operation that is continuous with the first selection operation, determining an end position of the drag operation.
[0074] If the end position of the dragging operation is at a position other than the chat control on the graphical user interface, the operation of displaying the first communication group interface will not be triggered. At this time, the current player can continue to perform the game operation corresponding to the game instruction according to the game instruction.
[0075] S103: If the end position is on the chat control, a first communication group interface corresponding to the first target signal is displayed on the graphical user interface of the current player.
[0076] If the end position of the drag operation is on the chat control, an instant communication operation for the first target signal is triggered, that is, the first communication group interface corresponding to the first target signal is displayed on the graphical user interface, and the first communication group is used to display: in the current game, the communication information of the first communication group associated with the first target signal in the same camp; in the first communication group, all players in the same camp associated with the first target signal in the current game can conduct instant communication in the first communication group by sending messages, so as to communicate with each other regarding the first target signal.
[0077] Figure 3 The interface diagram of the graphical user interface provided for another embodiment of the present application continues as follows: Figure 2 As shown, if the end position of the drag operation is within the preset display range of the chat control, it is determined that the end position of the drag operation is on the chat control. At this time, Figure 3 As shown, the display of the first communication group interface corresponding to the first target signal is triggered.
[0078] In one embodiment of the present application, the first communication group interface may be displayed by, for example, establishing a first communication group corresponding to the first target signal, adding at least one first player to the first communication group, and displaying the first communication group interface on a graphical user interface.
[0079] Among them, at least one first player can be, for example: a player who initiates the same first target signal as the current player, or a player who agrees to the first target signal initiated by the current player; it should be understood that the above embodiments are only exemplary descriptions, and the specific method of displaying the first communication group interface and the method of determining the first player can be flexibly adjusted according to user needs, and are not limited to those given in the above embodiments.
[0080] For example, if the current player determines that the attack signal is the first target signal through the first selection operation, and the end position of the drag operation continuous with the first selection operation is on the chat control, then the first communication group interface corresponding to the attack signal is displayed on the current player's graphical user interface. In the first communication group interface, all players in the same camp who initiate the attack signal will be added to the first communication group. Each player in the first communication group can communicate in real time through any means such as voice, text, or emoticons. The communication content of all instant communications of each player will be displayed in the first communication group interface, so that the players in the same camp who initiate the same target signal can jointly discuss the attack strategy.
[0081] By adopting the instant communication method in the game provided by the present application, the current player can, after determining the first target signal, perform a drag operation continuously with the first selection operation, so that if the end position of the drag operation is on the chat interface, the first communication group interface corresponding to the first target signal is displayed on the graphical user interface, so that the communication information of the first communication group associated with the first target signal is displayed in the first communication group interface, thereby realizing the display of the first communication group corresponding to the first target signal and the display of the communication information associated with the first target signal in this coherent, convenient and intuitive manner.
[0082] For example, in some possible embodiments, the first communication group interface displays the number of players currently in the first communication group interface, and continues as follows. Figure 3 As shown, the offensive communication group corresponding to the current offensive signal shows that the number of players currently joining the offensive communication group (offensive group chat) is 3; it should be understood that the above embodiments and drawings are only exemplary illustrations, and the specific display position is inside or outside the communication group, and the display position is above, below, left or right, which can be flexibly adjusted according to user needs and is not limited to the above embodiments.
[0083] In one embodiment of the present application, in response to an exit operation on the first communication group, the first communication group is exited, and the display of the first communication group interface is cancelled.
[0084] In some possible embodiments, after the player exits the first communication group and then rejoins the first communication group, the first communication group only displays the instant communication information after the player rejoins the first communication group; in other possible embodiments, after the player exits the first communication group and then rejoins the first communication group, the first group will display all instant communication information after the player first joined the communication group; it should be understood that the above embodiments are only exemplary descriptions, and the specific display method of the instant communication information in the first communication group, and whether the instant communication information is cleared after exiting the first communication group, can be flexibly adjusted according to user needs, and are not limited to the above embodiments.
[0085] Optionally, based on the above embodiment, the embodiment of the present application may also provide an instant messaging method in a game. The implementation process of the above method is illustrated below with reference to the accompanying drawings. Figure 4 A flowchart of an instant messaging method in a game provided by another embodiment of the present application is shown as follows: Figure 4 As shown, the method may also include:
[0086] S111: Send an invitation for the first target signal to other players in the same camp in the current game.
[0087] Among them, for example, the current player can send invitations for the first target signal to all other players in the same camp; or, the current player only sends invitations for the first target signal to other players in the same camp who have not sent the first target signal; it should be understood that the specific restrictions on the first target signal sent to other players can be flexibly adjusted according to user needs and are not limited to those given in the above embodiments.
[0088] In the embodiments of the present application, the first target signal is still taken as an example, such as an attack signal. After the current player sends an invitation to other players in the same camp for the first target signal, a prompt message may be displayed on the graphical user interface of the other players' terminals, and the content of the prompt message may be, for example, "** player invites you to jointly initiate an attack operation, do you accept the invitation?" If the other players choose yes, it is determined that the other players have received the current player's invitation for the attack signal, and the other players who have accepted the invitation for the attack signal are added to the first communication group; if the other players choose no, or do not respond to the invitation for the attack signal within the preset time, it is determined that the other players have rejected the current player's invitation for the attack signal; it should be understood that the above embodiments are only exemplary descriptions, and the content of the specific prompt message can be flexibly adjusted according to user needs, and is not limited to the above embodiments.
[0089] S112: If an invitation confirmation instruction returned by a second player among other players is received, the second player is added to the first communication group.
[0090] In some possible embodiments, after the second player joins the first communication group, information that the second player has joined the first communication group will be displayed on the first communication group interface. Figure 3 As shown, after player 1 joins the offensive communication group (group chat), "Player 1 enters the group chat" is displayed in the display interface of the offensive communication group; after player 2 joins the offensive communication group (group chat), "Player 2 enters the group chat" is displayed in the display interface of the offensive communication group; the display order can be determined according to the time when each player joins the group chat, and can be flexibly adjusted according to user needs, and is not limited to the above embodiments.
[0091] If a rejection invitation instruction is received from a third player among other players, or the third player does not respond to the current player's invitation to the first target signal within a preset time, it is determined that the third player has rejected the current player's invitation, and the third player will not be added to the first communication group.
[0092] Taking the first target signal as the retreat signal as an example, this method of initiating an invitation for the retreat signal to other players in the same camp ensures that players in the same camp with the same retreat strategy can all join the first communication group; prevents the situation where some players in the same camp forget to initiate the retreat signal, but players who actually have a retreat strategy tendency are not added to the first communication group; ensures that multiple players in the same camp with the same retreat strategy can be added to the first communication group for instant communication.
[0093] In one embodiment of the present application, if within the first preset time, all players in the same camp in the current game match have not initiated the first target signal, it means that the players in the same camp in the current game match have no intention to initiate the first target signal, and there is no need to communicate for the first target signal through instant messaging. At this time, the first communication group can be disbanded and the display of the first communication group interface can be cancelled; waiting for the players in the same camp in the current game match to initiate the first target signal again and trigger the establishment operation of the first communication group, then the first communication group corresponding to the first target signal is established.
[0094] Such a setting makes it possible for the first communication group to be disbanded and the display to be cancelled when the players in the same camp have no intention of initiating the first target signal in the current game match. The players do not need to manually disband the first communication group or manually cancel the display of the first communication group, thereby simplifying the players' operation steps so that the communication groups displayed in the game interface are all groups with which the current players need to communicate in a timely manner. For some groups that do not require instant communication (for example, when all players in the same camp have not initiated the first target signal within the first preset time), the groups can be disbanded and the display cancelled automatically, thereby further improving the players' gaming experience.
[0095] In some possible embodiments, players in the same camp who initiate the first target signal within a second preset time when the first communication group interface is established in the current game match can also be added to the first communication group interface.
[0096] That is, still taking the first target signal as an attack signal as an example, since there may be multiple attack operations in one game match, and the operation layout and strategy corresponding to each attack operation are different, in order to ensure that the first communication group is used for one attack operation, therefore, only the players who initiate the first target signal in the same camp join the first communication group interface within the second preset time of the moment of establishing the first communication group interface, thereby ensuring that the players in the first communication group who initiate the same attack operation conduct instant communication in the first communication group; if the next attack operation is performed, then in response to the attack instructions of other players or the current player and the establishment instructions of the communication group during the next attack operation, a communication group corresponding to the next attack operation is established.
[0097] Optionally, based on the above embodiment, the embodiment of the present application may also provide an instant messaging method in a game. The implementation process of the above method is illustrated below with reference to the accompanying drawings. Figure 4 A flowchart of an instant messaging method in a game provided by another embodiment of the present application is shown as follows: Figure 4 As shown, the method may also include:
[0098] S121: In response to a second selection operation among a plurality of signal controls on the graphical user interface, determining that a signal of the signal control corresponding to the second selection operation is a second target signal.
[0099] For example, still taking the first target signal as an attack signal as an example, if the signal of the signal control corresponding to the second selection operation is a retreat signal, it is determined that the second target signal conflicts with the first target signal; if the signal of the signal control corresponding to the second selection operation is a collection signal, the second signal does not conflict with the first target signal.
[0100] Alternatively, when the first target signal is a collective signal, if the signal of the signal control corresponding to the second selection operation is a retreat signal, it is determined that the second target signal conflicts with the first target signal; if the signal of the signal control corresponding to the second selection operation is an attack signal, the second target signal does not conflict with the first target signal; it should be understood that the above embodiments are only exemplary descriptions, and whether the specific signals are conflicting signals can be flexibly adjusted according to user needs and is not limited to the above embodiments.
[0101] S122: If the second target signal conflicts with the first target signal, exit the first communication group and cancel the display of the first communication group interface.
[0102] If the second target signal conflicts with the first target signal, it means that the current player no longer agrees with the strategy corresponding to the first target signal. At this time, the current player exits the first communication group and cancels the display of the first communication group interface on the current player's graphical user interface.
[0103] In one embodiment of the present application, after exiting the first communication group, the communication groups existing in the current game match can also be detected to determine whether there is a second communication group corresponding to the second target signal in the current game match. If there is a second communication group corresponding to the second target signal in the current game match, the current player is added to the second communication group to enable the current player to conduct instant communication with other players in the second communication group.
[0104] This setting makes it possible for the current player to directly trigger the exit operation of the first communication group after initiating a signal that conflicts with the first target signal, without the need for the current player to manually exit the first communication group, thereby improving the player's gaming efficiency.
[0105] And when there is a second communication group corresponding to the second target signal in the current game, the player can directly join the second communication group corresponding to the second target signal that conflicts with the first target signal, so as to conduct instant communication with other players who have initiated the second target signal in the second communication group regarding the second target signal, thereby further improving the communication efficiency of the players during the game and improving the players' gaming experience.
[0106] By adopting the instant communication method in the game provided by the present application, a first communication group corresponding to the first target signal is established by directly dragging the first target signal control onto the chat control, so that players who initiate the same first target signal all join the first communication group to communicate, thereby improving the efficiency of timely communication among players with the same game strategy in the same camp, as well as the convenience of communication, thereby improving the game experience of the players.
[0107] The following is an explanation of the instant messaging device in the game provided by the present application in conjunction with the accompanying drawings. The instant messaging device in the game can execute the above Figure 1-Figure 6 The specific implementation and beneficial effects of the instant messaging method in any game are as mentioned above and will not be repeated below.
[0108] Figure 6 A schematic diagram of the structure of an instant messaging device in a game provided by an embodiment of the present application, such as Figure 6 As shown, the device includes: a determination module 201 and a display module 202, wherein:
[0109] The determination module 201 is used to determine, in response to a first selection operation among multiple signal controls, that the signal of the signal control selected by the first selection operation is a first target signal; and in response to a drag operation continuous with the first selection operation, determine the end position of the drag operation.
[0110] The display module 202 is used to display the first communication group interface corresponding to the first target signal on the graphical user interface of the current player if the end position is on the chat control, and the first communication group is used to display: the communication information of the first communication group associated with the first target signal.
[0111] Optionally, based on the above embodiment, the embodiment of the present application may also provide an instant messaging device in a game, as shown below in conjunction with the accompanying drawings. Figure 6 The implementation process of the given device is described by way of example. Figure 7A schematic diagram of the structure of an instant messaging device in a game provided by another embodiment of the present application is shown as follows: Figure 7 As shown, the device further includes: an establishment module 203 and a joining module 204, wherein:
[0112] An establishing module 203, configured to establish a first communication group corresponding to the first target signal;
[0113] A joining module 204, configured to join at least one first player to a first communication group;
[0114] The display module 202 is specifically configured to display the first communication group interface on the graphical user interface.
[0115] like Figure 8 As shown, the device further includes: a sending module 205, configured to send an invitation for the first target signal to other players in the same camp in the current game match;
[0116] The joining module 204 is specifically configured to add the second player to the first communication group if an invitation confirmation instruction returned by the second player among other players is received.
[0117] like Figure 7 As shown, the device further includes: a cancellation module 206, wherein:
[0118] The determination module 201 is specifically configured to determine, in response to a second selection operation among a plurality of signal controls on the graphical user interface, that a signal of the signal control corresponding to the second selection operation is a second target signal;
[0119] The canceling module 206 is configured to exit the first communication group and cancel the display of the first communication group interface if the second target signal conflicts with the first target signal.
[0120] Optionally, the canceling module 206 is specifically configured to disband the first communication group and cancel the display of the first communication group interface if all players in the same camp in the current game match do not initiate the first target signal within a first preset time.
[0121] Optionally, the establishing module 203 is specifically configured to add players in the same camp who initiate the first target signal within a second preset time when the first communication group interface is established in the current game to the first communication group interface.
[0122] Optionally, the joining module 204 is specifically configured to add the current player to the second communication group if there is a second communication group corresponding to the second target signal in the current game match.
[0123] Optionally, the canceling module 206 is specifically configured to, in response to an exit operation on the first communication group, exit the first communication group and cancel display of the first communication group interface.
[0124] Optionally, the display module 202 is specifically configured to display the number of players currently in the first communication group interface on the first communication group interface.
[0125] Optionally, the display module 202 is specifically configured to display information that the second player has joined the first communication group on the first communication group interface.
[0126] By using the instant communication device in the game provided by the present application, a first communication group corresponding to the first target signal is established by directly dragging the first target signal control onto the chat control, so that players who initiate the same first target signal all join the first communication group to communicate, thereby improving the efficiency of timely communication among players with the same game strategy in the same camp, as well as the convenience of communication, thereby improving the game experience of the players.
[0127] The above modules may be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuits (ASICs), or one or more microprocessors, or one or more field programmable gate arrays (FPGAs). For another example, when a module is implemented in the form of a processing element scheduling program code, the processing element may be a general-purpose processor, such as a central processing unit (CPU) or other processor that can call program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
[0128] Figure 7 A schematic diagram of the structure of an instant messaging device in a game provided by an embodiment of the present application is shown, which includes: a processor 501, a bus 502 and a storage medium 503, wherein the storage medium 503 stores machine-readable instructions executable by the processor 501. When the electronic device runs a method for exchanging virtual characters in the embodiment, the processor 501 communicates with the storage medium 503 via the bus 502, and the processor 501 executes the machine-readable instructions. The processor 501 performs the following steps:
[0129] In response to a first selection operation among a plurality of signal controls, determining that a signal of the signal control selected by the first selection operation is a first target signal;
[0130] In response to a drag operation that is continuous with the first selection operation, determining an end position of the drag operation;
[0131] If the end position is on the chat control, the first communication group interface corresponding to the first target signal is displayed on the current player's graphical user interface, and the first communication group is used to display: the communication information of the first communication group associated with the first target signal in the same camp in the current game.
[0132] In a feasible implementation manner, when the processor 501 executes the step of displaying the first communication group interface corresponding to the first target signal on the current player's graphical user interface, the processor 501 is specifically configured to:
[0133] Establishing a first communication group corresponding to the first target signal;
[0134] adding at least one first player to the first communication group;
[0135] The first communication group interface is displayed on a graphical user interface.
[0136] In a feasible implementation manner, the processor 501 is specifically configured to:
[0137] Sending an invitation for the first target signal to other players in the same camp in the current game;
[0138] If an invitation confirmation instruction returned by a second player among the other players is received, the second player is added to the first communication group.
[0139] In a feasible implementation manner, the processor 501 is specifically configured to:
[0140] In response to a second selection operation among the plurality of signal controls on the graphical user interface, determining that a signal of the signal control corresponding to the second selection operation is a second target signal;
[0141] If the second target signal conflicts with the first target signal, the first communication group is exited and the display of the first communication group interface is cancelled.
[0142] In a feasible implementation manner, the processor 501 is specifically configured to:
[0143] If within a first preset time, all players in the same camp in the current game match do not initiate the first target signal, the first communication group is disbanded, and the display of the first communication group interface is cancelled.
[0144] When executing the step of adding at least one first player to the first communication group, the processor 501 is specifically configured to:
[0145] In the current game match, within a second preset time when the first communication group interface is established, the players in the same camp who initiate the first target signal are added to the first communication group interface.
[0146] After executing the step of exiting the first communication group and canceling the display of the first communication group interface if the second target signal conflicts with the first target signal, the processor 501 is specifically configured to:
[0147] If a second communication group corresponding to the second target signal exists in the current game match, the current player is added to the second communication group.
[0148] In a feasible implementation manner, the processor 501 is specifically configured to:
[0149] In response to the exit operation on the first communication group, the first communication group is exited, and the display of the first communication group interface is canceled.
[0150] In a feasible implementation manner, the processor 501 is specifically configured to:
[0151] The first communication group interface displays the number of players currently in the first communication group interface.
[0152] In a feasible implementation manner, the processor 501 is specifically configured to:
[0153] The first communication group interface displays information that the second player has joined the first communication group.
[0154] By using the instant communication device in the game provided by the present application, a first communication group corresponding to the first target signal is established by directly dragging the first target signal control onto the chat control, so that players who initiate the same first target signal all join the first communication group to communicate, thereby improving the efficiency of timely communication among players with the same game strategy in the same camp, as well as the convenience of communication, thereby improving the player's gaming experience.
[0155] The embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. The computer program is executed when a processor is running, and the processor performs the following steps:
[0156] In response to a first selection operation among a plurality of signal controls, determining that a signal of the signal control selected by the first selection operation is a first target signal;
[0157] In response to a drag operation that is continuous with the first selection operation, determining an end position of the drag operation;
[0158] If the end position is on the chat control, the first communication group interface corresponding to the first target signal is displayed on the current player's graphical user interface, and the first communication group is used to display: the communication information of the first communication group associated with the first target signal in the same camp in the current game.
[0159] In a feasible implementation manner, when the processor executes the step of displaying the first communication group interface corresponding to the first target signal on the current player's graphical user interface, the processor is specifically configured to:
[0160] Establishing a first communication group corresponding to the first target signal;
[0161] adding at least one first player to the first communication group;
[0162] The first communication group interface is displayed on a graphical user interface.
[0163] In a feasible implementation scheme, the processor is specifically used to:
[0164] Sending an invitation for the first target signal to other players in the same camp in the current game;
[0165] If an invitation confirmation instruction returned by a second player among the other players is received, the second player is added to the first communication group.
[0166] In a feasible implementation scheme, the processor is specifically used to:
[0167] In response to a second selection operation among the plurality of signal controls on the graphical user interface, determining that a signal of the signal control corresponding to the second selection operation is a second target signal;
[0168] If the second target signal conflicts with the first target signal, the first communication group is exited and the display of the first communication group interface is cancelled.
[0169] In a feasible implementation scheme, the processor is specifically used to:
[0170] If within a first preset time, all players in the same camp in the current game match do not initiate the first target signal, the first communication group is disbanded, and the display of the first communication group interface is cancelled.
[0171] When executing the step of adding at least one first player to the first communication group, the processor is specifically configured to:
[0172] In the current game match, within a second preset time when the first communication group interface is established, the players in the same camp who initiate the first target signal are added to the first communication group interface.
[0173] After executing the step of exiting the first communication group and canceling the display of the first communication group interface if the second target signal conflicts with the first target signal, the processor is specifically configured to:
[0174] If a second communication group corresponding to the second target signal exists in the current game match, the current player is added to the second communication group.
[0175] In a feasible implementation scheme, the processor is specifically used to:
[0176] In response to the exit operation on the first communication group, the first communication group is exited, and the display of the first communication group interface is canceled.
[0177] In a feasible implementation scheme, the processor is specifically used to:
[0178] The first communication group interface displays the number of players currently in the first communication group interface.
[0179] In a feasible implementation scheme, the processor is specifically used to:
[0180] The first communication group interface displays information that the second player has joined the first communication group.
[0181] The computer-readable storage medium provided by the present application is used to establish a first communication group corresponding to the first target signal by directly dragging the first target signal control onto the chat control, so that players who initiate the same first target signal all join the first communication group to communicate, thereby improving the efficiency of timely communication and the convenience of communication among players with the same game strategies in the same camp, thereby improving the game experience of the players.
[0182] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0183] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0184] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0185] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (English: processor) to perform some steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (English: Read-Only Memory, abbreviated: ROM), random access memory (English: Random Access Memory, abbreviated: RAM), disk or optical disk and other media that can store program codes.
Claims
1. An instant communication method in a game, characterized in that: The method comprises: In response to a first selection operation among a plurality of signal controls, determining that a signal of the signal control selected by the first selection operation is a first target signal; In response to a drag operation that is continuous with the first selection operation, determining an end position of the drag operation; If the end position is on the chat control, the first communication group interface corresponding to the first target signal is displayed on the current player's graphical user interface, and the first communication group is used to display: the communication information of the first communication group associated with the first target signal in the same camp in the current game.
2. The method according to claim 1, characterized in that The step of displaying the first communication group interface corresponding to the first target signal on the current player's graphical user interface includes: Establishing a first communication group corresponding to the first target signal; adding at least one first player to the first communication group; The first communication group interface is displayed on a graphical user interface.
3. The method according to claim 2, characterized in that The method further comprises: Sending an invitation for the first target signal to other players in the same camp in the current game; If an invitation confirmation instruction returned by a second player among the other players is received, the second player is added to the first communication group.
4. The method according to claim 1, characterized in that The method further comprises: In response to a second selection operation among the plurality of signal controls on the graphical user interface, determining that a signal of the signal control corresponding to the second selection operation is a second target signal; If the second target signal conflicts with the first target signal, the first communication group is exited and the display of the first communication group interface is cancelled.
5. The method according to claim 1, characterized in that The method further comprises: If within a first preset time, all players in the same camp in the current game match do not initiate the first target signal, the first communication group is disbanded, and the display of the first communication group interface is cancelled.
6. The method according to claim 2, characterized in that The adding at least one first player to the first communication group comprises: In the current game match, within a second preset time when the first communication group interface is established, the players in the same camp who initiate the first target signal are added to the first communication group interface.
7. The method according to claim 4, characterized in that After exiting the first communication group and canceling the display of the first communication group interface if the second target signal conflicts with the first target signal, the method further includes: If a second communication group corresponding to the second target signal exists in the current game match, the current player is added to the second communication group.
8. The method according to claim 1, characterized in that The method further comprises: In response to the exit operation on the first communication group, the first communication group is exited, and the display of the first communication group interface is canceled.
9. The method according to claim 1, characterized in that The first communication group interface displays the number of players currently in the first communication group interface.
10. The method according to claim 3, characterized in that The first communication group interface displays information that the second player has joined the first communication group.
11. An instant messaging device in a game, characterized in that: The device comprises: a determination module and a display module, wherein: The determination module is configured to, in response to a first selection operation among a plurality of signal controls, determine that a signal of a signal control selected by the first selection operation is a first target signal; and in response to a drag operation continuous with the first selection operation, determine an end position of the drag operation; The display module is used to display the first communication group interface corresponding to the first target signal on the current player's graphical user interface if the end position is on the chat control, and the first communication group is used to display: communication information of the first communication group associated with the first target signal in the same camp in the current game.
12. An instant messaging device in a game, characterized in that: The device includes: a processor, a storage medium and a bus, the storage medium stores machine-readable instructions executable by the processor, when the instant communication device in the game is running, the processor and the storage medium communicate through the bus, and the processor executes the machine-readable instructions to execute the method described in any one of claims 1 to 10.
13. A storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 10 is executed.
