Method and device for displaying discussion objects in mobile game and server

文档序号:1699122 发布日期:2019-12-13 浏览:23次 中文

阅读说明:本技术 一种***中讨论对象显示方法、装置和服务器 (Method and device for displaying discussion objects in mobile game and server ) 是由 彭树心 徐钧鸿 于 2019-09-08 设计创作,主要内容包括:本发明公开了一种手机游戏中讨论对象显示方法、装置和服务器。所述方法包括:向至少两个移动终端发送聊天窗口信息,以使所述至少两个移动终端中各移动终端渲染显示聊天窗口,其中,所述聊天窗口包括第一窗口和第二窗口;当从所述至少两个移动终端中的任意终端接收到格式为预设第一格式的第一信息时,向所述各移动终端发送所述第一信息,以使所述各移动终端将所述第一信息容纳在所述第一窗口;当从所述至少两个移动终端中任意终端接收到格式为预设第二格式的第二信息时,向所述各移动终端发送所述第二信息,以使所述各移动终端将所述第二信息容纳在所述第二窗口。(The invention discloses a method, a device and a server for displaying discussion objects in a mobile game. The method comprises the following steps: sending chat window information to at least two mobile terminals to enable each mobile terminal in the at least two mobile terminals to render and display a chat window, wherein the chat window comprises a first window and a second window; when first information with a preset first format is received from any terminal of the at least two mobile terminals, the first information is sent to each mobile terminal, so that each mobile terminal can contain the first information in the first window; and when second information with a preset second format is received from any terminal of the at least two mobile terminals, sending the second information to each mobile terminal so that each mobile terminal can contain the second information in the second window.)

1. a method for displaying discussion objects in a mobile phone game is characterized by being applied to a server; the method comprises the following steps:

Sending chat window information to at least two mobile terminals to enable each mobile terminal in the at least two mobile terminals to render and display a chat window, wherein the chat window comprises a first window and a second window;

When first information with a preset first format is received from any terminal of the at least two mobile terminals, the first information is sent to each mobile terminal, so that each mobile terminal can contain the first information in the first window;

And when second information with a preset second format is received from any terminal of the at least two mobile terminals, sending the second information to each mobile terminal so that each mobile terminal can contain the second information in the second window.

2. The method according to claim 1, wherein the first format is a video format and/or an audio format.

3. The method according to claim 2, wherein the second format is a text format and/or a picture format.

4. The method of claim 2, wherein the each mobile terminal accommodating the first information in the first window comprises:

and automatically playing the first information in the first window.

5. the method of claim 2, wherein the each mobile terminal accommodating the first information in the first window comprises:

displaying a play preparation interface of the first information on the first window;

The method further comprises the following steps:

And instructing each mobile terminal to play the first information in response to a play instruction received from any terminal of the at least two mobile terminals.

6. the method of claim 1, wherein the first format is a web address.

7. the method of claim 6, wherein the second format is any one of:

Text format, audio format, picture format, video format.

8. the method of claim 1, wherein the mobile game is an online team battle game, and the mobile terminals belong to the same team of the mobile game.

9. An apparatus for displaying discussion objects in a mobile game, the apparatus comprising:

The mobile terminal comprises a communication unit, a display unit and a control unit, wherein the communication unit is used for sending chat window information to at least two mobile terminals so as to enable each of the at least two mobile terminals to render and display a chat window, and the chat window comprises a first window and a second window;

The communication unit is further configured to send first information to each mobile terminal when first information in a preset first format is received from any of the at least two mobile terminals, so that each mobile terminal can accommodate the first information in the first window;

The communication unit is further configured to send, when second information in a preset second format is received from any of the at least two mobile terminals, the second information to each of the mobile terminals, so that each of the mobile terminals accommodates the second information in the second window.

10. A server comprising a processor, a memory, and a transceiver; wherein the content of the first and second substances,

The memory has stored therein executable code that when executed by the processor implements the method of any of claims 1-8.

Technical Field

The invention relates to the technical field of mobile phone games, in particular to a method, a device and a server for displaying discussion objects in a mobile phone game.

Background

The mobile phone game refers to game software running on a mobile phone, and comprises a stand-alone game and an online game. With the development of science and technology, the functions of the mobile phone are more and more powerful, which is comparable to the web games of computer games.

The current mobile phone games are various, including online games that support participation of multiple people. For online games with complex game rules, how to better guide the game participants to effectively operate online in the primary game field. And how the game participants on the same team better discuss the strategy of engagement for online fighting games. Are all problems to be solved.

disclosure of Invention

the invention aims to provide a method for displaying a discussion object in a mobile phone game, which can divide a chat window into two independent windows, can display information with different formats in different windows, can realize that the discussion object is displayed in one window, and can display free chat information of a user in the other window, so that the discussion object can always stay on a game interface and is not replaced by the continuously refreshed chat information.

The invention provides a method for displaying discussion objects in a mobile game, which is applied to a server; the method comprises the following steps: sending chat window information to at least two mobile terminals to enable each mobile terminal in the at least two mobile terminals to render and display a chat window, wherein the chat window comprises a first window and a second window; when first information with a preset first format is received from any terminal of the at least two mobile terminals, the first information is sent to each mobile terminal, so that each mobile terminal can contain the first information in the first window; and when second information with a preset second format is received from any terminal of the at least two mobile terminals, sending the second information to each mobile terminal so that each mobile terminal can contain the second information in the second window.

In some embodiments, the first format is a video format and/or an audio format.

In some embodiments, the second format is a text format and/or a picture format.

In some embodiments, the receiving, by the mobile terminals, the first information in the first window includes: and automatically playing the first information in the first window.

In some embodiments, the receiving, by the mobile terminals, the first information in the first window includes: displaying a play preparation interface of the first information on the first window; the method further comprises the following steps: and instructing each mobile terminal to play the first information in response to a play instruction received from any terminal of the at least two mobile terminals.

In some embodiments, the first format is a web address.

In some embodiments, the second format is any one of:

Text format, audio format, picture format, video format.

In some embodiments, the mobile game is an online team battle game, the mobile terminals belonging to the same team of the mobile game.

In a second aspect of the present invention, there is provided a device for displaying discussion objects in a mobile game, the device comprising:

The mobile terminal comprises a communication unit, a display unit and a control unit, wherein the communication unit is used for sending chat window information to at least two mobile terminals so as to enable each of the at least two mobile terminals to render and display a chat window, and the chat window comprises a first window and a second window;

The communication unit is further configured to send first information to each mobile terminal when first information in a preset first format is received from any of the at least two mobile terminals, so that each mobile terminal can accommodate the first information in the first window;

The communication unit is further configured to send, when second information in a preset second format is received from any of the at least two mobile terminals, the second information to each of the mobile terminals, so that each of the mobile terminals accommodates the second information in the second window.

in a third aspect of the present invention, a server is provided, which includes a processor, a memory, and a transceiver; wherein the memory has stored therein executable code, which when executed by the processor, implements the method of the first aspect.

The invention has the following advantages: the chat window can be divided into two independent windows, information in different formats can be displayed in different windows, the discussion object can be displayed in one window, the free chat information of the user can be displayed in the other window, and the discussion object can always stay on the game interface and cannot be replaced by the continuously refreshed chat information.

Drawings

Fig. 1 is an application architecture diagram of a discussion object display method in a mobile game according to an embodiment of the present invention.

fig. 2 is a flowchart of a method for displaying discussion objects in a mobile game according to an embodiment of the present invention.

Fig. 3 is a schematic structural diagram of a discussion object display device in a mobile game according to an embodiment of the present invention.

Fig. 4 is a schematic structural diagram of a server according to an embodiment of the present invention.

Detailed Description

The following examples are intended to illustrate the invention but are not intended to limit the scope of the invention.

As shown in fig. 1, an application architecture diagram of a discussion object display method in a mobile game provided in an embodiment of the present invention includes a plurality of mobile terminals and a server. The mobile terminal can be a mobile phone, an IPAD and other terminals; the mobile terminal is provided with a client of the mobile game.

The mobile terminal and the server are connected through a network. The user can generate chat information through the mobile terminal and send the chat information to the server. And after receiving the chat information, the server sends the chat information to all the mobile terminals participating in the game. After all the mobile terminals participating in the game receive the chat information, the chat information can be displayed.

Important information, such as operation guide video, battle strategy arrangement video or voice, link address of operation guide video, can be displayed in a single window for discussion by game participants. Chat messages for discussion by the game participants are displayed in another window. The discussion object can not be replaced by the constantly updated discussion information, and the game participants can conveniently view the discussion object at any time.

Next, in different embodiments, embodiment 1 will be specifically described with respect to a method for displaying discussion objects in a mobile game provided in an embodiment of the present invention

In this embodiment, a method for displaying discussion objects in a mobile game provided by the present invention is specifically described with reference to fig. 2.

The execution subject of the method is a server. As shown in fig. 2, the method includes the following steps.

Step 200, sending chat window information to at least two mobile terminals to enable each of the at least two mobile terminals to render and display a chat window, wherein the chat window comprises a first window and a second window.

The at least two mobile terminals are mobile terminals participating in the same game. At the start of the game, the server may send the chat window information to the various mobile terminals participating in the same game.

the first window and the second window can be displayed side by side from left to right in a game interface displayed by the mobile terminal, and can also be displayed in an up-down arrangement mode.

in some embodiments, the mobile game is an online team battle game, the mobile terminals belonging to the same team of the mobile game.

A chat window is shared for the same team in the wire-team battle game, i.e., the same team can enter information through the chat window and view information from teammates.

step 202, when first information with a preset first format is received from any terminal of the at least two mobile terminals, sending the first information to each mobile terminal, so that each mobile terminal can accommodate the first information in the first window.

When receiving information transmitted by any terminal, the server can detect the format of the information. And when the format of the information is the first format, the server sends the information to each mobile terminal and instructs each mobile terminal to store the information in the first window.

Step 204, when second information in a preset second format is received from any terminal of the at least two mobile terminals, sending the second information to each mobile terminal, so that each mobile terminal can accommodate the second information in the second window.

When receiving information transmitted by any terminal, the server can detect the format of the information. And when the format of the information is the second format, the server sends the information to each mobile terminal and instructs each mobile terminal to store the information in the second window.

In some embodiments, the first format is a video format and/or an audio format.

the first information may be a game play guidance video or a game play guidance audio. The first game may also be a preliminary combat strategy. Displaying this information in a first window separate from a second window allows the game participation scheme to be viewed or listened to at any time and discussed. The first information is displayed in the first window, so that the game participants do not need to turn over the chat records when watching or listening, and the first information is found out from the chat records.

In one example of these embodiments, the second format is a text format and/or a picture format.

the game participants may post discussion information in the second window for the content displayed in the first window, such as an improved opinion of the strategy of engagement. For example, alternative operation modes of operation instructions or wearable expressions and the like.

In one example of these embodiments, the receiving, by the mobile terminals, the first information in the first window includes: and automatically playing the first information in the first window.

the server may instruct each mobile terminal to automatically play the first information after receiving the information. When one play is finished, the playing can be performed again. Automatic and cyclic playing can be realized.

In one example of these embodiments, the receiving, by the mobile terminals, the first information in the first window includes: displaying a play preparation interface of the first information on the first window; the method further comprises the following steps: and instructing each mobile terminal to play the first information in response to a play instruction received from any terminal of the at least two mobile terminals.

in this embodiment, any of the game participants may initiate the playing of the first information.

In some embodiments, the first format is a web address.

The first information may specifically be information including a Uniform Resource Locator (URL). The game participants can access a game play instruction page or the like through this information.

In one example of these embodiments, the second format is any one of:

Text format, audio format, picture format, video format.

The method provided by the embodiment has the following advantages: the chat window can be divided into two independent windows, information in different formats can be displayed in different windows, the discussion object can be displayed in one window, the free chat information of the user can be displayed in the other window, and the discussion object can always stay on the game interface and cannot be replaced by the continuously refreshed chat information.

8页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:游戏控制器

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类