Message processing method, device, electronic device and computer program
The implementation of quick reply controls in message processing systems for virtual scenes improves communication efficiency and semantic accuracy by allowing players to edit and send custom messages, addressing the inefficiencies of fixed text and repeated editing in existing systems.
Patent Information
- Application Number
- JP2024532445
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2022-07-01
- Filing Date
- 2023-05-05
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2043-05-05
AI Technical Summary
Existing message processing systems in virtual scenes, such as multiplayer online battle arenas, suffer from low semantic accuracy and communication efficiency due to the use of fixed text messages and the need for repeated editing, leading to inefficient hardware resource utilization.
Implementing a message processing method and device that allows for quick reply controls, enabling players to edit and send messages with custom content, which are then quickly replied to by other players, improving semantic accuracy and communication efficiency.
Enhances communication efficiency by allowing players to accurately express their intentions through custom editing and quick replies, reducing the need for repeated message editing and optimizing hardware resource usage.
Smart Images

Figure 2024544640000001_ABST
Abstract
Description
[Technical field]
[0001] (CROSS-REFERENCE TO RELATED APPLICATIONS) This application claims priority to a Chinese patent application bearing application number 202210774808.X, filed with the China Patent Office on July 1, 2022, the entire contents of which are incorporated herein by reference.
[0002] The present application relates to the technical fields of computer technology virtualization and human-computer interaction, and in particular to a message processing method, device, electronic device, storage medium and program product. [Background technology]
[0003] With the development of computer technology, electronic devices can realize richer and more graphic virtual scenes, where users can get virtualized sensations in terms of visual and auditory aspects in the virtual scene, and at the same time, can control and get feedback to have an interactive match between the virtual objects of one team and the virtual objects of the other team in the virtual scene.
[0004] In the related technology, the interaction between the player objects in the virtual scene battle can be performed based on a fixed text set by the system, and the player object selects the fixed text and then transmits it, but since it is a fixed text, the accuracy of the semantic expression is low. The player object can also apply the provided typing control to edit a message and transmit it, but the edited message is displayed in the chat area, and the opponent needs to edit the message again to reply, which results in low communication efficiency between the player objects in the battle and low utilization of the hardware resources of the device. Summary of the Invention
[0005] Embodiments of the present application provide a message processing method, device, electronic device, computer-readable storage medium, and computer program product that can realize editing of messages carrying quick reply controls and quick reply of messages in a battle, thereby improving communication efficiency between virtual objects.
[0006] The technical solution of the embodiments of the present application is realized as follows.
[0007] An embodiment of the present application provides a message processing method executed by a first terminal, the message processing method including:
[0008] displaying a message control in a competition interface of a first player object in a virtual scene, the message control being used to edit a message carrying a quick reply control, the quick reply control being used to quickly reply to the message;
[0009] in response to a transmission command for the edited message based on the message control, transmitting the edited message to a second terminal of a second player object;
[0010] Here, when the message is displayed on a terminal of the second player object, the quick reply control is carried, and when the second player object triggers the quick reply control, a quick reply to the message is realized.
[0011] An embodiment of the present application further provides a message processing device, the message processing device including: a first display module; and a message sending module;
[0012] the first display module is configured to display a message control in a match interface of a first player object in a virtual scene, the message control being used to edit a message carrying a quick reply control, the quick reply control being used to quickly reply to the message;
[0013] the message sending module is configured to send the edited message to a second terminal of the second player object in response to a sending command for the edited message based on the message control;
[0014] When the message is displayed on a terminal of the second player object, it carries the quick reply control, and when the second player object triggers the quick reply control, it performs a quick reply to the message.
[0015] An embodiment of the present application further provides a message processing method, executed by a second terminal, the message processing method including:
[0016] displaying a message sent by the first player object in a match interface of a second player object, the message carrying a quick reply control, the first player object and the second player object being in the same match;
[0017] In response to a trigger operation on the quick reply control, transmitting a reply message corresponding to the message to a first terminal of the first player object.
[0018] An embodiment of the present application further provides a message processing device, the message processing device including: a second display module; and a message reply module;
[0019] the second display module is configured to display a message sent by the first player object in a match interface of a second player object, the message carrying a quick reply control, and the first player object and the second player object are in the same match;
[0020] The message reply module is configured to transmit a reply message corresponding to the message to a first terminal of the first player object in response to a trigger operation on the quick reply control.
[0021] An embodiment of the present application further provides an electronic device, the electronic device comprising:
[0022] a memory for storing executable instructions;
[0023] A processor that, when executing computer-executable instructions stored in the memory, implements the above message processing method provided by the embodiments of the present application.
[0024] An embodiment of the present application further provides a computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, causes the processor to implement the above-mentioned message processing method provided by the embodiment of the present application.
[0025] An embodiment of the present application further provides a computer program product including a computer program or instructions, which, when executed by a processor, causes the processor to implement the above message processing method provided by the embodiment of the present application.
[0026] The embodiments of the present application have the following beneficial effects:
[0027] In the battle interface of the first player object, a message control capable of editing a message having a quick reply function is provided, and the first player object can custom edit the message based on the message control. In addition, since the player object independently edits the message based on its own will, the edited message can accurately express the intention of the first player object, and the accuracy of semantic expression is improved.
[0028] After the first player object completes editing and sends a message, when the message is displayed on the terminal of the second player object, a quick reply control for quick replying to the message is carried, so that the second player object does not need to edit the reply message again, and a quick reply to the message can be realized based on the quick reply control carried by the message, thereby improving the efficiency of message replying, the efficiency of communication with the first player object, and the utilization rate of hardware resources of the device. [Brief description of the drawings]
[0029] [Figure 1A] ~ [Figure 1B] FIG. 1 is a schematic diagram of an interface for message processing in a virtual scene provided by the related art. [Diagram 2] 1 is a schematic diagram of the architecture of a message processing system 100 provided by an embodiment of the present application. [Figure 3A] ~ [Figure 3B] FIG. 5 is a schematic diagram showing the configuration of an electronic device 500 for implementing a message processing method provided by an embodiment of the present application. [Figure 4] 4 is a flowchart of a message processing method provided by an embodiment of the present application; [Diagram 5] FIG. 2 is a schematic diagram of interaction rules of player objects provided by an embodiment of the present application; [Figure 6] FIG. 2 is a schematic diagram of a battle interface provided by an embodiment of the present application. [Figure 7A] ~ [Figure 7B] FIG. 2 is a schematic diagram of an interface for selecting a message display mode provided by an embodiment of the present application; [Figure 8] FIG. 2 is a schematic diagram of an interface for displaying history messages provided by an embodiment of the present application; [Figure 9A] ~ [Figure 9D] FIG. 2 is a schematic diagram of a message with a quick reply function provided by an embodiment of the present application. [Figure 10] FIG. 2 is a schematic diagram of a message reply interface provided by an embodiment of the present application; [Figure 11] 4 is a flowchart of a message processing method provided by an embodiment of the present application; [Figure 12] FIG. 2 is a schematic diagram of an interface of a message processing method provided by an embodiment of the present application; [Figure 13] FIG. 2 is a schematic diagram of player interactions in a Wheel battle game provided by an embodiment of the present application. [Figure 14] FIG. 2 is a schematic diagram of a message broadcast by a server provided by an embodiment of the present application; DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0030] In order to make the objectives, technical solutions and advantages of the present application clearer, the present application will be described in more detail below with reference to the drawings. The described embodiments do not limit the present application, and all other embodiments that can be obtained by those skilled in the art without any creative efforts are within the scope of protection of the present application.
[0031] In the following, references to "some embodiments" describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same or different subsets of all possible embodiments, and may be combined with each other without inconsistency.
[0032] The terms "first / second / third" and the like used herein are not intended to limit a particular order but are intended to distinguish between similar objects. It is to be understood that "first / second / third" can be used to interchange a particular order or order when appropriate, so that the embodiments of the present application described herein can be performed in an order other than that shown or described herein.
[0033] Unless otherwise specified, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art. The terms used herein are used only to describe the embodiments of the present application and are not intended to limit the present application.
[0034] Before describing the embodiments of the present application in detail, the nouns and terms related to the embodiments of the present application will be explained. The nouns and terms related to the embodiments of the present application will be explained as follows.
[0035] 1) Client: An application running on a terminal that provides various services, such as a game client, an instant messaging client, and a video playback client.
[0036] 2) Respond to: Represents a condition or state on which an operation to be performed depends, and when the dependent condition or state is met, the one or more operations to be performed may be in real time or may have a set delay, and unless otherwise specified, there is no restriction on the execution order of the multiple operations to be performed.
[0037] 3) Virtual Scene: A virtual scene displayed (or provided) when an application is executed on a terminal, the virtual scene may be a simulation environment for the real world, a semi-simulated semi-fictional virtual environment, or a completely fictional virtual environment. The virtual scene may be any one of a 2D virtual scene, a 2.5D virtual scene, or a 3D virtual scene, and the embodiments of the present application do not limit the dimensions of the virtual scene. For example, the virtual scene may include sky, land, sea, etc., the land may include environmental elements such as desert, city, etc., and a user can control virtual objects to move within the virtual scene. In some embodiments, the virtual scene may be a game, for example, a multiplayer online battle arena game (MOBA).
[0038] 4) Virtual objects: images of different people or things that can be interacted with in the virtual scene, or movable objects in the virtual scene. The movable objects can be virtual people, virtual animals, animated characters, etc., for example, people, animals displayed in the virtual scene.
[0039] 5) Player Object: In a virtual scene, a player object is used to control the interaction of virtual objects in the virtual scene, for example, an object that engages in combat in a game, and one player object can control one or multiple virtual objects.
[0040] In the related art, interactions between player objects in a battle in a virtual scene can be realized by employing the following message processing scheme.
[0041] Referring to Fig. 1A, Fig. 1A is a schematic diagram of an interface for message processing in a virtual scene provided by the related art, and a player object can enter a message selection interface 11 shown in Fig. 1A through a message sending control in the interface, and the message selection interface 11 provides a plurality of selectable fixed message texts for the player object, from which the player object selects and sends. As shown in Fig. 1A, when a player object selects and sends "I'm here to catch you", if such a message sending method is adopted, since it is a fixed text, it may not be possible to accurately express the subjective intention of the player object, and the accuracy of semantic expression is low.
[0042] Still referring to Fig. 1B, Fig. 1B is a schematic diagram of a message processing interface in a virtual scene provided by the related art, in which a player object can realize custom editing of a message based on a typing control 12 provided by a message selection interface 11, and the edited message is displayed in a chat area 13 of the interaction interface after being sent. When a message is displayed in the chat area, the strength of the alert attention call to the player is low, and the opponent needs to edit the message again to reply, so that the communication efficiency between the player objects in the battle is low, which wastes the hardware resources of the device and at the same time reduces the utilization rate of the hardware resources of the device.
[0043] Based on this, the embodiments of the present application propose a message processing system, a method, an apparatus, an electronic device, a computer-readable storage medium, and a computer program product, which can realize editing of a message carrying a quick reply control and quick reply of a message in a battle, thereby improving the communication efficiency between virtual objects. Each of them will be described below.
[0044] Based on the above description of the nouns and terms in the embodiment of the present application, the message processing system provided by the embodiment of the present application will be described first. Referring to Fig. 2, Fig. 2 is a schematic diagram of the architecture of the message processing system 100 provided by the embodiment of the present application, in order to support an exemplary application, the terminal 400-1 and the terminal 400-2 connect to the server 200 through the network 300, the network 300 may be a WAN or a LAN, or a combination of both, and realize data transmission using wireless or wired links.
[0045] a terminal 400-1 of a first player object displays a message control in a battle interface of the first player object in a virtual scene, the message control being used to edit a message carrying a quick reply control, and the quick reply control being used to quickly reply to the message;
[0046] in response to a transmission command for the edited message based on the message control, transmitting the edited message to a server 200;
[0047] the server 200 is configured to transmit the message transmitted by the terminal 400-1 to the terminal 400-2 of the second player object;
[0048] Terminal 400-2 is configured to display a battle interface of a second player object in the same battle as the first player object and display a received message in the battle interface, and a quick reply control for quick replying to the message carried by the message realizes a quick reply to the message when the second player object triggers the quick reply control.
[0049] In some embodiments, the message processing method provided by the embodiments of the present application may be implemented by various electronic devices or computer devices, for example, independently by a terminal, independently by a server, or jointly by a server and a terminal. The embodiments of the present application may be applied to various scenarios, including but not limited to cloud technology, virtual reality, artificial intelligence, smart transportation, driving assistance, game applications, etc.
[0050] In some embodiments, the electronic device implementing the message processing method provided by the embodiment of the present application may be various types of terminal devices or servers. Here, the server (e.g., server 200) may be an independent physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDNs), big data, and artificial intelligence platforms. The terminals (e.g., terminals 400-1 and 400-2) may be, but are not limited to, smartphones, tablet computers, notebook computers, desktop computers, smart voice interaction devices (e.g., smart speakers), smart home appliances (e.g., smart TVs), smart watches, in-vehicle terminals, etc. The terminals and servers may be directly or indirectly connected via wired or wireless communication, and the embodiment of the present application is not limited thereto.
[0051] In some embodiments, the terminal or server can realize the message processing method provided by the embodiments of the present application by executing a computer program. For example, the computer program may be a native program or software module in an operating system, a native application (APP), i.e., a program that needs to be installed in an operating system to run, an applet, i.e., a program that can be run simply by downloading it to a browser environment, or an applet that can be embedded in any APP. In short, the above computer program may be any form of application, module, or plug-in.
[0052] The following describes an electronic device implementing a message processing method provided by an embodiment of the present application. Referring to FIG. 3A, FIG. 3A is a schematic diagram showing a configuration of an electronic device 500 implementing a message processing method provided by an embodiment of the present application. Taking the electronic device 500 as an example of the terminal shown in FIG. 2, the electronic device 500 provided by the embodiment of the present application includes:
[0053] The electronic device 500 includes at least one processor 510, a memory 550, at least one network interface 520, and a user interface 530. Each component in the electronic device 500 is coupled via a bus system 540. As can be understood, the bus system 540 is used to realize the connection communication between these components. The bus system 540 includes a power bus, a control bus, and a status signal bus in addition to a data bus. However, for the sake of clarity, various buses are labeled as the bus system 540 in FIG. 3A.
[0054] The processor 510 may be, for example, an integrated circuit chip with signal processing capabilities, such as a general purpose processor, a digital signal processor (DSP), a programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, etc., where the general purpose processor may be a microprocessor or any conventional processor, etc.
[0055] The user interface 530 includes one or more output devices 531 that enable media content to be presented, including one or more speakers and / or one or more visual displays. The user interface 530 further includes one or more input devices 532 that facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.
[0056] Memory 550 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state memory, hard drives, optical drives, etc. Memory 550 includes one or more storage devices located physically separate from processor 510.
[0057] The memory 550 may include volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory may be Read Only Memory (ROM), and the volatile memory may be Random Access Memory (RAM). The memory 550 described in the embodiments of the present application may include any suitable type of memory.
[0058] In some embodiments, memory 550 may store data to support various operations, examples of which include programs, modules, and data structures, or a subset or superset thereof, as illustrated below.
[0059] The operating system 551 includes system programs for handling various basic system services and performing hardware-related tasks, such as a frame layer, a core library layer, and a drive layer, and is configured to realize various basic operations and handle hardware-based tasks;
[0060] The network communications module 552 is configured to reach other computing devices via one or more (wired or wireless) network interfaces 520, example network interfaces 520 including Bluetooth, Wireless Compatibility (WiFi), Universal Serial Bus (USB), etc.
[0061] The display module 553 is configured to enable the presentation of information (e.g., a user interface for operating peripherals and displaying content and information) via one or more output devices 531 (e.g., displays, speakers) associated with the user interface 530.
[0062] The input processing module 554 is configured to detect one or more user inputs or interactions from the input device(s) 532 and to interpret the detected inputs or interactions.
[0063] In some embodiments, the message processing device provided by the embodiments of the present application may be implemented in software, and FIG. 3A shows a message processing device 555 stored in memory 550, which may be software in the form of a program or plug-in, and comprises the following software modules: a first display module 5551 and a message sending module 5552, which are logical and can be arbitrarily combined or further divided according to the functions implemented, and the functions of each module are described below.
[0064] In some embodiments, another message processing device provided by the embodiments of the present application may also be implemented in software, and Fig. 3B shows a message processing device 556 stored in memory 550, which may be software in the form of a program or plug-in, and includes the following software modules: a second display module 5561 and a message reply module 5562, which are logical and can be arbitrarily combined or further divided according to the functions implemented. The functions of each module are described below.
[0065] In some other embodiments, the message processing device 555 and the message processing device 556 provided by the embodiments of the present application may be implemented in hardware, and as an example, the message processing device provided by the embodiments of the present application may be a processor of a hardware decoding processor type, programmed to execute the message processing method provided by the embodiments of the present application, and for example, the processor of the hardware decoding processor type may employ one or more Application Specific Integrated Circuits (ASICs), DSPs, Programmable Logic Devices (PLDs), Complex Programmable Logic Devices (CPLDs), Field Programmable Gate Arrays (FPGAs) or other electronic elements.
[0066] Based on the above description of the message processing system and electronic device of the embodiment of the present application, the message processing method provided by the embodiment of the present application will be described below. In some embodiments, the message processing method provided by the embodiment of the present application may be independently implemented by a server or a terminal, or may be jointly implemented by a server and a terminal.
[0067] The following describes the message processing method provided by the embodiment of the present application, taking the case where it is implemented by a terminal as an example. Referring to Figure 4, Figure 4 is a flowchart of the message processing method provided by the embodiment of the present application, and the message processing method provided by the embodiment of the present application includes the following steps:
[0068] In step 101, a first terminal displays a message control in a battle interface of a first player object in a virtual scene, the message control being used to edit a message carrying a quick reply control, and the quick reply control being used to quick reply to the edited message.
[0069] In practical application, a client supporting a virtual scene (e.g., a game client) is installed on the first terminal, and may be a client integrating a virtual scene function (such as an instant communication client, a live client, an educational client, etc.). When a user opens a client on a first terminal and the first terminal executes the client, the user can perform an interaction between virtual objects based on a screen of a virtual scene displayed on the client. For example, when the client is a game client, the user can perform an interaction (e.g., a virtual battle) between game characters in a game scene based on a game screen displayed on the game client.
[0070] In an actual application, the terminal corresponding to the first player object is the first terminal, and the battle interface of the first player object is the battle interface displayed on the first terminal, i.e., the interface for the first player object to battle, which is displayed on the first terminal when the first player object battles another player object based on the first terminal.
[0071] The match in which the first player object is playing may include multiple player objects, the multiple player objects being in two teams, each team including at least one player object, e.g., a first team and a second team, the first team and the second team including the same number of player objects, the first team and the second team may be in an antagonistic relationship, and assuming that the first player object is in the first team and the first player object is in a standby state, the first team also includes at least one second player object in an interacting state, and the second player object interacts with a player object in the second team, i.e., the match includes at least two second player objects in an interacting state.
[0072] Here, the interaction rules of the player objects between the first team and the second team will be described. In some embodiments, both the first team and the second team include n player objects, where n is a positive integer equal to or greater than 2. If the first team is the red team, the player objects in the red team are red team 1, red team 2, . . . red team n, respectively. If the second team is the blue team, the player objects in the blue team are blue team 1, blue team 2, . . . blue team n, respectively. Referring to FIG. 5, FIG. 5 is a schematic diagram of the interaction rules of the player objects provided by the embodiment of the present application, in which the first round is a match between red team 1 and blue team 1, that is, red team 1 and blue team 1 are on-field players and are in an interaction state, and the remaining player objects are watching "off-field". If red team 1 wins the first round, the winning red team 1 will play against blue team 2 in the second round. In this manner, the match continues until all the player objects in a team are killed or fail, and the match ends. That is, in a practical application, the first team may include multiple (at least two) player objects, and the second team may include multiple player objects, and for each team, at the same point in time, one player object each is in an interacting state and the remaining player objects are in a waiting state.
[0073] In practical application, when a first player object is in a waiting state and needs to communicate with a second player object in an interaction state in the first team, the first player object has enough time to edit a message, since it does not need to interact with a player object in the second team, and can edit a message having a quick reply function based on a message control displayed in the battle interface. FIG. 6 is a schematic diagram of a battle interface provided by an embodiment of the present application. Referring to FIG. 6, the battle interface of the first player object displays a screen in which the second player object in the first team and the second player object in the second team are fighting, and a message control 61 is displayed. The first player object can edit a message having a quick reply function for the second player object in the first team based on the message control 61.
[0074] At step 102, in response to a send command for the edited message based on the message control, the edited message is sent to a second terminal of the second player object.
[0075] Here, when a message sent by a first terminal is displayed on a second terminal of a second player object, the message carries a quick reply control, and when the second player object triggers the quick reply control, a quick reply to the message is realized.
[0076] In practical application, a message control displayed in the battle interface can be used to edit a message carrying a quick reply control, so that the first player object can edit a message to be sent based on the message control. In some embodiments, when the first player object performs a trigger operation (such as clicking, double-clicking, or long-pressing) on the message control, the first terminal displays a message editing interface in response to the trigger operation on the message control, the first player object performs message editing on the message editing interface, the first terminal obtains the message edited by the first player object based on the message editing interface and displays a decision control for the edited message, and when the first player object performs a trigger operation (such as clicking, double-clicking, or long-pressing) on the decision control, the first terminal receives a send command for the edited message in response to the trigger operation on the decision control. In this way, the first player object can independently edit a message that matches his / her intention based on the message editing interface, and the accuracy of semantic expression is improved.
[0077] In some embodiments, the first player object may select a message display mode in the process of editing a message based on the message editing interface. For example, after the first player object executes a trigger operation (click, double-click, long press, etc.) on the message control 61 and displays the message editing interface, at least two display options for instructing a message display mode are displayed on the message editing interface, and the target message display mode is determined as the display mode of the edited message in response to the target message display mode selected based on the at least two display options. Exemplarily, FIGS. 7A and 7B are schematic diagrams of an interface for selecting a message display mode provided by an embodiment of the present application. Referring to FIG. 7A, a display option 72 corresponding to the barrage display mode and a display option 73 corresponding to the bubble message mode are displayed on the message editing interface 71. As shown in FIG. 7A, when the first player object selects the display option 72 corresponding to the barrage display mode, a virtual keyboard for editing a text message is called up, and the first player object may edit the message. When the edited message is displayed on the battle interface of the second player object, the corresponding display mode is the barrage display mode.
[0078] In practical application, when the first player object selects the bubble message mode as the display mode of the message, the first player object is provided with a bubble style option, so that the first player object selects a bubble style. In some embodiments, when the first player object executes a trigger operation on a display option corresponding to the bubble message mode, at least two bubble style options for indicating a bubble style are displayed, and in response to a target bubble style selected based on the at least two bubble style options, the target bubble style is determined as the bubble style of the edited bubble message. Exemplarily, referring to FIG. 7B, when the first player object selects the display option 73 corresponding to the bubble message mode, three bubble style options, namely, an airplane, a train, and a ship, are displayed, and when the first player object selects the bubble style option corresponding to the airplane, the first terminal sets the bubble style corresponding to the airplane as the bubble style of the bubble message edited by the first player object, and when the bubble message is displayed, the shape of the bubble message is an airplane, or the bubble message carries a graphic identifier of an airplane.
[0079] In some embodiments, the first player object can set a reply message corresponding to the edited message, and in response, at least two reply message options can be displayed in the message editing interface, each reply message option corresponding to reply content for one of the messages, and in response to a target reply content selected based on the at least two reply message options, the target reply content is determined as the reply content corresponding to the message.
[0080] Here, the reply content corresponding to the reply message option may be automatically generated after performing semantic recognition on the edited message. For example, when the message edited by the first player object based on the message editing interface is "help needed", the reply content automatically generated corresponding thereto may be "I'll be there right away" or "I can't go", and when the first player object selects "I'll be there right away", "I'll be there right away" is determined as the reply content corresponding to the edited message, and when the second player object triggers a quick reply based on the quick reply control in response thereto, the first player object receives the reply message with the content "I'll be there right away".
[0081] The reply contents corresponding to the reply message options may be general contents, i.e., no matter what the contents of the message edited by the first player object are, the reply contents corresponding to the displayed reply message options are all the same, for example, the reply contents may be "Yes", "OK", etc. Of course, in actual application, when the reply contents corresponding to the reply message options are common contents, the reply contents corresponding to different reply message options are different, i.e., the relationship between the reply message options and the reply contents is a one-to-one correspondence relationship. In this way, the first player object can quickly set the contents of the reply message.
[0082] Here, in actual application, the first player object can set multiple reply contents, that is, when the first player object selects reply contents in the message editing interface, it can select two or more reply contents; in this way, when the message edited by the first player object is sent to the second terminal of the second player object, the second terminal displays the received message, and also displays a quick reply control carried by the message, and multiple reply contents corresponding to the message, for example, displays the multiple reply contents respectively in the form of options, and then the second player object selects the reply content to be replied to (for example, clicks the option corresponding to the corresponding reply content) and triggers the quick reply control, thereby realizing a quick reply to the message of the first player object.
[0083] In some embodiments, the first player object can select a message type (such as a voice message or a text message), and in response, the first terminal displays at least two message editing controls, including a target message editing control, in the message editing interface, where the different message editing controls correspond to different message types, and in response to a trigger operation on the target message editing control, displays a target editing interface for the target message type corresponding to the target message editing control, and obtains a message of the target message type edited based on the target editing interface. For example, the first terminal displays a voice message control and a text message control in the message editing interface. When the first player object selects the voice message control, a voice collection panel is called and a voice message is collected based on the voice collection panel, and when the first player object selects the text message control, a text editing panel equipped with a virtual keyboard is displayed and a text message is edited based on the text editing panel. In this way, the first player object is adapted to edit a required type of message based on its current state, and for example, when the first player object is currently in an interaction state, the first player object can select the voice message control to edit the voice message in order to enable quick editing of the message.
[0084] In some embodiments, the message editing interface also displays a history message area, which displays history messages sent by each player object in the match in which the first player object is playing. Fig. 8 is a schematic diagram of an interface for displaying history messages provided by an embodiment of the present application. Referring to Fig. 8, the message editing interface displays a history message area 81, which displays history messages sent by each player object. In this way, the first player object can edit the message by referring to the history messages of each teammate in the first team.
[0085] In practical application, when the message edited by the first player object is a text type message, there is a certain limit to the number of characters of the message that the first player object can edit. The first terminal acquires the text type message input by the first player object in a message editing interface, counts the number of input characters in real time, and displays input prompt information when the number of characters of the input message exceeds a character number threshold, and the input prompt information is used to prompt the user to input text content within the character number threshold. For example, when the character number threshold (which can be set as necessary) is 20 and the number of characters of the message input by the first player object is 21, the input prompt information is displayed, and the input prompt information prompts the user to input a text message within 20 characters. In this way, the number of characters of the input text message can be limited to a certain number, ensuring that the length of the message is not too long and that the viewer does not spend too much time reading the message.
[0086] In practical application, when the first player object finishes editing a message and triggers a decision command for the edited message, the first terminal of the first player object sends the edited message to the server, so that the server forwards the message to the terminals of each player object in the match. In some embodiments, the server adopts a broadcast manner to send the message to each player object in the first team in which the first player object is playing, that is, the player object in the second team cannot see the message sent by the first player object. In this way, the messages in the first team and the messages in the second team are isolated to ensure that different team members can only view the messages sent by their own team members, and improve the privacy and security of team members when they communicate messages.
[0087] In some embodiments, when a second player object in the first team receives a message sent by the first player object, the second player object displays the received message on a battle interface of a second terminal, the message carrying a quick reply control, and when a trigger operation on the quick reply control is received, a reply message corresponding to the message is sent. Figure 9A is a schematic diagram of a message with a quick reply function provided by an embodiment of the present application. Referring to Figure 9A, when the message edited by the first player object is "add my qq:123456", the battle interface of the second player object displays the message 91, the message carrying a quick reply control 92, and when the second player object executes a trigger operation on the quick reply control 92, the second terminal of the second player object sends a reply message corresponding to the message.
[0088] In some embodiments, when a first player object is in a waiting state and a second player object of a first team is in an interacting state, the attention of the second player object is focused on an interaction display area, and the interaction display area is used to display a screen in which the second player object is interacting with other player objects. Thus, when the second player object in the first team receives a message sent by the first player object, a strong attention-attracting manner is adopted to display the received message in the process of the second player object interacting with other player objects, so that the second player object can notice the message sent by the first player object.
[0089] Here, the strong attention-attracting manner refers to the received message being displayed in the interaction display area of the battle interface. In some embodiments, after the second player object receives the message sent by the first player object, the interaction display area of the battle interface adopts a barrage display manner to display the message sent by the first player object, or adopts a bubble message manner to display the process of a bubble message corresponding to the message crossing the interaction display area, the bubble message carrying the object identifier of the first player object. FIG. 9B is a schematic diagram of a message with a quick reply function provided by an embodiment of the present application. Referring to FIG. 9B, the interaction display area of the battle interface displays the process of a bubble message carrying an object identifier 93 moving from one end of the screen to the other end and exiting the screen. In this way, by adopting a strong attention-grabbing manner to display received messages, the second player object can notice the message sent by the first player object despite being in an interaction state; at the same time, since the message carries the object identifier of the first player object, the second player object can clearly see who the sender of the message is; and since the message carries a quick reply control, the second player object can realize a one-click reply to the message without affecting the interaction with other player objects.
[0090] In some embodiments, the quick reply control displays the content of the reply message, and when a trigger operation on the quick reply control is received, the content displayed on the quick reply control is sent as the content of the reply message. As shown in FIG. 9A, the quick reply control 92 displays "OK", and after the second player object clicks on the quick reply control 92, the second terminal of the second player object sends "OK" as the content of the reply message. In this way, the second player object does not need to edit the reply content, and a quick reply to the message can be realized. In order to inform the second player object that the message has been replied to, after the second terminal of the second player object sends the reply message, the second terminal of the second player object cancels the display of the quick reply control and displays a reply identifier at the display position of the quick reply control, and the reply identifier is used to indicate that the reply to the message has been completed.
[0091] For example, referring to FIG. 9C in conjunction with FIG. 9B, FIG. 9C is a schematic diagram of a message having a quick reply function provided by an embodiment of the present application, in which after a second player object clicks on the quick reply control carried by the message, the display of the quick reply control is switched to a “check” identifier (reply identifier) 94 to indicate that the message has been read and replied to.
[0092] In practical application, if no trigger operation is received on the second player object quick reply control within a target time length (e.g., 3 seconds, which can be set according to practical circumstances), the corresponding second terminal cancels the display of the message sent by the first player object. In this way, the message will not stay in the interaction interface indefinitely and affect the interaction of the second player object.
[0093] When the second player object is in an interaction state, the second player object cannot edit a message having a quick reply function in order not to affect the interaction between the second player object and other player objects. That is, a message control may be displayed in the battle interface of the second player object, but since the message control displayed in the battle interface of the second player object is in an inoperable state, when the state of the second player object is switched from the interaction state to the standby state, the state of the message control is switched from an inoperable state to an operable state.
[0094] In some embodiments, a message control displayed in the match interface of a first player object is used to edit a directional message, which is in a non-reply state, i.e., does not carry a quick reply control, when displayed in the match interface of a player object that is in a waiting state in the match, and carries a quick reply control when displayed in the match interface of a player object that is in an interacting state in the match.
[0095] For example, when the first player object is in a standby state, the first terminal of the first player object sends an edited message, and then adopts a strong attention mode to display the message on the battle interface of the first player object, and since the first player object is in a standby state, the message is in a non-reply state, that is, does not carry a quick reply control. Figure 9D is a schematic diagram of a message with a quick reply function provided by an embodiment of the present application, and referring to Figure 9D, after the first player object sends the message "add my qq:123456", the interaction display area displays the message 95, and the message does not carry a quick reply control and is in a non-reply state.
[0096] In some embodiments, the message control is associated with a display manner of a message, and when the associated display manner is a barrage display manner, a barrage corresponding to the message is displayed in an interaction display area of a battle interface of a first player object, i.e., the barrage display manner is adopted to display the message, and the interaction display area is used to display a screen in which at least two second player objects in an interaction state are interacting. In some embodiments, when the display manner associated with the message control is a bubble message manner, a process in which a bubble message corresponding to the message crosses the interaction display area is displayed in the battle interface of the first player object, and the bubble message carries an object identifier of the first player object.
[0097] Here, when the display method associated with the message control is a bubble message method, the first player object can set a bubble style, for example, display at least two bubble style options for instructing the bubble style in a message editing interface, and determine the target bubble style as the bubble style of the bubble message in response to a target bubble style selected based on the at least two bubble style options. Correspondingly, after the edited message is sent, the first terminal adopts the target bubble style to display the process of the bubble message crossing the interaction display area.
[0098] In some embodiments, the message sent by the first terminal of the first player object further carries a reply content of the message, for example, after the first player object completes message editing, performs semantic recognition on the content of the message to obtain a recognition result, generates a reply content of the message based on the recognition result, and upon receiving a decision command for the edited message, sends the edited message and the reply content to display the message on a battle interface of a second player object, at this time, displays the reply content in a quick reply control carried by the message, and when the second player object performs a trigger operation corresponding to the quick reply control based on the reply content, the first player object receives the reply content sent by the second terminal of the second player object.
[0099] In some embodiments, the message edited by the first player object based on the message control is a directional message, and the directional message is used to characterize the third player object in a waiting state in the match as being in a non-reply state when displayed on the match interface of the third player object in a waiting state in the match. In practical application, the number of times the first player object transmits the directional message is limited, and after the first player object triggers a decision command for the edited message, the number of times the first player object transmits the directional message is obtained, and if the number of times the first player object transmits the directional message does not reach a number threshold (for example, 5 times, which can be set according to practical needs), the edited message is transmitted.
[0100] In practical application, after the second player object makes a one-click reply to the message based on the quick reply control, the first player object receives the reply message returned by the second player object, and displays the edited message, for example, in the battle interface, and in the process of displaying the message, when the second player object replies to the message based on the quick reply control, the reply content of the message is displayed in the related display area of the message. Figure 10 is a schematic diagram of a message reply interface provided by an embodiment of the present application, and referring to Figure 10, in the battle interface of the first player object, the related display area of the edited message 110 (the end of the message shown in Figure 10) displays the reply content of the message 111.
[0101] When the above embodiment of the present application is applied, after a first player object completes editing and sending a message, when the message is displayed on a battle interface of a second player object in the same battle as the first player object, a quick reply control for quick replying to the message is carried, so that the second player object does not need to edit the reply message again, and a quick reply to the message can be realized based on the quick reply control carried by the message, thereby improving the efficiency of message replying, the efficiency of communication with the first player object, and the utilization rate of hardware resources of the device.
[0102] The message processing method provided by the embodiment of the present application will be described below. FIG. 11 is a flowchart of the message processing method provided by the embodiment of the present application, where the first terminal is a terminal of a first player object, the second terminal is a terminal of a second player object, the first player object and the second player object are in the same match, the first player object is in a standby state, the second player object is in an interaction state, the first player object and the second player object are in a first team, and in the process of the second player object being in an interaction state, that is, in the process of interacting with the player object in the second team, there may be a plurality of player objects in a standby state in the first team. In some embodiments, the message processing method provided by the embodiment of the present application may be independently implemented by a server or a terminal, or may be jointly implemented by the server and the terminal. Taking the case of joint implementation by the server and the terminal as an example, referring to FIG. 11, the message processing method provided by the embodiment of the present application includes the following steps:
[0103] In step 201, the first terminal displays chat controls in a battle interface.
[0104] Here, the chat control is used to trigger the chat portal.
[0105] At step 202, in response to a click operation on the chat control, a chat portal interface is displayed, and a message control is displayed in the chat portal interface.
[0106] Fig. 12 is a schematic diagram of an interface of a message processing method provided by an embodiment of the present application, and referring to Fig. 12, a chat control 121 is displayed in the battle interface of the first player object, and when the first player object clicks on the chat control 121, the first terminal responds to the click operation by displaying a chat portal interface 122, which displays a message control 123 for replying to a message having a quick reply function, a typing control 124, a voice control 125, and a history message area 126. Next, each part of the chat portal interface will be described.
[0107] Here, the graphic identifier of the paper airplane carried by the message control 123 is a display mode associated with the message control, and is used to indicate that the display mode is a bubble message mode with a paper airplane style, and the display mode associated with the message control can be set in a setting interface of a virtual scene application, and the setting interface can provide at least two display modes for a player object to select. After a player object sets a display mode associated with a message control based on the setting interface, the message control displayed in the chat portal interface carries a graphic identifier of the corresponding display mode. In this way, after a player object realizes sending a message based on the message control, the message is presented in the interface with a corresponding exhibition style.
[0108] The typing control 124 is used to edit regular messages, and when the player object clicks on the typing control 124, a virtual keyboard is displayed, allowing the player object to edit the message content, and after message editing is completed and sending is triggered, the message is displayed in the chat area of the interaction interface (chat area 13 in FIG. 1B).
[0109] The voice control 125 is used to edit a voice message. When the player object clicks the voice control 125, a voice collection interface is displayed, and the player object can input a voice message based on the voice collection interface. After the voice message editing is completed and sending is triggered, the message is displayed in the interaction display area in the battle interface in a strongly attention-grabbing manner.
[0110] The historical message area 126 is used to display historical messages sent by the first player object's teammates, i.e., each player object in the first team, and in this manner, the first player object can refer to the historical messages of each teammate in the first team and edit the messages.
[0111] In step 203, in response to a trigger operation on the message control, a virtual keyboard interface is displayed, and an edited message is obtained based on the virtual keyboard interface.
[0112] Continuing to refer to FIG. 12, after the first player object clicks on the message control 123, a virtual keyboard interface 127 is invoked for the first player object to make edits in the message.
[0113] In step 204, in response to the decision command for the edited message, the message is sent to a server.
[0114] Continuing to refer to FIG. 12, when the first player object clicks on the done control 128 in the virtual keyboard interface 127, a decision command is triggered to effect the sending of the message.
[0115] Here, the sent message carries a message identifier to indicate that the message is a directional message with quick reply functionality, and the directional message is used to characterize that when the message is displayed on the match interface of a player object in a waiting state in the first team, the directional message is in a non-reply state, i.e., does not carry a quick reply control, and when the message is displayed on the match interface of a player object in an interacting state in the first team, the directional message carries a quick reply control for a quick reply.
[0116] In step 205, the server transmits a message to the terminals of the player objects in the first team.
[0117] In some embodiments, the server parses the message to obtain a message identifier, then obtains a reply content corresponding to the message, which may be generated after the server performs semantic recognition on the content of the message or may be preset, and sends a message carrying the reply content to the second player object, and sends a message not carrying the reply content to other player objects except the second player object in the first team. In this way, a terminal of the second player object displays the message and also displays a quick reply control for replying to the message, the quick reply control includes the reply content, and terminals of other player objects except the second player object in the first team can only display the content of the message when displaying the message, and cannot reply to the message.
[0118] In step 206, the second terminal displays the received message and the quick reply control carried by the message in an interaction display area of the match interface.
[0119] Here, since the message control is associated with a paper airplane style bubble message method, in actual application, after receiving a message, the second terminal may adopt a paper airplane style bubble message to display the message, for example, displaying the process of the paper airplane style bubble message crossing the interaction display area.
[0120] In step 207, in response to a trigger operation on the quick reply control of the second player object, a reply message is transmitted to the server.
[0121] Here, the quick reply control displays the reply content of the message, and when the second player object clicks on the quick reply control, as shown at 92 in FIG. 9A, the reply content is transmitted to the terminal of the first player object.
[0122] In step 208, the server transmits a reply message to the terminals of the player objects in the first team.
[0123] The application of the above-mentioned embodiments of the present application not only meets the demand for a player object in a standby state to accurately edit messages, but also meets the demand for a player object in a standby state to easily reply to messages without affecting interaction, and for alerts to be prominent and difficult to miss, thereby improving the efficiency of message communication in a battle; at the same time, the diversity of message display increases the fun of interaction in a battle, and improves the experience of the player object.
[0124] The following describes an exemplary application example of the embodiment of the present application in a real application scene. Taking the case where the virtual scene is a game as an example, the message processing method provided by the embodiment of the present application is described. The game in the embodiment is a wheel game, and the game rules can refer to FIG. 5 and related descriptions, and will not be described again here. In the wheel game, two teams compete according to the rules shown in FIG. 5. Still taking the case where the two teams are the red team and the blue team as an example, the inventor found in the research process that both the red and blue teams have many people waiting "off-field" (i.e., in a waiting state), and the later the players appear, the longer the waiting time is, and the easier it is for players to flow out, and the demand for interaction among team members is becoming more and more prominent.
[0125] Due to the particularity of the wheel battle game rules, it is necessary to design different focuses for players who are fighting "on-field" (i.e., in an interaction state) and players who are waiting "off-field". In the transport phone game in the related technology, the communication function between teammates is not specially designed for different situations, so the communication in the game is limited to text, short sentences, and emoticons set by the system, and sophisticated communication cannot be achieved.
[0126] In wheel battle games, waiting players can customize text with a limited number of characters if necessary, and players can send content such as battle techniques, jokes, satire, praise, etc., to enhance the interaction between players and send it to the focus area of the screen, so that players in the on-field battle can immediately see this information and quickly click to reply.
[0127] This method is designed to meet the different situations of on-field players and off-field players in the playing method of wheel battle. That is, the off-field players have a high degree of freedom as spectators and have a lot of waiting time, and use the waiting time to edit typing to accurately express the required content. The on-field players are fighting fiercely and do not have enough time to reply by typing, so it is designed to click a button to reply with vague content such as emoticons "Got it / Got it / Yes". In this way, it meets the different requirements of different players, improves the accuracy of the information acquired by the players, avoids invalid communication, and improves the efficiency of communication. In addition, when a message is displayed, it floats above the interaction display area in the form of a barrage or crosses the interaction display area in the form of a paper airplane, which enhances the fun of game interaction and improves the user experience. Next, a detailed explanation will be given by taking as an example a case where the player object in the waiting state is an off-field player (waiting to fight) and the player object in the interaction state is an on-field player (fighting).
[0128] Each player waiting "off-field" has n (n is a positive integer, which can be set according to actual needs) chances to custom edit the message content and broadcast it to the whole team, the battle interface (i.e., the battle interface) displays a chat button (121 in FIG. 12), and after the off-field player clicks it, the chat panel (122 in FIG. 12) is displayed, and after clicking the text editing button (i.e., message control, 123 in FIG. 12), the mobile phone keyboard (127 in FIG. 12) is called up, and after the off-field player edits the text, the message is sent by clicking the "Done" button on the keyboard. The message is sent to each member in the same team, i.e., all members of the team can see it, but the enemy team cannot see it.
[0129] After an on-field player in a team receives the broadcasted message, it may float above the interaction display area (the central area of the match screen) in the form of a barrage of bullets, or cross the interaction display area in the form of a paper airplane, appearing from one side (e.g., the right side) of the interaction display area and moving to the other side of the interaction display area and disappearing. Unlike the content seen by the off-field players, the message displayed on the on-field player's terminal has a one-click reply button (shown at 92 in FIG. 9A) at the end, allowing the on-field player to reply to the message accurately by clicking the button, and the reply content is the content displayed on the button.
[0130] Here, if the player does nothing, the message will automatically disappear after a certain time (e.g., 3 seconds); that is, if the terminal does not receive a click operation on the one-click reply button, it will cancel the display of the message after a certain time. If the on-field player clicks the button to reply with one click, the player will see the message displaying the "replied" state. That is, the terminal will switch the displayed button to display a read identifier to indicate that the message has been read and replied to, and as shown at 94 in FIG. 9C, the button is transformed into a "check" form to indicate that the message has been read and replied to; correspondingly, after receiving the reply of the on-field player, the off-field player will display the content of the reply made by the on-field player in the relevant display area of the message. For example, the terminal will pop up a corresponding bubble (shown at 111 in FIG. 10) after the message just sent to indicate that the reply was made to this broadcast message.
[0131] Based on the above description of the display interface of each player terminal in the wheel warfare game, the interaction between each player object in the same team will be described below by taking the blue team as an example. Figure 13 is a schematic diagram of the interaction of players in the wheel warfare game provided by the embodiment of the present application. Referring to Figure 13, the blue team members include three people, where blue team member 1 is in battle, and blue team member 2 and blue team member 3 are in battle waiting, i.e., in a spectating state. When the spectating blue team member edits and sends a custom text based on the text editing button in the chat panel, the edited message is sent to each member in the blue team via broadcast 1. Here, only blue team member 1 can reply to the broadcast message sent to each member, i.e., when it is displayed on the terminal of blue team member 1, it carries a one-click reply button, and other spectating members cannot reply, i.e., when it is displayed on the terminal of other spectating members, it does not carry a one-click reply button. After blue team member 1 clicks the one-click reply button, a quick reply to the broadcast message is realized, and the reply content is also sent to each member in the blue team via broadcast 2 in the same broadcast manner.
[0132] Here, the above message broadcasts are all realized by a server, and FIG. 14 is a schematic diagram of a message broadcast by a server provided by an embodiment of the present application. Referring to FIG. 14, in the first stage, i.e., the stage where an off-field player customizes and sends a broadcast message, after the off-field player sends custom text to the server, the server sends the message to each member in the team via broadcast; in the second stage, i.e., the stage where an on-field player makes a decision (one-click reply), after the on-field player clicks the reply button carried by the message to make a one-click reply, the server sends the reply content as a message to each member in the team via broadcast.
[0133] Next, the sending of a message will be described. The client encapsulates the text content operation into a protocol packet and sends it to the server via a TCP (connection-oriented, reliable, byte stream-based transport layer communication protocol) request, and the server notifies this member of a reply packet after receiving the protocol packet to inform the feedback that the protocol packet has been received, and then the server parses it with a decoder and processes it into a response packet, and broadcasts it to the clients of other members in the team through the network. Here, only the members in the battle can make a corresponding decision, i.e., reply, after receiving the request packet, while the players in the waiting state have no decision-making function, i.e., cannot reply to the message, and can only view it. When the members in the battle click the reply button to reply to the message, the client encapsulates the decision corresponding to the members in the battle into a protocol packet and sends it to the server, and the server parses the protocol packet with a decoder after receiving it and processes it into a response packet (including the reply content), and broadcasts it to all members in the team.
[0134] By applying the above embodiment of the present application, custom editable broadcast text can be sent to specific members, who can reply with one click, meeting different requirements of different players in the playing method, improving the accuracy of information acquired by players, avoiding invalid communication, and increasing communication efficiency. In addition, various processing is applied to the display form, such as floating in the form of a barrage of bullets or crossing in the form of a paper airplane, to enhance the fun of game social and improve the user experience.
[0135] In the following, a configuration example in which the message processing device 555 provided by the embodiment of the present application is implemented as a software module will be described. In some embodiments, the message processing device provided by the embodiment of the present application includes a first display module 5551 and a message sending module 5552,
[0136] a first display module 5551 configured to display a message control in a match interface of a first player object in a virtual scene, the message control being used to edit a message carrying a quick reply control, the quick reply control being used to quickly reply to the message;
[0137] The message sending module 5552 is configured to send an edited message to a second player object in response to a send command for a message edited based on the message control, and to convey the quick reply control when the message is displayed on a terminal of the second player object, and to realize a quick reply to the message when the second player object triggers the quick reply control.
[0138] In some embodiments, the device further comprises a message editing module 5553,
[0139] The message editing module 5553 is configured to display a message editing interface in response to a trigger operation on the message control, obtain a message edited by the first player object based on the message editing interface, and display a decision control for the message;
[0140] The message sending module 5552 is further configured to receive the sending instruction and send an edited message to a second terminal of a second player object in response to a trigger operation on the decision control.
[0141] In some embodiments, in the match, the first player object is in a waiting state and the second player object is in an interacting state;
[0142] The first display module is further configured to display the message on a battle interface of the first player object in a strong attention-grabbing manner, and the message is in a non-replyable state.
[0143] In some embodiments, the message editing module further displays at least two display options in the message editing interface to indicate a manner in which the message is displayed;
[0144] configured to determine, in response to a target message display manner selected based on the at least two display options, the target message display manner as a display manner for the message;
[0145] The first display module is further configured to display the message in the battle interface by adopting the target message display manner.
[0146] In some embodiments, the message control is associated with a display manner of the message;
[0147] the first display module is further configured to, when the display mode associated with the message control is a barrage display mode, display a barrage corresponding to the message in an interaction display area of the battle interface;
[0148] The interaction display area is used to display a screen in which at least two of the second player objects are interacting with each other.
[0149] In some embodiments, the first display module is further configured to, when a display mode associated with the message control is a bubble message mode, display, on a battle interface of the first player object, a process in which a bubble message corresponding to the message crosses an interaction display area;
[0150] The bubble message carries an object identifier of the first player object, and the interaction display area is used to display a screen in which at least two of the second player objects are interacting.
[0151] In some embodiments, the message editing module further displays at least two bubble style options in the message editing interface for indicating a bubble style;
[0152] configured to determine, in response to a target bubble style selected based on the at least two bubble style options, the target bubble style as a bubble style for the bubble message;
[0153] The first display module is further configured to adopt the target bubble style to display the process of the bubble message crossing the interaction display area.
[0154] In some embodiments, the message editing module further comprises displaying at least two reply message options in the message editing interface, each reply message option corresponding to a reply content of one of the messages; and
[0155] in response to a target reply content selected based on the at least two reply message options, determining the target reply content as a reply content corresponding to the message;
[0156] The first display module is further configured to display the target reply content when the second player object executes a trigger operation on the quick reply control.
[0157] In some embodiments, the quick reply control displays a reply to the message;
[0158] The first display module further receives the reply content transmitted by a terminal of the second player object when the second player object executes a trigger operation corresponding to the quick reply control based on the reply content;
[0159] The reply content of the second player object to the message is displayed.
[0160] In some embodiments, the message editing module further comprises: after obtaining a message edited by the first player object based on the message editing interface, performing semantic recognition on a content of the message to obtain a recognition result;
[0161] configured to generate a reply content for the message based on the recognition result;
[0162] The message sending module is further configured to send the edited message and the reply content in response to a decision command for the edited message, thereby displaying the reply content in the quick reply control carried by the message when the message is displayed in the battle interface of the second player object.
[0163] In some embodiments, the message editing module further comprises displaying at least two message editing controls in the message editing interface, including a target message editing control, wherein different message editing controls correspond to different message types; and
[0164] displaying a target edit interface for a target message type corresponding to the target message edit control in response to a trigger operation on the target message edit control;
[0165] obtaining a message of a target message type edited based on the target editing interface.
[0166] In some embodiments, the message editing module further comprises: displaying a history message area in the message editing interface;
[0167] The historical message area is configured to display historical messages sent by each player object in a match in which the first player object is playing.
[0168] In some embodiments, the message editing module further comprises the steps of: obtaining a text type message entered by the first player object in the message editing interface;
[0169] and a step of displaying input prompt information if the number of characters in the input message exceeds a character number threshold, the input prompt information being used to prompt the user to input text content within the character number threshold.
[0170] In some embodiments, the message is a directional message, and the directional message is used to characterize a do-not-reply state when the message is displayed in a match interface of a third player object that is in a queue in the match;
[0171] The message sending module further obtains a number of times that the first player object has sent the directional message in response to a decision command for the edited message;
[0172] The edited message is transmitted when the number of times that the first player object has transmitted the directional message does not reach a number threshold.
[0173] In some embodiments, the message sending module is further configured to, in response to a decision instruction for the edited message, send the edited message to a server, thereby causing the server to send the message to a player object on the same team as the first player object in the match.
[0174] In some embodiments, the first display module further displays the message in the competition interface;
[0175] In the process of displaying the message, when the second player object replies to the message based on the quick reply control, the reply content of the message is displayed in a related display area of the message.
[0176] In some embodiments, the first display module further includes: displaying the message on the battle interface; and obtaining a display time length of the message.
[0177] The display of the message is configured to be cancelled when the display time length reaches a time length threshold and the second player object has not replied to the message.
[0178] The message processing device 556 provided by the embodiment of the present application will be described below. The message processing device 556 provided by the embodiment of the present application includes a second display module 5561 and a message reply module 5562.
[0179] a second display module 5561 configured to display, in a match interface of a second player object, a message sent by a first player object in the same match as said second player object, said message carrying a quick reply control;
[0180] The message reply module 5562 is configured to send a reply message corresponding to the message upon receiving a trigger operation on the quick reply control.
[0181] In some embodiments, in the match, the first player object is in a waiting state and the second player object is in an interacting state;
[0182] The second display module is further configured to adopt a strong attention-grabbing manner to display a message sent by the first player object on the battle interface during the process of the second player object interacting with other player objects.
[0183] In some embodiments, the second display module is further configured to display a message sent by the first player object in an interaction display area of the match-up interface;
[0184] The interaction display area is used to display a screen in which the second player object is interacting with another player object.
[0185] In some embodiments, the second display module further displays the message sent by the first player object in an interaction display area of the battle interface by adopting a bullet barrage display method; or
[0186] The device is configured to perform a step of adopting a bubble message method to display a process in which a bubble message corresponding to the message crosses the interaction display area, the bubble message carrying an object identifier of the first player object.
[0187] In some embodiments, the quick reply control displays the content of the reply message;
[0188] The message reply module is further configured to, upon receiving a trigger action on the quick reply control, send content displayed on the quick reply control as content of the reply message.
[0189] In some embodiments, the second display module is further configured to cancel display of the quick reply control and display a reply identifier in a display position of the quick reply control;
[0190] The reply identifier is used to indicate that a reply to the message is complete.
[0191] In some embodiments, the second display module is further configured to cancel the display of the message sent by the first player object if a trigger operation on the quick reply control is not received within a target time length.
[0192] In some embodiments, the first player object is in a waiting state and the second player object is in an interacting state;
[0193] the second display module is further configured to display a message control in a battle interface of the second player object, the message control being in a non-operable state;
[0194] the message control is used to edit a directional message, and carries a no reply state when the directional message is displayed in a match interface of a player object that is in a waiting state in the match, and a quick reply control when the directional message is displayed in a match interface of a player object that is in an interacting state in the match;
[0195] When the state of the second player object is switched from the interaction state to the waiting state, the state of the message control is switched from the inoperable state to the operable state.
[0196] An embodiment of the present application further provides an electronic device, the electronic device comprising:
[0197] a memory for storing executable instructions;
[0198] and a processor that, when executing computer-executable instructions stored in the memory, implements a message processing method provided by an embodiment of the present application.
[0199] The present embodiment further provides a computer program product or a computer program, the computer program product or the computer program including computer instructions, the computer instructions being stored in a computer-readable storage medium, a processor of the computer device reading the computer instructions from the computer-readable storage medium and executing the computer instructions, thereby causing the computer device to perform the message processing method provided by the present embodiment.
[0200] An embodiment of the present application further provides a computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, implements a message processing method provided by an embodiment of the present application.
[0201] In some embodiments, the computer-readable storage medium may be a memory such as Read-Only Memory (ROM), Random Access Memory (RAM), Erasable Programmable Read-Only Memory (EPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Flash memory, magnetic memory, optical disk, or CD-ROM, or may be a variety of devices including one or any combination of the above memories.
[0202] In some embodiments, the executable instructions may take the form of a program, software, software module, script, or code, may be written in any type of programming language (including compiled or interpreted, declarative or procedural languages), and may be arranged in any form, including as a separate program, or a module, component, subroutine, or other unit suitable for use in a computing environment.
[0203] As an example, the executable instructions do not necessarily correspond to a file in a file system, but may be stored as part of a file that holds other programs or data, such as within one or more scripts within a HyperText Markup Language (HTML) document, may be stored in a single file dedicated to the program being discussed, or may be stored in multiple joint files (such as files that store one or more modules, subroutines, or code portions).
[0204] As an example, the executable instructions may be configured to be executed on one computing device, may be configured to be executed on multiple computing devices located at a single location, or may be distributed across multiple locations and interconnected via a communications network.
[0205] The above is merely an embodiment of the present application, and does not limit the scope of protection of the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and scope of the present application shall be included in the scope of protection of the present application.
Claims
1. A message processing method executed by a first terminal, comprising: displaying a message control in a competition interface of a first player object in a virtual scene, the message control being used to edit a message carrying a quick reply control, the quick reply control being used to quickly reply to the message; in response to a transmission command for the edited message based on the message control, transmitting the edited message to a second terminal of a second player object; A method of processing a message, comprising: conveying the quick reply control when the message is displayed on the second terminal; and performing a quick reply to the message when the second player object triggers the quick reply control.
2. The message processing method includes: displaying a message editing interface in response to a trigger operation on the message control; obtaining a message edited by the first player object based on the message editing interface, and displaying a decision control for the message; receiving the transmission command in response to a trigger operation on the decision control. The method of claim 1 .
3. The message processing method includes: displaying at least two display options in the message editing interface to indicate how the message should be displayed; and in response to a target message display manner selected based on the at least two display options, determining the target message display manner as a display manner for the message; After transmitting the edited message to the second terminal of the second player object, the message processing method further comprises: The method further includes the step of displaying the message in the battle interface by using the target message display method. The message processing method according to claim 2 .
4. In a battle, the first player object is in a waiting state and the second player object is in an interaction state, and after transmitting the edited message to a second terminal of the second player object, the message processing method includes: The method further includes the step of displaying the message on a battle interface of the first player object by adopting a strong warning manner, and the message is in a non-replyable state; The method of claim 1 .
5. The message control is associated with a display method of the message, and the step of displaying the message on the battle interface of the first player object by adopting the strong attention-attracting method includes: a step of displaying a barrage of bullets corresponding to the message in an interaction display area of the battle interface when the display method associated with the message control is a barrage of bullets display method; the interaction display area is used to display a screen in which at least two of the second player objects are interacting with each other; The method of claim 4 .
6. The message control is associated with a display method of the message, and the step of displaying the message on the battle interface of the first player object by adopting the strong attention-attracting method includes: a step of displaying, in a battle interface of the first player object, a process in which a bubble message corresponding to the message crosses an interaction display area when a display method associated with the message control is a bubble message method; the bubble message carries an object identifier of the first player object, and the interaction display area is used to display a screen in which at least two of the second player objects are interacting. The method of claim 4 .
7. The message processing method includes: displaying at least two bubble style options for indicating a bubble style; and determining, in response to a target bubble style selected based on the at least two bubble style options, the target bubble style as a bubble style for the bubble message; The step of displaying a process in which a bubble message corresponding to the message crosses an interaction display area includes: adopting the target bubble style to display the process of the bubble message crossing an interaction display area; The method of claim 6 .
8. The message processing method includes: displaying at least two reply message options in the message editing interface, each reply message option corresponding to a reply to one of the messages; and in response to a target reply content selected based on the at least two reply message options, determining the target reply content as a reply content corresponding to the message; After transmitting the edited message to the second terminal of the second player object, the message processing method further comprises: The method further includes the step of displaying the target reply content when the second player object executes a trigger operation on the quick reply control. The message processing method according to claim 2 .
9. The quick reply control displays a reply content of the message, and after transmitting the edited message to a second terminal of a second player object, the message processing method includes: receiving the reply content transmitted by a terminal of the second player object when the second player object executes a trigger operation corresponding to the quick reply control based on the reply content; displaying the reply content of the second player object to the message, A message processing method according to any one of claims 1 to 3.
10. Before transmitting the edited message to a second terminal of a second player object, the message processing method further comprises: performing semantic recognition on the content of the message to obtain a recognition result; generating a reply content for the message based on the recognition result; The step of transmitting the edited message to a second terminal of a second player object includes: transmitting the edited message and the reply content to a second terminal of a second player object; displaying the reply content in the quick reply control carried by the message when the message is displayed in a battle interface of the second player object; The method of claim 9 .
11. The step of acquiring a message edited by the first player object based on the message editing interface includes: displaying at least two message editing controls in the message editing interface, including a target message editing control, different message editing controls corresponding to different message types; displaying a target edit interface for a target message type corresponding to the target message edit control in response to a trigger operation on the target message edit control; obtaining a message of a target message type edited based on the target editing interface; A message processing method according to claim 2 or 3.
12. The message processing method includes: displaying a history message area; displaying, in the history message area, history messages transmitted by each player object in a match in which the first player object is playing. A message processing method according to any one of claims 1 to 11.
13. The step of acquiring a message edited by the first player object based on the message editing interface includes: obtaining a text type message input by the first player object in the message editing interface; and displaying prompting information when the number of characters of the input message exceeds a character number threshold, the prompting information being used to prompt the user to input text content within the character number threshold. A message processing method according to claim 2 or 3.
14. the message is a directional message, and the directional message is used to characterize a third player object that is in a waiting state in the match as being in a no reply state when the message is displayed on a match interface of the third player object that is in a waiting state in the match; The step of transmitting the edited message to a second terminal of a second player object includes: obtaining a number of times that the first player object has transmitted the directional message; transmitting an edited message to a second terminal of a second player object when the number of times the first player object has transmitted the directional message has not reached a number threshold. A message processing method according to any one of claims 1 to 13.
15. The step of transmitting the edited message to a second terminal of a second player object includes: sending the edited message to a server, the server being used to send the message to a second terminal of a second player object; the second player object is a player object on the same team as the first player object in the match; A message processing method according to any one of claims 1 to 14.
16. After transmitting the edited message to the second terminal of the second player object, the message processing method further comprises: displaying the message on the battle interface; In the step of displaying the message, when the second player object replies to the message based on the quick reply control, displaying a reply content of the message in a related display area of the message. A message processing method according to any one of claims 1 to 15.
17. After transmitting the edited message to the second terminal of the second player object, the message processing method further comprises: displaying the message on the battle interface and acquiring a display time length of the message; canceling the display of the message when the display time length reaches a time length threshold and the second player object has not replied to the message. A message processing method according to any one of claims 1 to 16.
18. A method for processing a message, executed by a second terminal, comprising: displaying a message sent by the first player object in a match interface of a second player object, the message carrying a quick reply control, the first player object and the second player object being in the same match; in response to a trigger operation on the quick reply control, transmitting a reply message corresponding to the message to a first terminal of the first player object.
19. In the battle, the first player object is in a waiting state and the second player object is in an interaction state, and the step of displaying a message transmitted by the first player object includes: and displaying a message sent by the first player object on the battle interface in a strong attention-attracting manner during an interaction between the second player object and another player object.
20. The method of claim 18.
20. The step of displaying a message transmitted by the first player object on the battle interface by adopting the strong attention attracting method includes: displaying a message transmitted by the first player object in an interaction display area of the battle interface; the interaction display area is used to display a screen in which the second player object is interacting with another player object; 20. The method of claim 19.
21. The step of displaying a message transmitted by the first player object in an interaction display area of the battle interface includes: displaying the message sent by the first player object in an interaction display area of the battle interface by adopting a barrage display method; or adopting a bubble message manner to display a process in which a bubble message corresponding to the message passes through the interaction display area, the bubble message carrying an object identifier of the first player object; 21. The method of claim 20.
22. a step of displaying a content of the reply message on the quick reply control, and transmitting a reply message corresponding to the message in response to a trigger operation on the quick reply control to a first terminal of the first player object, a step of determining, in response to a trigger operation on the quick reply control, a content displayed on the quick reply control as a content of the reply message, and transmitting the content to a first terminal of the first player object; A message processing method according to any one of claims 18 to 21.
23. After transmitting a reply message corresponding to the message to the first player object, the message processing method includes: The method further includes canceling the display of the quick reply control and displaying a reply identifier in a display position of the quick reply control; The reply identifier is used to indicate that a reply to the message has been completed. A message processing method according to any one of claims 18 to 22.
24. After displaying the message transmitted by the first player object, the message processing method includes: and canceling the display of the message transmitted by the first player object when a trigger operation on the quick reply control is not received within a target time length. A message processing method according to any one of claims 18 to 23.
25. In the battle, the first player object is in a waiting state and the second player object is in an interaction state, and the message processing method includes: The method further includes the step of displaying a message control in a battle interface of the second player object, the message control being in an inoperable state; the message control is used to edit a directional message, is in a no reply state when the directional message is displayed in a match interface of a player object that is in a waiting state in the match, and carries a quick reply control when the directional message is displayed in a match interface of a player object that is in an interacting state in the match; when a state of the second player object is switched from the interaction state to the waiting state, switching a state of the message control from the inoperable state to an operable state; A message processing method according to any one of claims 18 to 24.
26. A message processing device, comprising: A first display module and a message sending module, the first display module is configured to display a message control in a match interface of a first player object in a virtual scene, the message control being used to edit a message carrying a quick reply control, the quick reply control being used to quickly reply to the message; the message sending module is configured to send the edited message to a second terminal of a second player object in response to a sending command for the edited message based on the message control; a message processing device that conveys the quick reply control when the message is displayed on the second terminal, and that performs a quick reply to the message when the second player object triggers the quick reply control.
27. A message processing device, comprising: A second display module and a message reply module, the second display module is configured to display a message sent by the first player object in a match interface of a second player object, the message carrying a quick reply control, and the first player object and the second player object are in the same match; The message processing device, wherein the message reply module is configured to send a reply message corresponding to the message to a first terminal of the first player object in response to a trigger operation on the quick reply control.
28. a memory for storing executable instructions; An electronic device comprising: a processor which, when executing executable instructions stored in said memory, implements the method of any one of claims 1 to 25.
29. A computer readable storage medium having stored thereon executable instructions that, when executed by a processor, cause the processor to implement a method according to any one of claims 1 to 25.
30. A computer program product comprising a computer program or instructions which, when executed by a processor, causes said processor to implement a method according to any one of claims 1 to 25.
Citation Information
Patent Citations
Computer-readable storage medium recording game program, video game program, video game processing method, and video game machine
JP2002200360A
Character data management system, character server, character data management method and program
JP2002360936A
Network game system, game server device, video game device, transmitting method for message in network game, display control method, program, and recording medium
JP2003181147A
Systems and methods for communicating with virtual worlds
JP2010533006A
Amusement system provided with communication function
JP2013022125A
