Character information sending and receiving method, device and electronic equipment

By providing a method for sending the location information of teammates in a multiplayer online tactical battle game with a single click, the problems of cumbersome operation and resource consumption in existing technologies are solved, thereby improving the efficiency and performance of the game system.

CN122141232APending Publication Date: 2026-06-05GUANGZHOU BOGUAN TELECOMM TECH LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
GUANGZHOU BOGUAN TELECOMM TECH LTD
Filing Date
2026-04-22
Publication Date
2026-06-05

AI Technical Summary

Technical Problem

In multiplayer online tactical competitive games, existing technologies rely on manually triggered text or voice communication to synchronize character status information, which leads to increased computing load and energy consumption of terminal processors, serious network bandwidth consumption, and low data processing efficiency.

Method used

By displaying a message sending control in the graphical user interface of the terminal device, the system can send the location information of teammates in the same faction with one click when the health value meets the specified conditions, simplifying the operation and reducing the frequency of communication.

Benefits of technology

It improves game efficiency, reduces the computational load and energy consumption of the terminal processor, optimizes interface cleanliness, reduces network bandwidth and server computing resource usage, and enhances the responsiveness of the game system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122141232A_ABST
    Figure CN122141232A_ABST
Patent Text Reader

Abstract

The present disclosure discloses a role information sending method, and relates to the technical field of computer processing, which comprises the following steps: in response to the life value of a second role in a game scene meeting a specified condition, displaying an information sending control in a graphical user interface, the second role being a game role of a different camp from a first role; in response to a first operation on the information sending control, generating position information of the second role and sending the position information to a second terminal device corresponding to a third role to prompt the second role in the second terminal device, the third role being a game role of the same camp as the first role. The present disclosure sends the position information of the second role to the second client through the information sending control, so that the second client can prompt the second role, which is simple to operate and saves time. The second client can master the position information of the second role in a short time, which is beneficial to improving the efficiency of the game and reducing the running pressure of the device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of computer processing technology, specifically to methods, devices, and electronic devices for transmitting and receiving role information. Background Technology

[0002] Currently, in multiplayer online tactical competitive games, multiple terminal devices need to synchronize game status data in real time to maintain match consistency. In related technologies, when players need to synchronize the status information of specific enemy characters with teammates, they typically rely on manually triggered text or voice communication. This method requires terminal devices to continuously collect and process voice streams or text input data, increasing the computational load and energy consumption of the terminal processor. Simultaneously, frequent communication requests cause the server to handle a large number of additional signaling interactions and data packet forwarding tasks, consuming network bandwidth and server computing resources. Furthermore, due to the uncertain delays inherent in manual input, the receiving terminal struggles to perform accurate status prediction calculations based on real-time data streams, resulting in low data processing efficiency and impacting the overall responsiveness of the game system. Summary of the Invention

[0003] In view of this, this disclosure provides a method, apparatus and electronic device for sending character information to solve the problem of cumbersome operation leading to low efficiency in the game.

[0004] In a first aspect, this disclosure provides a method for sending character information, which provides a first graphical user interface through a first terminal device. The first graphical user interface displays at least a portion of a game scene, and the game scene includes a first character controlled by the first terminal device. The method includes: In response to the second character's health value in the game scene meeting a specified condition, a message sending control is displayed in the graphical user interface, wherein the second character is a game character from a different faction than the first character; In response to a first operation on the information sending control, location information of the second character is generated and the location information is sent to a second terminal device corresponding to the third character, so as to provide a prompt to the second character on the second terminal device; wherein, the third character is a game character of the same faction as the first character.

[0005] Secondly, this disclosure provides a method for receiving character information, which provides a second graphical user interface through a second terminal device. The second graphical user interface displays at least a portion of a game scene, and the game scene includes a third character controlled by the second terminal device. The method includes: The location information of a second character sent by a first terminal device is received. The first terminal device corresponds to the first character. The first character is in the same faction as the third character. The second character is in a different faction from the third character. The location information is generated by triggering an information sending control displayed on the first terminal device. The information sending control is displayed on the first terminal device when the second character's health value meets a specified condition. Based on the location information of the second character, prompts are given to the second character in the second graphical user interface.

[0006] Thirdly, this disclosure provides a character information sending device, which provides a first graphical user interface through a first terminal device. The first graphical user interface displays at least a portion of a game scene, and the game scene includes a first character controlled by the first terminal device. The device includes: The control display module is used to display an information sending control in the graphical user interface in response to the second character's health value in the game scene meeting a specified condition, wherein the second character is a game character from a different faction than the first character; The information sending module is used to generate the location information of the second character in response to a first operation on the information sending control, and send the location information to the second terminal device corresponding to the third character, so as to provide a prompt to the second character on the second terminal device; wherein the third character is a game character of the same faction as the first character.

[0007] Fourthly, this disclosure provides a character information receiving device that provides a second graphical user interface via a second terminal device. The second graphical user interface displays at least a portion of a game scene, and the game scene includes a third character controlled by the second terminal device. The device includes: The information receiving module is used to receive the location information of the second character sent by the first terminal device, wherein the first terminal device corresponds to the first character, the first character is in the same camp as the third character, and the second character is in a different camp from the third character. The location information is generated by triggering an information sending control displayed in the first terminal device. The information sending control is displayed in the first terminal device when the second character's health value meets a specified condition. The information display module is used to provide prompts to the second character in the second graphical user interface based on the location information of the second character.

[0008] Fifthly, this disclosure provides an electronic device, including: a memory and a processor, which are communicatively connected to each other. The memory stores computer instructions, and the processor executes the computer instructions to perform the role information sending method of the first aspect or any corresponding embodiment described above, or to perform the role information receiving method of the second aspect or any corresponding embodiment described above.

[0009] In a sixth aspect, this disclosure provides a computer-readable storage medium storing computer instructions, which are used to cause a computer to perform the role information sending method of the first aspect or any corresponding embodiment thereof, or to perform the role information receiving method of the second aspect or any corresponding embodiment thereof.

[0010] In a seventh aspect, this disclosure provides a computer program product, including computer instructions, which are used to cause a computer to execute the role information sending method of the first aspect or any corresponding embodiment thereof, or to execute the role information receiving method of the second aspect or any corresponding embodiment thereof.

[0011] The role information sending method provided in this embodiment sends the location information of a second role to a second client through an information sending control. This allows the second client to provide prompts to the second role. Specifically, in response to a first operation on the information sending control, the location information of the second role is sent directly and quickly to the second client. This method is simple to operate, saves time, and allows the second client to quickly grasp the location information of the second role, thus improving game efficiency. Improved game efficiency helps shorten the overall game duration. The rapid completion of the game allows the device to quickly release relevant game information from local storage, reducing the operational pressure on the device and lowering the computational load and energy consumption of the terminal processor. This is beneficial for improving the normal operation and maintenance of the device. Furthermore, the simple location information sending operation allows the receiving terminal to perform accurate state prediction calculations based on real-time data streams, improving data processing efficiency and thus enhancing performance. This improves the overall responsiveness of the game system. Furthermore, when the second character's health meets specified conditions, a message sending control is displayed. The health value serves as a constraint to determine whether location information can be sent to the second client. For example, if the specified condition is health less than 5%, and the second character's health is less than 5%, it indicates a possibility of being instantly killed. In this case, if the first character has no finishing move, the location information can be flexibly sent to the second client via the message sending control to receive assistance. This enhances game interactivity while selectively displaying the message sending control to send location information, reducing interface clutter caused by prolonged display and improving interface cleanliness. It also proactively reminds the first user to send location information, reducing the frequency of communication requests and consequently lowering network bandwidth and server computing resources consumed by frequent communication. Attached Figure Description To more clearly illustrate the technical solutions in the specific embodiments or related technologies of this disclosure, the accompanying drawings used in the description of the specific embodiments or related technologies will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of this disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0012] Figure 1 This is a schematic diagram illustrating an application scenario according to an embodiment of this disclosure; Figure 2 This is a flowchart illustrating the method for sending role information according to an embodiment of this disclosure; Figure 3 An exemplary schematic diagram of the graphical user interface of the first client is shown; Figure 4 This is a schematic flowchart of a first method for receiving role information according to an embodiment of the present disclosure; Figure 5An exemplary first schematic diagram of the graphical user interface of the second client is shown; Figure 6 This is a second flowchart illustrating the role information receiving method according to an embodiment of the present disclosure; Figure 7 A second schematic diagram of the graphical user interface of the second client is shown as an example; Figure 8 This is a structural block diagram of a role information sending device according to an embodiment of the present disclosure; Figure 9 This is a structural block diagram of a role information receiving device according to an embodiment of the present disclosure; Figure 10 This is a schematic diagram of the hardware structure of an electronic device according to an embodiment of the present disclosure. Detailed Implementation

[0013] To make the objectives, technical solutions, and advantages of the embodiments of this disclosure clearer, the technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this disclosure, and not all embodiments. Based on the embodiments of this disclosure, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this disclosure.

[0014] It should be noted that the information (including but not limited to user input information, such as information entered into input boxes), data (including but not limited to data used for analysis, stored data, and displayed data, such as context code, all code of the current project, service pressure corresponding to operations performed on all code of the current project, and code development status of the current project), and signals involved in this disclosure are all authorized by the user or fully authorized by all parties, and the collection, use, and processing of related data must comply with relevant laws, regulations, and standards. For example, the context code, operations performed on all code of the current project, the corresponding service pressure, and code development status involved in this disclosure were all obtained with full authorization.

[0015] The terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this disclosure, "a plurality of" means two or more, unless otherwise expressly specified.

[0016] As one optional application scenario of this disclosure embodiment, such as Figure 1 As shown, the system may include at least one terminal device and at least one server. Figure 1 The system is illustrated in the example, which includes a computer 101, a mobile terminal 102, and a server 103, and the terminal devices such as the computer 101 and the mobile terminal 102 are connected to the server 103 through a network 110.

[0017] Specifically, the terminal device can be a smartphone, tablet, laptop, PDA, desktop computer, game console, smart TV, smart wearable device, in-vehicle terminal, VR (Virtual Reality) device, AR (Augmented Reality) device, etc. Server 103 can be a standalone physical server, a server cluster, a distributed system, or a cloud server providing cloud services. Network 110 can be a wired or wireless network, examples of which include, but are not limited to, the Internet, corporate intranet, local area network, wide area network, mobile communication network, and combinations thereof.

[0018] For example, in this embodiment of the disclosure, the terminal device includes an application. This application can be an application that requires downloading and installation, or it can be an application that can be used immediately upon clicking.

[0019] For example, the aforementioned application can be any application capable of providing a virtual environment for users to immerse themselves in and manipulate virtual characters within that virtual environment. For instance, the application could be a game application, such as a MOBA game, a first-person shooter (FPS) game, a third-person shooter (TPS) game, a battle royale (BR) game, or a multiplayer shooting survival game, etc. Of course, besides game applications, other types of applications can also display virtual characters to users and provide corresponding functions to them. Examples include VR applications, AR applications, 3D mapping applications, military simulation applications, social applications, and interactive entertainment applications. Optionally, the form and corresponding functions of the virtual characters provided by different applications may vary, and these can be pre-configured according to actual needs; this disclosure does not limit this aspect.

[0020] Optionally, the terminal device runs a client of the aforementioned application. The aforementioned virtual environment is a scene displayed (or provided) when the client of an application (such as a game application) runs on the terminal device. This virtual environment refers to a scene created for virtual characters to perform activities (such as game competitions), such as virtual houses, virtual islands, virtual maps, and virtual buildings. This virtual environment can be a simulation of the real world, a semi-simulated / semi-fictional environment, or a purely fictional environment. Optionally, the virtual environment can be a two-dimensional virtual environment, a 2.5-dimensional virtual environment, or a three-dimensional virtual environment, etc., and this disclosure does not limit this. In this disclosure, the virtual characters include the first character, the second character, and the third character as described below.

[0021] The aforementioned virtual characters are virtual characters controlled by a user account within an application. Taking a game application as an example, the virtual character can be a game character controlled by a user account (i.e., a game account) within the game application. Optionally, the virtual character can be a human figure, an animal, a cartoon character, or other forms; this embodiment of the disclosure does not limit this. Optionally, the virtual character can be displayed in three-dimensional or two-dimensional form; this embodiment of the disclosure does not limit this. Optionally, when the virtual environment is a three-dimensional virtual environment, the virtual character is a three-dimensional model created based on animation skeletal technology. Exemplarily, each virtual character has its own shape and volume in the three-dimensional virtual environment, occupying a portion of the space in the three-dimensional virtual environment.

[0022] In one possible implementation, the aforementioned virtual characters include virtual characters belonging to the same faction and virtual characters belonging to different factions; that is, within the application, virtual characters are divided into different factions. For example, in a 5v5 MOBA game, ten users are matched into two teams, red and blue, with five people per team. In this case, the virtual characters on the red team belong to the same faction and are teammates, the virtual characters on the blue team belong to the same faction and are teammates, while the virtual characters on the red team belong to different factions and are enemies.

[0023] In this embodiment, different users correspond to different virtual characters. Exemplarily, a game application is installed on a terminal device, which includes a first terminal device, a second terminal device, and a third terminal device. The first terminal device runs a first client of the game application, and a first user logs in to a first game account through the first client to control a first character and enter a game match. The second terminal device runs a second client of the game application, and a second user logs in to a second game account through the second client to control a third character and enter a game match. The third terminal device runs a third client of the game application, and a third user logs in to a third game account through the third client to control a second character and enter a game match. The first and second characters belong to different factions (i.e., opposing factions), the first and third characters belong to the same faction, and the second and third characters also belong to different factions. Exemplarily, the first character can be called the target virtual character, the second character is the target virtual character's opposing virtual character, and the third character is the target virtual character's teammate virtual character; similarly, the first user can be called the target user, the third user can be called the opposing user, and the second user can be called the teammate user.

[0024] Optionally, the server is the backend server of the aforementioned application.

[0025] In related technologies, during a game, a target user can control a target virtual character to attack an enemy virtual character. Furthermore, the target user can communicate information such as the enemy's health to a teammate virtual character via text or voice input. However, in these related technologies, transmitting information about the enemy virtual character to a teammate virtual character via text or voice input is cumbersome and leads to low game efficiency. In this disclosure, a message sending control on the first terminal device controlling the first character allows the location information of the second character to be sent with a single click to the second terminal device corresponding to a third character on the same team, simplifying the operation and improving game efficiency.

[0026] The method for sending role information provided in this disclosure will now be described in detail with reference to embodiments thereof.

[0027] According to an embodiment of this disclosure, a method for sending role information is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.

[0028] This embodiment provides a method for sending role information, which can be used in the first client of the first terminal device described above. The first terminal device may be a smartphone, tablet computer, laptop computer, PDA, desktop computer, game console, smart TV, smart wearable device, vehicle terminal, VR device, AR device, etc. Figure 2 This is a flowchart of a role information sending method according to an embodiment of this disclosure, such as... Figure 2 As shown, the process includes the following steps: In step S201, in response to the second character's health value in the game scene meeting a specified condition, an information sending control is displayed in the first graphical user interface.

[0029] A game scene refers to a scene constructed by the aforementioned virtual environment within the application. In this embodiment of the disclosure, a first client provides a first graphical user interface (GUI) through a first terminal device. This GUI displays at least a portion of the game scene, which includes a first character controlled by the first terminal device.

[0030] For example, the first graphical user interface corresponding to the first client can be referred to as the first display screen displayed by the first client. For example, the first display screen is used to display the field of view of the first character, that is, the first display screen includes the field of view of the first character. For example, after the start of the game, the first client uses a virtual camera to capture the field of view of the first character from the virtual environment, with the first character as the reference, and displays the field of view of the first character in the first display screen. For example, the field of view of the first character is used to display the first character, as well as the virtual environment and characters contained within the field of view of the first character.

[0031] In this embodiment of the disclosure, during a game match, the first client displays a message sending control in the first graphical user interface in response to a second character's health value in the game scene meeting a specified condition. The second character is a game character from a different faction than the first character, and the message sending control is used to send the second character's location information to the second client. The location information of the second character represents its position in the virtual environment.

[0032] For example, health points are the same as health points. For example, if the health points are not 0, the second character can move around in the virtual environment; if the health points are 0, the second character cannot move around in the virtual environment. For example, health points can also be referred to as remaining health points.

[0033] For example, the specified condition is used to determine whether the second character can be killed in one hit. One-hit kill means that the second character's remaining health is zero after the target skill is released. The target skill can be a specific skill (such as a skill with a required range, a skill with a required damage value, etc.). For example, if the second character's health meets the specified condition, the first client determines that the second character can be killed in one hit; conversely, if the second character's health does not meet the specified condition, the first client determines that the second character cannot be killed in one hit.

[0034] Optionally, the specified condition can be a preset condition, which can be flexibly set and adjusted according to the actual situation. For example, the specified condition can be that the percentage of health points is less than a percentage threshold (such as 5%, 5.5%, 6%, etc.); another example is that the specified condition can be that the health points are less than a health threshold (such as 5, 10, 20, etc.). Here, the percentage of health points is used to represent the proportion of remaining health points in the total health points.

[0035] Optionally, in this embodiment of the disclosure, to enhance the richness of the interface, when the first client displays the information sending control, it also displays the remaining health of the second character associated with the information sending control. By associating the remaining health with the information sending control, the sending player can intuitively confirm the low health status of the second character before performing the sending operation, avoiding accidental sending due to the target's health being restored by teammates or misjudgment. This reduces invalid location information transmission, lowers the data processing pressure on the server and the communication energy consumption of the terminal device, and improves the accuracy and timeliness of teamwork. Exemplarily, the information sending control and the remaining health of the second character can be displayed at any position in the first graphical user interface, such as the upper left corner, upper right corner, or right edge, etc., and this embodiment of the disclosure does not limit this. Exemplarily, the remaining health of the second character is displayed as a percentage of health. The percentage of health represents the proportion of remaining health in the total health.

[0036] For example, such as Figure 3 As shown, the first client displays a first character 31 and a second character 32. When the health value of the second character 32 meets the specified conditions, a display information sending control 33 and the remaining health value 34 of the second character are displayed.

[0037] Optionally, in this embodiment of the disclosure, after displaying the aforementioned information sending control, the first client cancels the display of the information sending control in response to the second character's health not meeting the specified condition, and / or the second character leaving the specified field of vision for more than a preset time. The specified field of vision includes: the field of vision of the first character or the field of vision of the faction to which the first character belongs. For example, the preset time can be any value, and can be flexibly set and adjusted according to actual circumstances.

[0038] For example, if the second character's health does not meet the specified conditions, the first client determines that the second character's remaining health has been restored, and thus determines that the second character cannot be killed in one hit. In order to reduce the energy consumption related to the information sending control, the first client cancels the display of the information sending control in a timely manner. Alternatively, if the second character leaves the specified field of view for more than a preset time, the first client determines that the second character's position is difficult to predict, and thus determines that even if the second character's health meets the specified conditions, it is impossible to kill the second character in one hit. In order to reduce the energy consumption caused by the release of invalid skills, the first client cancels the display of the information sending control in a timely manner.

[0039] In step S202, in response to the first operation on the information sending control, the location information of the second role is generated and sent to the second terminal device corresponding to the third role, so as to prompt the second role in the second terminal device.

[0040] In this embodiment, after displaying the aforementioned information sending control, the first client responds to a first operation on the information sending control, generates the location information of the second character, and sends the location information to the second terminal device corresponding to the third character, so as to provide a prompt to the second character on the second terminal device. The third character is a game character of the same faction as the first character.

[0041] Optionally, the first operation can be a click operation, a voice control operation, or a corresponding key press operation, etc., and this embodiment does not limit this.

[0042] The role information sending method provided in this embodiment sends the location information of a second role to a second client through an information sending control. This allows the second client to provide prompts regarding the second role. In response to the first operation of the information sending control, the location information of the second role is sent directly and quickly to the second client. This method is simple to operate, saves time, and allows the second client to quickly grasp the location information of the second role, thus improving game efficiency. Improved game efficiency helps shorten the overall game duration. The rapid completion of the game allows the device to quickly release relevant game information from local storage, reducing the operational pressure on the device and lowering the computational load and energy consumption of the terminal processor. This is beneficial for improving the normal operation and maintenance of the device. Furthermore, the simple location information sending operation allows the receiving terminal to perform accurate state prediction calculations based on real-time data streams, improving data processing efficiency and thus enhancing performance. The game system's overall responsiveness is improved. Furthermore, when the second character's health meets specified conditions, a message sending control is displayed. Health is used as a constraint to determine whether location information can be sent to the second client. For example, if the specified condition is health less than 5%, and the second character's health is less than 5%, it indicates the second character is likely to be killed instantly. In this case, if the first character has no finishing move, the location information can be flexibly sent to the second client via the message sending control to obtain assistance from the second client. This improves game interactivity while selectively displaying the message sending control to send location information, reducing interface clutter caused by prolonged display of the control and improving interface cleanliness. It also proactively reminds the first user to send location information, reducing the frequency of communication requests and thus lowering network bandwidth and server computing resources consumed by frequent communication.

[0043] In an exemplary embodiment, the "generating the location information of the second character" in step S202 above includes: Step S2021: Determine whether the second character is within the specified field of view.

[0044] In this embodiment of the disclosure, before generating the location information of the second character, the first client determines whether the second character is within a specified field of view.

[0045] Step S2022: If the second character is within the specified field of view, obtain the current position, current speed and current movement direction of the second character, and generate the position information of the second character based on the current position, current speed and current movement direction of the second character.

[0046] In this embodiment of the disclosure, if the second character is within a specified field of view, the first client obtains the current position, current speed and current direction of movement of the second character, and generates the position information of the second character based on the current position, current speed and current direction of movement of the second character.

[0047] For example, the position information of the second character includes the second character's current position, current speed, and current direction of movement. For example, when the second character is within a specified field of view, the position information of the second character can be referred to as the first position information, that is, the first position information includes the second character's current position, current speed, and current direction of movement.

[0048] For example, when the second character is within a specified field of view, the first client also sends the second character's remaining health points to the second terminal device corresponding to the third character in real time, so that a prompt message regarding the remaining health points is displayed on the second terminal device. At this time, the remaining health point prompt message displayed on the second terminal device is the remaining health point of the second character in the first client. That is to say, the remaining health point prompt message displayed on the second terminal device changes according to the remaining health point of the second character in the first client.

[0049] Step S2023: If the second character is outside the specified field of view, then obtain the second character's disappearance position, disappearance direction, and disappearance speed, and generate the second character's position information based on the second character's disappearance position, disappearance direction, and disappearance speed. The second character's position information includes the second character's current position, the second character's current speed, and the second character's current movement direction.

[0050] In this embodiment of the disclosure, if the second character is outside the specified field of view, the first client obtains the disappearance position, disappearance direction and disappearance speed of the second character, and generates the position information of the second character based on the disappearance position, disappearance direction and disappearance speed of the second character.

[0051] For example, the position information of the second character includes the disappearance position, the disappearance direction, and the disappearance speed of the second character. For example, the disappearance position refers to the last position the second character appears in the specified field of view before moving out of it; the disappearance direction refers to the direction the second character moves out of the specified field of view at the disappearance position; and the disappearance speed refers to the speed at which the second character moves out of the specified field of view at the disappearance position. For example, when the second character is not within the specified field of view, the position information of the second character can be called second position information, that is, the second position information includes the disappearance position, disappearance direction, and disappearance speed of the second character. For example, to further improve the efficiency of the second user's understanding of the second character, when the second character is outside the specified field of vision, the first client sends the remaining health of the second character to the second terminal device corresponding to the third character, so that a prompt message regarding the remaining health is displayed on the second terminal device. At this time, the remaining health prompt message displayed on the second terminal device refers to the health of the second character at the location where it disappeared. By sending the remaining health of the second character outside the field of vision, the receiving teammate can make a judgment based on the static health data and the current time: if the health is still within the range of a one-hit kill, then a precise pursuit is made based on the predicted range; if the health has recovered to a safe range, then the pursuit is abandoned in time to avoid wasting resources. This solves the problem of blind skill release caused by the unknown health status of the target outside the field of vision, significantly improves the hit rate of skill release and the accuracy of tactical decision-making, and reduces the occupation of device computing resources by invalid operations. The role information sending method provided in this embodiment determines the location information to be sent based on whether the second role is within a specified field of view. On the one hand, location information can be sent regardless of whether the second role is within a specified field of view, making the sending of location information more comprehensive and flexible. On the other hand, the location information is generated from multiple dimensions such as position, direction of movement, and speed of movement, which improves the efficiency of the second user's understanding of the second role.

[0052] In an exemplary embodiment, step S202 above, "sending location information to the second terminal device corresponding to the third role, so as to prompt the second role in the second terminal device," includes: Step S2024: Based on the location information of the second character, determine the third character whose skill's range of action covers the second character from among the game characters in the faction of the first character.

[0053] In this embodiment of the disclosure, after obtaining the location information of the second character, the first client determines the third character whose skill's range of action covers the second character from the game characters of the first character's faction, based on the location information of the second character.

[0054] For example, the first client obtains the game characters of the faction to which the first character belongs based on the first character; further, for each game character's skill, it determines whether the skill's effective range geometrically covers the position of the second character. For example, for a skill with a circular effective range, the distance between the second character's position and the skill's center point is calculated; if the distance is less than or equal to the radius, it is determined to cover the skill; for a straight-line projectile skill, it is determined whether the second character is located within a preset width range on the projectile ray; the game characters corresponding to the aforementioned target skills are identified as the third characters whose skill's effective range covers the second character.

[0055] For example, a game character has at least one skill control, which is used to control the game character to release the corresponding skill. For example, after acquiring the game character, the first client acquires the skill range corresponding to each game skill of the game character; further, if the skill range is the entire map area, the game skill is determined to be the target skill.

[0056] Step S2025: Send the location information and target skill to the second terminal device corresponding to the third character, so as to display the prompt information for the location information and target skill on the second terminal device.

[0057] In this embodiment, after acquiring the third character, the first client sends the location information and target skill to the second terminal device corresponding to the third character, so as to display a prompt message on the second terminal device regarding the location information and target skill. The target skill refers to a game skill whose scope covers the second character.

[0058] The character information sending method provided in this embodiment uses the location information of the second character to determine the third character whose skill's range of action covers the second character from the game characters of the same faction as the first character. Then, the location information and the target skill are sent to the second terminal device corresponding to the third character. The second terminal device displays a prompt message for the location information and the target skill. The target skill refers to a game skill whose skill's range of action covers the second character. That is, the location information and the target skill are only sent to the second client corresponding to the third character whose skill's range of action can kill the second character in one hit, reducing the transmission consumption caused by invalid information transmission.

[0059] This embodiment provides a method for receiving role information, which can be used as a second client in the aforementioned second terminal device. The second terminal device can be a smartphone, tablet computer, laptop computer, PDA, desktop computer, game console, smart TV, smart wearable device, vehicle terminal, VR device, AR device, etc. Figure 4 This is a flowchart of a role information sending method according to an embodiment of this disclosure, such as... Figure 4 As shown, the process includes the following steps: Step S401: Receive the location information of the second role sent by the first terminal device.

[0060] In this embodiment of the disclosure, after the first terminal device sends the location information of the second role, the second client receives the location information of the second role sent by the first terminal device.

[0061] For example, the first terminal device corresponds to a first role, which is in the same faction as the third role, while the second role is in a different faction. Location information is generated by a message sending control displayed on the first terminal device. The message sending control is displayed on the first terminal device when the second role's health meets a specified condition. For the first terminal device, the specific details of location information transmission are as follows: Figure 2 As shown in the examples, they will not be described in detail here.

[0062] Optionally, in this embodiment of the disclosure, the position information of the second character is the aforementioned first position information. When the second character is within the specified field of view, the first client generates the first position information based on the second character's current position, current speed, and current direction of movement. The first position information includes the second character's current position, current speed, and current direction of movement. Alternatively, in this embodiment of the disclosure, the position information of the second character is the aforementioned second position information. When the second character is not within the specified field of view, the first client generates the second position information based on the second character's disappearance position, disappearance speed, and disappearance direction. The second position information includes the second character's disappearance position, disappearance speed, and disappearance direction.

[0063] Optionally, in this embodiment of the disclosure, the specified field of view includes: the field of view of the first character or the field of view of the faction to which the first character belongs.

[0064] For example, the second client provides a second graphical user interface through a second terminal device, the second graphical user interface displaying at least a portion of the game scene, the game scene including a third character controlled by the second terminal device.

[0065] For example, the second graphical user interface corresponding to the second client can be referred to as the second display screen displayed by the second client. For example, the second display screen is used to display the field of view of the third character, that is, the second display screen includes the field of view of the third character. For example, after the start of the game, the second client uses a virtual camera to capture the field of view of the third character from the virtual environment, with the third character as a reference, and displays the field of view of the third character on the second display screen. For example, the field of view of the third character is used to display the third character, as well as the virtual environment and characters contained within the field of view of the third character.

[0066] Step S402: Based on the location information of the second character, provide prompts to the second character in the second graphical user interface.

[0067] In this embodiment of the disclosure, after obtaining the location information, the second client provides prompts to the second character in the second graphical user interface based on the location information of the second character.

[0068] The role information receiving method provided in this embodiment provides a prompt to the second role by using the location information of the second role sent by the first client. This improves the efficiency of obtaining relevant information about the second role, thereby improving game efficiency. The rapid completion of the game allows the device to quickly release the relevant information of the game from local storage, reducing the operating pressure on the device and improving the normal operation and maintenance of the device.

[0069] For example, when providing a prompt to the second character, the prompt includes information about the predicted range of the second character and / or the remaining health of the second character. In an exemplary embodiment, step S402 above includes: Step S4021: Based on the second position information, display the predicted range of the second role.

[0070] In this embodiment of the disclosure, after receiving the second location information, the second client displays the predicted range of the second character based on the second location information. The predicted range of the second character is used to characterize the predicted range of movement of the second character after the second character disappears from its location.

[0071] Specifically, step S4021 includes: Step S4021a: Obtain the disappearance position, disappearance direction, and disappearance speed of the second character from the position information of the second character.

[0072] In this embodiment of the disclosure, after obtaining the location information of the second character, the second client obtains the disappearance location, disappearance direction and disappearance speed of the second character from the location information of the second character.

[0073] Step S4021b: Obtain the time difference between the current time and the time when the location information of the second character is obtained; In this embodiment of the disclosure, after obtaining the location information of the second character, the second client obtains the time difference between the current time and the time when the location information of the second character was obtained.

[0074] Step S4021c: Based on the time difference, the disappearance position of the second character, the disappearance direction of the second character, and the disappearance speed of the second character, the predicted position of the second character is obtained.

[0075] In this embodiment of the disclosure, after obtaining the aforementioned time difference, the second client predicts the predicted position of the second character based on the time difference, the disappearance position of the second character, the disappearance direction of the second character, and the disappearance speed of the second character.

[0076] For example, the second client takes the disappearance position of the second character as the starting position, calculates the predicted distance of the second character based on the disappearance speed and time difference of the second character, and adds the predicted distance of the second character along the disappearance direction of the second character at the starting position to obtain the ending position, which is the predicted position of the second character.

[0077] Step S4021d: Based on the disappearance position of the second character and the predicted position of the second character, display the predicted range of the second character.

[0078] In this embodiment of the disclosure, after obtaining the location information of the second character, the second client displays the predicted range of the second character based on the disappearance location and the predicted location of the second character. The predicted range of the second character includes a first side and a second side. The extension of the first side passes through the disappearance location of the second character, and the extension of the second side passes through the predicted location of the second character. The extension of the second side is located outside the second graphical user interface (i.e., the second display screen). For example, as... Figure 5 As shown, the prediction range 56 of the second character is displayed in the second client, and the first side extension line 57 of the prediction range 56 of the second character passes through the disappearance position of the second character, and the second side extension line 58 of the prediction range 56 of the second character passes through the prediction position of the second character.

[0079] For example, when displaying the predicted range of the second character, the second client obtains the current position of the third character; further, a first triangular region is constructed in the virtual environment using the current position of the third character, the disappearance position of the second character, and the predicted position of the second character; further, the portion of the first triangular region within the third character's field of view is displayed. The portion of the first triangular region within the third character's field of view constitutes the predicted range of the second character. It should be noted that the above description of the display format of the predicted range of the second character is merely exemplary and explanatory. In practical applications, the first triangular region within the third character's field of view can be displayed in whole or in part, depending on the actual situation. Figure 5 As shown, for the first triangular area, only the portion within the third character's field of view is displayed.

[0080] For example, after obtaining the predicted position of the second character, the second client obtains the positional distance between the current position of the third character and the predicted position of the second character; if the positional distance is less than a distance threshold, a first distance marker is displayed in the predicted range of the second character; if the positional distance is greater than or equal to the distance threshold, a second distance marker is displayed in the predicted range of the second character. For example, as... Figure 5As shown, when the location distance is greater than a distance threshold, a second distance marker 59 is displayed in the prediction range 56 of the second role. The distance threshold can be any value, and can be flexibly set and adjusted according to actual conditions; this embodiment does not limit this.

[0081] It should be noted that the above description of the display method of the preset range of the second character, taking the second position information as an example, is similar to the description of the first position information. The current position of the second character is used as the disappearance position of the second character, the current speed of the second character is used as the disappearance speed of the second character, and the current movement direction of the second character is used as the disappearance direction of the second character. Based on the method described in steps S4021a-S4021d above, the predicted range of the second character is displayed.

[0082] Step S402: Display a message indicating the remaining health of the second character in the second graphical user interface.

[0083] For example, in this embodiment of the disclosure, after receiving the remaining health of the second character, the second client displays a prompt message regarding the remaining health of the second character in the second graphical user interface. The prompt message regarding the remaining health of the second character can be displayed in any location, such as around the target skill control, around the prediction range of the second character, around the third character, etc., and this embodiment of the disclosure does not limit this.

[0084] For example, the message indicating the remaining health of the second character includes the remaining health of the second character and the character's marker information. When displaying the message indicating the remaining health of the second character, the second client determines the marker information of the second character as the time difference between the current time and the time when the remaining health of the second character was obtained; further, the marker information and the remaining health of the second character are displayed. For example, as... Figure 5 As shown, after receiving the remaining health of the second character, the second client displays the remaining health of the second character 51 and the tag information 52.

[0085] For example, the second display screen includes a second map display window, which is used to zoom in and out to display the global map. The global map refers to the overall virtual environment after the start of the match. Optionally, after obtaining the location information of the second character, the second client displays the disappearance location and remaining health of the second character in the second map display window based on that location information. For example, as... Figure 5 As shown, the second client displays a second map display window 53. After obtaining the location information and remaining health of the second character, the second map display window 53 displays the location 54 where the second character disappeared and the health of the second character 55.

[0086] The character information receiving method provided in this embodiment uses second location information from the first client to directly render the interface and display the predicted range of the second character. This enriches the displayed content and the intuitive display of the second character's location information allows the second user to quickly grasp the relevant information of the second character, thereby improving the efficiency of the game. Moreover, the predicted range of the second character is used to characterize the predicted movement range of the second character after leaving the first character's field of vision. Reasonable prediction of the movement range of the second character helps to improve the accuracy of the battle against the second character, speed up the game process, and save time.

[0087] In addition, by using the disappearance location, direction, and speed of the second character to reasonably predict the movement range of the second character after leaving the first character's field of vision, and by directly displaying the predicted range of the second character, it is beneficial to improve the accuracy of combat against the second character.

[0088] This embodiment provides a method for receiving role information, which can be used as a second client in the aforementioned second terminal device. The second terminal device can be a smartphone, tablet computer, laptop computer, PDA, desktop computer, game console, smart TV, smart wearable device, vehicle terminal, VR device, AR device, etc. Figure 6 This is a flowchart of a role information sending method according to an embodiment of this disclosure, such as... Figure 6 As shown, the process includes the following steps: Step S601: Receive the location information of the second role sent by the first terminal device.

[0089] Step S602: Based on the location information of the second character, provide prompts to the second character in the second graphical user interface.

[0090] The above steps S601-602 and Figure 4 Steps S401-402 in the embodiment are similar; see details below. Figure 4 Examples are not detailed here.

[0091] Step S603: Based on the position information of the second character, obtain the target skill control from at least one skill control of the third character.

[0092] In this embodiment of the disclosure, the graphical user interface corresponding to the second client further includes at least one skill control corresponding to the third character, which is used to control the third character to release the corresponding game skill.

[0093] In this embodiment of the disclosure, after obtaining the location information of the second character, the second client obtains the target skill control from at least one skill control of the third character based on the location information of the second character.

[0094] In one possible implementation, the second client receives the target skill sent by the first client; further, the skill control corresponding to the target skill is determined as the target skill control.

[0095] In another possible implementation, to improve the real-time accuracy of the target skill control, the second client obtains the skill range of the game skill corresponding to the skill control of each third character; further, it obtains the predicted position of the second character based on the second character's position information; further, it determines the target game skill whose skill range includes the predicted position of the second character from the game skills, and determines the skill control corresponding to the target game skill as the target skill control. For example, when determining the target game skill, to improve the efficiency of determining the target game skill, if the skill range of the game skill is the entire map area, the second client directly determines the game skill as the target game skill; if the skill range of the game skill is not the entire map area, the second client obtains the predicted position of the second character based on the second character's position information, and determines the game skill as the target game skill if the predicted position of the second character is included in the skill range of the game skill.

[0096] For example, "full map range" refers to an area of ​​effect without range constraints. If the area of ​​effect of a game skill is the entire map range, then after the game skill is released, regardless of range constraints, the game skill will move continuously along the direction of action until it hits an obstacle. This obstacle can be a character or a virtual building.

[0097] Step S604: Display the marker information of the associated target skill control.

[0098] In this embodiment of the disclosure, after acquiring the target skill control, the second client associates the target skill control with displaying marker information. The target skill control is used to control the third character to release the target game skill.

[0099] For example, such as Figure 5 As shown, after determining that skill 3 is the target game skill, the second client marks the target skill control 60 corresponding to the target game skill, that is, displays the marking information 61 on the target skill control 60.

[0100] Step S605: In response to the second operation on the target skill control, play the displacement animation corresponding to the second character in the second graphical user interface.

[0101] In this embodiment of the disclosure, the second client, in response to a second operation on the target skill control, plays a displacement animation corresponding to the second character in the second graphical user interface. The displacement animation represents the movement path of the second character from its initial position to its predicted position.

[0102] For example, the initial position is either the current position or the disappearance position mentioned above. If the position information of the second character is the first position information mentioned above, then the initial position is the current position; if the position information of the second character is the second position information mentioned above, then the initial position is the disappearance position.

[0103] For example, while playing the displacement animation, the second client loops the displacement animation.

[0104] Optionally, the second operation can be a long press operation, a voice control operation, or a long press operation on a corresponding key, etc., and this embodiment does not limit this.

[0105] Step S606: Display skill direction indicators pointing to the predicted location in the second graphical user interface.

[0106] In this embodiment of the disclosure, upon detecting a second operation targeting a target skill control, the second client displays a skill direction indicator pointing to the predicted location in the second graphical user interface. The skill direction indicator is used to indicate the direction of action of the target game skill.

[0107] For example, the second map display window described above can also display the skill direction indicator.

[0108] In step S607, in response to a third operation that is consecutive to the second operation, the direction pointed to by the skill direction indicator is adjusted based on the third operation.

[0109] In this embodiment of the disclosure, after displaying the skill direction indicator, the second client responds to a third operation that is consecutive to the second operation and adjusts the direction pointed to by the skill direction indicator based on the third operation.

[0110] Optionally, the third operation can be a drag operation, a slide operation, etc., and this embodiment of the disclosure does not limit this.

[0111] In step S608, in response to the end of the third operation, the third character is controlled to release the target game skill in the direction indicated by the skill direction marker.

[0112] In this embodiment of the disclosure, the second client responds to the end of the third operation by controlling the third character to release the target game skill in the direction indicated by the skill direction marker.

[0113] For example, the second operation is pressing and holding without dragging, and the third operation is pressing and holding while dragging. Figure 7 As shown, when the second client detects a press-and-hold, no-drag operation on the target skill control 60, it determines that a second operation has been detected on the target skill control. It then plays the corresponding displacement animation 71 of the second character in the second graphical user interface and displays a skill direction indicator 72 pointing to the predicted position. Subsequently, if the second client detects a drag operation on the target skill control 60 based on the second operation, it determines that a third operation has been detected on the target skill control 60 (i.e., the second operation changes to the third operation), and adjusts the direction pointed to by the skill direction indicator 72 based on the third operation. Then, if the second client detects a release operation on the target skill control 60 based on the third operation, it determines that the third operation has ended and controls the third character to release the target game skill along the direction pointed to by the skill direction indicator 72.

[0114] The character information receiving method provided in this embodiment determines the target game skill as the skill whose range of action includes the predicted position of the second character. Then, the target skill control is marked, that is, the game skill that may hit the second character is marked, so as to remind the second user to use the target game skill in time, which is conducive to improving the efficiency of the game.

[0115] In addition, the game skills that determine the scope of the skill's effect include the target game skill at the predicted position of the second character. The skill control corresponding to the target game skill is identified as the target skill control. The scope of the skill's effect is then used to further determine whether it is the target game skill. Accurately marking game skills that may hit the second character helps improve the efficiency of the game.

[0116] In addition, by performing a second operation on the target skill control, the movement animation of the second character is displayed, allowing the second user to keep track of the second character's movement even when the second user does not see the second character, and thus react in a timely manner based on the movement, which helps to improve the efficiency of the game.

[0117] In addition, the second operation targeting the skill displays the movement animation of the second character and the direction of the target skill's effect. The third operation, which follows the second operation, changes the direction of the effect. After the third operation, the third character is controlled to release the target skill. For the same target skill control, different operations correspond to different functions, which helps to ensure the simplicity of the interface compared to one control corresponding to one function. Moreover, the flexible change of the direction of effect improves the flexibility and strategy of the game.

[0118] The above describes the method for sending and receiving role information from the perspective of interacting with the location information of the second role. In practical applications, the first client can also receive the location information of the fourth role from the second client to display a prompt message about the fourth role's location. For example, the fourth role is the aforementioned second role, or the fourth role is in the same camp as the aforementioned second role.

[0119] This embodiment also provides a role information sending device, which is used to implement the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.

[0120] This embodiment provides a character information sending device, which provides a graphical user interface through a first terminal device. The first graphical user interface displays at least a portion of the game scene, and the game scene includes a first character controlled by the first terminal device, such as... Figure 8 As shown, it includes: The control display module 801 is used to display an information sending control in the graphical user interface in response to the second character's health value in the game scene meeting a specified condition. The second character is a game character from a different faction than the first character. The information sending module 802 is used to generate the location information of the second character in response to a first operation on the information sending control, and send the location information to the second terminal device corresponding to the third character, so as to provide a prompt to the second character in the second terminal device; wherein the third character is a game character of the same faction as the first character.

[0121] In some alternative embodiments, the apparatus further includes: The health display module is used to display the remaining health of the second character in conjunction with the information sending control.

[0122] In some alternative embodiments, the apparatus further includes: The control cancellation module is used to cancel the display of the information sending control in response to the second character's health value not meeting the specified condition, and / or the second character leaving the specified field of vision for more than a preset time; wherein, the specified field of vision includes: the field of vision of the first character or the field of vision of the faction to which the first character belongs.

[0123] In some alternative implementations, the information sending module 802 includes: A field-of-view determination unit is used to determine whether the second character is located within the specified field of view. The information generation unit is used to, if so, obtain the current position, current speed and current direction of movement of the second character, and generate the position information of the second character based on the current position, current speed and current direction of movement of the second character; The information generation unit is further configured to, if not, acquire the disappearance position, disappearance direction and disappearance speed of the second character, and generate the position information of the second character based on the disappearance position, disappearance direction and disappearance speed of the second character.

[0124] In some optional implementations, the information sending module 802 further includes: The character determination unit is used to determine, based on the location information of the second character, a third character whose skill effect range covers the second character from the game characters of the faction to which the first character belongs; An information sending unit is used to send the location information and the target skill to the second terminal device corresponding to the third character, so as to display a prompt message for the location information and the target skill on the second terminal device; wherein, the target skill refers to a game skill whose scope of action covers the second character.

[0125] In some alternative embodiments, the apparatus further includes: The health value sending unit is used to send the remaining health value of the second character to the second terminal device corresponding to the third character when the second character is outside the specified field of view, so as to display a prompt message about the remaining health value on the second terminal device.

[0126] The role information sending device provided in this disclosure can execute the role information sending method provided in any embodiment of this disclosure, and has the corresponding functional modules and beneficial effects for executing the method. Further functional descriptions of the various modules and units described above are the same as in the corresponding embodiments described above, and will not be repeated here.

[0127] This embodiment provides a character information receiving device, which provides a second graphical user interface through a second terminal device. The second graphical user interface displays at least a portion of the game scene, and the game scene includes a third character controlled by the second terminal device, such as... Figure 9 As shown, it includes: The information receiving module 901 is used to receive the location information of the second character sent by the first terminal device. The first terminal device corresponds to the first character, the first character and the third character are in the same camp, and the second character and the third character are in different camps. The location information is generated by the information sending control displayed in the first terminal device. The information sending control is displayed in the first terminal device when the second character's health value meets the specified condition. The information display module 902 is used to provide prompts to the second character in the second graphical user interface based on the location information of the second character.

[0128] In some alternative implementations, the location information of the second role includes: When the second character is within the specified field of view, first position information is generated based on the second character's current position, current speed, and current direction of movement; or When the second character is not within the specified field of view, the second position information is generated based on the disappearance position, disappearance speed and disappearance direction of the second character.

[0129] In some alternative implementations, the specified field of view includes: the field of view of the first character or the field of view of the faction to which the first character belongs.

[0130] In some optional embodiments, the second graphical user interface further includes: at least one skill control corresponding to the third character, the skill control being used to control the third character to release corresponding game skills; the device further includes: The control acquisition module is used to acquire a target skill control from at least one skill control of the third character based on the position information of the second character. The control tagging module is used to associate the target skill control with display tagging information.

[0131] In some alternative implementations, the control acquisition module is used for: Obtain the skill range of the game skill corresponding to the skill control of each of the aforementioned third characters; The predicted location of the second character is obtained based on the location information of the second character; The game skills are selected from the game skills to determine the target game skill whose range of action includes the predicted position of the second character, and the skill control corresponding to the target game skill is determined to be the target skill control.

[0132] In some alternative embodiments, the apparatus further includes: An animation playback module is used to play a displacement animation corresponding to the second character in the second graphical user interface in response to a second operation on the target skill control; wherein the displacement animation is used to represent the movement path of the second character from the initial position to the predicted position.

[0133] In some alternative embodiments, the apparatus further includes: A direction display module is used to display a skill direction indicator pointing to the predicted location in the second graphical user interface; wherein the skill direction indicator is used to indicate the direction of action of the target game skill; A direction change module is configured to respond to a third operation that occurs consecutively with the second operation, and to control and adjust the direction pointed to by the skill direction identifier based on the third operation; The skill release module is used to control the third character to release the target game skill in the direction indicated by the skill direction marker in response to the end of the third operation.

[0134] In some alternative implementations, the information display module 902 includes: The range display unit is used to display the predicted range of the second character based on the position information of the second character; wherein the predicted range of the second character is used to characterize the predicted range of movement of the second character after the disappearance position of the second character.

[0135] In some optional implementations, the range display unit is used for: Obtain the disappearance location, disappearance direction, and disappearance speed of the second character from the second character's location information; Get the time difference between the current moment and the moment when the location information of the second character is obtained; Based on the time difference, the disappearance position of the second character, the disappearance direction of the second character, and the disappearance speed of the second character, the predicted position of the second character is obtained; Based on the disappearance location of the second character and the predicted location of the second character, the predicted range of the second character is displayed.

[0136] Figure 10 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this disclosure.

[0137] The following is a detailed reference. Figure 10 The diagram illustrates a structural schematic suitable for implementing an electronic device according to embodiments of the present disclosure. The electronic device may include a processor (e.g., a central processing unit, graphics processor, etc.) 1001, which can perform various appropriate actions and processes according to a program stored in read-only memory (ROM) 1002 or a program loaded from memory 1008 into random access memory (RAM) 1003. The RAM 1003 also stores various programs and data required for the operation of the electronic device. The processor 1001, ROM 1002, and RAM 1003 are interconnected via a bus 1004. An input / output (I / O) interface 1005 is also connected to the bus 1004.

[0138] Typically, the following devices can be connected to the I / O interface 1005: input devices 1006 including, for example, a touchscreen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 1007 including, for example, a liquid crystal display (LCD), speaker, vibrator, etc.; memory devices 1008 including, for example, magnetic tape, hard disk, etc.; and communication devices 1009. Communication device 1009 allows electronic devices to exchange data via wireless or wired communication with other devices. Although Figure 10 Electronic devices with various devices are shown, but it should be understood that it is not required to implement or have all of the devices shown, and more or fewer devices may be implemented or have instead.

[0139] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication device 1009, or installed from memory 1008, or installed from ROM 1002. When the computer program is executed by processor 1001, it performs the functions defined in the role information sending method of embodiments of this disclosure.

[0140] Figure 10 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments disclosed herein.

[0141] This disclosure also provides a computer-readable storage medium in which the methods described in this disclosure can be implemented in hardware or firmware, or implemented as recordable on a storage medium, or implemented as computer code downloaded over a network and originally stored on a remote storage medium or a non-transitory machine-readable storage medium and subsequently stored on a local storage medium. Thus, the methods described herein can be processed by software stored on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. The storage medium can be a magnetic disk, optical disk, read-only memory, random access memory, flash memory, hard disk, or solid-state drive, etc.; further, the storage medium can also include combinations of the above types of memory. It is understood that computers, processors, microprocessor controllers, or programmable hardware include storage components capable of storing or receiving software or computer code. When the software or computer code is accessed and executed by the computer, processor, or hardware, the role information sending method shown in the above embodiments is implemented.

[0142] For example, the electronic device is the target terminal device.

[0143] A portion of this disclosure can be applied to computer program products, such as computer program instructions, which, when executed by a computer, can invoke or provide methods and / or technical solutions according to this disclosure through the operation of the computer. Those skilled in the art will understand that the forms in which computer program instructions exist in a computer-readable medium include, but are not limited to, source files, executable files, and installation package files. Accordingly, the ways in which computer program instructions are executed by a computer include, but are not limited to: the computer directly executing the instructions; the computer compiling the instructions and then executing the corresponding compiled program; the computer reading and executing the instructions; or the computer reading and installing the instructions and then executing the corresponding installed program. Here, the computer-readable medium can be any available computer-readable storage medium or communication medium accessible to a computer.

[0144] Although embodiments of the present disclosure have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the present disclosure, and such modifications and variations all fall within the scope defined by the appended claims.

Claims

1. A method for sending role information, characterized in that, The method includes providing a first graphical user interface (GUI) via a first terminal device, the GUI displaying at least a portion of a game scene, the game scene including a first character controlled by the first terminal device, and the method comprising: In response to the second character's health value in the game scene meeting a specified condition, a message sending control is displayed in the first graphical user interface, wherein the second character is a game character from a different faction than the first character; In response to a first operation on the information sending control, location information of the second character is generated and the location information is sent to a second terminal device corresponding to the third character, so as to provide a prompt to the second character on the second terminal device; wherein, the third character is a game character of the same faction as the first character.

2. The method according to claim 1, characterized in that, The method further includes: The associated information sending control displays the remaining health of the second character.

3. The method according to claim 1, characterized in that, After the step of displaying the information sending control in the first graphical user interface, the method further includes: In response to the second character's health not meeting the specified condition, and / or the second character leaving the specified field of view for more than a preset time, the information sending control is canceled from display; The specified field of view includes: the field of view of the first character or the field of view of the faction to which the first character belongs.

4. The method according to claim 1, characterized in that, The steps for generating the location information of the second character include: Determine whether the second character is within the specified field of view; If so, obtain the current position, current speed, and current direction of movement of the second character, and generate the position information of the second character based on the current position, current speed, and current direction of movement of the second character; If not, obtain the disappearance position, disappearance direction, and disappearance speed of the second character, and generate the position information of the second character based on the disappearance position, disappearance direction, and disappearance speed of the second character.

5. The method according to claim 1, characterized in that, The step of sending the location information to the second terminal device corresponding to the third role, so as to prompt the second role in the second terminal device, includes: Based on the location information of the second character, determine the third character whose skill's range of action covers the second character from the game characters in the faction of the first character; The location information and target skill are sent to the second terminal device corresponding to the third character, so that a prompt message for the location information and the target skill is displayed on the second terminal device; wherein, the target skill refers to a game skill whose scope of action covers the second character.

6. The method according to claim 4, characterized in that, The method further includes: When the second character is outside the designated field of view, the remaining health of the second character is sent to the second terminal device corresponding to the third character, so that a prompt message regarding the remaining health is displayed on the second terminal device.

7. A method for receiving character information, characterized in that, The method includes providing a second graphical user interface (GUI) via a second terminal device, the GUI displaying at least a portion of a game scene, the game scene including a third character controlled by the second terminal device, and the method comprising: The system receives location information of a second character sent by a first terminal device, wherein the first terminal device corresponds to the first character, the first character is in the same faction as the third character, and the second character is in a different faction from the third character. The location information is generated when an information sending control displayed on the first terminal device is triggered, and the information sending control is displayed on the first terminal device when the second character's health value meets a specified condition. Based on the location information of the second character, prompts are given to the second character in the second graphical user interface.

8. The method according to claim 7, characterized in that, The location information of the second character includes: When the second character is within the specified field of view, first position information is generated based on the second character's current position, current speed, and current direction of movement; or When the second character is not within the specified field of view, the second position information is generated based on the disappearance position, disappearance speed and disappearance direction of the second character.

9. The method according to claim 8, characterized in that, The specified field of view includes: the field of view of the first character or the field of view of the faction to which the first character belongs.

10. The method according to claim 7, characterized in that, The second graphical user interface further includes: at least one skill control corresponding to the third character, the skill control being used to control the third character to release corresponding game skills; The method further includes: Based on the location information of the second character, obtain the target skill control from at least one skill control of the third character; The associated target skill control displays the marker information.

11. The method according to claim 10, characterized in that, The step of obtaining a target skill control from at least one skill control of the third character based on the location information of the second character includes: Obtain the skill range of the game skill corresponding to the skill control of each of the aforementioned third characters; The predicted location of the second character is obtained based on the location information of the second character; The game skills are selected from the game skills to determine the target game skill whose range of action includes the predicted position of the second character, and the skill control corresponding to the target game skill is determined to be the target skill control.

12. The method according to claim 11, characterized in that, The method further includes: In response to a second operation on the target skill control, a displacement animation corresponding to the second character is played in the second graphical user interface; wherein the displacement animation is used to represent the movement path of the second character from the initial position to the predicted position.

13. The method according to claim 12, characterized in that, The method further includes: The second graphical user interface displays a skill direction indicator pointing to the predicted location; wherein the skill direction indicator is used to indicate the direction of action of the target game skill; In response to a third operation that occurs consecutively with the second operation, the direction pointed to by the skill direction indicator is adjusted based on the third operation; In response to the end of the third operation, the third character is controlled to release the target game skill in the direction indicated by the skill direction marker.

14. The method according to claim 8, characterized in that, When the second character is not within the specified field of view, the step of prompting the second character in the second graphical user interface based on the location information of the second character includes: Based on the second location information, the predicted range of the second character is displayed; wherein, the predicted range of the second character is used to characterize the predicted range of movement of the second character after the disappearance position of the second character.

15. The method according to claim 14, characterized in that, The step of displaying the predicted range of the second character based on the location information of the second character includes: Obtain the disappearance location, disappearance direction, and disappearance speed of the second character from the second character's location information; Get the time difference between the current moment and the moment when the location information of the second character is obtained; Based on the time difference, the disappearance position of the second character, the disappearance direction of the second character, and the disappearance speed of the second character, the predicted position of the second character is obtained; Based on the disappearance location and the predicted location of the second character, the predicted range of the second character is displayed.

16. The method according to any one of claims 7-15, characterized in that, The step of providing prompts to the second character based on the second character's location information also includes: The second graphical user interface displays a message indicating the remaining health of the second character.

17. A character information sending device, characterized in that, A graphical user interface is provided through a first terminal device, the first graphical user interface displaying at least a portion of the game scene, the game scene including a first character controlled by the first terminal device, the device comprising: The control display module is used to display an information sending control in the graphical user interface in response to the second character's health value in the game scene meeting a specified condition, wherein the second character is a game character from a different faction than the first character; The information sending module is used to generate the location information of the second character in response to a first operation on the information sending control, and send the location information to the second terminal device corresponding to the third character, so as to provide a prompt to the second character on the second terminal device; wherein the third character is a game character of the same faction as the first character.

18. A character information receiving device, characterized in that, A second graphical user interface is provided via a second terminal device, the second graphical user interface displaying at least a portion of the game scene, the game scene including a third character controlled by the second terminal device, the device comprising: The information receiving module is used to receive the location information of the second character sent by the first terminal device, wherein the first terminal device corresponds to the first character, the first character is in the same camp as the third character, and the second character is in a different camp from the third character. The location information is generated by triggering an information sending control displayed in the first terminal device. The information sending control is displayed in the first terminal device when the second character's health value meets a specified condition. The information display module is used to provide prompts to the second character in the second graphical user interface based on the location information of the second character.

19. An electronic device, characterized in that, include: A memory and a processor are communicatively connected to each other. The memory stores computer instructions, and the processor executes the computer instructions to perform the character information sending method according to any one of claims 1 to 6, or the character information receiving method according to any one of claims 7 to 16.

20. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions for causing the computer to perform the role information sending method according to any one of claims 1 to 6, or the role information receiving method according to any one of claims 7 to 16.