CN106790043A - The method and device of message is sent in live application - Google Patents

The method and device of message is sent in live application Download PDF

Info

Publication number
CN106790043A
CN106790043A CN201611171566.6A CN201611171566A CN106790043A CN 106790043 A CN106790043 A CN 106790043A CN 201611171566 A CN201611171566 A CN 201611171566A CN 106790043 A CN106790043 A CN 106790043A
Authority
CN
China
Prior art keywords
message
type
target
broadcast
direct broadcasting
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
CN201611171566.6A
Other languages
Chinese (zh)
Other versions
CN106790043B (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 Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201611171566.6A priority Critical patent/CN106790043B/en
Publication of CN106790043A publication Critical patent/CN106790043A/en
Application granted granted Critical
Publication of CN106790043B publication Critical patent/CN106790043B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • H04L65/764Media network packet handling at the destination 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/61Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
    • H04L65/611Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for multicast or broadcast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • 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/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • 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/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

A kind of method and device the disclosure is directed to send message in live application, belongs to technical field of information processing.Methods described includes:When message transmission instruction is received, determine the type of message of target message, and send message transmission request to direct broadcast server, the message sends the type of message that request carries target message, because the type of message includes global broadcast messages, locally broadcast message and private chat message, therefore, method by sending message in the live application that the embodiment of the present disclosure is provided, the terminal for receiving the target message can be determined by the terminal for sending the target message, rather than preassigned by direct broadcast server, improve the flexibility of transmission message in live application;And when the type of message of target message is private chat message, it is only the one of user being presently in direct broadcasting room to receive the target message terminal, when avoiding terminal transmission target message, the target message is all visible for all terminals being presently in direct broadcasting room.

Description

The method and device of message is sent in live application
Technical field
This disclosure relates to send the method and dress of message in technical field of information processing, more particularly to a kind of live application Put.
Background technology
In recent years, it is burning hot with live industry, increasing user carried out by live application net cast or Viewing live video, and user is during net cast or viewing live video is carried out, can also be by mobile phone, flat board The terminal such as computer or computer sends the message such as word, picture or voice to the other-end being presently in direct broadcasting room.
In correlation technique, when terminal detects message sends instruction, target message to be sent is determined, and by the target Message is sent to direct broadcast server, when direct broadcast server receives the target message, the straight of direct broadcasting room is presently in terminal Broadcast and show in interface the target message, and this is presently in the interface shown in the live window of all terminals in direct broadcasting room That is the live interface of the direct broadcasting room, that is, after terminal sends target message, this is presently in all terminals in direct broadcasting room Current live window in all will show the target message.
The content of the invention
To overcome problem present in correlation technique, present disclose provides in a kind of live application send message method and Device.
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of method that message is sent in live application, methods described Including:
Receive message and send instruction, the message carries target message to be sent in sending instruction;
Determine the type of message of the target message, the type of message includes global broadcast messages, locally broadcast message And private chat message, the global broadcast messages are the message broadcasted in all direct broadcasting rooms of live application, the part Broadcast message is that, in the message for being presently in being broadcasted in direct broadcasting room, the private chat message is and is presently in direct broadcasting room The message that user is individually communicated;
Message being sent to direct broadcast server and sending request, the message sends and carry in request the target message, described Type of message and the current user account for logging in, and the message sends request for indicating the direct broadcast server according to described Type of message and the user account send the target message.
Alternatively, the type of message for determining the target message, including:
When the message sends also carries type of message in instruction, the message is sent the message class carried in instruction Type is defined as the type of message of the target message;
Correspondingly, before the reception message sends instruction, also include:
When type of message selection instruction is detected, message type list is shown;
When the selection instruction of any type of message in detecting the message type list, by selected type of message It is defined as the type of message of the target message.
Alternatively, the type of message for determining the target message, including:
Whether message content to the target message is parsed, to determine include predetermined word in the message content Symbol;
When the message content includes the preset characters, obtained from the message content and be located at the predetermined word After symbol and the character string adjacent with the preset characters;
When the character string for obtaining is the first preset characters string, determine that the type of message of the target message is broadcasted for global Message;
When the character string for obtaining is the second preset characters string, the type of message for determining the target message is locally broadcast Message;
When the character string for obtaining is when being presently in the ID of any user in direct broadcasting room, to determine the target message Type of message be private chat message.
Alternatively, before the transmission message transmission request to direct broadcast server, also include:
When the type of message of the target message is the global broadcast messages or the locally broadcast message, number is shown Value transfer prompting message, the numerical value that the numerical value transfer prompting message is used for required transfer during to sending the target message is carried out Prompting;
When numerical value transfer success message is received, the step of sending message transmission request to direct broadcast server is performed.
Alternatively, when the type of message of the target message is locally broadcast message, the message is gone back in sending request Carrying is presently in the mark of direct broadcasting room, and when the type of message of the target message is private chat message, the message sends please The mark and the user account for receiving the target message for being presently in direct broadcasting room are also carried in asking.
According to the second aspect of the embodiment of the present disclosure, there is provided send the device of message, described device in a kind of live application Including:
Receiver module, instruction is sent for receiving message, and the message carries target message to be sent in sending instruction;
First determining module, the type of message for determining the target message, the type of message includes global broadcast Message, locally broadcast message and private chat message, the global broadcast messages are to be carried out in all direct broadcasting rooms of live application extensively The message broadcast, the locally broadcast message be in the message for being presently in being broadcasted in direct broadcasting room, the private chat message be with The message that the user being presently in direct broadcasting room is individually communicated;
Sending module, request is sent for sending message to direct broadcast server, and the message carries described in sending request Target message, the type of message and the current user account for logging in, and message transmission request is described live for indicating Server sends the target message according to the type of message and the user account.
Alternatively, first determining module includes:
First determination sub-module, for when the message sends and also carries type of message in instruction, by message hair The type of message carried in instruction is sent to be defined as the type of message of the target message;
Correspondingly, described device also includes:
Display module, for when type of message selection instruction is detected, showing message type list;
Second determining module, for when the selection instruction of any type of message in detecting the message type list, Selected type of message is defined as the type of message of the target message.
Alternatively, first determining module includes:
Analyzing sub-module, parses for the message content to the target message, with determining the message content Whether preset characters are included;
Acquisition submodule, for when the message content includes the preset characters, being obtained from the message content Fetch bit is after the preset characters and the character string adjacent with the preset characters;
Second determination sub-module, for when the character string for obtaining is the first preset characters string, determining the target message Type of message be global broadcast messages;
3rd determination sub-module, for when the character string for obtaining is the second preset characters string, determining the target message Type of message be locally broadcast message;
4th determination sub-module, the character string for working as acquisition is the ID for being presently in any user in direct broadcasting room When, the type of message for determining the target message is private chat message.
Alternatively, described device also includes:
Display module, for being the global broadcast messages or the locally broadcast when the type of message of the target message During message, display numerical value transfer prompting message, the numerical value transfer prompting message is used for required during the target message to sending The numerical value of transfer is pointed out;
Performing module, for when numerical value transfer success message is received, performing and sending message transmission to direct broadcast server The step of request.
Alternatively, when the type of message of the target message is locally broadcast message, the message is gone back in sending request Carrying is presently in the mark of direct broadcasting room, and when the type of message of the target message is private chat message, the message sends please The mark and the user account for receiving the target message for being presently in direct broadcasting room are also carried in asking.
According to the third aspect of the embodiment of the present disclosure, there is provided send the device of message, the dress in a kind of live application Put including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
Receive message and send instruction, the message carries target message to be sent in sending instruction;
Determine the type of message of the target message, the type of message includes global broadcast messages, locally broadcast message And private chat message, the global broadcast messages are the message broadcasted in all direct broadcasting rooms of live application, the part Broadcast message is that, in the message for being presently in being broadcasted in direct broadcasting room, the private chat message is and is presently in direct broadcasting room The message that user is individually communicated;
Message being sent to direct broadcast server and sending request, the message sends and carry in request the target message, described Type of message and the current user account for logging in, and the message sends request for indicating the direct broadcast server according to described Type of message and the user account send the target message.
The technical scheme provided by this disclosed embodiment can include the following benefits:In the disclosed embodiments, when When sending message transmission request to direct broadcast server, the message sends the type of message that request carries target message, because this disappears Breath type includes global broadcast messages, locally broadcast message and private chat message, and global broadcast messages are the institute in live application There is the message broadcasted in direct broadcasting room, locally broadcast message is in the message for being presently in being broadcasted in direct broadcasting room, private chat Message is the message individually communicated with the user being presently in direct broadcasting room, therefore, in the disclosed embodiments, when live When server receives message and sends request, can be determined to receive the terminal of the target message according to the type of message, and to connecing The terminal for receiving the target message sends the target message.That is, sending and disappearing in the live application provided by the embodiment of the present disclosure The method of breath, the terminal for receiving the target message can determine by the terminal for sending the target message, rather than by direct broadcast service Device is preassigned, and improves the flexibility of transmission message in live application;And when the type of message of target message disappears for private chat During breath, it is only the one of user being presently in direct broadcasting room to receive the target message terminal, it is to avoid terminal sends target During message, the target message is all visible for all terminals being presently in direct broadcasting room.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and constitutes the part of this specification, shows and meets implementation of the invention Example, and be used to explain principle of the invention together with specification.
Fig. 1 is the system schematic of transmission message in a kind of live application that the embodiment of the present disclosure is provided;
Fig. 2 is the method flow diagram of transmission message in a kind of live application that the embodiment of the present disclosure is provided;
Fig. 3 is the method flow diagram of transmission message in another live application that the embodiment of the present disclosure is provided;
Fig. 4 A are the device block diagrams of transmission message in a kind of live application that the embodiment of the present disclosure is provided;
Fig. 4 B are a kind of first determining module block diagrams that the embodiment of the present disclosure is provided;
Fig. 4 C are the device block diagrams of transmission message in another live application that the embodiment of the present disclosure is provided;
Fig. 4 D are another first determining module block diagrams that the embodiment of the present disclosure is provided;
Fig. 4 E are the device block diagrams of transmission message in another live application that the embodiment of the present disclosure is provided;
Fig. 5 is the device block diagram of transmission message in another live application that the embodiment of the present disclosure is provided.
Specific embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in implementation method do not represent and the consistent all implementation methods of the present invention.Conversely, they be only with it is such as appended The example of the consistent apparatus and method of some aspects being described in detail in claims, of the invention.
Before detailed explanation is carried out to the embodiment of the present disclosure, first the application scenarios to the embodiment of the present disclosure give Introduce.In due to correlation technique, when the terminal in live application sends target message, direct broadcast server will be in the current institute of terminal Show the target message in the live interface for locating direct broadcasting room, that is, receive the terminal of the target message for this be presently in it is live Interior all terminals, seriously reduce the flexibility that message is sent in live application, and when terminal send target message it Afterwards, all terminals that the target message is presently in direct broadcasting room for this are all visible.Therefore, the embodiment of the present disclosure is provided A kind of method that message is sent in live application, when sending message to direct broadcast server and sending request, the message sends please Asking the type of message for carrying target message, the type of message includes global broadcast messages, locally broadcast message and private chat message, because This, when direct broadcast server receives the message sends request, can determine to receive the target message according to the type of message Terminal, and send the target message to the terminal for receiving the target message.That is, should by the live of embodiment of the present disclosure offer With the method for middle transmission message, the terminal for receiving the target message can determine by the terminal for sending the target message, rather than Preassigned by direct broadcast server, improve the flexibility of transmission message in live application;And when the message class of target message When type is private chat message, to receive the target message terminal be only the one of user being presently in direct broadcasting room, it is to avoid end When end sends target message, the target message is all visible for all terminals being presently in direct broadcasting room.
Fig. 1 is the system schematic of transmission message in a kind of live application that the embodiment of the present disclosure is provided, for the ease of saying It is bright, in the disclosed embodiments, the terminal for receiving the target message is referred to as target terminal, as shown in figure 1, the system is included eventually End 101, direct broadcast server 102 and target terminal 103.Wherein, terminal 101 can be between direct broadcast server 102 by wired Or wireless mode is communicated, target terminal 103 can also pass through wired or wireless mode between direct broadcast server 102 Communicated, and terminal 101 and target terminal 103 can be mobile phone, computer and tablet device etc..Terminal 101 is led to Cross direct broadcast server 102 and send target message to target terminal 103.
It should be noted that multiple target terminals can be included in the system, in Fig. 1 only by taking target terminal 103 as an example Illustrate.
Fig. 2 is the method flow diagram of transmission message in a kind of live application that the embodiment of the present disclosure is provided, and the method is used for In terminal 101, as shown in Fig. 2 the method that message is sent in the live application is comprised the following steps.
In step 201, receive message and send instruction, the message carries target message to be sent in sending instruction.
In step 202., the type of message of target message is determined, the type of message includes that global broadcast messages, part are wide Message and private chat message are broadcast, global broadcast messages are the message broadcasted in all direct broadcasting rooms of live application, it is local wide It is that, in the message for being presently in being broadcasted in direct broadcasting room, private chat message is and the user's list being presently in direct broadcasting room to broadcast message The message for solely being communicated.
In step 203, send message to direct broadcast server and send request, carrying the target in message transmission request disappears Breath, the type of message and the current user account for logging in, and the message sends request for indicating direct broadcast server to disappear according to this Breath type and the user account send the target message.
In the disclosed embodiments, when message transmission request is sent to direct broadcast server, the message sends request and carries The type of message of target message, because the type of message includes global broadcast messages, locally broadcast message and private chat message, and it is complete Office's broadcast message is the message broadcasted in all direct broadcasting rooms of live application, and locally broadcast message is to be presently in directly The interior message broadcasted is broadcast, private chat message is the message individually communicated with the user being presently in direct broadcasting room, because This, in the disclosed embodiments, when direct broadcast server receives message sends request, can determine mesh according to the type of message Mark terminal, and send the target message to target terminal.That is, sending and disappearing in the live application provided by the embodiment of the present disclosure The method of breath, target terminal can be determined by the terminal for sending the target message, rather than be preassigned by direct broadcast server, be carried The flexibility of message is sent in live application high;And when the type of message of target message is private chat message, target terminal Only it is presently in the one of user in direct broadcasting room, it is to avoid when terminal sends target message, the target message is for working as All terminals in preceding residing direct broadcasting room are all visible.
Optionally it is determined that the type of message of the target message, including:
When the message sends also carries type of message in instruction, the message is sent the type of message carried in instruction true It is set to the type of message of the target message;
Correspondingly, before receiving message transmission instruction, also include:
When type of message selection instruction is detected, message type list is shown;
It is when the selection instruction of any type of message in detecting the message type list, selected type of message is true It is set to the type of message of the target message.
Optionally it is determined that the type of message of the target message, including:
Whether message content to the target message is parsed, to determine include preset characters in the message content;
When the message content includes the preset characters, from the message content obtain be located at the preset characters after and The character string adjacent with the preset characters;
When the character string for obtaining is the first preset characters string, determine that the type of message of the target message disappears for global broadcast Breath;
When the character string for obtaining is the second preset characters string, determine the type of message of the target message for locally broadcast disappears Breath;
When the character string for obtaining is when being presently in the ID of any user in direct broadcasting room, to determine the target message Type of message is private chat message.
Alternatively, before sending message transmission request to direct broadcast server, also include:
When the type of message of the target message is global broadcast messages or locally broadcast message, display numerical value transfer prompting Message, numerical value transfer prompting message is used to point out the numerical value for sending required transfer during the target message;
When numerical value transfer success message is received, the step of sending message transmission request to direct broadcast server is performed.
Alternatively, when the type of message of the target message is locally broadcast message, the message is also carried in sending request The mark of direct broadcasting room is presently in, when the type of message of the target message is private chat message, the message is also taken in sending request Band is presently in the mark and the user account for receiving the target message of direct broadcasting room.
Above-mentioned all optional technical schemes, can form the alternative embodiment of the disclosure, disclosure reality according to any combination Example is applied no longer to repeat this one by one.
Fig. 3 is the method flow diagram of transmission message in another live application that the embodiment of the present disclosure is provided, and the method is used The system that message is sent in live application, as shown in figure 3, the method that message is sent in the live application is comprised the following steps.
In step 301, terminal receives message and sends instruction, and carrying target to be sent in message transmission instruction disappears Breath.
In the disclosed embodiments, after terminal is based on currently logging in the user account of live application into direct broadcasting room, eventually End can send target message to target terminal.That is, when terminal receives message and sends instruction, determine target message, with Target message is sent to target terminal.Wherein, message is sent instruction and is triggered by predetermined registration operation by user, and the predetermined registration operation can Think click, slip or voice operating etc., user account is the corresponding user of terminal in the corresponding direct broadcast server of live application The account of middle registration.
In a kind of possible implementation, message input window is included at the currently displaying live interface of terminal, should Message input window also includes " confirming to send " option, when terminal detection is for the predetermined registration operation that " should confirm to send " option, Determine that terminal receives message and sends instruction, and the information that user is added in message input window is used as target message, That is, the message carries target message in sending instruction.
In addition, in the disclosed embodiments, the message sent for terminal is provided with type of message, and the type of message includes Global broadcast messages, locally broadcast message and private chat message, global broadcast messages are to enter in all direct broadcasting rooms of live application Row broadcast message, locally broadcast message be in the message for being presently in being broadcasted in direct broadcasting room, private chat message be with currently The message that user in residing direct broadcasting room is individually communicated.That is, when the type of message of target message is global broadcast messages When, target terminal is the terminal in all direct broadcasting rooms in live application;When the type of message of target message is locally broadcast message When, target terminal is all terminals being presently in direct broadcasting room;When the type of message of target message is private chat message, target Terminal is the specified user being presently in direct broadcasting room.
Alternatively, before message transmission instruction is received, when type of message selection instruction is detected, type of message is shown List, when the selection instruction of any type of message in detecting the message type list, selected type of message is determined It is the type of message of the target message, now, the message sends the type of message that the target message is carried in instructing.
Wherein, the selection instruction of type of message selection instruction and any type of message is touched by predetermined registration operation by user Hair, and the message type list includes multiple type of messages.
For example, the currently displaying live interface of terminal includes " selection type of message " option, as user, click should " selection disappears During breath type option ", type of message selection instruction is triggered, terminal shows message after type of message selection instruction is detected List of types, the message type list includes global broadcast messages, locally broadcast message and private chat message.When user clicks on the overall situation During broadcast message, global broadcast messages selection instruction is triggered, when terminal detects the global broadcast messages selection instruction, will be complete Office's broadcast message as target message type of message, that is, terminal is by all ends in all direct broadcasting rooms to live application End sends the target message.Now, if terminal receives message and sends instruction, the message disappears carrying target in sending instruction The type of message of breath and target message.
In step 302, terminal determines the type of message of target message.
After terminal determines target message, the target terminal for determining to receive the target message is also needed, the target is disappeared Breath is sent to target terminal, and according to the explanation in step 301 for type of message, terminal determines to receive the target of the target message Terminal, namely determine the type of message of target message.
In the disclosed embodiments, terminal can determine the message class of target message by following two possible modes Type.
The first possible mode, when the message sends carries type of message in instruction, the message is sent in instructing The type of message of carrying is defined as the type of message of the target message.
In the first possible mode, before terminal receives message transmission instruction, arranged when the type of message is detected In table during the selection instruction of any type of message, selected type of message is defined as the type of message of the target message, this When, message carries type of message in sending instruction, therefore, when terminal receives the message sends instruction, can directly determine The type of message of target message.
Second possible mode, the message content to the target message is parsed, to determine to be in the message content It is no including preset characters;When the message content includes the preset characters, obtained from the message content and be located at the predetermined word After symbol and the character string adjacent with the preset characters.When the character string for obtaining is the first preset characters string, the target is determined The type of message of message is global broadcast messages;When the character string for obtaining is the second preset characters string, the target message is determined Type of message be locally broadcast message;When the character string for obtaining is the ID that is presently in any user in direct broadcasting room When, the type of message for determining the target message is private chat message.
Wherein, preset characters can determine the target message for instruction terminal according to the message content of the target message Type of message, and preset characters can be the character pre-set in terminal, or and direct broadcast server presets setting Character, the preset characters can be " ", " # " or " % " etc..First preset characters string is used for the message of instruction terminal target message Type is global broadcast messages, and the first preset characters string can be the character string that terminal or direct broadcast server pre-set, The first preset characters string can be " overall situation " or " title of live application " etc..Second preset characters string is used for instruction terminal mesh The type of message for marking message is locally broadcast message, and the second preset characters string can be that terminal or direct broadcast server set in advance The character string put, the second preset characters string can be " part " or " direct broadcasting room personnel " etc..In addition, ID is used for User in unique mark direct broadcasting room, the ID can be user account of the user in live application, or use The title of family in live application etc..
For example, preset characters are "@", the first preset characters string is " overall situation ", and the second preset characters string is " part ", terminal It is determined that after target message, the message content to the target message is parsed, when the message content of the target message includes During preset characters " ", obtain and be located in the message content after " " and the character string adjacent with " ".When the adjacent character string During for " overall situation ", the type of message for determining target message is global broadcast messages;When the adjacent character string is " part ", really The type of message of the message that sets the goal is locally broadcast message;When the adjacent character string is " Zhang San ", target message is determined Type of message is private chat message, and be simply sent to the target message " Zhang San " by terminal.
In second possible mode, terminal receive message send instruction before, without determining the target message Type of message, but the type of message of the target message is determined according to the message content of target message, that is, when terminal is received During target message, the message content of the target message includes the information of the type of message for indicating the target message.
It is worth noting that, when the type of message of target message is " global broadcast messages " or " during locally broadcast message ", The target terminal for showing to receive the target message is terminal in all direct broadcasting rooms in live application or is presently in direct broadcasting room Interior all terminals, utilize " global broadcast messages " or " locally broadcast message " to send malicious messages such as in order to avoid there is user Send type of message for " global broadcast messages " Virus Message, when terminal type of message to be sent be " global broadcast messages " or During the message of " locally broadcast message ", terminal need to carry out numerical value transfer.In the disclosed embodiments, when terminal determines target message Type of message be " global broadcast messages " or " locally broadcast message " when, display numerical value transfer prompting message;When receiving number During value transfer success message, step 303 is performed.Wherein, numerical value transfer prompting message is used for sending target message when institute The numerical value that need to be shifted is pointed out.
In a kind of possible implementation, numerical value transfer prompting message also includes that " confirmation " option and " cancellation " are selected , when terminal is detected for the selection operation for being somebody's turn to do " confirmation " option, numerical value transfer request is sent to numerical value transfer service device, When numerical value transfer service device receives the numerical value transfer request, numerical value transfer process is completed, and numerical value is sent to terminal to shift Success message, when terminal receives numerical value transfer success message, then performs step 303.Correspondingly, when terminal detects pin During to the selection operation of " cancellation " option, determine that terminal is cancelled and send the target message.Wherein, numerical value transfer can be true Currency transfer or the transfer of virtual currency, numerical value transfer service device is the server for carrying out numerical value transfer.
In addition, in the disclosed embodiments, for the message of different messages type, numerical value of transfer can not also needed for it Together.That is, when the type of message of target message is global broadcast messages, numerical value that terminal show transfer prompting message includes the One transfer numerical value;When the type of message of target message is locally broadcast message, the numerical value transfer prompting message bag that terminal shows The second transfer numerical value is included, and the first transfer numerical value sends type of message and is broadcasted for global more than the second transfer numerical value, namely terminal The numerical value of transfer needed for the target message of message is shifted more than type of message is sent for needed for the target message of locally broadcast message Numerical value.
In step 303, terminal sends message and sends request to direct broadcast server, and the message carries the mesh in sending request Mark message, the type of message and the current user account for logging in, and the message send request for indicate direct broadcast server according to The type of message and the user account send the target message.
It should be noted that when the type of message of the target message is locally broadcast message, because target terminal is to work as The mark for being presently in direct broadcasting room is also carried in all terminals in preceding residing direct broadcasting room, therefore message transmission request, is deserved The all terminals in direct broadcasting room that the mark of preceding residing direct broadcasting room is presently in for indicating direct broadcast server to determine, namely really Set the goal terminal.When the type of message of the target message is private chat message, because target terminal is to be presently in direct broadcasting room User, therefore the message to send also carry in request and is presently in the mark and the use for receiving the target message of direct broadcasting room Family account, the mark of the direct broadcasting room being presently in is for indicating direct broadcast server to judge the user for receiving the target message Whether account is be presently in the user account in direct broadcasting room.
Wherein, the mark direct broadcasting room that this is presently in for unique mark of direct broadcasting room is presently in, this is presently in directly Mark between broadcasting can be title of the ID (Identity, identity) of the direct broadcasting room or the direct broadcasting room etc..
In step 304, when direct broadcast server receives the message sends request, send the target to target terminal and disappear Breath.
In the disclosed embodiments, the difference of the type of message according to target message, direct broadcast server is sent out to target terminal Giving the target message can be divided into following three kinds of situations.
The first situation, when the type of message of target message is global broadcast messages, direct broadcast server is according to the message The global broadcast messages carried in request are sent, determines that target terminal is all ends in all direct broadcasting rooms in live application End, that is, direct broadcast server sends the target message to all terminals in all direct broadcasting rooms in the live application, the target The user account for sending target message is also carried in message.When target terminal receives the target message, show that the target disappears Breath, naturally it is also possible to which display sends the user account of the target message.
Alternatively, in the disclosed embodiments, in order to embody the target message and its that type of message is global broadcast messages The difference of his message, target terminal can show the target message with the first specific mode.Wherein, the first specific mode is advance The display mode of setting.For example, the first specific mode is " Dynamic Announce from left to right directly over screen ", that is, working as target end When termination receives the target message, the target message is shown since the left side directly over screen, and the target message is gradually Move right, until removing the current live window of target terminal.
Second situation, when the type of message of target message is locally broadcast message, direct broadcast server is according to the message The mark of the locally broadcast message for carrying and the direct broadcasting room being presently in request is sent, it is determined that the institute being presently in direct broadcasting room There is terminal, and all terminals being presently in direct broadcasting room to this send the target message, when all terminals in the direct broadcasting room When receiving target message, the target message is shown.
Wherein, target terminal can show the target message with the second specific mode, and second specific mode is also advance The display mode of setting.For example, the second specific mode is " spring of the screen lower right corner shows ", namely when target terminal receives this During target message, the target message, spring display namely the display of the target message can be shown in the lower right corner of current window Time shorter such as 5s, after 5s, no longer shows the target message.
The third situation, when the type of message of target message is private chat message, when direct broadcast server receives message hair When sending request, the mark for being presently in direct broadcasting room and the user for receiving target message for asking to carry are sent according to the message Account, judge this for receive target message user account whether be this be presently in the user account in direct broadcasting room one It is individual, if the user account for being used to receive target message is one be presently in the user account in direct broadcasting room, The target message is sent to the corresponding terminal of the user account namely target terminal, when target terminal receives the target message When, show the target message.Correspondingly, if the user account for being used to receive target message is presently in direct broadcasting room User account in one when, stop sending the target message to target terminal, and sent out to the terminal for sending the target message Prompt message is sent, the prompt message be not presently in direct broadcasting room for prompt terminal target terminal.
It should be noted that in the third situation, when target terminal shows the target message, its in the direct broadcasting room His terminal can not see the target message, namely in the third situation, the target message is only in terminal and target terminal Between communicate message.
In the disclosed embodiments, when message transmission request is sent to direct broadcast server, the message sends request and carries The type of message of target message, because the type of message includes global broadcast messages, locally broadcast message and private chat message, and it is complete Office's broadcast message is the message broadcasted in all direct broadcasting rooms of live application, and locally broadcast message is to be presently in directly The interior message broadcasted is broadcast, private chat message is the message individually communicated with the user being presently in direct broadcasting room, because This, in the disclosed embodiments, when direct broadcast server receives message sends request, can determine mesh according to the type of message Mark terminal, and send the target message to target terminal.That is, sending and disappearing in the live application provided by the embodiment of the present disclosure The method of breath, target terminal can be determined by the terminal for sending the target message, rather than be preassigned by direct broadcast server, be carried The flexibility of message is sent in live application high;And when the type of message of target message is private chat message, target terminal Only it is presently in the one of user in direct broadcasting room, it is to avoid when terminal sends target message, the target message is for working as All terminals in preceding residing direct broadcasting room are all visible.
Fig. 4 A are the block diagrams of the device 400 of transmission message in a kind of live application that the embodiment of the present disclosure is provided.Referring to figure 4A, the device includes receiver module 401, the first determining module 402 and sending module 403.
Receiver module 401, instruction is sent for receiving message, and carrying target to be sent in message transmission instruction disappears Breath.
First determining module 402, the type of message for determining target message, type of message includes that global broadcast disappears Breath, locally broadcast message and private chat message, global broadcast messages are disappearing of being broadcasted in all direct broadcasting rooms of live application Breath, locally broadcast message is that, in the message for being presently in being broadcasted in direct broadcasting room, private chat message is and is presently in direct broadcasting room The message that interior user is individually communicated.
Sending module 403, request is sent for sending message to direct broadcast server, and the message carries the mesh in sending request Mark message, the type of message and the current user account for logging in, and the message send request for indicate direct broadcast server according to The type of message and the user account send the target message.
Alternatively, referring to Fig. 4 B, the first determining module 402 includes:
First determination sub-module 4021, for when the message sends and also carries type of message in instruction, by message hair The type of message carried in instruction is sent to be defined as the type of message of the target message;
Correspondingly, referring to Fig. 4 C, device 400 also includes the first display module 404 and the second determining module 405:
First display module 404, for when type of message selection instruction is detected, showing message type list;
Second determining module 405, for when the selection instruction of any type of message in detecting the message type list, Selected type of message is defined as the type of message of the target message.
Alternatively, referring to Fig. 4 D, the second determining module 402 includes analyzing sub-module 4022, acquisition submodule 4023, second Determination sub-module 4024, the 3rd determination sub-module 4025 and the 3rd determination sub-module 4026:
Analyzing sub-module 4022, parses for the message content to the target message, with determining the message content Whether preset characters are included;
Acquisition submodule 4023, for when the message content includes the preset characters, being obtained from the message content After the preset characters and the character string adjacent with the preset characters;
Second determination sub-module 4024, for when the character string for obtaining is the first preset characters string, determining that the target disappears The type of message of breath is global broadcast messages;
3rd determination sub-module 4025, for when the character string for obtaining is the second preset characters string, determining that the target disappears The type of message of breath is locally broadcast message;
4th determination sub-module 4026, for being to be presently in the user of any user in direct broadcasting room when the character string for obtaining During mark, the type of message for determining the target message is private chat message.
Alternatively, referring to Fig. 4 E, device 400 also includes the second display module 406 and performing module 407:
Second display module 406, is that global broadcast messages or locally broadcast disappear for the type of message when the target message During breath, display numerical value transfer prompting message, numerical value transfer prompting message is used for sending required transfer during the target message Numerical value is pointed out;
Performing module 407, for when numerical value transfer success message is received, performing and sending message hair to direct broadcast server The step of sending request.
Alternatively, when the type of message of the target message is locally broadcast message, the message is also carried in sending request The mark of direct broadcasting room is presently in, when the type of message of the target message is private chat message, the message is also taken in sending request Band is presently in the mark and the user account for receiving the target message of direct broadcasting room.
In the disclosed embodiments, when message transmission request is sent to direct broadcast server, the message sends request and carries The type of message of target message, because the type of message includes global broadcast messages, locally broadcast message and private chat message, and it is complete Office's broadcast message is the message broadcasted in all direct broadcasting rooms of live application, and locally broadcast message is to be presently in directly The interior message broadcasted is broadcast, private chat message is the message individually communicated with the user being presently in direct broadcasting room, because This, in the disclosed embodiments, when direct broadcast server receives message sends request, can determine mesh according to the type of message Mark terminal, and send the target message to target terminal.That is, sending and disappearing in the live application provided by the embodiment of the present disclosure The method of breath, target terminal can be determined by the terminal for sending the target message, rather than be preassigned by direct broadcast server, be carried The flexibility of message is sent in live application high;And when the type of message of target message is private chat message, target terminal Only it is presently in the one of user in direct broadcasting room, it is to avoid when terminal sends target message, the target message is for working as All terminals in preceding residing direct broadcasting room are all visible.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant the method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 5 is the block diagram of the device 500 of transmission message in another live application that the embodiment of the present disclosure is provided.For example, Device 500 can be mobile phone, and computer, messaging devices, game console, tablet device, Medical Devices, body-building sets It is standby etc..
Reference picture 5, device 500 can include following one or more assemblies:Processing assembly 502, memory 504, power supply Component 506, multimedia groupware 508, audio-frequency assembly 510, the interface 512 of input/output (I/O), sensor cluster 514, and Communication component 516.
The integrated operation of the usual control device 500 of processing assembly 502, such as with display, call, data communication, phase Machine is operated and the associated operation of record operation.Processing assembly 502 can refer to including one or more processors 520 to perform Order, to complete all or part of step of above-mentioned method.Additionally, processing assembly 502 can include one or more modules, just Interaction between processing assembly 502 and other assemblies.For example, processing assembly 502 can include multi-media module, it is many to facilitate Interaction between media component 508 and processing assembly 502.
Memory 504 is configured as storing various types of data supporting the operation in device 500.These data are shown Example includes the instruction for any application program or method for operating on device 500, and contact data, telephone book data disappears Breath, picture, video etc..Memory 504 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) is erasable to compile Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 506 provides power supply for the various assemblies of device 500.Power supply module 506 can include power management system System, one or more power supplys, and other generate, manage and distribute the component that power supply is associated with for device 500.
Multimedia groupware 508 is included in one screen of output interface of offer between described device 500 and user.One In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch sensings Device is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or sliding action Border, but also detection and the touch or slide related duration and pressure.In certain embodiments, many matchmakers Body component 508 includes a front camera and/or rear camera.When device 500 be in operator scheme, such as screening-mode or During video mode, front camera and/or rear camera can receive outside multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or with focusing and optical zoom capabilities.
Audio-frequency assembly 510 is configured as output and/or input audio signal.For example, audio-frequency assembly 510 includes a Mike Wind (MIC), when device 500 is in operator scheme, such as call model, logging mode and speech recognition mode, microphone is matched somebody with somebody It is set to reception external audio signal.The audio signal for being received can be further stored in memory 504 or via communication set Part 516 sends.In certain embodiments, audio-frequency assembly 510 also includes a loudspeaker, for exports audio signal.
, to provide interface between processing assembly 502 and peripheral interface module, above-mentioned peripheral interface module can for I/O interfaces 512 To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor cluster 514 includes one or more sensors, and the state for providing various aspects for device 500 is commented Estimate.For example, sensor cluster 514 can detect the opening/closed mode of device 500, the relative positioning of component is for example described Component is the display and keypad of device 500, and sensor cluster 514 can be with 500 1 components of detection means 500 or device Position change, user is presence or absence of with what device 500 was contacted, the orientation of device 500 or acceleration/deceleration and device 500 Temperature change.Sensor cluster 514 can include proximity transducer, be configured to be detected when without any physical contact The presence of neighbouring object.Sensor cluster 514 can also include optical sensor, such as CMOS or ccd image sensor, for into As being used in application.In certain embodiments, the sensor cluster 514 can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 516 is configured to facilitate the communication of wired or wireless way between device 500 and other equipment.Device 500 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary implementation In example, communication component 516 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 516 also includes near-field communication (NFC) module, to promote junction service.Example Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the disclosed embodiments, device 500 can be by one or more application specific integrated circuits (ASIC), numeral letter Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components realization, for performing the above method.
In the disclosed embodiments, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 504 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 520 of device 500.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is held by the processor of terminal During row so that the method that terminal is able to carry out transmission message in a kind of live application, methods described includes:
Receive message and send instruction, the message carries target message to be sent in sending instruction.
Determine the type of message of target message, the type of message includes global broadcast messages, locally broadcast message and private chat Message, global broadcast messages are the message broadcasted in all direct broadcasting rooms of live application, and locally broadcast message is to work as The message broadcasted in preceding residing direct broadcasting room, private chat message is individually to be communicated with the user being presently in direct broadcasting room Message.
Message being sent to direct broadcast server and sending request, the message carries the target message, the message class in sending request Type and the current user account for logging in, and the message sends request for indicating direct broadcast server according to the type of message and the use Family account sends the target message.
Optionally it is determined that the type of message of the target message, including:
When the message sends also carries type of message in instruction, the message is sent the type of message carried in instruction true It is set to the type of message of the target message;
Correspondingly, before receiving message transmission instruction, also include:
When type of message selection instruction is detected, message type list is shown;
It is when the selection instruction of any type of message in detecting the message type list, selected type of message is true It is set to the type of message of the target message.
Optionally it is determined that the type of message of the target message, including:
Whether message content to the target message is parsed, to determine include preset characters in the message content;
When the message content includes the preset characters, from the message content obtain be located at the preset characters after and The character string adjacent with the preset characters;
When the character string for obtaining is the first preset characters string, determine that the type of message of the target message disappears for global broadcast Breath;
When the character string for obtaining is the second preset characters string, determine the type of message of the target message for locally broadcast disappears Breath;
When the character string for obtaining is when being presently in the ID of any user in direct broadcasting room, to determine the target message Type of message is private chat message.
Alternatively, before sending message transmission request to direct broadcast server, also include:
When the type of message of the target message is global broadcast messages or locally broadcast message, display numerical value transfer prompting Message, numerical value transfer prompting message is used to point out the numerical value for sending required transfer during the target message;
When numerical value transfer success message is received, the step of sending message transmission request to direct broadcast server is performed.
Alternatively, when the type of message of the target message is locally broadcast message, the message is also carried in sending request The mark of direct broadcasting room is presently in, when the type of message of the target message is private chat message, the message is also taken in sending request Band is presently in the mark and the user account for receiving the target message of direct broadcasting room.
In the disclosed embodiments, when message transmission request is sent to direct broadcast server, the message sends request and carries The type of message of target message, because the type of message includes global broadcast messages, locally broadcast message and private chat message, and it is complete Office's broadcast message is the message broadcasted in all direct broadcasting rooms of live application, and locally broadcast message is to be presently in directly The interior message broadcasted is broadcast, private chat message is the message individually communicated with the user being presently in direct broadcasting room, because This, in the disclosed embodiments, when direct broadcast server receives message sends request, can determine mesh according to the type of message Mark terminal, and send the target message to target terminal.That is, sending and disappearing in the live application provided by the embodiment of the present disclosure The method of breath, target terminal can be determined by the terminal for sending the target message, rather than be preassigned by direct broadcast server, be carried The flexibility of message is sent in live application high;And when the type of message of target message is private chat message, target terminal Only it is presently in the one of user in direct broadcasting room, it is to avoid when terminal sends target message, the target message is for working as All terminals in preceding residing direct broadcasting room are all visible.
Those skilled in the art considering specification and after putting into practice invention disclosed herein, will readily occur to it is of the invention its Its embodiment.The application is intended to any modification of the invention, purposes or adaptations, these modifications, purposes or Person's adaptations follow general principle of the invention and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and true scope and spirit of the invention are by following Claim is pointed out.
It should be appreciated that the invention is not limited in the precision architecture being described above and be shown in the drawings, and And can without departing from the scope carry out various modifications and changes.The scope of the present invention is only limited by appended claim.

Claims (11)

1. a kind of method that message is sent in live application, it is characterised in that methods described includes:
Receive message and send instruction, the message carries target message to be sent in sending instruction;
Determine the type of message of the target message, the type of message includes global broadcast messages, locally broadcast message and private Merely message, the global broadcast messages are the message broadcasted in all direct broadcasting rooms of live application, the locally broadcast Message is that, in the message for being presently in being broadcasted in direct broadcasting room, the private chat message is and the user being presently in direct broadcasting room The message for individually being communicated;
Message being sent to direct broadcast server and sending request, the message carries the target message, the message in sending request Type and the current user account for logging in, and the message sends request for indicating the direct broadcast server according to the message Type and the user account send the target message.
2. method according to claim 1, it is characterised in that the type of message of the determination target message, including:
When the message sends also carries type of message in instruction, the message is sent the type of message carried in instruction true It is set to the type of message of the target message;
Correspondingly, before the reception message sends instruction, also include:
When type of message selection instruction is detected, message type list is shown;
When the selection instruction of any type of message in detecting the message type list, selected type of message is determined It is the type of message of the target message.
3. method according to claim 1, it is characterised in that the type of message of the determination target message, including:
Whether message content to the target message is parsed, to determine include preset characters in the message content;
When the message content includes the preset characters, from the message content obtain be located at the preset characters it Afterwards and the character string adjacent with the preset characters;
When the character string for obtaining is the first preset characters string, determine that the type of message of the target message disappears for global broadcast Breath;
When the character string for obtaining is the second preset characters string, determine the type of message of the target message for locally broadcast disappears Breath;
When the character string for obtaining is when being presently in the ID of any user in direct broadcasting room, to determine disappearing for the target message Breath type is private chat message.
4. method according to claim 1, it is characterised in that described to send message to direct broadcast server and send request Before, also include:
When the type of message of the target message is the global broadcast messages or the locally broadcast message, display numerical value turns Prompting message is moved, the numerical value that the numerical value transfer prompting message is used for required transfer during to sending the target message is carried Show;
When numerical value transfer success message is received, the step of sending message transmission request to direct broadcast server is performed.
5. method according to claim 1, it is characterised in that when the type of message of the target message disappears for locally broadcast During breath, the message also carries the mark for being presently in direct broadcasting room in sending request, when the type of message of the target message is During private chat message, also carrying is presently in the mark of direct broadcasting room and for receiving the target message during the message sends request User account.
6. the device of message is sent in a kind of live application, it is characterised in that described device includes:
Receiver module, instruction is sent for receiving message, and the message carries target message to be sent in sending instruction;
First determining module, the type of message for determining the target message, the type of message include global broadcast messages, Locally broadcast message and private chat message, the global broadcast messages are disappearing of being broadcasted in all direct broadcasting rooms of live application Breath, the locally broadcast message is that, in the message for being presently in being broadcasted in direct broadcasting room, the private chat message is and current institute The message that user in place's direct broadcasting room is individually communicated;
Sending module, request is sent for sending message to direct broadcast server, and the message carries the target in sending request Message, the type of message and the current user account for logging in, and the message sends request for indicating the direct broadcast service Device sends the target message according to the type of message and the user account.
7. device according to claim 6, it is characterised in that first determining module includes:
First determination sub-module, for when the message sends and also carries type of message in instruction, the message being sent and being referred to The type of message carried in order is defined as the type of message of the target message;
Correspondingly, described device also includes:
First display module, for when type of message selection instruction is detected, showing message type list;
Second determining module, for when the selection instruction of any type of message in detecting the message type list, by institute The type of message of selection is defined as the type of message of the target message.
8. device according to claim 6, it is characterised in that first determining module includes:
Analyzing sub-module, parses for the message content to the target message, with determine in the message content whether Including preset characters;
Acquisition submodule, for when the message content includes the preset characters, position being obtained from the message content After the preset characters and the character string adjacent with the preset characters;
Second determination sub-module, for when the character string for obtaining is the first preset characters string, determining disappearing for the target message Breath type is global broadcast messages;
3rd determination sub-module, for when the character string for obtaining is the second preset characters string, determining disappearing for the target message Breath type is locally broadcast message;
4th determination sub-module, for being when being presently in the ID of any user in direct broadcasting room when the character string for obtaining, The type of message for determining the target message is private chat message.
9. device according to claim 6, it is characterised in that described device also includes:
Second display module, for being the global broadcast messages or the locally broadcast when the type of message of the target message During message, display numerical value transfer prompting message, the numerical value transfer prompting message is used for required during the target message to sending The numerical value of transfer is pointed out;
Performing module, for when numerical value transfer success message is received, performing and sending message transmission request to direct broadcast server The step of.
10. device according to claim 6, it is characterised in that when the type of message of the target message is locally broadcast During message, the message also carries the mark for being presently in direct broadcasting room in sending request, when the type of message of the target message During for private chat message, also carrying is presently in the mark of direct broadcasting room and disappears for receiving the target during the message sends request The user account of breath.
The device of message is sent in a kind of 11. live applications, it is characterised in that described device includes:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
Receive message and send instruction, the message carries target message to be sent in sending instruction;
Determine the type of message of the target message, the type of message includes global broadcast messages, locally broadcast message and private Merely message, the global broadcast messages are the message broadcasted in all direct broadcasting rooms of live application, the locally broadcast Message is that, in the message for being presently in being broadcasted in direct broadcasting room, the private chat message is and the user being presently in direct broadcasting room The message for individually being communicated;
Message being sent to direct broadcast server and sending request, the message carries the target message, the message in sending request Type and the current user account for logging in, and the message sends request for indicating the direct broadcast server according to the message Type and the user account send the target message.
CN201611171566.6A 2016-12-17 2016-12-17 Method and device for sending message in live broadcast application Active CN106790043B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611171566.6A CN106790043B (en) 2016-12-17 2016-12-17 Method and device for sending message in live broadcast application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611171566.6A CN106790043B (en) 2016-12-17 2016-12-17 Method and device for sending message in live broadcast application

Publications (2)

Publication Number Publication Date
CN106790043A true CN106790043A (en) 2017-05-31
CN106790043B CN106790043B (en) 2020-12-25

Family

ID=58892482

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611171566.6A Active CN106790043B (en) 2016-12-17 2016-12-17 Method and device for sending message in live broadcast application

Country Status (1)

Country Link
CN (1) CN106790043B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109120947A (en) * 2018-09-05 2019-01-01 北京优酷科技有限公司 A kind of the voice private chat method and client of direct broadcasting room
CN109391838A (en) * 2017-08-03 2019-02-26 武汉斗鱼网络科技有限公司 A kind for the treatment of method and apparatus of broadcast
CN109831538A (en) * 2019-03-28 2019-05-31 北京达佳互联信息技术有限公司 A kind of message treatment method, device, server, terminal and medium
CN111464824A (en) * 2020-04-03 2020-07-28 北京达佳互联信息技术有限公司 Message sending method and system, server and storage medium
CN112637619A (en) * 2020-12-09 2021-04-09 北京字节跳动网络技术有限公司 Live broadcast room set-top message determining method, device, equipment and storage medium
CN113141516A (en) * 2021-03-15 2021-07-20 北京城市网邻信息技术有限公司 Information processing method and device, electronic equipment and storage medium
CN113179412A (en) * 2021-03-15 2021-07-27 北京城市网邻信息技术有限公司 Information processing method and device, electronic equipment and storage medium
CN113255291A (en) * 2021-05-31 2021-08-13 杭州米络星科技(集团)有限公司 Live broadcast room message processing method and device and terminal
CN113542783A (en) * 2021-07-13 2021-10-22 北京字节跳动网络技术有限公司 Audio processing method, live broadcast equipment and live broadcast system

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101277318A (en) * 2008-05-06 2008-10-01 北京搜狗科技发展有限公司 Method, system and apparatus for issuing information
CN104468623A (en) * 2014-12-27 2015-03-25 广州华多网络科技有限公司 Information display method based on online live broadcast, related device and related system
CN104486093A (en) * 2014-11-19 2015-04-01 广州华多网络科技有限公司 Network interaction method, and related equipment and system
CN104506410A (en) * 2014-12-03 2015-04-08 小米科技有限责任公司 Instant communication method and device
CN104754396A (en) * 2015-03-12 2015-07-01 腾讯科技(北京)有限公司 Curtain popup data display method and device
US20160021426A1 (en) * 2012-06-25 2016-01-21 Live Lens Ltd. Systems, Apparatuses, Methods and Computer Executable Code for Facilitating Broadcast, Publication and/or Sharing of Video from a User Device to one or more Other User Devices in a Social Networking Environment
CN105335051A (en) * 2015-11-20 2016-02-17 珠海多玩信息技术有限公司 Method and device for displaying bullet screen type gifts in video area
US20160182929A1 (en) * 2013-07-03 2016-06-23 Luis Miguel Ortiz Methods and systems enabling access by portable wireless handheld devices to data associated with programming rendering on flat panel displays
CN105872836A (en) * 2016-03-30 2016-08-17 武汉斗鱼网络科技有限公司 Method and device for increasing user interactivity in live broadcast website
CN105897561A (en) * 2016-05-26 2016-08-24 努比亚技术有限公司 Message sending method, device and system
CN106028069A (en) * 2016-05-16 2016-10-12 Tcl集团股份有限公司 Method and system for displaying live bullet screen based on smart television

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101277318A (en) * 2008-05-06 2008-10-01 北京搜狗科技发展有限公司 Method, system and apparatus for issuing information
US20160021426A1 (en) * 2012-06-25 2016-01-21 Live Lens Ltd. Systems, Apparatuses, Methods and Computer Executable Code for Facilitating Broadcast, Publication and/or Sharing of Video from a User Device to one or more Other User Devices in a Social Networking Environment
US20160182929A1 (en) * 2013-07-03 2016-06-23 Luis Miguel Ortiz Methods and systems enabling access by portable wireless handheld devices to data associated with programming rendering on flat panel displays
CN104486093A (en) * 2014-11-19 2015-04-01 广州华多网络科技有限公司 Network interaction method, and related equipment and system
CN104506410A (en) * 2014-12-03 2015-04-08 小米科技有限责任公司 Instant communication method and device
CN104468623A (en) * 2014-12-27 2015-03-25 广州华多网络科技有限公司 Information display method based on online live broadcast, related device and related system
CN104754396A (en) * 2015-03-12 2015-07-01 腾讯科技(北京)有限公司 Curtain popup data display method and device
CN105335051A (en) * 2015-11-20 2016-02-17 珠海多玩信息技术有限公司 Method and device for displaying bullet screen type gifts in video area
CN105872836A (en) * 2016-03-30 2016-08-17 武汉斗鱼网络科技有限公司 Method and device for increasing user interactivity in live broadcast website
CN106028069A (en) * 2016-05-16 2016-10-12 Tcl集团股份有限公司 Method and system for displaying live bullet screen based on smart television
CN105897561A (en) * 2016-05-26 2016-08-24 努比亚技术有限公司 Message sending method, device and system

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109391838A (en) * 2017-08-03 2019-02-26 武汉斗鱼网络科技有限公司 A kind for the treatment of method and apparatus of broadcast
CN109120947A (en) * 2018-09-05 2019-01-01 北京优酷科技有限公司 A kind of the voice private chat method and client of direct broadcasting room
CN109831538A (en) * 2019-03-28 2019-05-31 北京达佳互联信息技术有限公司 A kind of message treatment method, device, server, terminal and medium
CN111464824A (en) * 2020-04-03 2020-07-28 北京达佳互联信息技术有限公司 Message sending method and system, server and storage medium
CN112637619A (en) * 2020-12-09 2021-04-09 北京字节跳动网络技术有限公司 Live broadcast room set-top message determining method, device, equipment and storage medium
CN112637619B (en) * 2020-12-09 2023-05-16 北京字节跳动网络技术有限公司 Live broadcast overhead message determining method, device, equipment and storage medium
CN113141516A (en) * 2021-03-15 2021-07-20 北京城市网邻信息技术有限公司 Information processing method and device, electronic equipment and storage medium
CN113179412A (en) * 2021-03-15 2021-07-27 北京城市网邻信息技术有限公司 Information processing method and device, electronic equipment and storage medium
CN113255291A (en) * 2021-05-31 2021-08-13 杭州米络星科技(集团)有限公司 Live broadcast room message processing method and device and terminal
CN113542783A (en) * 2021-07-13 2021-10-22 北京字节跳动网络技术有限公司 Audio processing method, live broadcast equipment and live broadcast system

Also Published As

Publication number Publication date
CN106790043B (en) 2020-12-25

Similar Documents

Publication Publication Date Title
CN106790043A (en) The method and device of message is sent in live application
CN104469437B (en) Advertisement sending method and device
CN104318741B (en) Bluetooth equipment control method and device
CN104780155B (en) Apparatus bound method and device
CN104394137B (en) A kind of method and device of prompting voice call
CN105354017B (en) Information processing method and device
CN107665354A (en) Identify the method and device of identity card
CN107438811A (en) One kind breath screen shows method and device
CN107301242A (en) Method, device and the storage medium of page jump
CN106293837A (en) Open the method and device at interface
CN107071862A (en) Account binding method and device and smart machine
CN106817492A (en) The method and apparatus that red packet activity is reminded
CN106990903A (en) Display and the method and device of hide application program
CN107220059A (en) The display methods and device of application interface
CN105323152A (en) Message processing method, device and equipment
CN107241770A (en) Method for connecting network and device
CN106533913A (en) Method and apparatus for sharing position information
CN104407788B (en) Image-erasing method and device
CN105515923A (en) Equipment control method and device
CN107819740A (en) Verification method, terminal device, audio amplifier and the server of terminal device
CN106953969A (en) The screen control method and device of mobile terminal
CN106534495A (en) Method of information processing, device and equipment
CN106775210A (en) The method and apparatus that wallpaper is changed
CN105677215A (en) Application control method and apparatus
CN107295099A (en) PUSH message processing method, device and storage medium

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