CN117750104A - Message display method, device, equipment and readable storage medium - Google Patents

Message display method, device, equipment and readable storage medium Download PDF

Info

Publication number
CN117750104A
CN117750104A CN202310084010.7A CN202310084010A CN117750104A CN 117750104 A CN117750104 A CN 117750104A CN 202310084010 A CN202310084010 A CN 202310084010A CN 117750104 A CN117750104 A CN 117750104A
Authority
CN
China
Prior art keywords
message
target
interface
application program
target message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310084010.7A
Other languages
Chinese (zh)
Inventor
周博立
高必梵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shuhang Technology Beijing Co ltd
Original Assignee
Shuhang Technology Beijing Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shuhang Technology Beijing Co ltd filed Critical Shuhang Technology Beijing Co ltd
Priority to CN202310084010.7A priority Critical patent/CN117750104A/en
Publication of CN117750104A publication Critical patent/CN117750104A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application discloses a message display method, a device, equipment and a readable storage medium, wherein the method comprises the following steps: when a target message is acquired, detecting an interface type of a target interface of a client, wherein the interface type is used for indicating whether the target interface belongs to an interface of a first application program, and the target message is a message in the first application program; if the target interface does not belong to the interface of the first application program, acquiring a message distribution strategy, determining a processing mode aiming at the target message based on the message distribution strategy, and processing the target message based on the processing mode, wherein the processing mode comprises displaying the target message in a target area or not displaying the target message in the target area; and if the target interface belongs to the interface of the first application program, displaying the target message in the interface of the first application program. By adopting the embodiment of the application program, the application program using experience can be improved.

Description

Message display method, device, equipment and readable storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a readable storage medium for displaying a message.
Background
With the increasing degree of intelligence of electronic devices, the electronic devices provide more and more functions, and the electronic devices can support multiple application programs to run simultaneously. When running multiple applications on an electronic device, if currently in a first application, when receiving a message in a second application, the message in the second application may be displayed, for example, in a current interface. The current message display mode can shield part of page content of the first application program, interrupt normal use of the first application program, thereby reducing use experience of the application program and reducing user experience.
Disclosure of Invention
The embodiment of the application provides a message display method, a device, equipment and a readable storage medium, which can improve the use experience of an application program and improve the user experience.
In a first aspect, the present application provides a message display method, including:
when a target message is acquired, detecting an interface type of a target interface of a client, wherein the interface type is used for indicating whether the target interface belongs to an interface of a first application program, and the target message is a message in the first application program;
if the target interface does not belong to the interface of the first application program, acquiring a message distribution strategy, determining a processing mode aiming at the target message based on the message distribution strategy, and processing the target message based on the processing mode, wherein the processing mode comprises displaying the target message in a target area or not displaying the target message in the target area;
And if the target interface belongs to the interface of the first application program, displaying the target message in the interface of the first application program.
In a second aspect, the present application provides a message display apparatus, comprising:
the interface determining unit is used for detecting the interface type of a target interface of the client when the target message is acquired, wherein the interface type is used for indicating whether the target interface belongs to an interface of a first application program or not, and the target message is a message in the first application program;
the policy judging unit is used for acquiring a message distribution policy if the target interface does not belong to the interface of the first application program, determining a processing mode aiming at the target message based on the message distribution policy, and processing the target message based on the processing mode, wherein the processing mode comprises displaying the target message in a target area or not displaying the target message in the target area;
and the message display unit is used for displaying the target message in the interface of the first application program if the target interface belongs to the interface of the first application program.
With reference to the second aspect, in one possible implementation manner, the message distribution policy includes at least one subscription message list; the policy judgment unit is further configured to:
Acquiring role information of the client, wherein the role information of the client comprises one of a main role, an assistant role and a spectator role;
determining a target subscription message list associated with the role information from the at least one subscription message list based on the role information of the client;
the policy judging unit is specifically configured to:
determining whether the target message is in a target subscription message list associated with the role information;
if the target message is in the target subscription message list associated with the role information, determining that the processing mode of the target message is to display the target message in the target area;
and if the target message is not in the target subscription message list associated with the role information, determining that the processing mode of the target message is not to display the target message in the target area.
With reference to the second aspect, in a possible implementation manner, the processing manner includes displaying the target message in the target area; the message display unit is specifically configured to:
displaying the target message in the target area;
the message display device further includes: a message processing unit for:
when a trigger instruction of a target message aiming at the target area is detected, executing a message processing operation corresponding to the trigger instruction in the first application program, and displaying a message processing result corresponding to the message processing operation in the target area.
With reference to the second aspect, in one possible implementation manner, the trigger instruction includes a function wake instruction and a message processing instruction; the message processing unit is specifically configured to:
when a first operation aiming at a target message in the target area is detected, triggering the message processing instruction, executing a message processing operation corresponding to the message processing instruction in the first application program, and displaying a message processing result corresponding to the message processing operation in the target area;
triggering the function wake-up instruction when a second operation for a target message in the target area is detected, and waking up a hidden function for the first application program based on the wake-up instruction, wherein the hidden function comprises at least one of entering an interface of the first application program, ignoring the target message and periodically reminding the target message;
and acquiring a selection instruction aiming at a target hiding function in the hiding functions, executing a message processing operation corresponding to the target hiding function in the first application program, and displaying a message processing result corresponding to the message processing operation in the target area.
With reference to the second aspect, in one possible implementation manner, the message distribution policy includes a first message type and a second message type, where the first message type refers to a message type of a real-time presentation message, and the second message type refers to a message type of a presentation message when a specified timestamp is reached; the message processing unit is specifically configured to:
Acquiring the message type of the target message;
if the message type of the target message is the first message type, when the target message is acquired, displaying the target message in real time in a target area in the target interface;
and if the message type of the target message is the second message type, displaying the target message in a target area in the target interface when the target message is acquired and the designated time stamp is reached.
With reference to the second aspect, in one possible implementation manner, the message distribution policy includes a style correspondence, where the style correspondence refers to a correspondence between at least one message style and at least one text content; the message processing unit is specifically configured to:
acquiring key text content of the target message, matching the key text content of the target message with text content in the corresponding relation of the style, and determining a message style corresponding to the matched text content as a target message style;
and displaying the target message according to the target message style in a target area in the target interface.
With reference to the second aspect, in one possible implementation manner, the message display apparatus further includes: the voice broadcasting unit is used for:
Acquiring target voice associated with the target message and an emergency level of the target message;
if the emergency level of the target message is greater than the level threshold, broadcasting the target voice when the target region in the target interface displays the target message;
if the emergency level of the target message is smaller than or equal to the level threshold, acquiring a priority relation between the priority of the target voice and the priority of the current voice of the second application program;
if the priority of the target voice is greater than the priority of the voice in the second application program, broadcasting the target voice when the target area in the target interface displays the target message;
and if the priority of the target voice is smaller than or equal to that of the voice in the second application program, displaying the target message in a target area in the target interface, and broadcasting the target voice when the voice broadcasting in the second application program is finished.
In a third aspect, the present application provides a computer device comprising: a processor, a memory, a network interface;
the processor is connected to a memory for providing data communication functions, and a network interface for storing computer program code for invoking the computer program code to cause a computer device comprising the processor to perform the message presentation method.
In a fourth aspect, the present application provides a computer readable storage medium having stored therein a computer program adapted to be loaded and executed by a processor to cause a computer device having the processor to perform the above-described message presentation method.
In a fifth aspect, the present application provides a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the message presentation method provided in the various alternatives in the first aspect of the present application.
In this embodiment of the present application, when the target message is obtained, it may be determined whether the current interface belongs to the interface of the first application by detecting the interface type of the target interface of the client. If the target message does not belong to the interface of the first application program, the target message can be judged based on the message distribution strategy to determine the processing mode of the target message, for example, the target message is displayed in the target area. If the target interface belongs to the interface of the first application program, the target message can be displayed in the interface of the first application program. Because the target message is judged by combining the message distribution strategy, when the processing mode aiming at the target message is determined to be that the target message is displayed in the target area, the target message can be displayed in the target area under the condition that the use of other application programs in the current interface is not influenced, the efficiency of message display is improved, the use experience of the application program is improved, and further the user experience is improved. Because the target area is a fixed area in the target interface, the display of the target information in the area does not influence or shield the display of other information in the target interface, so that the influence on the display of other information in the target interface is avoided, and the application experience can be further improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a network architecture diagram of a message display system according to an embodiment of the present application;
fig. 2 is a flow chart of a message display method according to an embodiment of the present application;
FIG. 3 is a schematic diagram of an interface presentation provided in an embodiment of the present application;
fig. 4 is a flow chart of another message display method according to an embodiment of the present application;
FIG. 5 is a schematic illustration of another interface presentation provided by an embodiment of the present application;
fig. 6 is a schematic diagram of a composition structure of a message display device according to an embodiment of the present application;
fig. 7 is a schematic diagram of a composition structure of a computer device according to an embodiment of the present application.
Detailed Description
The following description of the technical solutions in the embodiments of the present application will be made clearly and completely with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
In some scenarios implemented in the present application, for example, interaction in a live broadcast scenario may have problems, for example, in a robbery or lottery scenario, a host or some spectators often issue a virtual currency packet in a live broadcast room in order to increase attention or enhance interaction, the packet may have a countdown of several minutes, and when a user issues a packet, the host or spectator may see a read of the countdown of the packet. However, when the host or audience goes back to the background of the application program or goes to play other things, the countdown of the red packet often becomes invisible along with the replacement of the live interface by other application programs or game interfaces, and if the user very hopes that the red packet is about to rob and the red packet is robbed, the user experience is reduced because the user must stay in the live room to wait.
For example, in a gift-delivering scenario, a spectator may deliver a high-value gift to a spectator, such as a "big yacht," "big rocket," etc., and normally in a living room interface, the spectator sees the corresponding gift effect and then performs a thank you and subsequent interactions with the spectator. However, at this time, the host may need to exit the live interface and reply messages to other social software, or if the host plays the game and the mobile phone screen is covered by the game when the game is in a war, the present information sent by the audience cannot be seen, and the missing situation exists, so that interaction with the audience cannot be performed, and user experience is reduced.
For example, in a commodity seconding scenario, a host may pay out some commodities that attract users to purchase, and at the same time, the audience user may wish to perform other interactions in other applications, which often misses the robbery of the seconding commodity, thereby reducing the user experience.
Also for example, in a commodity sales scenario, the anchor may be concerned with how many commodities are sold in real time, which commodity is best sold, the current total sales amount, which commodity is sold out and needs replenishment, etc.; at this time, the anchor needs to know the information, and needs to log in another application program or webpage on the same mobile phone equipment to perform corresponding operations, such as replenishment, or taking out sold out commodities, etc., so that the mode is complicated, and the user experience is reduced.
In the interaction scene of the linking wheat, for example, the host plays the game in the live broadcast process, only the game picture can be displayed on the mobile phone screen, and the user wants to interact with the host in voice at the moment, so that a 'boarding wheat' application is sent out. The host needs to switch to the live broadcasting room page in the game link to receive the 'wheat feeding' request of the user and complete the voice wheat connection, so that the use experience of the game can be reduced, and the user experience is reduced.
For the above listed scenario, if the processing of the message other than the first application program is required in time, the use of the second application program is affected, so that a message display method is required to be used to display the message other than the first application program and process the corresponding message in time without affecting the use of the second application program.
Based on this, the embodiment of the application combines the architecture diagram of fig. 1, in which the problem existing in the above scenario can be solved by applying the message display method, fig. 1 is a network architecture diagram of the message display system provided by the embodiment of the application, as shown in fig. 1, the computer device may perform data interaction with the terminal device, and the number of the terminal devices may be one or at least two. For example, when the number of terminal apparatuses is plural, the terminal apparatuses may include the terminal apparatus 101a, the terminal apparatus 101b, the terminal apparatus 101c, and the like in fig. 1. Taking the terminal device 101a as an example, the client may be installed on the terminal device 101a, and when the computer device 102 obtains the target message, the interface type of the target interface of the client may be detected, where the interface type is used to indicate whether the target interface belongs to the interface of the first application program. If the target interface does not belong to the interface of the first application, the computer device 102 may obtain a message distribution policy, determine a processing manner for the target message based on the message distribution policy, and process the target message based on the processing manner, for example, may display the target message in the target area. If the target interface belongs to the interface of the first application, the computer device 102 may present the target message in the interface of the first application.
Because the target message is judged by combining the message distribution strategy, when the processing mode aiming at the target message is determined to be that the target message is displayed in the target area, the target message can be displayed in the target area under the condition that the use of other application programs in the current interface is not influenced, the efficiency of message display is improved, the use experience of the application program is improved, and further the user experience is improved. Because the target area is a fixed area in the target interface, the display of the target information in the area does not influence or shield the display of other information in the target interface, so that the influence on the display of other information in the target interface is avoided, and the application experience can be further improved.
The computer device mentioned in the embodiment of the present application may refer to a server or a terminal device, or may be a system formed by a server and a terminal device, which is not limited in this embodiment of the present application. The terminal device may be an electronic device including, but not limited to, a cell phone, tablet computer, notebook computer, vehicle mounted device, etc. The above mentioned server may be a separate physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, vehicle-road collaboration, content distribution network (Content Delivery Network, CDN), and basic cloud computing services such as big data and artificial intelligence platform. When the server is a separate physical server, the server may perform message presentation independently. When the server is a plurality of physical servers, the plurality of physical servers can cooperatively perform processing such as message presentation.
Further, referring to fig. 2, fig. 2 is a flow chart of a message display method according to an embodiment of the present application; as shown in fig. 2, the message presentation method may be applied to a computer device, and includes, but is not limited to, the following steps:
s101, when the target message is acquired, detecting the interface type of the target interface of the client.
The technical scheme can be suitable for various scenes needing to interact with other users, and can comprise, for example, live scenes or other scenes. Three users, namely a host, an assistant and a spectator, are included in the live scene. A host may create a live environment such as a live room, and other users such as assistants and viewers may search for a live room number to join the live room to interact with the host. A living room may be a created virtual room that includes creators (anchor) and participants (audience and assistant) that users joining the virtual room can interact with. The assistant may assist the anchor in live broadcasting and the audience may interact with the anchor. For example, interactions may include, but are not limited to, drawing a lottery, sending a gift, robbing a red envelope, selling merchandise, killing merchandise for seconds, etc., which may increase the interest of the user in making a live broadcast. However, if the anchor is not currently located in the live broadcast room under the scene, the interactive content cannot be seen timely, and the anchor is required to enter the live broadcast room to see the interactive content, which may cause higher interaction delay and affect user experience. Therefore, when the interactive message such as the target message is obtained, the technical scheme can detect the interface type of the target interface of the current client so as to determine whether the target interface belongs to the interface of the first application program, namely whether the target interface is a live interface, so that the target message is processed in a targeted manner, for example, the target message is displayed in a target area, or the target message is directly displayed in the live interface, or the target message is not displayed in the target area, and the like.
The interface type is used for indicating whether the target interface belongs to the interface of the first application program, and the target message is a message in the first application program. When the first application program is an application program with a live broadcast function, the interface type can also be used for indicating whether the target interface belongs to an interface of a live broadcast room, and the target message can be various messages in the live broadcast room. When the target interface does not belong to the interface of the live broadcasting room, the target interface may belong to an interface inside the first application program and outside the live broadcasting room, or an interface of another application program outside the first application program. The embodiments of the present application are not limited in this regard.
Further, the target message may be sent by a service backend corresponding to the first application, where the service backend may refer to a live service backend corresponding to the first application. The service backend may detect various messages in real time, for example, may include various messages in the first application, such as messages in a live broadcast room, for example, may include, but not limited to, various messages in a live broadcast such as a robbery package, a lottery, a gift, a merchandise second kill, an item sales, a wheat company interaction, and the like. The target interface of the client may refer to a current interface of the client, and the interface of the target interface belonging to the first application program may refer to that content in the current interface is interface content in the first application program, for example, the first application program is a live application program, and then the interface in the first application program may include, but is not limited to, a live interaction page, and the like. If the target interface belongs to the interface of the first application program, the current state in the live broadcasting room can be indicated; if the target interface does not belong to the interface of the first application program, the current live broadcast room can be indicated. Optionally, if the target interface does not belong to the interface of the first application program, it may indicate that the target interface is currently located outside the live broadcast room, where the target interface may be an interface outside the live broadcast room, for example, an interface that is not added to the live broadcast, or may also be an interface of an application program outside the first application program, or may also be a desktop, that is, an initial interface after the terminal device is started, and so on.
S102, if the target interface does not belong to the interface of the first application program, acquiring a message distribution strategy, determining a processing mode aiming at the target message based on the message distribution strategy, and processing the target message based on the processing mode.
In this embodiment of the present application, if the target interface does not belong to the interface of the first application, it may indicate that the target interface is currently located outside the live broadcast room, then a message distribution policy may be obtained, a target message is determined based on the message distribution policy, and a processing manner for the target message is determined, where the processing manner may include displaying the target message in the target area or not displaying the target message in the target area. The message distribution policy may be used to determine whether to display the target message in the target area, and if the target message meets the message distribution policy, the target message may be displayed in the target area. If the target message does not meet the message distribution policy, the target message is not displayed in the target area. The message distribution policy may be rules that may be exposed in the target area when the target message meets the rules. For example, when the target message satisfies the message distribution policy, it may indicate that the target message is an important event, which needs to be seen by the anchor.
Alternatively, the target area may refer to an internet operating system (Internetworking Operating System-Cisco, IOS) screen information display channel (Dynamic Island, hereinafter simply referred to as a smart Island), where the target area may be located at a fixed position in the target interface, and where displaying the target message in the target area does not affect the use of programs other than the first application in the target interface, or does not obstruct the use of other applications. If the target message is not displayed in the target area, it may refer to displaying the target message in the program background, or not displaying the target message, which is not limited in the embodiment of the present application.
That is, the technical solution of the present application may be applicable to a flexible island of an IOS, and when a target message is acquired, by determining whether the current interface is located at an interface corresponding to a live broadcast room, if not, a processing manner for the target message may be determined based on a message distribution policy, for example, the target message is displayed in the flexible island. Because the flexible island is an increased screen information display channel in the IOS, the display information of the flexible island does not occupy additional screen space, and interaction of other current application programs is not influenced, so that the instantaneity of message display can be improved, and the user experience is improved.
In one embodiment, the message distribution policy may include at least one subscription message list, where the at least one subscription message list may include subscription message lists corresponding to multiple roles, and then the target message may be determined by combining the subscription message list corresponding to the role of the client, to determine a processing manner for the target message. Specifically, acquiring role information of a client, wherein the role information of the client comprises one of a main broadcasting role, an assistant role and a spectator role; determining a target subscription message list associated with the role information from at least one subscription message list based on the role information of the client; determining a manner of processing for the target message based on the message distribution policy may include: determining whether the target message is in a target subscription message list associated with the role information; if the target message is in the target subscription message list associated with the role information, determining that the processing mode of the target message is to display the target message in the target area; if the target message is not in the target subscription message list associated with the role information, determining that the processing mode of the target message is not to display the target message in the target area.
If the target subscription message list has the same message as the target message, the target message is indicated to be in the target subscription message list. If the target subscription message list does not contain the same message as the target message, the target message is not in the target subscription message list. It can be appreciated that, due to the different role information of the clients, the messages of interest are different, and the corresponding subscription message lists are different. For example, for the role of the host, the messages such as lottery, gift, commodity sales, commodity second killing and wheat linking interaction are concerned, and the subscription message list corresponding to the host may include messages such as lottery, gift, commodity sales and commodity second killing. For the assistant role, the messages such as lottery drawing, commodity sales and the like are focused, and the subscription message list corresponding to the assistant can comprise the messages such as lottery drawing, commodity sales and the like. Aiming at the role of the audience, the audience pay attention to the messages such as the robbery package, the lottery drawing, the commodity second killing and the like, and the subscription message list corresponding to the audience can comprise the messages such as the robbery package, the lottery drawing, the commodity second killing and the like.
That is, when the roles of the clients are different, the acquired subscription message list is different, and for the same target message, when the role of the client is the anchor role, the target message can be displayed in the target area, and when the role of the client is the audience, the target message does not need to be displayed in the target area, so that targeted message display can be realized, the display in the target area when all the target messages are acquired is avoided, the data display quantity can be reduced, and the resource consumption is saved.
Further, if the processing mode is to display the target message in the target area, the method for processing the target message based on the processing mode is to display the target message in the target area, so that the user can view the target message displayed in the target area without affecting the use of other application programs, such as the game operation, and process the target message, thereby interacting with the audience in time and improving the user experience.
Optionally, when a trigger instruction of a target message for the target area is detected, a message processing operation corresponding to the trigger instruction is executed in the first application program, and a message processing result corresponding to the message processing operation is displayed in the target area.
When the trigger instruction is detected, the message processing result corresponding to the message processing operation can be displayed in the target area. For example, the triggering instruction indicates that the request for the wheat-linking interaction is accepted, and the corresponding message processing result may be "the Xiaoming is interacting with you with wheat". Or, the triggering instruction indicates rejection of the wheat linking interaction request, the corresponding message processing result may be "you have rejected the wheat linking interaction request" or the like.
In one embodiment, the trigger instruction may include a message processing instruction, which may be used to process the target message. Specifically, when a first operation for a target message in a target area is detected, a message processing instruction is triggered, a message processing operation corresponding to the message processing instruction is executed in a first application program, and a message processing result corresponding to the message processing operation is displayed in the target area.
The first operation may include, but is not limited to, a clicking operation, an operation of drawing a first pattern on the target interface, a first gesture operation, and so on. The first pattern may include, but is not limited to, letters, numbers, and the like. The first gesture operation may include, but is not limited to, a specific action by hand-scribing. Since the target message is a message in the first application program, when a first operation for the target message is detected, a message processing instruction can be triggered, and a message processing operation corresponding to the message processing instruction is executed in the first application program. For example, the target message is a link interaction message, and when a trigger instruction of the target message for the target area is detected, the link interaction request can be accepted or rejected, so that a message processing result corresponding to the message processing operation can be displayed in the target area.
In one embodiment, the trigger instruction may further include a function wake instruction, which may be used to wake up at least one hidden function. Specifically, when a second operation for a target message in a target area is detected, triggering a function wake-up instruction, and waking up a hidden function for the first application program based on the wake-up instruction; and acquiring a selection instruction aiming at a target hiding function in the hiding functions, executing a message processing operation corresponding to the target hiding function in the first application program, and displaying a message processing result corresponding to the message processing operation in a target area.
The second operation may include, but is not limited to, a long press operation, an operation of drawing a second pattern at the target interface, and a second gesture operation, among others. The second pattern may include, but is not limited to, letters, numbers, and the like. The second gesture operation may include, but is not limited to, a specific action being manually scribed. The second pattern is different from the first pattern and the second gesture operation is different from the first gesture operation. The hiding function includes at least one of entering an interface of the first application, ignoring the target message, periodically alerting the target message. The target hiding function may be any hiding function selected. By waking up a plurality of hidden functions for the first application program by the wake-up instruction, one hidden function can be selected from the plurality of hidden functions as a target hidden function, thereby executing a message processing operation corresponding to the target hidden function. If the target hiding function is an interface entering the first application program, entering the interface of the first application program, for example, entering a live broadcast room when the target hiding function is acquired. If the target hiding function is to ignore the target message, when the target hiding function is acquired, the target message is not displayed in the target area, and the processing of the target message is stopped in the first application program. If the target hiding function is a periodic reminding target message, when the target hiding function is acquired, the operation of displaying the target message in the target area can be canceled, and when the periodic reminding condition is met, the target message is repeatedly displayed in the target area. The periodic alert condition may refer to an alert once per an interval period threshold, for example, a period threshold of 1 minute, then a target message is presented at a target area per 1 minute interval.
In one embodiment, the message distribution policy may further include a first message type and a second message type, the first message type being a message type of the real-time presentation message, the second message type being a message type of the presentation message when the specified timestamp is reached; the method for displaying the target message in the target area in the target interface can comprise the following steps: acquiring the message type of the target message; if the message type of the target message is the first message type, when the target message is acquired, displaying the target message in real time in a target area in a target interface; if the message type of the target message is the second message type, when the target message is acquired and the designated time stamp is reached, the target message is displayed in a target area in the target interface.
The specified timestamp may refer to a timestamp associated with the target message, for example, the target message is a robbed packet, the specified timestamp may be a robbed time of the robbed packet, for example, 1 minute later, and the specified timestamp may be 1 minute later. For example, when the target message is a robbed packet message and the designated time stamp is 1 minute, when the target message is acquired, the target message is displayed in a target area in the target interface after waiting for 1 minute. It can be understood that, before the target message is acquired and the specified time stamp is reached, the time information associated with the target message can be displayed in the target area, for example, countdown can be displayed, and the user can check the information of opening and robbing the red packet through countdown, so that missing of the robbing the red packet is avoided, and user experience is improved.
In one embodiment, the message distribution policy includes a style correspondence, the style correspondence being a correspondence between at least one message style and at least one text content; the method for displaying the target message in the target area in the target interface can comprise the following steps: acquiring key text content of a target message, matching the key text content of the target message with text content in a style corresponding relation, and determining a message style corresponding to the matched text content as a target message style; and displaying the target message according to the target message style in the target area in the target interface.
The key text content may be used to describe the type of the target message, for example, the key text content may include types such as "red pack", "lottery", "company with wheat", "commodity second killing", and the like. When the key text content of the target message is acquired, the corresponding target message style can be matched from the corresponding relation, for example, the key text content is 'red package', and the target message style can be a red package icon. Or the key text content is "company wheat", the target message style may be company wheat icon, etc. Therefore, the target message can be displayed in the target area according to the target message style, for example, the target message is displayed in the target area in a mode of adding characters (namely characters in the target message) to icons, so that the user can be clearly reminded of the current event in the live broadcasting room, and the untimely interaction is avoided.
Referring to fig. 3, fig. 3 is a schematic diagram of an interface display provided in the embodiment of the present application, where a display screen of a client includes two areas, namely, a target area (a smart island) and a screen area of a target interface, the target area is located above the display screen, the screen area of the target interface is located at the middle lower part of the display screen, and the area of the screen area of the target interface is larger than the target area. Various messages within the live room may be presented in the target area, and a second application or a message outside the live room may be presented in the screen area of the target interface. In fig. 3, 5 types of target messages are shown, the first type of target message is a lottery message, and the lottery message is a message which is continuously displayed, that is, a lottery countdown is required to be displayed in real time so that a user can intuitively see the lottery message. The second type is a red packet message, which is similar to the lottery message, and the countdown of the red packet can be displayed in real time, so that a user can intuitively check the red packet message. The third type of target message is a commodity sales message, and sales conditions, residual quantity, sales amount and the like of various commodities can be displayed, so that a user such as a host can know the sales conditions of the current commodities in time, and the types of the commodities can be adjusted in time. The fourth type of target message is a wheat-linking interaction message, and the wheat-linking interaction message is displayed in the target area, such as the Ming application and the you voice wheat-linking message, so that the wheat-linking can be realized through rapid operation, and the interaction delay is reduced. The fifth type of target message is a gift sending message, for example, audience gift sending conditions in a living broadcast room can be displayed in a target area, so that a host can quickly check, interaction is performed, and user experience is improved.
S103, if the target interface belongs to the interface of the first application program, displaying the target message in the interface of the first application program.
In this embodiment of the present application, if the target interface belongs to an interface of the first application, it may indicate that the target interface is currently located in the live broadcast room, and then the target message may be displayed in the interface of the first application, that is, the target message of the live broadcast room is displayed in the current interface.
Optionally, when the message processing instruction for the target message is acquired, the target message is processed correspondingly, a message processing operation corresponding to the message processing instruction is executed in the first application program, and a message processing result corresponding to the message processing operation is displayed on the target interface.
In one possible implementation manner, the target message can be output in a voice broadcasting manner, so that the user can clearly know the target message. Specifically, acquiring target voice associated with a target message and an emergency level of the target message; if the emergency level of the target message is greater than the level threshold, broadcasting target voice; if the emergency level of the target message is smaller than or equal to the level threshold, acquiring a priority relation between the priority of the target voice and the current priority of the voice of the second application program; if the priority of the target voice is greater than the priority of the voice in the second application program, broadcasting the target voice; and if the priority of the target voice is smaller than or equal to the priority of the voice in the second application program, broadcasting the target voice when the voice broadcasting in the second application program is finished.
When the target voice associated with the target message is acquired, the target message can be processed based on the text-to-voice technology, and the target message is converted into the target voice. Text-to-speech techniques may include, but are not limited to, speech synthesis techniques. The higher the urgency level of the target message, the more important the target message is, and the target voice needs to be broadcasted as soon as possible, so that the influence on the user experience due to voice broadcasting delay is avoided. The lower the emergency level of the target message is, the target voice can delay broadcasting, and the influence on the voice broadcasting in other application programs is avoided. If the urgent level of the target message is greater than the level threshold, which indicates that the target message is urgent, the target voice can be immediately broadcasted so as not to cause voice delay. If the emergency level of the target message is less than or equal to the level threshold, a priority relation between the priority of the target voice and the priority of the current voice of the second application program can be further acquired; thereby determining which voice to broadcast first. The higher priority indicates that the order of voice broadcasting is earlier, and the lower priority indicates that the order of voice broadcasting is later. If the priority of the target voice is greater than that of the voice in the second application program, the target voice can be broadcasted first, and when the target voice broadcasting is finished, the current voice of the second application program is broadcasted again, so that voice delay is reduced. If the priority of the target voice is smaller than or equal to the priority of the voice in the second application program, when the voice broadcasting in the second application program is finished, the target voice is broadcasted, the influence on the normal use of the current second application program is avoided, and the user experience is improved.
In another possible implementation manner, when the target message is displayed in the target area, a voice corresponding to the target message can be broadcasted, so that the user can clearly know the target message. Specifically, acquiring target voice associated with a target message and an emergency level of the target message; if the emergency level of the target message is greater than the level threshold, broadcasting target voice when the target message is displayed in a target area in the target interface; if the emergency level of the target message is smaller than or equal to the level threshold, acquiring a priority relation between the priority of the target voice and the current priority of the voice of the second application program; if the priority of the target voice is greater than that of the voice in the second application program, broadcasting the target voice when the target area in the target interface displays the target message; and if the priority of the target voice is smaller than or equal to that of the voice in the second application program, displaying the target message in the target area in the target interface, and broadcasting the target voice when the voice broadcasting in the second application program is finished.
By acquiring the target voice corresponding to the target message, if the emergency level of the target message is higher, the target message can be displayed in the target area quickly, the target voice is broadcasted, and the instantaneity of the message is improved. If the emergency level of the target message is lower, the priority between the target voice and the voice in the second application program can be compared, if the priority of the voice in the second application program is higher than the target voice, the target message can be displayed in the target area in the target interface first, and after the voice broadcasting in the second application program is finished, the target voice is broadcasted, by displaying the target message in the target area first, the use of the second application program can be prevented from being influenced, and the voice broadcasting mode of the second application program can not be influenced, so that the user experience can be improved.
In the embodiment of the application, a plurality of terminal devices do not need to be prepared to run simultaneously to realize the use of different application programs, the display of the target message does not cause strong interruption of the visual style of the current interface, the interaction content of the current interface is not blocked, and the game interaction behavior of a user is not blocked in a game scene. The scheme in the embodiment of the application does not need additional terminal equipment to support, the flexible island is an increased screen information display channel in the IOS, is unique hardware characteristics on the terminal equipment, and can clearly remind a user of events occurring in the current first application program in a mode of displaying target information through a target area, so that the timeliness of information display can be improved, and user experience is improved.
In this embodiment of the present application, when the target message is obtained, it may be determined whether the current interface belongs to the interface of the first application by detecting the interface type of the target interface of the client. If the target message does not belong to the interface of the first application program, the target message can be judged based on the message distribution strategy to determine the processing mode of the target message, for example, the target message is displayed in the target area. If the target interface belongs to the interface of the first application program, the target message can be displayed in the interface of the first application program. Because the target message is judged by combining the message distribution strategy, when the processing mode aiming at the target message is determined to be that the target message is displayed in the target area, the target message can be displayed in the target area under the condition that the use of other application programs in the current interface is not influenced, the efficiency of message display is improved, the use experience of the application program is improved, and further the user experience is improved. Because the target area is a fixed area in the target interface, the display of the target information in the area does not influence or shield the display of other information in the target interface, so that the influence on the display of other information in the target interface is avoided, and the application experience can be further improved.
Further, referring to fig. 4, fig. 4 is a flow chart of another message display method according to an embodiment of the present application; as shown in fig. 4, the message presentation method may be applied to a computer device, and includes, but is not limited to, the following steps:
s201, when the service back end detects the target message, the target message is issued to the message receiving device in real time.
In this embodiment of the present application, the service backend may detect, in real time, various events that occur, where the events may include a target message, and the target message may be a real-time message. When the service back end detects that the target message exists, the target message can be issued to the message receiving device in real time, so that the target message in the message receiving device can be further judged, and the processing mode for the message is determined. Alternatively, the service backend may send the target message to the message receiving device via a long-chain access. The long-chain channel can be used as an information channel for carrying out bidirectional real-time communication between the service back end and the client, namely, the information of the service back end can be sent to the client in real time through the long-chain channel. The message receiving device may be installed on the client, or the message receiving device may be a device associated with the client, or the message receiving device may be a part of the client, which is not limited in this embodiment of the application.
S202, detecting the interface type of the current interface of the client to determine whether the current interface belongs to the live broadcasting room.
In the embodiment of the present application, if the current interface of the client is the interface corresponding to the live broadcast room, it is determined that the current interface belongs to the live broadcast room. If the current interface of the client is not the interface corresponding to the live broadcasting room, determining that the current interface does not belong to the live broadcasting room.
And S203, if the current interface belongs to the live broadcasting room, displaying the target message in the message receiving device on the current interface.
In the embodiment of the application, if the current interface belongs to the live broadcasting room, the target message can be displayed on the current interface, so that service consumption in the live broadcasting room is realized, namely, the target message is correspondingly processed aiming at user operation.
S204, if the current interface belongs to outside the living broadcast room, judging the target message in the message receiving device based on the message distribution strategy, and determining the processing mode aiming at the target message.
The message distribution policy may be deployed in a key event policy device, where the key event policy device may be a device for managing whether all key information such as gifts, red packets, lottery, and commodity second kills is subject to target area distribution, data assembly (for example, assembling or converting an acquired message format into a data format corresponding to a smart island), and decision (i.e., determining a processing manner of a target message). The message distribution policy may be used to determine whether the current interface is outside the live room, role information of the client, a list of subscribed messages corresponding to the role information of the client, whether the target message is a continuous message that is displayed once or in real time (e.g., countdown), whether there is an animation hint, a duration of the message, whether there is a case appearance customization attribute (e.g., a message style), and so on.
In the embodiment of the present application, since the current interface belongs to outside of the live broadcast room, whether the target message is an important event to be displayed can be determined based on the message distribution policy. If the target message is determined to be an important event to be displayed, the target message can be displayed in the target area so that the user can view the important event. If the target message is determined not to be an important event to be displayed, the target message may not be displayed in the target area.
S205, if the processing mode of the target message is to display the target message in the target area, the target message is sent to the target area expansion device through the cross-process communication device so as to display the target message in the target area of the current interface.
The target area expansion device can be used as a channel for transmitting information and is used for connecting the target area and the client, and can be a special system device arranged on the terminal equipment by the IOS.
In this embodiment of the present application, if the target message is an important event to be displayed, and the target area and the first application belong to two different processes, the target message may be sent to the target area expansion device by the cross-process communication device, and the target message is displayed in the target area of the current interface. As shown in fig. 5, fig. 5 is a schematic diagram of another interface display provided in the embodiment of the present application, where a target message in a live room displayed by a target area 51 in fig. 5, a message outside the live room displayed by a screen area 52, for example, a message outside the live room of a second application or a first application, and the display between the message in the target area and the message in the target interface are not affected, so that the situations such as message occlusion can be avoided.
For example, taking a live gift scenario as an example, firstly, the service backend detects that a viewer spends 100 yuan buying and sends a gift (such as a big yacht) to the host, but at this time, the host plays a game and live, and cannot view the gift. The business backend sends the gift-sending message (e.g., the name of the audience sending the gift, the type of the gift, the icon of the gift, etc.) to the corresponding client of the anchor via the long-chain channel. After receiving the gift sending message, the client judges that the gift sending message is an important event through a message distribution strategy, and needs to be seen by a host, so that the gift sending message is synchronized to the target area expansion device through the cross-process communication device; finally, the target area expansion device can call the system interface to apply for the data display authority of the target area; and after the data display authority application is successful, displaying the gift message in the target area.
In this embodiment of the present application, when the target message is obtained, it may be determined whether the current interface belongs to the interface of the first application by detecting the interface type of the target interface of the client. If the target message does not belong to the interface of the first application program, the target message can be judged based on the message distribution strategy to determine the processing mode of the target message, for example, the target message is displayed in the target area. If the target interface belongs to the interface of the first application program, the target message can be displayed in the interface of the first application program. Because the target message is judged by combining the message distribution strategy, when the processing mode aiming at the target message is determined to be that the target message is displayed in the target area, the target message can be displayed in the target area under the condition that the use of other application programs in the current interface is not influenced, the efficiency of message display is improved, the use experience of the application program is improved, and further the user experience is improved. Because the target area is a fixed area in the target interface, the display of the target information in the area does not influence or shield the display of other information in the target interface, so that the influence on the display of other information in the target interface is avoided, and the application experience can be further improved.
Having described the methods of embodiments of the present application, the apparatus of embodiments of the present application are described below.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a message display apparatus according to an embodiment of the present application, where the message display apparatus may be deployed on a computer device; the message display device can be used for executing corresponding steps in the message display method provided by the embodiment of the application. The message display apparatus 60 includes:
the interface determining unit 601 is configured to detect, when a target message is acquired, an interface type of a target interface of the client, where the interface type is used to indicate whether the target interface belongs to an interface of a first application program, and the target message is a message in the first application program;
the policy determining unit 602 is configured to obtain a message distribution policy if the target interface does not belong to the interface of the first application program, determine a processing manner for the target message based on the message distribution policy, and process the target message based on the processing manner, where the processing manner includes displaying the target message in a target area or not displaying the target message in the target area;
the message display unit 603 is configured to display the target message in the interface of the first application if the target interface belongs to the interface of the first application.
Optionally, the message distribution policy includes at least one subscription message list; the policy determining unit 602 is further configured to:
acquiring role information of the client, wherein the role information of the client comprises one of a main role, an assistant role and a spectator role;
determining a target subscription message list associated with the role information from the at least one subscription message list based on the role information of the client;
the policy determining unit 602 is specifically configured to:
determining whether the target message is in a target subscription message list associated with the role information;
if the target message is in the target subscription message list associated with the role information, determining that the processing mode of the target message is to display the target message in the target area;
and if the target message is not in the target subscription message list associated with the role information, determining that the processing mode of the target message is not to display the target message in the target area.
Optionally, the processing mode includes displaying the target message in the target area; the message display unit 603 is specifically configured to:
displaying the target message in the target area;
the message display apparatus 60 further includes: a message processing unit 604, configured to:
When a trigger instruction of a target message aiming at the target area is detected, executing a message processing operation corresponding to the trigger instruction in the first application program, and displaying a message processing result corresponding to the message processing operation in the target area.
Optionally, the trigger instruction includes a function wake-up instruction and a message processing instruction; the message processing unit 604 is specifically configured to:
when a first operation aiming at a target message in the target area is detected, triggering the message processing instruction, executing a message processing operation corresponding to the message processing instruction in the first application program, and displaying a message processing result corresponding to the message processing operation in the target area;
triggering the function wake-up instruction when a second operation for a target message in the target area is detected, and waking up a hidden function for the first application program based on the wake-up instruction, wherein the hidden function comprises at least one of entering an interface of the first application program, ignoring the target message and periodically reminding the target message;
and acquiring a selection instruction aiming at a target hiding function in the hiding functions, executing a message processing operation corresponding to the target hiding function in the first application program, and displaying a message processing result corresponding to the message processing operation in the target area.
Optionally, the message distribution policy includes a first message type and a second message type, wherein the first message type refers to a message type of the real-time presentation message, and the second message type refers to a message type of the presentation message when a specified time stamp is reached; the message processing unit 604 is specifically configured to:
acquiring the message type of the target message;
if the message type of the target message is the first message type, when the target message is acquired, displaying the target message in real time in a target area in the target interface;
and if the message type of the target message is the second message type, displaying the target message in a target area in the target interface when the target message is acquired and the designated time stamp is reached.
Optionally, the message distribution policy includes a style correspondence, where the style correspondence refers to a correspondence between at least one message style and at least one text content; the message processing unit 604 is specifically configured to:
acquiring key text content of the target message, matching the key text content of the target message with text content in the corresponding relation of the style, and determining a message style corresponding to the matched text content as a target message style;
And displaying the target message according to the target message style in a target area in the target interface.
Optionally, the message display apparatus 60 further includes: a voice broadcasting unit 605 for:
acquiring target voice associated with the target message and an emergency level of the target message;
if the emergency level of the target message is greater than the level threshold, broadcasting the target voice when the target region in the target interface displays the target message;
if the emergency level of the target message is smaller than or equal to the level threshold, acquiring a priority relation between the priority of the target voice and the priority of the current voice of the second application program;
if the priority of the target voice is greater than the priority of the voice in the second application program, broadcasting the target voice when the target area in the target interface displays the target message;
and if the priority of the target voice is smaller than or equal to that of the voice in the second application program, displaying the target message in a target area in the target interface, and broadcasting the target voice when the voice broadcasting in the second application program is finished.
It should be noted that, in the embodiment corresponding to fig. 6, the content not mentioned may be referred to the description of the method embodiment, and will not be repeated here.
In this embodiment of the present application, when the target message is obtained, it may be determined whether the current interface belongs to the interface of the first application by detecting the interface type of the target interface of the client. If the target message does not belong to the interface of the first application program, the target message can be judged based on the message distribution strategy to determine the processing mode of the target message, for example, the target message is displayed in the target area. If the target interface belongs to the interface of the first application program, the target message can be displayed in the interface of the first application program. Because the target message is judged by combining the message distribution strategy, when the processing mode aiming at the target message is determined to be that the target message is displayed in the target area, the target message can be displayed in the target area under the condition that the use of other application programs in the current interface is not influenced, the efficiency of message display is improved, the use experience of the application program is improved, and further the user experience is improved. Because the target area is a fixed area in the target interface, the display of the target information in the area does not influence or shield the display of other information in the target interface, so that the influence on the display of other information in the target interface is avoided, and the application experience can be further improved.
Referring to fig. 7, fig. 7 is a schematic diagram of a composition structure of a computer device according to an embodiment of the present application. As shown in fig. 7, the above-described computer device 70 may include: processor 701, network interface 704 and memory 705, and in addition, the computer device 70 may further comprise: a user interface 703, and at least one communication bus 702. Wherein the communication bus 702 is used to enable connected communications between these components. The user interface 703 may include a Display screen (Display), a Keyboard (Keyboard), and the optional user interface 703 may further include a standard wired interface, a wireless interface, among others. The network interface 704 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 705 may be a high-speed RAM memory or a nonvolatile memory (non-volatile memory), such as at least one disk memory. The memory 705 may also optionally be at least one storage device located remotely from the processor 701. As shown in fig. 7, an operating system, a network communication module, a user interface module, and a device control application program may be included in the memory 705, which is one type of computer-readable storage medium.
In the computer device 70 shown in FIG. 7, the network interface 704 may provide network communication functions; while the user interface 703 is primarily used as an interface for providing input to a user; and the processor 701 may be configured to invoke the device control application stored in the memory 705 to:
When a target message is acquired, detecting an interface type of a target interface of a client, wherein the interface type is used for indicating whether the target interface belongs to an interface of a first application program, and the target message is a message in the first application program;
if the target interface does not belong to the interface of the first application program, acquiring a message distribution strategy, determining a processing mode aiming at the target message based on the message distribution strategy, and processing the target message based on the processing mode, wherein the processing mode comprises displaying the target message in a target area or not displaying the target message in the target area;
and if the target interface belongs to the interface of the first application program, displaying the target message in the interface of the first application program.
It should be understood that the computer device 70 described in the embodiment of the present application may perform the description of the message display method in the embodiment corresponding to fig. 2 and 4, and may also perform the description of the message display apparatus in the embodiment corresponding to fig. 6, which is not repeated herein. In addition, the description of the beneficial effects of the same method is omitted.
In this embodiment of the present application, when the target message is obtained, it may be determined whether the current interface belongs to the interface of the first application by detecting the interface type of the target interface of the client. If the target message does not belong to the interface of the first application program, the target message can be judged based on the message distribution strategy to determine the processing mode of the target message, for example, the target message is displayed in the target area. If the target interface belongs to the interface of the first application program, the target message can be displayed in the interface of the first application program. Because the target message is judged by combining the message distribution strategy, when the processing mode aiming at the target message is determined to be that the target message is displayed in the target area, the target message can be displayed in the target area under the condition that the use of other application programs in the current interface is not influenced, the efficiency of message display is improved, the use experience of the application program is improved, and further the user experience is improved. Because the target area is a fixed area in the target interface, the display of the target information in the area does not influence or shield the display of other information in the target interface, so that the influence on the display of other information in the target interface is avoided, and the application experience can be further improved.
The present application also provides a computer readable storage medium storing a computer program comprising program instructions which, when executed by a computer, cause the computer to perform a method as in the previous embodiments, the computer being part of a computer device as mentioned above. Such as the processor 701 described above. As an example, the program instructions may be executed on one computer device or on multiple computer devices located at one site, or alternatively, on multiple computer devices distributed across multiple sites and interconnected by a communication network, which may constitute a blockchain network.
Those skilled in the art will appreciate that all or part of the processes in the methods of the above embodiments may be implemented by a computer program for instructing relevant hardware, where the program may be stored in a computer readable storage medium, and where the program, when executed, may include processes of the embodiments of the methods as described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a random-access Memory (Random Access Memory, RAM), or the like.
The foregoing disclosure is only illustrative of the preferred embodiments of the present application and is not intended to limit the scope of the claims herein, as the equivalent of the claims herein shall be construed to fall within the scope of the claims herein.

Claims (10)

1. A method of message presentation, the method comprising:
when a target message is acquired, detecting an interface type of a target interface of a client, wherein the interface type is used for indicating whether the target interface belongs to an interface of a first application program or not, and the target message is a message in the first application program;
if the target interface does not belong to the interface of the first application program, acquiring a message distribution strategy, determining a processing mode aiming at the target message based on the message distribution strategy, and processing the target message based on the processing mode, wherein the processing mode comprises displaying the target message in a target area or not displaying the target message in the target area;
and if the target interface belongs to the interface of the first application program, displaying the target message in the interface of the first application program.
2. The method of claim 1, wherein the message distribution policy comprises at least one list of subscription messages; the method further comprises the steps of:
Acquiring role information of the client, wherein the role information of the client comprises one of a main broadcasting role, an assistant role and a spectator role;
determining a target subscription message list associated with the role information from the at least one subscription message list based on the role information of the client;
the determining a processing mode for the target message based on the message distribution policy includes:
determining whether the target message is in a target subscription message list associated with the role information;
if the target message is in the target subscription message list associated with the role information, determining that the processing mode of the target message is to display the target message in the target area;
and if the target message is not in the target subscription message list associated with the role information, determining that the processing mode of the target message is not to display the target message in the target area.
3. The method of claim 1, wherein the processing means comprises presenting the target message at the target area; the processing the target message based on the processing mode comprises the following steps:
displaying the target message in the target area;
The method further comprises the steps of:
when a trigger instruction of a target message aiming at the target area is detected, executing a message processing operation corresponding to the trigger instruction in the first application program, and displaying a message processing result corresponding to the message processing operation in the target area.
4. A method according to claim 3, wherein the trigger instruction comprises a function wake-up instruction and a message processing instruction;
the executing the message processing operation corresponding to the trigger instruction in the first application program, and displaying the message processing result corresponding to the message processing operation in the target area, including:
when a first operation aiming at a target message in the target area is detected, triggering the message processing instruction, executing a message processing operation corresponding to the message processing instruction in the first application program, and displaying a message processing result corresponding to the message processing operation in the target area;
triggering the function wake-up instruction when a second operation for a target message in the target area is detected, and waking up a hidden function for the first application program based on the wake-up instruction, wherein the hidden function comprises at least one of entering an interface of the first application program, ignoring the target message and periodically reminding the target message;
And acquiring a selection instruction aiming at a target hiding function in the hiding functions, executing a message processing operation corresponding to the target hiding function in the first application program, and displaying a message processing result corresponding to the message processing operation in the target area.
5. A method according to claim 3, wherein the message distribution policy comprises a first message type and a second message type, the first message type being the message type of the real-time presentation message and the second message type being the message type of the presentation message when a specified time stamp is reached;
the target area in the target interface displays the target message, which comprises the following steps:
acquiring the message type of the target message;
if the message type of the target message is the first message type, when the target message is acquired, displaying the target message in real time in a target area in the target interface;
and if the message type of the target message is the second message type, displaying the target message in a target area in the target interface when the target message is acquired and the designated timestamp is reached.
6. The method of claim 3, wherein the message distribution policy includes a style correspondence between at least one message style and at least one text content;
The target area in the target interface displays the target message, which comprises the following steps:
acquiring key text content of the target message, matching the key text content of the target message with text content in the style corresponding relation, and determining a message style corresponding to the matched text content as a target message style;
and displaying the target message according to the target message style in a target area in the target interface.
7. The method according to any one of claims 3-6, further comprising:
acquiring target voice associated with the target message and an emergency level of the target message;
if the emergency level of the target message is greater than a level threshold, broadcasting the target voice when the target region in the target interface displays the target message;
if the emergency level of the target message is smaller than or equal to the level threshold, acquiring a priority relation between the priority of the target voice and the priority of the current voice of the second application program;
if the priority of the target voice is greater than that of the voice in the second application program, broadcasting the target voice when the target message is displayed in a target area in the target interface;
And if the priority of the target voice is smaller than or equal to that of the voice in the second application program, displaying the target message in a target area in the target interface, and broadcasting the target voice when the voice broadcasting in the second application program is finished.
8. A message display apparatus, the method comprising:
the interface determining unit is used for detecting the interface type of a target interface of the client when the target message is acquired, wherein the interface type is used for indicating whether the target interface belongs to an interface of a first application program or not, and the target message is a message in the first application program;
the policy judging unit is used for acquiring a message distribution policy if the target interface does not belong to the interface of the first application program, determining a processing mode aiming at the target message based on the message distribution policy, and processing the target message based on the processing mode, wherein the processing mode comprises displaying the target message in a target area or not displaying the target message in the target area;
and the message display unit is used for displaying the target message in the interface of the first application program if the target interface belongs to the interface of the first application program.
9. A computer device, comprising: a processor, a memory, and a network interface;
the processor is connected to the memory, the network interface for providing data communication functions, the memory for storing program code, the processor for invoking the program code to cause the computer device to perform the method of any of claims 1-7.
10. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program adapted to be loaded and executed by a processor to cause a computer device having the processor to perform the method of any of claims 1-7.
CN202310084010.7A 2023-01-18 2023-01-18 Message display method, device, equipment and readable storage medium Pending CN117750104A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310084010.7A CN117750104A (en) 2023-01-18 2023-01-18 Message display method, device, equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310084010.7A CN117750104A (en) 2023-01-18 2023-01-18 Message display method, device, equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN117750104A true CN117750104A (en) 2024-03-22

Family

ID=90280110

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310084010.7A Pending CN117750104A (en) 2023-01-18 2023-01-18 Message display method, device, equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN117750104A (en)

Similar Documents

Publication Publication Date Title
CN110418151B (en) Bullet screen information sending and processing method, device, equipment and medium in live game
CN111246308B (en) Method and device for accessing live broadcast room, live broadcast server and storage medium
CN113727130B (en) Message prompting method, system and device for live broadcasting room and computer equipment
CN110944235A (en) Live broadcast interaction method, device and system, electronic equipment and storage medium
CN112616068A (en) Task processing method and device, electronic equipment and storage medium
US20220072436A1 (en) Method and apparatus for game live-streaming
CN113949892B (en) Live broadcast interaction method, system, equipment and medium based on virtual resource consumption
CN113204656A (en) Multimedia resource display method, device, equipment and storage medium
CN113840154A (en) Live broadcast interaction method and system based on virtual gift and computer equipment
WO2023040601A1 (en) Data matching method and apparatus, and device and computer-readable storage medium
CN112714329A (en) Display control method and device for live broadcast room, storage medium and electronic equipment
CN114286156A (en) Live broadcast interaction method and device, storage medium and computer equipment
CN114666671B (en) Live broadcast praise interaction method, device, equipment and storage medium
CN114666672B (en) Live fight interaction method and system initiated by audience and computer equipment
CN112770131A (en) Live broadcast room red packet processing method, device, equipment and storage medium
CN114518918A (en) Data processing method, device, equipment and storage medium
CN103490986A (en) Method for displaying broadcast data of chatting software
CN108288152B (en) Interaction method, terminal and storage medium for sharing information
CN113596492A (en) Gift display method and system in network live broadcast
CN113382277A (en) Network live broadcast method, device and system
CN113034208A (en) Virtual resource processing method and device, electronic equipment and storage medium
US20230214084A1 (en) Method for displaying interface, device and storage medium
CN117750104A (en) Message display method, device, equipment and readable storage medium
CN114760531B (en) Team interaction method, device, system, equipment and storage medium for live broadcasting room
CN114302163B (en) Live broadcasting room advertisement processing method and device, equipment and medium thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination