CN108156531A - Message method and device, system, message receival method and device - Google Patents

Message method and device, system, message receival method and device Download PDF

Info

Publication number
CN108156531A
CN108156531A CN201711476795.3A CN201711476795A CN108156531A CN 108156531 A CN108156531 A CN 108156531A CN 201711476795 A CN201711476795 A CN 201711476795A CN 108156531 A CN108156531 A CN 108156531A
Authority
CN
China
Prior art keywords
message
cdn
terminal
sent
channel
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201711476795.3A
Other languages
Chinese (zh)
Inventor
童浩
曹珈
李锐
黄胜鲁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201711476795.3A priority Critical patent/CN108156531A/en
Publication of CN108156531A publication Critical patent/CN108156531A/en
Priority to PCT/CN2018/118863 priority patent/WO2019128631A1/en
Pending legal-status Critical Current

Links

Classifications

    • 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
    • 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/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/64Addressing
    • H04N21/6405Multicasting
    • 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/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/64Addressing
    • H04N21/6408Unicasting

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention provides a kind of message method and device, system, message receival method and device, wherein, message method includes:Obtain the coded message after being encoded to the message received according to the channel rule of CDN;The coded message is sent to the terminal of chat system by CDN channels according to tree path.Technical scheme of the present invention can solve the problem of that the exploitation of interactive mode and maintenance workload are larger in the relevant technologies, to achieve the effect that reduce system development cycle and maintenance difficulties.

Description

Message method and device, system, message receival method and device
Technical field
The present invention relates to the communications field, in particular to a kind of message method and device, system, message sink Method and device.
Background technology
With the fast development of Internet technology, the mode of interpersonal exchange and information propagation is more various, no Voice, short message, text reviews are sticked to again or are only exchanged between the people of acquaintance, and by internet, we can be with The people in any corner is exchanged in the world, be free to express an opinion, therefore video barrage, written broadcasting live, immediate interactive The appearance of chat software enriches our exchange way.
Current online chatting system mainly includes:The moulds such as the reception of message is handled, storage, forwarding, user information maintenance Block generally carries out the interaction of message using forms such as websocket, TCP/UDP or HTTP between chat system and terminal;On Exploitation and the maintenance workload for stating interactive mode are larger, and the bigger pressure to system of the terminal amount of reaching the standard grade is then bigger.
For the problem that in the relevant technologies, the exploitation of interactive mode and maintenance workload are larger, are not yet carried in the relevant technologies Go out effective solution.
Invention content
An embodiment of the present invention provides a kind of message method and device, system, message receival method and device, so that Solve the problems, such as that the exploitation of interactive mode and maintenance workload are larger in the relevant technologies less.
According to one embodiment of present invention, a kind of message method is provided, applied in chat system, including:
Obtain the coded message after being encoded to the message received according to the channel rule of CDN;
The coded message is sent to the terminal of the chat system by CDN channels according to tree path.
Optionally, the end that the coded message is sent to the chat system by CDN channels according to tree path End, including:
The message after coding is sent to using the stream media protocol of one below according to tree path by the CDN channels The terminal of the chat system:
Unicast stream media protocol, multicast stream media protocol.
Optionally, the end that the coded message is sent to the chat system by CDN channels according to tree path End, including:
By the CDN channels by the message after coding according to tree path be sent to it is identical in the chat system Terminal in chat channel, alternatively, being sent to the terminal in different chat channels in the chat system.
Optionally, the coded message after the acquisition encodes the message received according to the channel rule of CDN, packet It includes:
Obtain the coded message after being encoded at least one of information received according to the channel rule of CDN: Receive message, the system message of the reception chat system push that the terminal is sent.
Optionally, the coded message after the acquisition encodes the message received according to the channel rule of CDN, packet It includes:
The content of the message received is audited, to the message that audit passes through according to the frequency of the CDN Road rule is encoded.
According to another embodiment of the invention, a kind of message receival method is additionally provided, applied in chat system, is wrapped It includes:
The message after the coding sent by CDN channels is received according to tree path, wherein, the message package after the coding It includes:Obtained message after being encoded to the message that message handling system receives according to the channel rule of CDN;
Decode the message after the coding.
According to another embodiment of the invention, a kind of message sending device is additionally provided, applied in chat system, is wrapped It includes:
Coding module, for obtaining the coded message after being encoded to the message received according to the channel rule of CDN;
The coded message is sent to the chat system by sending module for passing through CDN channels according to tree path Terminal.
According to another embodiment of the invention, a kind of message receiving apparatus is additionally provided, applied in chat system, is wrapped It includes:
Receiving module, for receiving the message after the coding sent by CDN channels according to tree path, wherein, the volume Message after code includes:It is obtained after being encoded to the message that message handling system receives according to the channel rule of CDN Message;
Decoder module, for decoding the message after the coding.
According to another embodiment of the invention, a kind of message transmission system is additionally provided, applied in chat system, is wrapped It includes:
Message processing module advises the message received according to the channel of CDN in current chat system, obtaining Coded message after then being encoded and the coded message is sent to by the chat according to tree path by CDN channels The terminal of system;
The terminal, for being decoded to the message after the coding.
According to another embodiment of the invention, a kind of storage medium is additionally provided, the storage medium includes storage Program, wherein, described program performs method described in any one of the above embodiments when running.
According to another embodiment of the invention, a kind of processor is additionally provided, the processor is used to run program, In, described program performs method described in any one of the above embodiments when running.
By the present invention, due to can the message after coding be sent to chat system according to tree path by CDN channels Among terminal.Therefore, technical scheme of the present invention can be solved in the relevant technologies, the exploitation of interactive mode and maintenance workload compared with The problem of big, to achieve the effect that reduce system development cycle and maintenance difficulties.
Description of the drawings
Attached drawing described herein is used to provide further understanding of the present invention, and forms the part of the application, this hair Bright illustrative embodiments and their description do not constitute improper limitations of the present invention for explaining the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of the message method provided according to embodiments of the present invention;
Fig. 2 is the flow chart of the message method using multicast stream media protocol provided according to embodiments of the present invention;
Fig. 3 is the flow chart of the message method using unicast stream media protocol provided according to embodiments of the present invention;
Fig. 4 is the flow of message the whole network method for pushing using multicast stream media protocol provided according to embodiments of the present invention Figure;
Fig. 5 is the flow of message the whole network method for pushing using unicast stream media protocol provided according to embodiments of the present invention Figure;
Fig. 6 is the flow chart of the message receival method provided according to embodiments of the present invention;
Fig. 7 is the structure diagram of message sending device provided according to embodiments of the present invention;
Fig. 8 is the structure diagram of the message receiving apparatus provided according to embodiments of the present invention;
Fig. 9 is the structure diagram of the message transmission system provided according to embodiments of the present invention;
Figure 10 is the message processing module provided according to embodiments of the present invention and the structure diagram of terminal;
Figure 11 is that the message according to embodiments of the present invention that message transmission in channel is carried out using multicast stream media protocol is sent out Send the operating diagram of system;
Figure 12 is that the message according to embodiments of the present invention that message transmission in channel is carried out using multicast stream media protocol is sent out Send the work flow diagram of system;
Figure 13 is that the message according to embodiments of the present invention that message transmission in channel is carried out using unicast stream media protocol is sent out Send the operating diagram of system;
Figure 14 is that the message according to embodiments of the present invention that message transmission in channel is carried out using unicast stream media protocol is sent out Send the work flow diagram of system;
Figure 15 is the message transmission system according to embodiments of the present invention that the whole network push is carried out using multicast stream media protocol Operating diagram;
Figure 16 is the message transmission system according to embodiments of the present invention that the whole network push is carried out using multicast stream media protocol Work flow diagram;
Figure 17 is the message transmission system according to embodiments of the present invention that the whole network push is carried out using unicast stream media protocol Operating diagram;
Figure 18 is the message transmission system according to embodiments of the present invention that the whole network push is carried out using unicast stream media protocol Work flow diagram.
Specific embodiment
Come that the present invention will be described in detail below with reference to attached drawing and in conjunction with the embodiments.It should be noted that do not conflicting In the case of, the feature in embodiment and embodiment in the application can be combined with each other.
It should be noted that term " first " in description and claims of this specification and above-mentioned attached drawing, " Two " etc. be that message method is used to distinguish similar object, and specific sequence or precedence are described without being used for.
Embodiment 1
According to one embodiment of present invention, a kind of message method is provided, applied in chat system, Fig. 1 is The flow chart of the message method provided according to embodiments of the present invention, as shown in Figure 1, this method includes:
S100 obtains the coded message after being encoded to the message received according to the channel rule of CDN;
The coded message is sent to the terminal of chat system by CDN channels by S102 according to tree path.
By the present invention, due to can the message after coding be sent to chat system according to tree path by CDN channels Among terminal.Therefore, technical scheme of the present invention can be solved in the relevant technologies, the exploitation of interactive mode and maintenance workload compared with The problem of big, to achieve the effect that reduce system development cycle and maintenance difficulties.
Specifically, during the message after coding is sent to the terminal of chat system by CDN successively according to tree path, Message after coding is to be sent to the terminal of message to be received in chat system along tree path in a manner of single information flow, Due to having in the link (setting path) of message transmission and only having a information flow, terminal quantity dramatically increases not The quantity that server corresponds to the information flow generated can be increased, while the complexity of control message transmission network, to alleviate A large amount of terminal message is for the pressure of server and CPU.
Method in the embodiment of the present invention is by reducing the interaction of terminal and server, to reduce the period of system development And difficulty, and can develop skill, the utilization rate of equipment, to meet the interaction effect of message under the complex application contexts such as live streaming.And It, will in the embodiment of the present invention and since the CDN channel technologies in the relevant technologies have formd certain industry standard CDN applies to can have good development efficiency during chat system.
Above-mentioned terminal can include PC, PHONE, STB etc..
It should be further noted that message method in the embodiment of the present invention be suitable for it is one-to-one or to more words The application scenarios such as chat, video barrage information, live streaming text chat, any message that is related to including above application scene are sent out The chat system sent is in the protection domain of the message method of the embodiment of the present invention.
Optionally, the coded message is sent to the terminal of chat system by CDN channels by S102 according to tree path, Including:
The coded message is sent to by chat according to tree path using the stream media protocol of one below by CDN channels The terminal of system:
Unicast stream media protocol, multicast stream media protocol.
It should be further noted that above-mentioned unicast stream media protocol belongs to CDN channel skills with multicast stream media protocol Stream media protocol in art, the CDN channels in the embodiment of the present invention are when terminals multiple in for chat system send message, i.e., Unicast stream media protocol can be used to realize that message is sent to successively in each terminal, also can by multicast stream media protocol with Realize that message is sent to multiple terminals in some channel simultaneously.Multicast stream media protocol is preferably used in the embodiment of the present invention.
Optionally, the coded message is sent to the terminal of chat system by CDN channels by S102 according to tree path, Including:
The coded message is sent to by identical chat channel in chat system according to tree path by CDN channels Interior terminal, alternatively, being sent to the terminal in different chat channels in chat system.
It should be further noted that when multiple terminals are located at identical direct broadcast band, in video channel viewing live streaming or During video, which is the chat channel for being assigned to carry out between multiple terminals real-time, interactive, multiple terminals it Between live streaming or video can be watched by the channel, also can pass through the channel carry out real-time interactive chat.In above-mentioned chat channel Multiple terminals the code stream channel of the chat channel can be obtained to CDN, for the transmission and transmission of message, newly add in the chat Terminal in channel can also obtain the code stream channel of the chat channel to CDN.
The purpose channel specifically sent of message after coding determines that the channel of purpose channel is believed according to channel information Breath in the transmission process of message generates and is sent to CDN together, after CDN will be encoded according to the channel information of above-mentioned purpose channel Message be sent to corresponding channel.
Optionally, S100 obtains the coded message after being encoded to the message received according to the channel rule of CDN, Including:
Obtain the coded message after being encoded at least one of information received according to the channel rule of CDN: Receive message, the system message of reception chat system push that terminal is sent.
It should be further noted that the system message of chat system push often needs to be pushed to all in chat system chat Each terminal in its channel.
Optionally, S100 obtains the coded message after being encoded to the message received according to the channel rule of CDN, Including:
The content of message to receiving is audited, and the message passed through to audit is compiled according to the channel rule of CDN Code.
It should be further noted that the examining content that the content of the message to receiving is audited specifically include whether It, need to be by the message for not by the message of audit there are the audit of sensitive word and the information for not meeting relevant laws and regulations The reason of being back to terminal and showing audit failure.
The message method in the embodiment of the present invention is further described below by way of concrete application example:
Concrete application example 1)
Fig. 2 is according to the flow chart of the message method using multicast stream media protocol of the embodiment of the present invention, such as Fig. 2 It is shown, the method that the message in channel is sent is carried out using multicast stream media protocol and is included:
S200, terminal enter current chat channel, and the code stream of the chat channel is obtained to CDN, chat when the terminal is sent During message, the chat messages and the channel information of current channel that are sent for the terminal are received and are pre-processed;
S202, the chat messages sent for terminal pre-process, i.e. audit is handled, and specific examining content includes whether There are sensitive word and the information of relevant laws and regulations is not met;Chat messages are compiled if if chat messages audit Code processing;If directly being returned to terminal the reason of chat messages and audit failure if chat messages audit failure, terminal is given With prompting;
Message after coding after being encoded for chat messages according to the channel rule of CDN, is sent to CDN by S204;
The single information flow edge tree path root that S206, CDN are formed the message after coding by multicast stream media protocol Issue remaining all terminal in current chat channel simultaneously according to the channel information of current channel.
Concrete application example 2)
Fig. 3 is according to the flow chart of the message method using unicast stream media protocol of the embodiment of the present invention, such as Fig. 3 It is shown, the method that the message in channel is sent is carried out using unicast stream media protocol and is included:
S208, terminal enter current chat channel, and the code stream of the chat channel is obtained to CDN, chat when the terminal is sent During message, the chat messages and the channel information of current channel that are sent for the terminal are received and are pre-processed;
S210, the chat messages sent for terminal pre-process, i.e. audit is handled, and specific examining content includes whether There are sensitive word and the information of relevant laws and regulations is not met;Chat messages are compiled if if chat messages audit Code processing;If directly being returned to terminal the reason of chat messages and audit failure if chat messages audit failure, terminal is given With prompting;
Message after coding after being encoded for chat messages according to the channel rule of CDN, is sent to CDN by S212;
The single information flow edge tree path root that S214, CDN are formed the message after coding by unicast stream media protocol Issue remaining all terminal in current chat channel successively according to the channel information of current channel.
Concrete application example 3)
Flow charts of the Fig. 4 for message the whole network method for pushing using multicast stream media protocol according to the embodiment of the present invention, As shown in figure 4, included using the method that multicast stream media protocol carries out the whole network push:
S216, chat system administrator input PUSH message to be pushed, for the frequency of PUSH message and purpose channel Road information is received and is pre-processed;
S218 pre-processes PUSH message, i.e. audit is handled, and specific examining content includes whether that there are sensitive words And the information of relevant laws and regulations is not met;Coded treatment is carried out for PUSH message if PUSH message audit passes through;If The reason of PUSH message and audit failure, is then directly returned to system manager, and carried by PUSH message audit failure Show;
Message after coding after being encoded for PUSH message according to the channel rule of CDN, is sent to CDN by S220;
The single information flow edge tree path root that S222, CDN are formed the message after coding by multicast stream media protocol Issue all terminals in purpose chat channel simultaneously according to the channel information of purpose channel, purpose chat channel can be chat system All chat channels in system;It is carry out the whole network when the message after coding is sent to all terminals in chat system Push.
Concrete application example 4)
Flow charts of the Fig. 5 for message the whole network method for pushing using unicast stream media protocol according to the embodiment of the present invention, As shown in figure 5, included using the method that unicast stream media protocol carries out the whole network push:
S224, chat system administrator input PUSH message to be pushed, for the frequency of PUSH message and purpose channel Road information is received and is pre-processed;
S226 pre-processes PUSH message, i.e. audit is handled, and specific examining content includes whether that there are sensitive words And the information of relevant laws and regulations is not met;Coded treatment is carried out for PUSH message if PUSH message audit passes through;If The reason of PUSH message and audit failure, is then directly returned to system manager, and carried by PUSH message audit failure Show;
Message after coding after being encoded for PUSH message according to the channel rule of CDN, is sent to CDN by S228;
The single information flow edge tree path root that S230, CDN are formed the message after coding by unicast stream media protocol Issue all terminals in purpose chat channel successively according to the channel information of purpose channel, purpose chat channel can be chat system All chat channels in system;It is carry out the whole network when the message after coding is sent to all terminals in chat system Push.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation The method of example can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but it is very much In the case of the former be more preferably embodiment.Based on such understanding, technical scheme of the present invention is substantially in other words to existing The part that technology contributes can be embodied in the form of software product, which is stored in a storage In medium (such as ROM/RAM, magnetic disc, CD), used including some instructions so that a station terminal equipment (can be mobile phone, calculate Machine, server or network equipment etc.) method that performs each embodiment of the present invention.
Embodiment 2
According to another embodiment of the invention, a kind of message receival method is additionally provided, applied in chat system, is schemed 6 be the flow chart of the message receival method provided according to embodiments of the present invention, as shown in fig. 6, this method includes:
S104 receives the message after the coding sent by CDN channels according to tree path, wherein, the message package after coding It includes:Obtained message after being encoded to the message that message handling system receives according to the channel rule of CDN;
S106 decodes the message after coding.
Method in through the embodiment of the present invention, due to can be sent out the message after coding according to tree path by CDN channels It send to the terminal of chat system.Therefore, technical scheme of the present invention can be solved in the relevant technologies, the exploitation of interactive mode With maintenance workload it is larger the problem of, to achieve the effect that reduce system development cycle and maintenance difficulties.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation The method of example can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but it is very much In the case of the former be more preferably embodiment.Based on such understanding, technical scheme of the present invention is substantially in other words to existing The part that technology contributes can be embodied in the form of software product, which is stored in a storage In medium (such as ROM/RAM, magnetic disc, CD), used including some instructions so that a station terminal equipment (can be mobile phone, calculate Machine, server or network equipment etc.) method that performs each embodiment of the present invention.
Embodiment 3
According to another embodiment of the invention, a kind of message sending device is additionally provided, applied in chat system, is somebody's turn to do Device is used to implement above-described embodiment and preferred embodiment, has carried out repeating no more for explanation.As used below, Term " module " can realize the combination of the software and/or hardware of predetermined function.Although the described device of following embodiment compared with It is realized goodly with software, but the realization of the combination of hardware or software and hardware is also what may and be contemplated.
Fig. 7 is the structure diagram of message sending device provided according to embodiments of the present invention, as shown in fig. 7, the device packet It includes:
Coding module 100 disappears for obtaining the coding after being encoded to the message received according to the channel rule of CDN Breath;
Sending module 102 is sent to the end of chat system for passing through CDN channels by the coded message according to tree path End.
Device in through the embodiment of the present invention, due to can be sent out the message after coding according to tree path by CDN channels It send to the terminal of chat system.Therefore, technical scheme of the present invention can be solved in the relevant technologies, the exploitation of interactive mode With maintenance workload it is larger the problem of, to achieve the effect that reduce system development cycle and maintenance difficulties.
It should be noted that above-mentioned modules can be realized by software or hardware, for the latter, Ke Yitong In the following manner realization is crossed, but not limited to this:Above-mentioned module is respectively positioned in same processor;Alternatively, above-mentioned modules are with arbitrary The form of combination is located in different processors respectively.
Embodiment 4
According to another embodiment of the invention, a kind of message receiving apparatus is additionally provided, applied in chat system, is somebody's turn to do Device is used to implement above-described embodiment and preferred embodiment, has carried out repeating no more for explanation.As used below, Term " module " can realize the combination of the software and/or hardware of predetermined function.Although the described device of following embodiment compared with It is realized goodly with software, but the realization of the combination of hardware or software and hardware is also what may and be contemplated.
Fig. 8 is the structure diagram of the message receiving apparatus provided according to embodiments of the present invention, as shown in figure 8, the device packet It includes:
Receiving module 104, for receiving the message after the coding sent by CDN channels according to tree path, wherein, coding Message afterwards includes:It is obtained after being encoded to the message that message handling system receives according to the channel rule of CDN to disappear Breath;
Decoder module 106, for decoding the message after encoding.
Device in through the embodiment of the present invention, due to can be sent out the message after coding according to tree path by CDN channels It send to the terminal of chat system.Therefore, technical scheme of the present invention can be solved in the relevant technologies, the exploitation of interactive mode With maintenance workload it is larger the problem of, to achieve the effect that reduce system development cycle and maintenance difficulties.
It should be noted that above-mentioned modules can be realized by software or hardware, for the latter, Ke Yitong In the following manner realization is crossed, but not limited to this:Above-mentioned module is respectively positioned in same processor;Alternatively, above-mentioned modules are with arbitrary The form of combination is located in different processors respectively.
Embodiment 5
According to another embodiment of the invention, a kind of message transmission system is additionally provided, applied in chat system, is schemed 9 be the structure diagram of the message transmission system provided according to embodiments of the present invention, as shown in figure 9, the system includes:
Message processing module 108, in current chat system, obtaining the frequency to the message received according to CDN Road rule encoded after coded message and by CDN channels by the coded message according to tree path be sent to chat The terminal of system;
Terminal 110, for being decoded to the message after coding.
System in through the embodiment of the present invention, due to can be sent out the message after coding according to tree path by CDN channels It send to the terminal of chat system.Therefore, technical scheme of the present invention can be solved in the relevant technologies, the exploitation of interactive mode With maintenance workload it is larger the problem of, to achieve the effect that reduce system development cycle and maintenance difficulties.
Figure 10 is the message processing module provided according to embodiments of the present invention and the structure diagram of terminal, as shown in Figure 10, Message processing module 108 specifically includes message sink and preprocessing module 1080, coding module 1082;
Message sink and preprocessing module 1080, for being received and being pre-processed to message, pretreatment is included to receiving To the content of message audited, examining content specifically includes with the presence or absence of sensitive word and does not meet relevant laws and regulations The audit of information audits the message passed through and is then sent to coding module 1082 by message sink and preprocessing module 1080, for Not by the message of audit, which need to be back to terminal and show the reason of audit fails.
Coding module 1082, for being encoded to message according to the channel rule of CDN.
In addition, message transmission system has further included sending module 1100 and receiving module 1102, sending module 1100 is with connecing It receives module 1102 to be integrated among terminal 110, message is sent for terminal and receives message;The receiving module 1102 of terminal Decoder module 1104 is also associated with, for being decoded to the message after coding.
Below by way of concrete application example for the message transmission system in the embodiment of the present invention workflow into traveling The explanation of one step:
Concrete application example 1)
Figure 11 is that the message according to embodiments of the present invention that message transmission in channel is carried out using multicast stream media protocol is sent out The operating diagram of system is sent, Figure 12 is according to embodiments of the present invention using message hair in multicast stream media protocol progress channel The work flow diagram of the message transmission system sent, as shown in Figure 11 and Figure 12, message transmission system is assisted using multicast Streaming Media View carries out including having the following steps when message in channel is sent:
S300, terminal enter current chat channel, and the code stream of the chat channel is obtained to CDN, chat when the terminal is sent During message, terminal is sent to message sink and pre- place after the channel information of the message and current channel is combined by sending module Manage module;
S302, the chat messages that message sink sends terminal with preprocessing module pre-process, i.e. audit is handled, Specific examining content includes whether there are sensitive word and does not meet the information of relevant laws and regulations;If chat messages audit passes through Then it is transmitted to coding module;If chat messages audit failure if directly by chat messages and audit failure the reason of return to end End, terminal are prompted;
After coding module is encoded chat messages according to the channel rule of CDN, the message after coding is sent by S304 To CDN;
The single information flow edge tree path root that S306, CDN are formed the message after coding by multicast stream media protocol Issue remaining all terminal in current chat channel simultaneously according to channel information;
S308, terminal receives message by receiving module, and passes through decoder module and the message of reception is decoded, terminal Show decoded message.
Concrete application example 2)
Figure 13 is that the message according to embodiments of the present invention that message transmission in channel is carried out using unicast stream media protocol is sent out The operating diagram of system is sent, Figure 14 is according to embodiments of the present invention using message hair in unicast stream media protocol progress channel The work flow diagram of the message transmission system sent, as shown in figures 13 and 14, message transmission system are assisted using unicast Streaming Media View carries out including having the following steps when message in channel is sent:
S310, terminal enter current chat channel, and the code stream of the chat channel is obtained to CDN, chat when the terminal is sent During message, terminal is sent to message sink and pre- place after the channel information of the message and current channel is combined by sending module Manage module;
S312, the chat messages that message sink sends terminal with preprocessing module pre-process, i.e. audit is handled, Specific examining content includes whether there are sensitive word and does not meet the information of relevant laws and regulations;If chat messages audit passes through Then it is transmitted to coding module;If chat messages audit failure if directly by chat messages and audit failure the reason of return to end End, terminal are prompted;
After coding module is encoded chat messages according to the channel rule of CDN, the message after coding is sent by S314 To CDN;
The single information flow edge tree path root that S316, CDN are formed the message after coding by unicast stream media protocol Issue remaining all terminal in current chat channel successively according to channel information;
S318, terminal receives message by receiving module, and passes through decoder module and the message of reception is decoded, terminal Show decoded message.
Concrete application example 3)
Figure 15 is the message transmission system according to embodiments of the present invention that the whole network push is carried out using multicast stream media protocol Operating diagram, Figure 16 be it is according to embodiments of the present invention using multicast stream media protocol carry out the whole network push message send The work flow diagram of system, as shown in Figure 15 and Figure 16, message transmission system carries out the whole network in use multicast stream media protocol and pushes away Include having the following steps when sending:
S320, chat system administrator input PUSH message to be pushed, and by PUSH message and the frequency of purpose channel Message sink and preprocessing module are sent to after road information combination;
S322, message sink pre-process PUSH message with preprocessing module, i.e. audit is handled, in specific audit Hold the information for including whether there are sensitive word and not meeting relevant laws and regulations;Volume is transmitted to if PUSH message audit passes through Code module;If PUSH message audit failure if directly by PUSH message and audit failure the reason of return to chat system management Member is simultaneously prompted;
After coding module is encoded PUSH message according to the channel rule of CDN, the message after coding is sent by S324 To CDN;
The single information flow edge tree path root that S326, CDN are formed the message after coding by multicast stream media protocol All terminals in purpose channel are issued simultaneously according to channel information, when purpose channel is all chat channels in chat system When, you can realize the whole network push of message;
S328, terminal receives message by receiving module, and passes through decoder module and the message of reception is decoded, terminal Show decoded message.
Concrete application example 4)
Figure 17 is the message transmission system according to embodiments of the present invention that the whole network push is carried out using unicast stream media protocol Operating diagram, Figure 18 be it is according to embodiments of the present invention using unicast stream media protocol carry out the whole network push message send The operating diagram of system, as shown in Figure 17 and Figure 18, message transmission system carries out the whole network in use unicast stream media protocol and pushes away Include having the following steps when sending:
S330, chat system administrator input PUSH message to be pushed, and by PUSH message and the frequency of purpose channel Message sink and preprocessing module are sent to after road information combination;
S332, message sink pre-process PUSH message with preprocessing module, i.e. audit is handled, in specific audit Hold the information for including whether there are sensitive word and not meeting relevant laws and regulations;Volume is transmitted to if PUSH message audit passes through Code module;If PUSH message audit failure if directly by PUSH message and audit failure the reason of return to chat system management Member is simultaneously prompted;
After coding module is encoded PUSH message according to the channel rule of CDN, the message after coding is sent by S334 To CDN;
The single information flow edge tree path root that S336, CDN are formed the message after coding by unicast stream media protocol All terminals in purpose channel are issued successively according to channel information, when purpose channel is all chat channels in chat system When, you can realize the whole network push of message;
S338, terminal receives message by receiving module, and passes through decoder module and the message of reception is decoded, terminal Show decoded message.
Embodiment 6
According to another embodiment of the invention, a kind of storage medium is additionally provided, storage medium includes the program of storage, Wherein, the method for performing any of the above-described when program is run.
Optionally, in the present embodiment, above-mentioned storage medium can be set to store by performing based on following steps Calculation machine program:
S1 obtains the coded message after being encoded to the message received according to the channel rule of CDN;
The coded message is sent to the terminal of chat system by CDN channels by S2 according to tree path.
Optionally, in the present embodiment, above-mentioned storage medium can include but is not limited to:USB flash disk, read-only memory (Read- Only Memory, referred to as ROM), it is random access memory (Random Access Memory, referred to as RAM), mobile hard The various media that can store program code such as disk, magnetic disc or CD.
Embodiment 7
According to another embodiment of the invention, a kind of processor is additionally provided, processor is used to run program, wherein, The method that any of the above-described is performed when program is run.
Optionally, in the present embodiment, above-mentioned processor can be set to perform following steps by computer program:
S3 obtains the coded message after being encoded to the message received according to the channel rule of CDN;
The coded message is sent to the terminal of chat system by CDN channels by S4 according to tree path.
Optionally, the specific example in the present embodiment can be referred to described in above-described embodiment and optional embodiment Example, details are not described herein for the present embodiment.
Obviously, those skilled in the art should be understood that each module of the above-mentioned present invention or each step can be with general Computing device realize that they can concentrate on single computing device or be distributed in multiple computing devices and be formed Network on, optionally, they can be realized with the program code that computing device can perform, it is thus possible to which they are stored It is performed in the storage device by computing device, and in some cases, it can be to be different from shown in sequence herein performs The step of going out or describing they are either fabricated to each integrated circuit modules respectively or by multiple modules in them or Step is fabricated to single integrated circuit module to realize.It to be combined in this way, the present invention is not limited to any specific hardware and softwares.
It these are only the preferred embodiment of the present invention, be not intended to restrict the invention, for those skilled in the art For member, the invention may be variously modified and varied.All any modifications within the principle of the present invention, made equally are replaced It changes, improve, should all be included in the protection scope of the present invention.

Claims (11)

1. a kind of message method, which is characterized in that applied in chat system, including:
Obtain the coded message after being encoded to the message received according to the channel rule of CDN;
The coded message is sent to the terminal of the chat system by CDN channels according to tree path.
2. according to the method described in claim 1, it is characterized in that, it is described by CDN channels by the coded message according to tree Path is sent to the terminal of the chat system, including:
The message after coding is sent to using the stream media protocol of one below according to tree path by the CDN channels described The terminal of chat system:
Unicast stream media protocol, multicast stream media protocol.
3. according to the method described in claim 1, it is characterized in that, it is described by CDN channels by the coded message according to tree Path is sent to the terminal of the chat system, including:
Message after coding is sent to by identical chat in the chat system according to tree path by the CDN channels Terminal in channel, alternatively, being sent to the terminal in different chat channels in the chat system.
4. the according to the method described in claim 1, it is characterized in that, channel obtained to the message received according to CDN Rule encoded after coded message, including:
Obtain the coded message after being encoded at least one of information received according to the channel rule of CDN:It receives The message of the terminal transmission, the system message for receiving the chat system push.
5. the according to the method described in claim 1, it is characterized in that, channel obtained to the message received according to CDN Rule encoded after coded message, including:
The content of the message received is audited, the message that audit passes through is advised according to the channel of the CDN Then encoded.
6. a kind of message receival method, which is characterized in that applied in chat system, including:
The message after the coding sent by CDN channels is received according to tree path, wherein, the message after the coding includes:It is right Obtained message after the message that message handling system receives is encoded according to the channel rule of CDN;
Decode the message after the coding.
7. a kind of message sending device, which is characterized in that applied in chat system, including:
Coding module, for obtaining the coded message after being encoded to the message received according to the channel rule of CDN;
Sending module is sent to the terminal of the chat system for passing through CDN channels by the coded message according to tree path.
8. a kind of message receiving apparatus, which is characterized in that applied in chat system, including:
Receiving module, for receiving the message after the coding sent by CDN channels according to tree path, wherein, after the coding Message include:Obtained message after being encoded to the message that message handling system receives according to the channel rule of CDN;
Decoder module, for decoding the message after the coding.
9. a kind of message transmission system, which is characterized in that applied in chat system, including:
Message processing module, in current chat system, obtain to the message received according to CDN channel rule into Row coding after coded message and by CDN channels by the coded message according to tree path be sent to the chat system Terminal;
The terminal, for being decoded to the message after the coding.
10. a kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein, when described program is run Perform claim requires the method described in any one of 1 to 5 or claim 6.
11. a kind of processor, which is characterized in that the processor is used to run program, wherein, right of execution when described program is run Profit requires the method described in any one of 1 to 5 or claim 6.
CN201711476795.3A 2017-12-29 2017-12-29 Message method and device, system, message receival method and device Pending CN108156531A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201711476795.3A CN108156531A (en) 2017-12-29 2017-12-29 Message method and device, system, message receival method and device
PCT/CN2018/118863 WO2019128631A1 (en) 2017-12-29 2018-12-03 Message sending method and device, system, and message receiving method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711476795.3A CN108156531A (en) 2017-12-29 2017-12-29 Message method and device, system, message receival method and device

Publications (1)

Publication Number Publication Date
CN108156531A true CN108156531A (en) 2018-06-12

Family

ID=62462493

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711476795.3A Pending CN108156531A (en) 2017-12-29 2017-12-29 Message method and device, system, message receival method and device

Country Status (2)

Country Link
CN (1) CN108156531A (en)
WO (1) WO2019128631A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019128631A1 (en) * 2017-12-29 2019-07-04 中兴通讯股份有限公司 Message sending method and device, system, and message receiving method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140047049A1 (en) * 2012-08-07 2014-02-13 Milyoni, Inc. Methods and systems for linking and prioritizing chat messages
CN103986942A (en) * 2014-06-05 2014-08-13 北京赛维安讯科技发展有限公司 Data distribution system and method based on CDN (content distribution network)
CN106101851A (en) * 2016-07-01 2016-11-09 上海幻电信息科技有限公司 The overall implementation method of a kind of barrage service and network structure thereof
CN107438201A (en) * 2017-07-06 2017-12-05 北京潘达互娱科技有限公司 Message handling system, method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101060428A (en) * 2006-04-22 2007-10-24 深圳市瑞福特信息技术有限公司 A P2P network dispatching method
CN101267450B (en) * 2008-03-18 2011-01-19 上海大学 Multicast routing method for distributed network application layer based on network coding
CN102523298A (en) * 2011-12-22 2012-06-27 上海因特奈信息有限公司 Video acquiring and sharing system based on mobile terminal and process method thereof
US11182720B2 (en) * 2016-02-16 2021-11-23 BitSight Technologies, Inc. Relationships among technology assets and services and the entities responsible for them
CN108156531A (en) * 2017-12-29 2018-06-12 中兴通讯股份有限公司 Message method and device, system, message receival method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140047049A1 (en) * 2012-08-07 2014-02-13 Milyoni, Inc. Methods and systems for linking and prioritizing chat messages
CN103986942A (en) * 2014-06-05 2014-08-13 北京赛维安讯科技发展有限公司 Data distribution system and method based on CDN (content distribution network)
CN106101851A (en) * 2016-07-01 2016-11-09 上海幻电信息科技有限公司 The overall implementation method of a kind of barrage service and network structure thereof
CN107438201A (en) * 2017-07-06 2017-12-05 北京潘达互娱科技有限公司 Message handling system, method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019128631A1 (en) * 2017-12-29 2019-07-04 中兴通讯股份有限公司 Message sending method and device, system, and message receiving method and device

Also Published As

Publication number Publication date
WO2019128631A1 (en) 2019-07-04

Similar Documents

Publication Publication Date Title
EP3021556B1 (en) Transmission method and device for media stream in video conference
CN106165434B (en) It is a kind of for obtaining the method and computer-readable medium of media data
US20180063556A1 (en) Systems and methods for providing guest broadcasting on a live stream video platform
Ng et al. A P2P-MCU approach to multi-party video conference with WebRTC
JP2004527028A5 (en)
CN107370714A (en) The high efficiency communication method that facing cloud renders
CN113132376A (en) Media data processing method, device and system, electronic equipment and storage medium
CN110267064A (en) Audio broadcast state processing method, device, equipment and storage medium
CN103118245A (en) Real-time audio and video interactive instrumented platform
CN108989877A (en) Live streaming throws screen method, throws screen terminal and live streaming terminal
Begen et al. Road to salvation: streaming clients and content delivery networks working together
CN106231363A (en) A kind of barrage video stream transmission method and equipment thereof
CN102685599B (en) TV program interaction system and method
CN108156531A (en) Message method and device, system, message receival method and device
CN110113298A (en) Data transmission method, device, signal server and computer-readable medium
CN102404632A (en) Information pushing method of intelligent television and application thereof
CN110413240A (en) It is a kind of interactive mode conference system and multi-terminal equipment Display on the same screen method
CN106921634A (en) Media stream method of multicasting and device
CN103959796B (en) The coding/decoding method joining method and device of digital video bit stream
CN111064976B (en) Method for sending live broadcast information and server
CN110545439A (en) Rtmp multi-concurrent live broadcast system and method based on streaming media service
Zhao et al. A mobile real-time video system using RTMP
CN108616760B (en) Live broadcasting method based on browser, server, anchor terminal and user terminal
CN113301377B (en) Live broadcast management system, method, device and storage medium
CN106506561A (en) A kind of flow-medium transmission method and device

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180612