CN112004110A - Prompt message processing method and device - Google Patents

Prompt message processing method and device Download PDF

Info

Publication number
CN112004110A
CN112004110A CN202010900618.9A CN202010900618A CN112004110A CN 112004110 A CN112004110 A CN 112004110A CN 202010900618 A CN202010900618 A CN 202010900618A CN 112004110 A CN112004110 A CN 112004110A
Authority
CN
China
Prior art keywords
data
service scene
prompt
prompt message
service
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.)
Granted
Application number
CN202010900618.9A
Other languages
Chinese (zh)
Other versions
CN112004110B (en
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.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology 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 Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202010900618.9A priority Critical patent/CN112004110B/en
Publication of CN112004110A publication Critical patent/CN112004110A/en
Application granted granted Critical
Publication of CN112004110B publication Critical patent/CN112004110B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25866Management of end-user data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26208Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/488Data services, e.g. news ticker
    • H04N21/4882Data services, e.g. news ticker for displaying messages, e.g. warnings, reminders
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/65Transmission of management data between client and server
    • H04N21/654Transmission by server directed to the client

Abstract

The disclosure relates to a processing method and a device of a prompt message, wherein the method is applied to a server, the server stores priority information of a plurality of service scenes, and the method comprises the following steps: after monitoring that the account enters a live broadcast room by using a client, acquiring service scene information of the account from the local; according to the priority information of a plurality of service scenes, determining a service scene identifier with the highest priority from the service scene identifier set, and determining display style data corresponding to the service scene identifier; constructing prompt data; and sending the prompt data to the client so that the client can construct a prompt message and display the prompt message. According to the method and the system, the server stores the priority information of a plurality of service scenes, and the server performs the operation of screening out the service scene identifier with the highest priority. Because the new version client does not need to be developed and released, the development cost for updating the service scene is low, the required period is short, and the efficiency for updating the service scene is improved.

Description

Prompt message processing method and device
Technical Field
The present disclosure relates to the field of internet technologies, and in particular, to a method and an apparatus for processing a prompt message.
Background
In the live broadcast industry, a user can enter a live broadcast room by using a client installed on an electronic terminal, and in order to increase interestingness, a presence prompting message (a certain presence prompting message can be 'entering the live broadcast room', and the like) can be displayed in the live broadcast room after the user enters the live broadcast room.
A user can belong to a plurality of service scenes simultaneously, the client screens out the service scene with the highest priority according to the priority information of the service scenes, and the admission prompt message corresponding to the service scene is displayed in a live broadcast room.
With the continuous use of the live broadcast, part of the service scenes can be added or deleted, or the priority of the existing service scenes can be adjusted. Since the process of screening out the service scenario with the highest priority is implemented at the client, the new version of the client needs to be developed and released under the condition of updating the service scenario, so that the development cost of updating the service scenario is high and the required period is long.
Disclosure of Invention
The disclosure provides a method and a device for processing a prompt message, so as to solve at least the problems that in the related art, under the condition of updating a service scene, a new version client needs to be developed and released, so that the development cost of the updated service scene is high and the required period is long. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, a method for processing a notification message is provided, which is applied to a server, where the server stores priority information of a plurality of service scenarios, and the method includes:
after monitoring that an account enters a live broadcast room by using a client, acquiring service scene information of the account from the local; the service scene information comprises a service scene identification set and account data to be displayed;
determining a service scene identifier with the highest priority from the service scene identifier set according to the priority information of the plurality of service scenes, and determining display style data corresponding to the service scene identifier;
constructing prompt data; wherein the prompt data comprises the account data to be displayed and the display style data;
and sending the prompt data to the client so that the client can acquire a preset prompt message template, adjust the prompt message template according to the display style data, add the account data to be displayed to the prompt message template, acquire a constructed prompt message and display the prompt message.
Wherein, the method also comprises the operation of updating the service scene;
the service scene updating operation comprises the following steps:
when a service scene adding instruction is received, adding a newly added service scene identifier, priority and display style data;
under the condition of receiving a service scene deleting instruction, deleting the specified service scene identification, priority and display style data;
under the condition of receiving a priority adjustment instruction of a service scene, performing adjustment operation on the priority of a specified service scene identifier in the plurality of service scenes;
and under the condition of receiving a prompt data updating instruction of a service scene, executing updating operation on prompt data of a specified service scene identifier in the plurality of service scenes.
Wherein the constructing the prompt data comprises:
acquiring a preset prompt data signaling template; the prompt data signaling template comprises a plurality of account parameter identifications and a plurality of style parameter identifications;
acquiring a parameter value from the account data to be displayed according to the account parameter identification in the prompt data signaling template, and adding the parameter value to the prompt data signaling template, and acquiring a parameter value from the display style data according to the style parameter identification in the prompt data signaling template, and adding the parameter value to the prompt data signaling template;
repeatedly executing the previous step until the parameter value in the prompt data signaling template is added;
and obtaining the prompt data.
The service scene information also comprises basic information of the live broadcast room, and the basic information is used for judging whether to start a prompt message;
before determining the service scene identifier with the highest priority from the service scene identifier set according to the priority information of the plurality of service scenes, the method further comprises the following steps:
judging whether the basic information of the live broadcast room meets a prompt message display condition; the prompt message display condition is at least one preset judgment condition for displaying the prompt message;
and under the condition that the basic information of the live broadcast room meets the display condition of the prompt message, entering the step of determining the service scene identifier with the highest priority from the service scene identifier set according to the priority information of the plurality of service scenes.
The service scene information also comprises account service information;
the determining the service scene identifier with the highest priority from the service scene identifier set according to the priority information of the plurality of service scenes comprises:
determining a service scene identifier from the service scene identifier set according to the priority from high to low;
acquiring a prompt message display condition corresponding to the service scene identifier; the prompt message display condition is at least one preset judgment condition for displaying the prompt message;
if the account service information does not meet the prompt message display condition, determining a service scene identifier from the service scene identifier set according to the priority from high to low;
and if the account service information meets the prompt message display condition, determining the service scene identification as the service scene identification with the highest priority.
The method for acquiring the service scene information after monitoring that the account enters the live broadcast room by using the client comprises the following steps:
establishing long connection communication with the client;
monitoring whether the client sends a live broadcast joining request; the live broadcast joining request comprises a live broadcast room identifier and an account identifier;
under the condition that a live broadcast joining request sent by the client is monitored, analyzing the live broadcast joining request to obtain a live broadcast room identifier and an account identifier;
and acquiring service scene information corresponding to the live broadcast room identifier and the account identifier.
According to a second aspect of the embodiments of the present disclosure, there is provided a method for processing a hint message, which is applied to a client, the method including:
sending a live broadcast joining request to a server, and receiving prompt data sent by the server;
analyzing the prompt data to obtain account data to be displayed and display style data; the display style data is the display style data corresponding to the service scene identifier with the highest priority and the service scene identifier with the concentrated service scene identifier corresponding to the client;
acquiring a preset prompt message template;
adjusting the prompt message template according to the display style data, and adding the account data to be displayed to the prompt message template to obtain a constructed prompt message;
and displaying the prompt message.
The sending of the live broadcast joining request to the server and the receiving of the prompt data sent by the server include:
sending a live broadcast joining request to a server side, so that the server can obtain service scene information of an account from local after monitoring that the account enters a live broadcast room by using a client side; the service scene information comprises a service scene identification set and account data to be displayed; determining a service scene identifier with the highest priority from the service scene identifier set according to the priority information of the plurality of service scenes, and determining display style data corresponding to the service scene identifier; constructing prompt data, wherein the prompt data comprises the account data to be displayed and the display style data;
and receiving prompt data sent by the server.
Wherein, the adjusting the prompt message template according to the display style data, and adding the account data to be displayed to the prompt message template to obtain the constructed prompt message comprises:
adjusting the display style of the prompt message template according to a plurality of style parameter fields in the display style data;
adding a plurality of account parameter fields in the account data to be displayed to positions corresponding to the plurality of account parameter fields in the prompt message template respectively;
and obtaining the constructed prompt message.
According to a third aspect of the embodiments of the present disclosure, there is provided a device for processing a notification message, where the device is applied to a server, where the server stores priority information of a plurality of service scenarios, and the device includes:
the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is configured to execute the operation scene information of an account from local acquisition after monitoring that the account enters a live broadcast room by using a client; the service scene information comprises a service scene identification set and account data to be displayed;
a determining unit configured to determine a service scene identifier with the highest priority from the service scene identifier set according to the priority information of the plurality of service scenes, and determine display style data corresponding to the service scene identifier;
a construction unit configured to perform construction of cue data; wherein the prompt data comprises the account data to be displayed and the display style data;
and the sending unit is configured to execute sending of the prompt data to the client so that the client can obtain a preset prompt message template, adjust the prompt message template according to the display style data, add the account data to be displayed to the prompt message template, obtain a constructed prompt message and display the prompt message.
Wherein, still include:
an update unit configured to perform a service scene update operation;
wherein the service scenario update operation comprises:
the first updating unit is configured to add the newly added service scene identification, priority and display style data when receiving a service scene adding instruction;
the second updating unit is configured to delete the specified service scene identification, priority and presentation style data under the condition of receiving the service scene deleting instruction;
a third updating unit configured to perform, in a case where a priority adjustment instruction of a service scenario is received, an adjustment operation on a priority of a service scenario identifier specified in the plurality of service scenarios;
and the fourth updating unit is configured to execute the updating operation on the prompt data of the specified service scene identifier in the plurality of service scenes under the condition of receiving the prompt data updating instruction of the service scene.
Wherein the construction unit comprises:
the acquisition template unit is configured to execute acquisition of a preset prompt data signaling template; the prompt data signaling template comprises a plurality of account parameter identifications and a plurality of style parameter identifications;
the acquisition parameter value unit is configured to acquire a parameter value from the account data to be displayed according to the account parameter identifier in the prompt data signaling template and add the parameter value to the prompt data signaling template, and acquire a parameter value from the display style data according to the style parameter identifier in the prompt data signaling template and add the parameter value to the prompt data signaling template;
a circulation unit configured to execute the repeated execution of the parameter value obtaining unit until the parameter value in the prompt data signaling template is added;
an obtaining unit configured to perform obtaining the cue data.
The service scene information also comprises basic information of the live broadcast room, and the basic information is used for judging whether to start a prompt message;
before the determining unit, the method further comprises:
a judging unit configured to perform judgment of whether or not the basic information of the live broadcast room satisfies a prompt message display condition; the prompt message display condition is at least one preset judgment condition for displaying the prompt message;
and under the condition that the basic information of the live broadcast room meets the display condition of the prompt message, entering the step of determining the service scene identifier with the highest priority from the service scene identifier set according to the priority information of the plurality of service scenes.
The service scene information also comprises account service information;
the determination unit includes:
the determining identification unit is configured to determine a service scene identification from the service scene identification set according to the priority from high to low;
an obtaining condition unit configured to perform obtaining of a prompt message display condition corresponding to the service scene identifier; the prompt message display condition is at least one preset judgment condition for displaying the prompt message;
if the account service information does not meet the prompt message display condition, entering the identification determining unit;
and if the account service information meets the prompt message display condition, determining the service scene identification as the service scene identification with the highest priority.
Wherein the acquisition unit includes:
an establishing communication unit configured to perform establishing long connection communication with the client;
the monitoring unit is configured to monitor whether the client sends a live broadcast joining request; the live broadcast joining request comprises a live broadcast room identifier and an account identifier;
the analysis unit is configured to analyze the live broadcast joining request to obtain a live broadcast room identifier and an account identifier under the condition that the live broadcast joining request sent by the client is monitored;
and the scene information acquisition unit is configured to acquire the service scene information corresponding to the live broadcast room identifier and the account identifier.
According to a fourth aspect of the embodiments of the present disclosure, there is provided an apparatus for processing a hint message, which is applied to a client, the apparatus including:
the receiving and sending unit is configured to send a live broadcast joining request to a server and receive prompt data sent by the server;
the analysis data unit is configured to analyze the prompt data to obtain account data to be displayed and display style data; the display style data is the display style data corresponding to the service scene identifier with the highest priority and the service scene identifier with the concentrated service scene identifier corresponding to the client; acquiring a preset prompt message template;
the adjusting unit is configured to adjust the prompt message template according to the display style data, add the account data to be displayed to the prompt message template, and obtain a constructed prompt message;
a display unit configured to perform displaying the prompt message.
Wherein the transceiver unit includes:
the server comprises a sending request unit, a receiving unit and a sending unit, wherein the sending request unit is configured to execute sending of a live broadcast joining request to a server, so that the server can obtain service scene information of an account from a local place after monitoring that the account enters a live broadcast room by using a client; the service scene information comprises a service scene identification set and account data to be displayed; determining a service scene identifier with the highest priority from the service scene identifier set according to the priority information of the plurality of service scenes, and determining display style data corresponding to the service scene identifier; constructing prompt data, wherein the prompt data comprises the account data to be displayed and the display style data;
and the receiving data unit is configured to receive the prompt data sent by the server.
Wherein the adjusting unit includes:
a display style adjusting unit configured to adjust the display style of the prompt message template according to a plurality of style parameter fields in the display style data;
the adding unit is configured to add a plurality of account parameter fields in the account data to be displayed to positions corresponding to a plurality of account parameter fields in the prompt message template;
and the prompt message obtaining unit is configured to obtain the constructed prompt message.
According to a fifth aspect of embodiments of the present disclosure, there is provided a server including:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the method for processing a hint message of the first aspect.
According to a sixth aspect of the embodiments of the present disclosure, there is provided an electronic terminal, including:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the method for processing the hint message according to the second aspect.
According to a seventh aspect of embodiments of the present disclosure, there is provided a storage medium, where instructions are executed by a processor of a server, so that the server can execute the method for processing a hint message according to the first aspect.
According to an eighth aspect of the embodiments of the present disclosure, there is provided a storage medium, wherein instructions of the storage medium, when executed by a processor of a server, enable the server to execute the method for processing a hint message according to the second aspect.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
according to the method and the system, the server stores the priority information of a plurality of service scenes, and the server performs the operation of screening out the service scene identifier with the highest priority. Under the condition that the service scene needs to be updated, the priority information of a plurality of service scenes in the server only needs to be updated, and the method is irrelevant to the client.
Because the new version client does not need to be developed and released, the development cost of the updated service scene is low, the required period is short, and the efficiency of updating the service scene is greatly improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
FIG. 1 is a block diagram illustrating a system for processing alert messages in accordance with an exemplary embodiment;
FIG. 2 is a flow diagram illustrating a method of processing a hint message in accordance with an exemplary embodiment;
FIG. 3 is a flow diagram illustrating yet another method of processing a hint message in accordance with an exemplary embodiment;
FIG. 4 is a block diagram illustrating an apparatus for processing alert messages in accordance with an exemplary embodiment;
FIG. 5 is a block diagram illustrating yet another apparatus for processing alert messages in accordance with an exemplary embodiment;
FIG. 6 is a block diagram illustrating a server in accordance with an exemplary embodiment;
FIG. 7 is a block diagram illustrating an electronic device in accordance with an example embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a schematic structural diagram illustrating a system for processing an alert message according to an exemplary embodiment, where as shown in fig. 1, the system for processing an alert message includes a client 100 and a server 200.
In order to avoid development operation and release operation on the client, the disclosed server can pre-store priority information of a plurality of service scenes and display style data of each service scene.
The priority information of different service scenes is different, and the display style data of different service scenes is different. The priority information includes a priority and may further include other parameters related to the priority, which is not limited herein. For example, the display style data of the business scene of the fan group is data capable of displaying the relevant color and background of the fan group, and the display style data of the business scene of holidays is data capable of displaying the color and background of the holidays, and the like.
In the related art, the priority information of each service scene and the presentation style data of each service scene are originally stored in the client, the client can delete the original priority information of each service scene and the presentation style data of each service scene in the disclosure, and the client can also delete the operation of screening out the service scene with the highest priority and determining the presentation style data of the service scene.
Under the condition that the service scene needs to be updated, the service scene only needs to be updated at the server side, and development operation and release operation do not need to be executed for the client side, so that the process of updating the service scene is very simple and efficient. It should be noted that the process of the service scene update operation and the process of the prompt message processing method are executed in parallel.
Four cases of service scenario update operations are provided below:
in the first case: and adding service scenes.
And the server adds the newly added service scene identification, priority and display style data under the condition of receiving the service scene adding instruction.
Under the condition that a service scene needs to be added, a unique identifier needs to be set for the service scene, the priority different from the priority in the existing service scene of the server is set (the priority of each service scene is different), and the display style data corresponding to the service scene, namely the entrance display style different from other service scenes, is set.
The method comprises the steps that a service end receives a service scene adding instruction, the service scene adding instruction comprises a service scene identifier, priority and display style data, and the service end creates a service scene and endows the service scene identifier, the priority and the display style data for the service scene.
In the second case: and deleting the service scene.
And under the condition that the server receives the service scene deleting instruction, deleting the specified service scene identification, priority and display style data so as to delete the specified service scene in the service scene deleting instruction.
In the third case: and adjusting the priority.
And the server side executes adjustment operation on the priority of the designated service scene identifier in the plurality of service scenes under the condition of receiving the priority adjustment instruction of the service scene.
The priority adjusting instruction comprises a service scene identifier to be adjusted and respective target priority, the server side directly adjusts the priority corresponding to the service scene identifier to be the target priority after receiving the priority adjusting instruction, and the priority of each service scene is still required to be different in the adjusting process.
In a fourth case: and updating the prompt data.
Under the condition that the entry presentation style of a certain service scene needs to be adjusted, the server can receive a prompt data updating instruction of the service scene, and the server performs updating operation on prompt data of a specified service scene identifier in a plurality of service scenes so as to update the entry presentation style of the specified service scene.
In the embodiment, four conditions for updating the service scene are provided, and in the embodiment, under the condition that the service scene needs to be updated, only the service scene needs to be updated at the server side, and development operation and release operation do not need to be executed for the client side, so that the process of updating the service scene is very simple and efficient.
Fig. 2 is a flowchart illustrating a method for processing an alert message according to an exemplary embodiment, where as shown in fig. 2, the method for processing an alert message is used in a server, and includes the following steps.
In step S201, after it is monitored that an account enters a live broadcast room by using a client, service scene information of the account is obtained locally; the service scene information comprises a service scene identification set of the account and account data to be displayed.
The service scene identification set comprises identifications of all service scenes added to the account; for example, in the case that an account joins a member business scenario, the business scenario identifier set has a member business scenario identifier, in the case that an account joins a certain vermicelli group, the business scenario identifier set has a business scenario of the vermicelli group, and so on.
The account data to be presented may include account avatars, account nicknames, account ratings, etc. for distinguishing from different accounts.
In step S202, according to the priority information of a plurality of service scenes, a service scene identifier with the highest priority is determined from the service scene identifier set, and display style data corresponding to the service scene identifier is determined.
In order to avoid the problem of display conflict of a plurality of service scenes, the server side determines the priority of each service scene identifier in the service scene identifier set, and then determines the service scene identifier with the highest priority; and inquiring the display style data corresponding to the service scene identification based on the service scene identification.
The service scene information also comprises account service information, and the account service information comprises account service parameters corresponding to the service scenes in the service scene identification set. For example, in a member business scenario, the account business parameter is a member level, and in a fan group business scenario, the account business parameter is a fan group role.
Step S202 may include:
step S2021: and determining a service scene identifier from the service scene identifier set according to the priority from high to low.
And selecting one service scene identifier from the service scene identifier set from high to low according to the priority.
Step S2022: and acquiring a prompt message display condition corresponding to the service scene identifier. The prompt message display condition is at least one preset judgment condition used for executing prompt message display;
each service scene identifier corresponds to a prompt message display condition, and taking a member service scene as an example, the prompt message display condition includes that the member grade is greater than a preset grade. If the member grade is greater than the preset grade, the prompt message display condition is satisfied, and if the member grade is not greater than the preset grade, the prompt message display condition is not satisfied.
For example, the prompting message display conditions include that the number of live persons is greater than a preset number of persons, and the live broadcast time length is greater than a preset time length.
Step S2023: and if the account service information does not meet the prompt message display condition, the step S2021 is performed.
If the account service information does not satisfy the prompt message display condition, the display style data corresponding to the service scene identifier cannot be used, and the process continues to step S2021 to select the next service scene identifier.
Step S2024: and if the account service information meets the prompt message display condition, determining the service scene identification as the service scene identification with the highest priority.
And if the account service information meets the prompt message display condition, the service scene identification is the service scene identification with the highest priority meeting the admission opening condition.
In the step, the service scene identifier which meets the display condition of the prompt message and has the highest priority can be determined from the service scene identifier set according to the sequence of the priorities from high to low, so that the most suitable service scene identifier can be simply and conveniently determined under the condition of a plurality of service scenes.
In step S203, cue data is constructed; wherein the prompt data comprises the account data to be displayed and the display style data.
And the server side constructs prompt data, wherein the prompt data comprises the account data to be displayed and the display style data. In the method, the server only sends the display style data of the service scene identifier with the highest priority and the account data to be displayed.
Step S2031: acquiring a preset prompt data signaling template; the prompt data signaling template comprises a plurality of account parameter identifications and a plurality of style parameter identifications.
The server stores a preset prompt data signaling template in advance, wherein the signaling template comprises a plurality of parameter identifiers (or parameter names, each parameter identifier in the prompt data signaling template has no data value or only an initial data value) which are arranged in sequence: a plurality of account parameter identifications and a plurality of style parameter identifications.
A plurality of account parameter identifications are used to enforce a representation of the account's personal information, such as an avatar identification, a nickname identification, an age identification, and the like. The style parameter identifies presentation style information, e.g., color identification, size identification, background identification, etc., used to perform presentation of the presentation data.
Step S2032: and acquiring a parameter value from the account data to be displayed according to the account parameter identification in the prompt data signaling template, adding the parameter value to the prompt data signaling template, and acquiring a parameter value from the display style data according to the style parameter identification in the prompt data signaling template, and adding the parameter value to the prompt data signaling template.
In the step, a prompt data signaling template is filled, and according to the account parameter identification in the prompt data signaling template, a parameter value is obtained from the account data to be displayed and added to the prompt data signaling template so as to improve the personal information of the account. And acquiring a parameter value from the display style data according to the style parameter identifier in the prompt data signaling template, and adding the parameter value into the prompt data signaling template so as to improve the display style information.
Step S2033: and repeating the previous step until the parameter values in the prompt data signaling template are added.
Step S2034: and obtaining the prompt data.
And after the account parameter identification and the style parameter identification in the prompt data signaling template are filled, the filled prompt data signaling template is called prompt data. The prompt data is constructed by adopting the prompt data signaling template, so the construction process is very standardized and standardized, the prompt data with a uniform format can be generated aiming at different service scene information, and the subsequent unified processing of the client side is facilitated.
In step S204, the prompt data is sent to the client, so that the client can obtain a preset prompt message template, adjust the prompt message template according to the display style data, add the account data to be displayed to the prompt message template, obtain a constructed prompt message, and display the prompt message.
And the server side sends prompt data to the client side, and the client side constructs and displays an entrance prompt message according to the prompt data.
The client may construct and display an entry prompt message according to the prompt data, and specifically may include: and acquiring a preset prompt message template, adjusting the prompt message template according to the display style data, adding the account data to be displayed to the prompt message template, acquiring a constructed prompt message and displaying the prompt message. For details, the embodiment shown in fig. 3 will not be described herein.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
according to the method and the system, the server stores the priority information of a plurality of service scenes, and the server performs the operation of screening out the service scene identifier with the highest priority. Under the condition that the service scene needs to be updated, the priority information of a plurality of service scenes in the server only needs to be updated, and the method is irrelevant to the client.
Because the new version client does not need to be developed and released, the development cost of the updated service scene is low, the required period is short, and the efficiency of updating the service scene is greatly improved.
Fig. 3 is a flowchart illustrating a method for processing an alert message according to an exemplary embodiment, where as shown in fig. 2, the method for processing an alert message is used in a server, and includes the following steps.
In step S301, the client sends a live join request to the server.
The server side and the client side establish long connection communication, and the client side can click an option for joining the live broadcast room on a display interface of the client side under the condition that the client side needs to join the live broadcast room, so that a live broadcast joining request is sent to the server side. Since the live broadcast room includes a plurality of live broadcast rooms, the live broadcast join request includes a live broadcast room identification and an account identification.
In step S302, the server monitors whether the client sends a live join request; wherein the live join request comprises a live room identifier and an account identifier.
In step S303, the server analyzes the live broadcast join request to obtain a live broadcast room identifier and an account identifier when monitoring the live broadcast join request sent by the client.
And the server side analyzes the live broadcast joining request according to a communication protocol agreed by both sides under the condition of monitoring the live broadcast joining request sent by the client side, and obtains a live broadcast room identifier and an account identifier. The parsing process is a mature technology and is not described herein again.
In step S304, the server obtains service scene information corresponding to the live broadcast room identifier and the account identifier. The service scene information comprises a service scene identification set of the account and account data to be displayed.
The server stores data corresponding to each live broadcast room identifier and data corresponding to each account identifier, so that corresponding service scene information can be acquired through the live broadcast room identifier and the account identifier. And the service scene information comprises the service scene identification set of the account and the account data to be displayed.
The service scene identification set comprises identifications of all service scenes added to the account; for example, in the case that an account joins a member business scenario, the business scenario identifier set has a member business scenario identifier, in the case that an account joins a certain vermicelli group, the business scenario identifier set has a business scenario of the vermicelli group, and so on.
The account data to be presented may include account avatars, account nicknames, account ratings, etc. for distinguishing from different accounts.
In step S305, the server determines a service scene identifier with the highest priority from the service scene identifier set according to the priority information of a plurality of service scenes, and determines the presentation style data corresponding to the service scene identifier.
In order to avoid the problem of display conflict of a plurality of service scenes, the server side determines the priority of each service scene identifier in the service scene identifier set, and then determines the service scene identifier with the highest priority; and inquiring the display style data corresponding to the service scene identification based on the service scene identification.
In step S306, the server constructs prompt data; wherein the prompt data comprises the account data to be displayed and the display style data.
And the server side constructs prompt data, wherein the prompt data comprises the account data to be displayed and the display style data. In the method, the server only sends the display style data of the service scene identifier with the highest priority and the account data to be displayed.
In order to operate the programming, facilitate, this disclosure provides the suggestion data template that has set for in advance, and the suggestion data template includes two parts: a plurality of account parameter identifications for distinguishing different accounts, and a plurality of style parameter identifications for distinguishing the admission presentation style.
The account parameter identification may include: account avatar, account nickname, account rating, etc., and style parameter identification includes: hint message colors, shapes, fonts, and the like.
And the server acquires parameter values from the account data to be displayed according to the account parameter identification and adds the parameter values to the prompt data template, and acquires parameter values from the display style data according to the style parameter identification and adds the parameter values to the prompt data template, so that prompt data is constructed.
In step S307, the server sends the prompt data to the client.
In step S308, the client receives the prompt data sent by the server.
In step S309, the client analyzes the prompt data to obtain account data to be displayed and display style data; the display style data is the display style data corresponding to the service scene identifier with the highest priority and the service scene identifier with the centralized service scene identifier corresponding to the client.
In step S310, the client acquires a preset prompting message template.
The client stores a preset prompt message template, and the prompt message template comprises a prompt message display frame. For example, including an avatar region, a nickname region, a plurality of style parameters, a plurality of account parameters, and the like. In step S311, the client adjusts the prompt message template according to the presentation style data, and adds the account data to be presented to the prompt message template to obtain a constructed prompt message.
S1: and adjusting the display style of the prompt message template according to a plurality of style parameter fields in the display style data.
And the client side respectively adjusts the display style of the prompt message template according to the plurality of style parameter fields in the display style data. For example, the presentation style of the hint message template is adjusted to a specified color, shape, and font according to the hint message color, shape, and font, respectively.
S2: and respectively adding a plurality of account parameter fields in the account data to be displayed to positions corresponding to the plurality of account parameter fields in the prompt message template.
Adding a plurality of account parameter fields in the data to be displayed to corresponding positions of a plurality of account parameter fields in the prompt message template respectively, for example, adding an avatar to the position of an avatar area, adding a nickname to the position of a nickname area, and adding an age to the position of an age area.
S3: and obtaining the constructed prompt message.
And after the display style of the prompt message template is adjusted and the account parameter fields are added, obtaining the constructed prompt message. In the embodiment, the prompt message is constructed by using the prompt message template, so that the process of constructing the prompt message is very simple and convenient, only specific data values are added into the prompt message template, the prompt message template does not need to be repeatedly constructed, the time for constructing the prompt message is saved, and the construction efficiency is improved.
In step S312, the client displays the prompt message.
The client can display a prompt message in the live broadcast room so as to remind other accounts that a new account enters the live broadcast room.
The embodiment provides a process for constructing prompt data by a client, and the client constructs the prompt message by using the prompt message template, so that the unified prompt message construction can be realized for different service scenes, and the service flow is planned. And because the prompt message template is constructed in advance, the prompt message template does not need to be constructed every time. When the prompt message is constructed, only the corresponding data value needs to be added to the corresponding region position, so that the prompt message time can be saved, and the construction efficiency can be improved.
In this embodiment, the process of constructing the prompt message by the client corresponds to the process of constructing the prompt data by the server, and the prompt message is displayed by the cooperation between the server and the client.
According to another embodiment provided by the present disclosure, the service scene information further includes basic information of the live broadcast. The basic information of the live broadcast room comprises the number of online people in the live broadcast room, the live broadcast time length and the like.
Before step S202 shown in fig. 2 and before step S305 shown in fig. 3, the method further includes:
judging whether the basic information of the live broadcast room meets a prompt message display condition; the prompt message display condition is at least one preset judgment condition for displaying the prompt message;
under the condition that the personal data of the live broadcast room meets the display condition of the prompt message, entering the step of determining the service scene identification with the highest priority from the service scene identification set according to the priority information of the plurality of service scenes;
and under the condition that the personal data of the live broadcast room does not meet the display condition of the prompt message, the step of determining the service scene identifier with the highest priority from the service scene identifier set according to the priority information of the plurality of service scenes is not carried out.
In this embodiment, a prompt message display condition about the live broadcast room is added, and step S202 and step S305 are only performed when the live broadcast room satisfies the prompt message display condition, otherwise step S202 and step S305 are not performed. This can enrich the access to the live room.
Fig. 4 is a block diagram illustrating an apparatus 400 for processing alert messages according to an example embodiment. Referring to fig. 4, the apparatus should be configured to execute a server storing priority information of a plurality of service scenarios, the apparatus including: comprising an acquisition unit 41, a determination unit 42, a construction unit 43 and a transmission unit 44.
An obtaining unit 41 configured to perform obtaining service scenario information of an account from a local place after it is monitored that the account enters a live broadcast room by using a client; the service scene information comprises a service scene identification set and account data to be displayed;
a determining unit 42 configured to determine, according to the priority information of the plurality of service scenes, a service scene identifier with a highest priority from the service scene identifier set, and determine presentation style data corresponding to the service scene identifier;
a construction unit 43 configured to perform construction of cue data; wherein the prompt data comprises the account data to be displayed and the display style data;
a sending unit 44, configured to execute sending of the prompt data to the client, so that the client obtains a preset prompt message template, adjusts the prompt message template according to the display style data, and adds the account data to be displayed to the prompt message template, to obtain a constructed prompt message, and displays the prompt message.
Wherein the apparatus further comprises:
an updating unit 45 configured to perform a service scene updating operation.
Wherein the service scenario update operation comprises:
the first updating unit is configured to add the newly added service scene identification, priority and display style data when receiving a service scene adding instruction;
the second updating unit is configured to delete the specified service scene identification, priority and presentation style data under the condition of receiving the service scene deleting instruction;
a third updating unit configured to perform, in a case where a priority adjustment instruction of a service scenario is received, an adjustment operation on a priority of a service scenario identifier specified in the plurality of service scenarios;
and the fourth updating unit is configured to execute the updating operation on the prompt data of the specified service scene identifier in the plurality of service scenes under the condition of receiving the prompt data updating instruction of the service scene.
The building unit 43 includes:
an acquiring template unit 431 configured to perform acquiring a preset prompt data signaling template; the prompt data signaling template comprises a plurality of account parameter identifications and a plurality of style parameter identifications;
an obtaining parameter value unit 432, configured to perform obtaining a parameter value from the account data to be displayed according to the account parameter identifier in the prompt data signaling template, and add the parameter value to the prompt data signaling template, and obtain a parameter value from the display style data according to the style parameter identifier in the prompt data signaling template, and add the parameter value to the prompt data signaling template;
a loop unit 433 configured to execute the repeatedly executing unit to obtain the parameter value until the parameter value in the prompt data signaling template is added;
an obtaining unit 434 configured to perform obtaining the prompt data.
The service scene information also comprises basic information of the live broadcast room, and the basic information is used for judging whether to start a prompt message; before the determining unit 42, the following are also included:
a judging unit 46 configured to perform judgment of whether or not the basic information of the live broadcast room satisfies a prompt message display condition; the prompt message display condition is at least one preset judgment condition for displaying the prompt message;
and under the condition that the basic information of the live broadcast room meets the display condition of the prompt message, entering the step of determining the service scene identifier with the highest priority from the service scene identifier set according to the priority information of the plurality of service scenes.
The service scene information also comprises account service information; the determination unit 42 includes:
a determining identification unit 421 configured to perform determining a service scenario identification from the service scenario identification set according to the priority from high to low;
an obtaining condition unit 422 configured to perform obtaining a prompt message display condition corresponding to the service scene identifier; the prompt message display condition is at least one preset judgment condition for displaying the prompt message;
if the account service information does not meet the prompt message display condition, entering the identification determining unit;
and if the account service information meets the prompt message display condition, determining the service scene identification as the service scene identification with the highest priority.
The acquisition unit 41 includes:
an establishing communication unit 411 configured to perform establishing long connection communication with the client;
a monitoring unit 412 configured to perform monitoring whether the client sends a live join request; the live broadcast joining request comprises a live broadcast room identifier and an account identifier;
the parsing unit 413 is configured to parse the live broadcast join request to obtain a live broadcast room identifier and an account identifier in the case that the live broadcast join request sent by the client is monitored;
a get scene information unit 414 configured to perform the getting of the service scene information corresponding to the live broadcast room identifier and the account identifier.
With regard to the apparatus in the above-described embodiment, the specific manner in which the plurality of modules perform operations has been described in detail in the embodiment related to the method, and will not be elaborated upon here.
Fig. 5 is a block diagram illustrating an apparatus 500 for processing alert messages, according to an example embodiment. Referring to fig. 5, configured to execute a client terminal storing priority information of a plurality of service scenarios, the apparatus includes: the transmitting and receiving unit 51, the analyzing data unit 52, the adjusting unit 53 and the display unit 54.
The receiving and sending unit 51 is configured to execute sending a live broadcast joining request to a server and receive prompt data sent by the server;
the analysis data unit 52 is configured to analyze the prompt data to obtain account data to be displayed and display style data; the display style data is the display style data corresponding to the service scene identifier with the highest priority and the service scene identifier with the concentrated service scene identifier corresponding to the client; acquiring a preset prompt message template;
an adjusting unit 53, configured to perform adjustment of the prompt message template according to the presentation style data, and add the account data to be presented to the prompt message template to obtain a constructed prompt message;
a display unit 54 configured to perform displaying the prompt message.
Wherein the transceiver unit 51 includes:
the sending request unit 511 is configured to execute sending of a live broadcast join request to a server, so that the server can obtain service scene information of an account from a local place after monitoring that the account enters a live broadcast room by using a client; the service scene information comprises a service scene identification set and account data to be displayed; determining a service scene identifier with the highest priority from the service scene identifier set according to the priority information of the plurality of service scenes, and determining display style data corresponding to the service scene identifier; constructing prompt data, wherein the prompt data comprises the account data to be displayed and the display style data;
a data receiving unit 512 configured to perform receiving the prompt data sent by the server.
Wherein the adjusting unit 53 includes:
an adjusting presentation style unit 531 configured to perform adjusting the presentation style of the prompt message template according to a plurality of style parameter fields in the presentation style data;
an adding unit 532, configured to add the plurality of account parameter fields in the account data to be displayed to the positions corresponding to the plurality of account parameter fields in the prompting message template;
a get hint message unit 533 configured to perform getting the constructed hint message.
With regard to the apparatus in the above-described embodiment, the specific manner in which the plurality of modules perform operations has been described in detail in the embodiment related to the method, and will not be elaborated upon here.
FIG. 6 is a block diagram illustrating a server in accordance with an example embodiment. Referring to fig. 6, server 600 includes a processing component 622 that further includes one or more processors and memory resources, represented by memory 632, for storing instructions, such as applications, that are executable by processing component 622. The application programs stored in memory 632 may include one or more modules that each correspond to a set of instructions. Further, the processing component 622 is configured to execute instructions to perform the method for processing alert messages described above and illustrated in FIG. 2.
The server 600 may also include a power component 626 configured to perform power management of the server 600, a wired or wireless network interface 650 configured to connect the server 600 to a network, and an input/output (I/O) interface 658. The server 600 may operate based on an operating system stored in memory 632, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
Fig. 7 is a block diagram illustrating an electronic device 700 in accordance with an example embodiment. For example, the electronic device 700 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 7, electronic device 700 may include one or more of the following components: a processing component 702, a memory 704, a power component 706, a multimedia component 708, an audio component 710, an input/output (I/O) interface 712, a sensor component 714, and a communication component 716.
The processing component 702 generally controls overall operation of the electronic device 700, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 702 may include one or more processors 720 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 702 may include one or more modules that facilitate interaction between the processing component 702 and other components. For example, the processing component 702 may include a multimedia module to facilitate interaction between the multimedia component 708 and the processing component 702.
The memory 704 is configured to store various types of data to support operation at the device 700. Examples of such data include instructions for any application or method operating on the electronic device 700, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 704 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 706 provides power to the various components of the electronic device 700. The power components 706 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the electronic device 700.
The multimedia component 708 includes a screen that provides an output interface between the electronic device 700 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.
In some embodiments, the multimedia component 708 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the electronic device 700 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 710 is configured to output and/or input audio signals. For example, the audio component 710 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 700 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 704 or transmitted via the communication component 716. In some embodiments, audio component 710 also includes a speaker for outputting audio signals.
The I/O interface 712 provides an interface between the processing component 702 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 714 includes one or more sensors for providing various aspects of status assessment for the electronic device 700. For example, the sensor assembly 714 may detect an open/closed state of the device 700, the relative positioning of components, such as a display and keypad of the electronic device 700, the sensor assembly 714 may also detect a change in the position of the electronic device 700 or a component of the electronic device 700, the presence or absence of user contact with the electronic device 700, orientation or acceleration/deceleration of the electronic device 700, and a change in the temperature of the electronic device 700. The sensor assembly 714 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 714 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 714 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 716 is configured to facilitate wired or wireless communication between the electronic device 700 and other devices. The electronic device 700 may access a wireless network based on a communication standard, such as WiFi, a carrier network (such as 2G, 3G, 4G, or 5G), or a combination thereof. In an exemplary embodiment, the communication component 716 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device 700 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a storage medium comprising instructions, such as the memory 704 comprising instructions, executable by the processor 720 of the electronic device 700 to perform the above-described method is also provided. Alternatively, the storage medium may be a non-transitory computer readable storage medium, which may be, for example, a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, the present disclosure also provides a storage medium comprising instructions, such as the memory 404 comprising instructions, executable by the processor 420 of the apparatus 400 to perform the above-described method. Alternatively, the storage medium may be a non-transitory computer readable storage medium, which may be, for example, a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, the present disclosure also provides a storage medium comprising instructions, such as the memory 504 comprising instructions, executable by the processor 520 of the apparatus 500 to perform the above-described method. Alternatively, the storage medium may be a non-transitory computer readable storage medium, which may be, for example, a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like. Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A processing method of a prompt message is applied to a server, wherein the server stores priority information of a plurality of service scenes, and the method comprises the following steps:
after monitoring that an account enters a live broadcast room by using a client, acquiring service scene information of the account from the local; the service scene information comprises a service scene identification set and account data to be displayed;
determining a service scene identifier with the highest priority from the service scene identifier set according to the priority information of the plurality of service scenes, and determining display style data corresponding to the service scene identifier;
constructing prompt data; wherein the prompt data comprises the account data to be displayed and the display style data;
and sending the prompt data to the client so that the client can acquire a preset prompt message template, adjust the prompt message template according to the display style data, add the account data to be displayed to the prompt message template, acquire a constructed prompt message and display the prompt message.
2. The method for processing the prompting message according to claim 1, further comprising a service scene update operation;
the service scene updating operation comprises the following steps:
when a service scene adding instruction is received, adding a newly added service scene identifier, priority and display style data;
under the condition of receiving a service scene deleting instruction, deleting the specified service scene identification, priority and display style data;
under the condition of receiving a priority adjustment instruction of a service scene, performing adjustment operation on the priority of a specified service scene identifier in the plurality of service scenes;
and under the condition of receiving a prompt data updating instruction of a service scene, executing updating operation on prompt data of a specified service scene identifier in the plurality of service scenes.
3. The method of claim 1, wherein the constructing the alert data comprises:
acquiring a preset prompt data signaling template; the prompt data signaling template comprises a plurality of account parameter identifications and a plurality of style parameter identifications;
acquiring a parameter value from the account data to be displayed according to the account parameter identification in the prompt data signaling template, and adding the parameter value to the prompt data signaling template, and acquiring a parameter value from the display style data according to the style parameter identification in the prompt data signaling template, and adding the parameter value to the prompt data signaling template;
repeatedly executing the previous step until the parameter value in the prompt data signaling template is added;
and obtaining the prompt data.
4. The method for processing the prompt message according to claim 1, wherein the service context information further includes basic information of the live broadcast room, and the basic information is used for judging whether to start the prompt message;
before determining the service scene identifier with the highest priority from the service scene identifier set according to the priority information of the plurality of service scenes, the method further comprises the following steps:
judging whether the basic information of the live broadcast room meets a prompt message display condition; the prompt message display condition is at least one preset judgment condition for displaying the prompt message;
and under the condition that the basic information of the live broadcast room meets the display condition of the prompt message, entering the step of determining the service scene identifier with the highest priority from the service scene identifier set according to the priority information of the plurality of service scenes.
5. The method for processing the prompt message according to any one of claims 1 to 4, wherein the service scenario information further includes account service information;
the determining the service scene identifier with the highest priority from the service scene identifier set according to the priority information of the plurality of service scenes comprises:
determining a service scene identifier from the service scene identifier set according to the priority from high to low;
acquiring a prompt message display condition corresponding to the service scene identifier; the prompt message display condition is at least one preset judgment condition for displaying the prompt message;
if the account service information does not meet the prompt message display condition, determining a service scene identifier from the service scene identifier set according to the priority from high to low;
and if the account service information meets the prompt message display condition, determining the service scene identification as the service scene identification with the highest priority.
6. A method for processing a prompt message is applied to a client, and the method comprises the following steps:
sending a live broadcast joining request to a server, and receiving prompt data sent by the server;
analyzing the prompt data to obtain account data to be displayed and display style data; the display style data is the display style data corresponding to the service scene identifier with the highest priority and the service scene identifier with the concentrated service scene identifier corresponding to the client;
acquiring a preset prompt message template;
adjusting the prompt message template according to the display style data, and adding the account data to be displayed to the prompt message template to obtain a constructed prompt message;
and displaying the prompt message.
7. The method for processing the notification message according to claim 6, wherein the sending a live join request to a server and receiving the notification data sent by the server includes:
sending a live broadcast joining request to a server side, so that the server can obtain service scene information of an account from local after monitoring that the account enters a live broadcast room by using a client side; the service scene information comprises a service scene identification set and account data to be displayed; determining a service scene identifier with the highest priority from the service scene identifier set according to the priority information of the plurality of service scenes, and determining display style data corresponding to the service scene identifier; constructing prompt data, wherein the prompt data comprises the account data to be displayed and the display style data;
and receiving prompt data sent by the server.
8. The method for processing a prompt message according to claim 6, wherein the adjusting the prompt message template according to the presentation style data and adding the account data to be presented to the prompt message template to obtain the constructed prompt message comprises:
adjusting the display style of the prompt message template according to a plurality of style parameter fields in the display style data;
adding a plurality of account parameter fields in the account data to be displayed to positions corresponding to the plurality of account parameter fields in the prompt message template respectively;
and obtaining the constructed prompt message.
9. An apparatus for processing a hint message, the apparatus being applied to a server, the server storing priority information of a plurality of service scenarios, the apparatus comprising:
the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is configured to execute the operation scene information of an account from local acquisition after monitoring that the account enters a live broadcast room by using a client; the service scene information comprises a service scene identification set and account data to be displayed;
a determining unit configured to determine a service scene identifier with the highest priority from the service scene identifier set according to the priority information of the plurality of service scenes, and determine display style data corresponding to the service scene identifier;
a construction unit configured to perform construction of cue data; wherein the prompt data comprises the account data to be displayed and the display style data;
and the sending unit is configured to execute sending of the prompt data to the client so that the client can obtain a preset prompt message template, adjust the prompt message template according to the display style data, add the account data to be displayed to the prompt message template, obtain a constructed prompt message and display the prompt message.
10. An apparatus for processing a hint message, the apparatus being applied to a client, the apparatus comprising:
the receiving and sending unit is configured to send a live broadcast joining request to a server and receive prompt data sent by the server;
the analysis data unit is configured to analyze the prompt data to obtain account data to be displayed and display style data; the display style data is the display style data corresponding to the service scene identifier with the highest priority and the service scene identifier with the concentrated service scene identifier corresponding to the client; acquiring a preset prompt message template;
the adjusting unit is configured to adjust the prompt message template according to the display style data, add the account data to be displayed to the prompt message template, and obtain a constructed prompt message;
a display unit configured to perform displaying the prompt message.
CN202010900618.9A 2020-08-31 2020-08-31 Prompt message processing method and device Active CN112004110B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010900618.9A CN112004110B (en) 2020-08-31 2020-08-31 Prompt message processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010900618.9A CN112004110B (en) 2020-08-31 2020-08-31 Prompt message processing method and device

Publications (2)

Publication Number Publication Date
CN112004110A true CN112004110A (en) 2020-11-27
CN112004110B CN112004110B (en) 2022-11-11

Family

ID=73465751

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010900618.9A Active CN112004110B (en) 2020-08-31 2020-08-31 Prompt message processing method and device

Country Status (1)

Country Link
CN (1) CN112004110B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113486213A (en) * 2021-07-21 2021-10-08 北京达佳互联信息技术有限公司 Method and device for processing content push
CN113489829A (en) * 2021-07-06 2021-10-08 中国银行股份有限公司 Mobile banking APP information prompting method and device
CN113630612A (en) * 2021-07-30 2021-11-09 北京达佳互联信息技术有限公司 Data processing and data display method and device, electronic equipment and medium
CN113722589A (en) * 2021-08-23 2021-11-30 北京达佳互联信息技术有限公司 Information generation method, device, server and storage medium
CN114553937A (en) * 2022-01-12 2022-05-27 北京达佳互联信息技术有限公司 Data acquisition method, device, equipment and storage medium
CN114840108A (en) * 2022-04-26 2022-08-02 北京达佳互联信息技术有限公司 Information display method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110493629A (en) * 2019-08-22 2019-11-22 北京达佳互联信息技术有限公司 Cover pendant display methods, device, electronic equipment and storage medium is broadcast live
CN110659121A (en) * 2019-09-24 2020-01-07 北京达佳互联信息技术有限公司 Task data acquisition method and device, task configuration method and device and server
US10540699B1 (en) * 2016-12-05 2020-01-21 Amazon Technologies, Inc. Methods and systems for scene driven content creation
CN111405300A (en) * 2020-02-28 2020-07-10 北京达佳互联信息技术有限公司 Pendant display method and device, electronic equipment and computer readable storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10540699B1 (en) * 2016-12-05 2020-01-21 Amazon Technologies, Inc. Methods and systems for scene driven content creation
CN110493629A (en) * 2019-08-22 2019-11-22 北京达佳互联信息技术有限公司 Cover pendant display methods, device, electronic equipment and storage medium is broadcast live
CN110659121A (en) * 2019-09-24 2020-01-07 北京达佳互联信息技术有限公司 Task data acquisition method and device, task configuration method and device and server
CN111405300A (en) * 2020-02-28 2020-07-10 北京达佳互联信息技术有限公司 Pendant display method and device, electronic equipment and computer readable storage medium

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113489829A (en) * 2021-07-06 2021-10-08 中国银行股份有限公司 Mobile banking APP information prompting method and device
CN113486213A (en) * 2021-07-21 2021-10-08 北京达佳互联信息技术有限公司 Method and device for processing content push
CN113630612A (en) * 2021-07-30 2021-11-09 北京达佳互联信息技术有限公司 Data processing and data display method and device, electronic equipment and medium
CN113630612B (en) * 2021-07-30 2023-09-05 北京达佳互联信息技术有限公司 Data processing and data displaying method and device, electronic equipment and medium
CN113722589A (en) * 2021-08-23 2021-11-30 北京达佳互联信息技术有限公司 Information generation method, device, server and storage medium
CN113722589B (en) * 2021-08-23 2024-02-06 北京达佳互联信息技术有限公司 Information generation method, device, server and storage medium
CN114553937A (en) * 2022-01-12 2022-05-27 北京达佳互联信息技术有限公司 Data acquisition method, device, equipment and storage medium
CN114840108A (en) * 2022-04-26 2022-08-02 北京达佳互联信息技术有限公司 Information display method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN112004110B (en) 2022-11-11

Similar Documents

Publication Publication Date Title
CN112004110B (en) Prompt message processing method and device
US20160210105A1 (en) Method, device and system for projection on screen
CN111328076B (en) Equipment network distribution method, device and medium
CN111343493A (en) Live broadcast interface processing method and device, electronic equipment and storage medium
CN107666540B (en) Terminal control method, device and storage medium
CN111212306A (en) Wheat connecting method and device, electronic equipment and storage medium
CN112291631A (en) Information acquisition method, device, terminal and storage medium
CN109034747B (en) Task reminding method and device
CN111181844A (en) Message processing method, device and medium
CN113747207A (en) Data transmission method and device, electronic equipment and storage medium
CN107247794B (en) Topic guiding method in live broadcast, live broadcast device and terminal equipment
CN113938451A (en) Service reminding method, device, system, electronic equipment and storage medium
CN110690979B (en) Group message processing method, device, server, client and storage medium
CN106878654B (en) Video communication method and device
CN106506808B (en) Method and device for prompting communication message
CN110121148B (en) Interphone team method and device
CN109961793B (en) Method and device for processing voice information
CN105786561B (en) Method and device for calling process
CN109150901B (en) Information source prompting method and device, electronic equipment and storage medium
CN110263211B (en) Resource synchronization method and device
CN107846481B (en) Account management method and device
CN112019948A (en) Intercommunication device communication method, intercommunication device and storage medium
CN106709027B (en) Picture recommendation method and device
CN114430370B (en) Method, device, equipment and storage medium for determining network slice
CN113901353A (en) Information display method, device and system, electronic equipment and server

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
GR01 Patent grant
GR01 Patent grant