WO2021147466A1 - 消息处理方法、装置及电子设备 - Google Patents
消息处理方法、装置及电子设备 Download PDFInfo
- Publication number
- WO2021147466A1 WO2021147466A1 PCT/CN2020/127665 CN2020127665W WO2021147466A1 WO 2021147466 A1 WO2021147466 A1 WO 2021147466A1 CN 2020127665 W CN2020127665 W CN 2020127665W WO 2021147466 A1 WO2021147466 A1 WO 2021147466A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- channel
- receiving terminal
- interaction information
- script
- message
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/546—Message passing systems or structures, e.g. queues
Definitions
- the present disclosure relates to the field of data interaction technology, and in particular to a message processing method, device and electronic equipment.
- the embodiments of the present disclosure provide a message processing method, device, and electronic device, which at least partially solve the problems existing in the prior art.
- embodiments of the present disclosure provide a message processing method, including:
- the interaction information is delivered to both the first channel and the second channel connected to the distribution node, where the first channel is from the distribution node to the previous A message channel of the first receiving terminal of the version, where the second channel is a message channel flowing from the distribution node to the second receiving terminal of the latest version;
- the first script is called to send the interaction information in the first channel to the first receiving terminal
- the second script is called to send the second
- the step of sending the interactive information in the channel to the second receiving terminal includes:
- the invoking the first script sends the interaction information in the first channel to the first receiving terminal and the second receiving terminal
- the step of calling a second script to send the interaction information in the second channel to the second receiving terminal includes:
- the target topic is a topic corresponding to the target live broadcast room
- the interaction information is at least one of a comment message, a barrage message, and an entry message in the target live broadcast room .
- the step of receiving the interaction information corresponding to the target topic sent by the sending terminal of the target version includes:
- the embodiment of the present invention also provides another message processing method, which is applied to a message interaction system.
- the message interaction system includes a message processing module, and a sending terminal of a previous version connected to the message processing module and The receiving terminal, the sending terminal and the receiving terminal of the latest version; the method includes:
- the sending terminal of the target version sends interaction information corresponding to the target topic to the message processing module, wherein the target version is any one of the previous version and the latest version;
- the message processing module sends the interaction information to both the first channel and the second channel connected to the distribution node through the distribution node of the target topic, wherein the first channel is from the distribution node A message channel flowing to the first receiving terminal of the previous version, and the second channel is a message channel flowing from the distribution node to the second receiving terminal of the latest version;
- the message processing module calls the first script to send the interaction information in the first channel to the first receiving terminal and the second receiving terminal, and calls the second script to transfer the second Sending the interactive information in the channel to the second receiving terminal;
- the first receiving terminal receives the interaction information in the first channel sent by a first script and the second receiving terminal receives the interaction information in the second channel sent by a second script.
- the message processing module calls a first script to send the interaction information in the first channel to the first receiving terminal, and calls a second script to send the information to the first receiving terminal.
- the step of sending the interactive information in the second channel to the second receiving terminal includes:
- the message processing module calls the first script to send the interaction information in the first channel to the first receiving terminal and the second receiving terminal, and calls the second script to transfer the second The interaction information in the channel is sent to the second receiving terminal.
- the message processing module calls the first script to send the interaction information in the first channel to the first receiving terminal and the second receiving terminal , And the step of calling a second script to send the interaction information in the second channel to the second receiving terminal includes:
- the message processing module calls the first script to add a first identification name to the interaction information in the first channel and then sends it to the first receiving terminal and the second receiving terminal, and calls the second The script adds a second identification name to the interaction information in the second channel and sends it to the second receiving terminal;
- the first receiving terminal receives the interactive information adding the first identification name
- the second receiving terminal receives the interactive information adding the second identification name
- the interactive system further includes the server of the previous version and the server of the latest version;
- the step of the sending terminal of the target version sending interaction information corresponding to the target topic to the message processing module includes:
- the sending terminal of the target version sends the interaction information to the message processing module through the server of the target version.
- an embodiment of the present invention also provides a message interaction system, including: a message processing module, and a sending terminal and a receiving terminal of a previous version connected to the message processing module, and a sending terminal and a receiving terminal of the latest version. ;in,
- the sending terminal of the target version is configured to send interaction information corresponding to the target topic to the message processing module, wherein the target version is any one of the previous version and the latest version;
- the message processing module is configured to send the interaction information to both the first channel and the second channel connected to the distribution node through the distribution node of the target topic, wherein the first channel is the slave A message channel flowing from the distribution node to the first receiving terminal of the previous version, and the second channel is a message channel flowing from the distribution node to the second receiving terminal of the latest version;
- the message processing module is configured to call the first script to send the interaction information in the first channel to the first receiving terminal and the second receiving terminal, and to call the second script to transfer the Sending the interaction information in the second channel to the second receiving terminal;
- the first receiving terminal is configured to receive the interaction information in the first channel sent by a first script and the second receiving terminal is configured to receive the interaction information in the second channel sent by a second script.
- Interactive information is configured to be received.
- an embodiment of the present invention also provides a message processing device, including:
- the receiving module is configured to receive the interactive information corresponding to the target topic sent by the sending terminal of the target version, wherein the target version is any one of the previous version and the latest version;
- the issuing module is configured to issue the interaction information to both the first channel and the second channel connected to the distribution node through the distribution node of the target topic, wherein the first channel is from the distribution node A message channel that a node flows to the first receiving terminal of the previous version, and the second channel is a message channel that flows from the distribution node to the second receiving terminal of the latest version;
- the calling module is used to call a first script to send the interactive information in the first channel to the first receiving terminal, and to call a second script to send the interactive information in the second channel to The second receiving terminal.
- embodiments of the present disclosure also provide an electronic device, which includes:
- At least one processor and,
- a memory communicatively connected with the at least one processor; wherein,
- the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can execute the message in any one of the foregoing first aspect or second aspect. Approach.
- the embodiments of the present disclosure also provide a non-transitory computer-readable storage medium that stores computer instructions, and the computer instructions are used to make the computer execute the first aspect or the first aspect described above.
- a message processing method in any implementation of one aspect.
- the embodiments of the present disclosure also provide a computer program product.
- the computer program product includes a calculation program stored on a non-transitory computer-readable storage medium.
- the computer program includes program instructions. During execution, the computer is caused to execute the message processing method in any one of the foregoing first aspect or second aspect.
- the message processing solution in the embodiment of the present disclosure includes: receiving the interaction information corresponding to the target topic sent by the sending terminal of the target version, wherein the target version is any one of the previous version and the latest version;
- the distribution node of the topic sends the interaction information to both the first channel and the second channel connected to the distribution node, where the first channel is the first channel that flows from the distribution node to the previous version
- the message channel of the receiving terminal, the second channel is the message channel flowing from the distribution node to the second receiving terminal of the latest version;
- the first script is called to send the interaction information in the first channel to the The first receiving terminal, and calling a second script to send the interaction information in the second channel to the second receiving terminal.
- FIG. 1 is a schematic flowchart of a message processing method provided by an embodiment of the disclosure
- FIG. 2 is a schematic diagram of interaction of a message interaction system provided by an embodiment of the disclosure.
- FIG. 3 is a schematic partial flowchart of another message processing method provided by an embodiment of the present disclosure.
- FIG. 5 is a schematic structural diagram of a message processing apparatus provided by an embodiment of the disclosure.
- FIG. 6 is a schematic diagram of an electronic device provided by an embodiment of the disclosure.
- the embodiment of the present disclosure provides a message processing method.
- the message processing method provided in this embodiment can be executed by a computing device, and the computing device can be implemented as software, or as a combination of software and hardware, and the computing device can be integrated in a server, a terminal device, and the like.
- an embodiment of the present disclosure provides a message processing method.
- the message processing method is applied to the interactive system shown in FIG. 2.
- the message interactive system includes a message processing module, and a sending terminal and a receiving terminal of a previous version connected to the message processing module, and a sending terminal of the latest version And the receiving terminal.
- the message processing method mainly includes the following steps:
- the sending terminal of the target version sends interaction information corresponding to the target topic to the message processing module, where the target version is any one of the previous version and the latest version;
- the message processing method provided in this embodiment can be applied to a message processing process in a live broadcast room, especially in scenarios where clients connected to the live broadcast room have different versions.
- the possible versions of the client are defined as the previous version and the latest version. The previous version was released earlier than the latest version. Clients of different versions correspond to different server versions. The channels for sending and receiving messages or the scripts used are also different. different.
- the version of the currently interacting client is defined as the target version, and the topic corresponding to the current client is defined as the target topic.
- the target topic is a topic corresponding to the target live broadcast room
- the interaction information is at least one of a comment message, a barrage message, and an entry message in the target live broadcast room.
- the message processing module here is the central module in the entire message interaction system, and is used to implement message interaction between clients of different versions.
- the message processing module 203 is connected to the sending terminal 201 of different versions, and the message processing module 203 indirectly interacts with the sending terminal 201 through the server 202 of different versions.
- Different channels 204 are connected to the message processing module 203, and each channel corresponds to a different version of the receiving terminal 206, and the script 205 of the corresponding version can be called to send interactive information to one or more versions of the receiving terminal 206.
- the message processing module 203 may be a processor or other central control device independent of the terminal 201 and the server 202, or may be a central control device of a server cluster formed by servers of different versions.
- the interactive system further includes the server of the previous version and the server of the latest version;
- the step of the sending terminal of the target version sending interaction information corresponding to the target topic to the message processing module includes:
- the sending terminal of the target version sends the interaction information to the message processing module through the server of the target version.
- the message processing module sends the interaction information to both the first channel and the second channel connected to the distribution node through the distribution node of the target topic, where the first channel is the slave A message channel flowing from the distribution node to the first receiving terminal of the previous version, and the second channel is a message channel flowing from the distribution node to the second receiving terminal of the latest version;
- the message processing module After the message processing module receives the interactive message, it distributes the message according to the NSQ-type message queue of the distributed real-time messaging platform based on the Go language. Specifically, the distribution node corresponding to the target topic is used to copy the interactive message to the first channel and the second channel, so that the same data exists in the first channel and the second channel for consumers downstream of the channel to consume.
- the message processing module calls the first script to send the interaction information in the first channel to the first receiving terminal and the second receiving terminal, and calls a second script to transfer the Sending the interaction information in the second channel to the second receiving terminal;
- the corresponding script can be called to analyze and send the interactive message.
- the first script parses the data in the first channel and sends interactive information to the first receiving terminal
- the second script parses the data in the second channel and sends the interactive information to the second receiving terminal.
- the first receiving terminal receives the interaction information in the first channel sent by a first script
- the second receiving terminal receives the interaction information in the second channel sent by a second script information.
- both the first receiving terminal and the second receiving terminal of different versions can receive the interactive information.
- the message processing module calls a first script to send the interaction information in the first channel to the first receiving terminal, and calls a second script to send the information to the first receiving terminal.
- the step of sending the interactive information in the second channel to the second receiving terminal includes:
- the message processing module calls the first script to send the interaction information in the first channel to the first receiving terminal and the second receiving terminal, and calls the second script to transfer the second The interaction information in the channel is sent to the second receiving terminal.
- the message processing module invokes the first script to send the interaction information in the first channel to the first receiving terminal and the second receiving terminal, and
- the step of calling a second script to send the interaction information in the second channel to the second receiving terminal includes:
- the message processing module calls the first script to add a first identification name to the interaction information in the first channel and then sends it to the first receiving terminal and the second receiving terminal, and calls The second script adds a second identification name to the interaction information in the second channel and sends it to the second receiving terminal;
- the first script adds the first identification name to the parsed interaction information
- the second script adds the second identification name to the parsed interaction information.
- the second receiving terminal only needs to receive and process the interaction information that adds the second identification name. The interaction information with the first identification name added is discarded.
- the first receiving terminal receives the interactive information added with the first identification name
- the second receiving terminal receives the interactive information added with the second identification name
- the interaction message of the first channel will be sent to the first receiving terminal and the second receiving terminal, and the latest version of the script is parsing the first channel.
- the interaction message of the second channel is sent to the second receiving terminal. In this way, the second receiving terminal will receive two interactive messages.
- the message processing method provided in this embodiment described above mainly includes comment messages, barrage messages, and entry messages for the basic experience messages in the live broadcast room.
- the old version of the script consumes the topic topic through different channels, the same topic will have the same copy on different channels, and then call the communication service to send different live room content Data, after the client pulls the Data through the interface, according to the identification name To handle different messages.
- the old script does not move, continue to run, consume NSQ through the old channel, continue to send the live room content data to the old version of the client, in addition, start a new script, write new logic on it, and create a new channel on the original topic.
- the new channel will have the same data as the original.
- the new script is responsible for packaging the data for the new version of the client.
- the client With the new tag name, the client will discard the old one and only process the new one. In this way, after the same action is triggered, Topic data is written, and the new and old scripts are consumed and different live room content structures are sent to the new and old versions of the client.
- FIG. 4 is a schematic flowchart of another message processing method according to an embodiment of the present invention.
- the difference between the message processing method provided in this embodiment and the message processing method provided in the foregoing embodiment is that the message processing module is used as the execution subject to perform message processing operations.
- the message processing method mainly includes the following steps:
- S401 Receive interaction information corresponding to a target topic sent by a sending terminal of a target version, where the target version is any one of a previous version and a latest version;
- the message processing method provided in this embodiment can be applied to a message processing process in a live broadcast room, especially in scenarios where clients connected to the live broadcast room have different versions.
- the possible versions of the client are defined as the previous version and the latest version. The previous version was released earlier than the latest version. Clients of different versions correspond to different server versions. The channels for sending and receiving messages or the scripts used are also different. different.
- the version of the currently interacting client is defined as the target version, and the topic corresponding to the current client is defined as the target topic.
- the target topic is a topic corresponding to the target live broadcast room
- the interaction information is at least one of a comment message, a barrage message, and an entry message in the target live broadcast room.
- the message processing module here is the central module in the entire message interaction system, and is used to implement message interaction between clients of different versions.
- the message processing module After the message processing module receives the interactive message, it distributes the message according to the NSQ-type message queue of the distributed real-time messaging platform based on the Go language. Specifically, the distribution node corresponding to the target topic is used to copy the interactive message to the first channel and the second channel, so that the same data exists in the first channel and the second channel for consumers downstream of the channel to consume.
- the corresponding script can be called to analyze and send the interactive message.
- the first script parses the data in the first channel and sends interactive information to the first receiving terminal
- the second script parses the data in the second channel and sends the interactive information to the second receiving terminal.
- the first script is called to send the interaction information in the first channel to the first receiving terminal
- the second script is called to send the second
- the step of sending the interactive information in the channel to the second receiving terminal includes:
- the invoking the first script sends the interaction information in the first channel to the first receiving terminal and the second receiving terminal
- the step of calling a second script to send the interaction information in the second channel to the second receiving terminal includes:
- the target topic is a topic corresponding to the target live broadcast room
- the interaction information is at least one of a comment message, a barrage message, and an entry message in the target live broadcast room .
- the step of receiving the interaction information corresponding to the target topic sent by the sending terminal of the target version includes:
- the message processing solution in the embodiment of the present disclosure includes: receiving the interaction information corresponding to the target topic sent by the sending terminal of the target version, wherein the target version is any one of the previous version and the latest version;
- the distribution node of the topic sends the interaction information to both the first channel and the second channel connected to the distribution node, where the first channel is the first channel that flows from the distribution node to the previous version
- the message channel of the receiving terminal, the second channel is the message channel that flows from the distribution node to the second receiving terminal of the latest version;
- the first script is called to send the interactive information in the first channel to the The first receiving terminal, and calling a second script to send the interaction information in the second channel to the second receiving terminal.
- the timeliness of the message processing solution between terminals of different versions is improved, and the operation and maintenance cost is reduced.
- the specific implementation process of the message processing method in this embodiment please refer to the specific implementation process of the message processing method provided in the embodiment shown in FIG. 1, which will not be repeated here.
- FIG. 2 is a schematic diagram of interaction of a message interaction system provided by an embodiment of the present invention.
- the message interaction system includes: a message processing module, and a sending terminal and a receiving terminal of a previous version connected to the message processing module, and a sending terminal and a receiving terminal of the latest version; wherein,
- the sending terminal of the target version is configured to send interaction information corresponding to the target topic to the message processing module, wherein the target version is any one of the previous version and the latest version;
- the message processing module is configured to send the interaction information to both the first channel and the second channel connected to the distribution node through the distribution node of the target topic, wherein the first channel is the slave A message channel flowing from the distribution node to the first receiving terminal of the previous version, and the second channel is a message channel flowing from the distribution node to the second receiving terminal of the latest version;
- the message processing module is configured to call the first script to send the interaction information in the first channel to the first receiving terminal and the second receiving terminal, and to call the second script to transfer the Sending the interaction information in the second channel to the second receiving terminal;
- the first receiving terminal is configured to receive the interaction information in the first channel sent by a first script and the second receiving terminal is configured to receive the interaction information in the second channel sent by a second script.
- Interactive information is configured to be received.
- the system shown in FIG. 2 can correspondingly execute the content in the foregoing method embodiment.
- an embodiment of the present disclosure also provides a message processing apparatus 50, including:
- the receiving module 501 is configured to receive interactive information corresponding to the target topic sent by the sending terminal of the target version, where the target version is any one of the previous version and the latest version;
- the issuing module 502 is configured to issue the interaction information to both the first channel and the second channel connected to the distribution node through the distribution node of the target topic, wherein the first channel is the slave A message channel flowing from the distribution node to the first receiving terminal of the previous version, and the second channel is a message channel flowing from the distribution node to the second receiving terminal of the latest version;
- the calling module 503 is configured to call a first script to send the interactive information in the first channel to the first receiving terminal, and call a second script to send the interactive information in the second channel To the second receiving terminal.
- the device shown in FIG. 5 can correspondingly execute the content in the foregoing method embodiment.
- an electronic device 60 which includes:
- At least one processor and,
- a memory communicatively connected with the at least one processor; wherein,
- the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can execute the message processing method in the foregoing method embodiment.
- the embodiments of the present disclosure also provide a non-transitory computer-readable storage medium that stores computer instructions for causing the computer to execute the message processing method in the foregoing method embodiment.
- the embodiments of the present disclosure also provide a computer program product, the computer program product includes a calculation program stored on a non-transitory computer-readable storage medium, the computer program includes program instructions, when the program instructions are executed by a computer, The computer executes the message processing method in the foregoing method embodiment.
- FIG. 6 shows a schematic structural diagram of an electronic device 60 suitable for implementing embodiments of the present disclosure.
- Electronic devices in the embodiments of the present disclosure may include, but are not limited to, mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablets), PMPs (portable multimedia players), vehicle-mounted terminals (e.g. Mobile terminals such as car navigation terminals) and fixed terminals such as digital TVs, desktop computers, etc.
- the electronic device shown in FIG. 6 is only an example, and should not bring any limitation to the function and scope of use of the embodiments of the present disclosure.
- the electronic device 60 may include a processing device (such as a central processing unit, a graphics processor, etc.) 601, which may be loaded into a random access device according to a program stored in a read-only memory (ROM) 602 or from a storage device 608.
- the program in the memory (RAM) 603 executes various appropriate actions and processing.
- various programs and data required for the operation of the electronic device 60 are also stored.
- the processing device 601, the ROM 602, and the RAM 603 are connected to each other through a bus 604.
- An input/output (I/O) interface 605 is also connected to the bus 604.
- the following devices can be connected to the I/O interface 605: including input devices 606 such as touch screens, touch pads, keyboards, mice, image sensors, microphones, accelerometers, gyroscopes, etc.; including, for example, liquid crystal displays (LCD), speakers, An output device 607 such as a vibrator; a storage device 608 including, for example, a magnetic tape and a hard disk; and a communication device 609.
- the communication device 609 may allow the electronic device 60 to perform wireless or wired communication with other devices to exchange data.
- the figure shows the electronic device 60 having various devices, it should be understood that it is not required to implement or have all the illustrated devices. It may be implemented alternatively or provided with more or fewer devices.
- an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart.
- the computer program may be downloaded and installed from the network through the communication device 609, or installed from the storage device 608, or installed from the ROM 602.
- the processing device 601 the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
- the above-mentioned computer-readable medium in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two.
- the computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or a combination of any of the above.
- Computer-readable storage media may include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable removable Programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
- a computer-readable storage medium may be any tangible medium that contains or stores a program, and the program may be used by or in combination with an instruction execution system, apparatus, or device.
- a computer-readable signal medium may include a data signal propagated in a baseband or as a part of a carrier wave, and a computer-readable program code is carried therein.
- This propagated data signal can take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
- the computer-readable signal medium may also be any computer-readable medium other than the computer-readable storage medium.
- the computer-readable signal medium may send, propagate, or transmit the program for use by or in combination with the instruction execution system, apparatus, or device .
- the program code contained on the computer-readable medium can be transmitted by any suitable medium, including but not limited to: wire, optical cable, RF (Radio Frequency), etc., or any suitable combination of the above.
- the above-mentioned computer-readable medium may be included in the above-mentioned electronic device; or it may exist alone without being assembled into the electronic device.
- the foregoing computer-readable medium carries one or more programs, and when the foregoing one or more programs are executed by the electronic device, the electronic device can implement the solutions provided by the foregoing method embodiments.
- the aforementioned computer-readable medium carries one or more programs, and when the aforementioned one or more programs are executed by the electronic device, the electronic device can implement the solutions provided by the aforementioned method embodiments.
- the computer program code used to perform the operations of the present disclosure may be written in one or more programming languages or a combination thereof.
- the above-mentioned programming languages include object-oriented programming languages—such as Java, Smalltalk, C++, and also conventional Procedural programming language-such as "C" language or similar programming language.
- the program code can be executed entirely on the user's computer, partly on the user's computer, executed as an independent software package, partly on the user's computer and partly executed on a remote computer, or entirely executed on the remote computer or server.
- the remote computer can be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (for example, using an Internet service provider to pass Internet connection).
- LAN local area network
- WAN wide area network
- each block in the flowchart or block diagram may represent a module, program segment, or part of code, and the module, program segment, or part of code contains one or more for realizing the specified logical function Executable instructions.
- the functions marked in the block may also occur in a different order from the order marked in the drawings. For example, two blocks shown one after another can actually be executed substantially in parallel, and they can sometimes be executed in the reverse order, depending on the functions involved.
- each block in the block diagram and/or flowchart, and the combination of the blocks in the block diagram and/or flowchart can be implemented by a dedicated hardware-based system that performs the specified functions or operations Or it can be realized by a combination of dedicated hardware and computer instructions.
- the units involved in the embodiments described in the present disclosure can be implemented in software or hardware. Wherein, the name of the unit does not constitute a limitation on the unit itself under certain circumstances.
- the first obtaining unit can also be described as "a unit for obtaining at least two Internet Protocol addresses.”
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
Description
Claims (10)
- 一种消息处理方法,其特征在于,包括:接收目标版本的发送终端发送的对应目标话题的交互信息,其中,所述目标版本为在先版本和最新版本中的任一版本;通过所述目标话题的分发节点,向与所述分发节点连接的第一通道和第二通道均下发所述交互信息,其中,所述第一通道为从所述分发节点流向所述在先版本的第一接收终端的消息通道,所述第二通道为从所述分发节点流向所述最新版本的第二接收终端的消息通道;调用第一脚本将所述第一通道内的所述交互信息发送至所述第一接收终端,以及,调用第二脚本将所述第二通道内的所述交互信息发送至所述第二接收终端。
- 根据权利要求1所述的方法,其特征在于,所述调用第一脚本将所述第一通道内的所述交互信息发送至所述第一接收终端,以及,调用第二脚本将所述第二通道内的所述交互信息发送至所述第二接收终端的步骤,包括:调用所述第一脚本将所述第一通道内的所述交互信息发送至所述第一接收终端和所述第二接收终端,以及,调用第二脚本将所述第二通道内的所述交互信息发送至所述第二接收终端。
- 根据权利要求2所述的方法,其特征在于,所述调用所述第一脚本将所述第一通道内的所述交互信息发送至所述第一接收终端和所述第二接收终端,以及,调用第二脚本将所述第二通道内的所述交互信息发送至所述第二接收终端的步骤,包括:调用所述第一脚本将所述第一通道内的所述交互信息添加第一标识名后发送至所述第一接收终端和所述第二接收终端,以使所述第一接收终端接收添加所述第一标识名的交互信息,以及,调用第二脚本将所述第二通道内的所述交互信息添加第二标识名后发送至所述第二接收终端,以使所述第二接收终端接收添加所述第二标识名的交互信息。
- 根据权利要求1至3中任一项所述的方法,其特征在于,所述目标话题为目标直播间对应的话题,所述交互信息为所述目标直播间的评论消息、弹幕消息和进场消息中的至少一种。
- 根据权利要求1至4中任一项所述的方法,其特征在于,所述接收目标版本的发送终端发送的对应目标话题的交互信息的步骤,包括:获取所述目标版本的发送终端发送至所述目标版本的服务器的所述交互消息。
- 一种消息交互系统,其特征在于,包括:消息处理模块,以及与所述消息处理模块连接的在先版本的发送终端和接收终端,最新版本的发送终端和接收终端;其中,目标版本的发送终端用于发送对应目标话题的交互信息至所述消息处理模块,其中,所述目标版本为所述在先版本和所述最新版本中的任一版本;所述消息处理模块用于通过所述目标话题的分发节点,向与所述分发节点连接的第一通道和第二通道均下发所述交互信息,其中,所述第一通道为从所述分发节点流向所述在先版本的第一接收终端的消息通道,所述第二通道为从所述分发节点流向所述最新版本的第二接收终端的消息通道;所述消息处理模块用于调用所述第一脚本将所述第一通道内的所述交互信息发送 至所述第一接收终端和所述第二接收终端,以及,调用第二脚本将所述第二通道内的所述交互信息发送至所述第二接收终端;所述第一接收终端用于接收第一脚本发送的所述第一通道内的所述交互信息以及,所述第二接收终端用于接收第二脚本发送的所述第二通道内的所述交互信息。
- 一种消息处理装置,其特征在于,包括:接收模块,用于接收目标版本的发送终端发送的对应目标话题的交互信息,其中,所述目标版本为在先版本和最新版本中的任一版本;下发模块,用于通过所述目标话题的分发节点,向与所述分发节点连接的第一通道和第二通道均下发所述交互信息,其中,所述第一通道为从所述分发节点流向所述在先版本的第一接收终端的消息通道,所述第二通道为从所述分发节点流向所述最新版本的第二接收终端的消息通道;调用模块,用于调用第一脚本将所述第一通道内的所述交互信息发送至所述第一接收终端,以及,调用第二脚本将所述第二通道内的所述交互信息发送至所述第二接收终端。
- 一种电子设备,其特征在于,所述电子设备包括:至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行前述权利要求1-5中任一项所述的消息处理方法。
- 一种非暂态计算机可读存储介质,该非暂态计算机可读存储介质存储计算机指令,该计算机指令用于使该计算机执行前述权利要求1-5中任一项所述的消息处理方法。
- 一种计算机程序产品,其特征在于,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,所述计算机前述权利要求1-5中任一项所述的消息处理方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010066713.3 | 2020-01-20 | ||
CN202010066713.3A CN111290861B (zh) | 2020-01-20 | 2020-01-20 | 消息处理方法、装置及电子设备 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021147466A1 true WO2021147466A1 (zh) | 2021-07-29 |
Family
ID=71023340
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/127665 WO2021147466A1 (zh) | 2020-01-20 | 2020-11-10 | 消息处理方法、装置及电子设备 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN111290861B (zh) |
WO (1) | WO2021147466A1 (zh) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111290861B (zh) * | 2020-01-20 | 2023-08-25 | 北京字节跳动网络技术有限公司 | 消息处理方法、装置及电子设备 |
CN117579679B (zh) * | 2024-01-15 | 2024-04-19 | 海马云(天津)信息技术有限公司 | 信令交互方法和装置、电子设备及存储介质 |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070011277A1 (en) * | 2005-07-11 | 2007-01-11 | Ralph Neff | System and method for transferring data |
CN102546815A (zh) * | 2012-01-20 | 2012-07-04 | 王鑫 | 一种数字电子终端间同步系统和数字电子终端间同步方法 |
CN104216693A (zh) * | 2013-06-03 | 2014-12-17 | 阿里巴巴集团控股有限公司 | 一种提供设备标识的方法及装置 |
CN104660672A (zh) * | 2013-11-22 | 2015-05-27 | 韩国电子通信研究院 | 网络内容共享方法、以及网络内容提供设备和接收终端 |
CN110413303A (zh) * | 2019-07-23 | 2019-11-05 | 日立楼宇技术(广州)有限公司 | 一种控制器的同步方法、装置、设备和存储介质 |
CN111290861A (zh) * | 2020-01-20 | 2020-06-16 | 北京字节跳动网络技术有限公司 | 消息处理方法、装置及电子设备 |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7996459B2 (en) * | 2006-08-31 | 2011-08-09 | Microsoft Corporation | Video-switched delivery of media content using an established media-delivery infrastructure |
CA2712956C (en) * | 2009-08-14 | 2014-09-23 | Research In Motion Limited | Methods and apparatus for managing notifications for service events |
CN102163152A (zh) * | 2010-10-26 | 2011-08-24 | 青岛海信传媒网络技术有限公司 | 嵌入式终端设备的软件升级方法及装置 |
US10305981B2 (en) * | 2016-08-31 | 2019-05-28 | Satori Worldwide, Llc | Data replication in scalable messaging system |
CN108243171B (zh) * | 2016-12-27 | 2020-12-22 | 北京新唐思创教育科技有限公司 | 在线直播互动系统及方法 |
US10270726B2 (en) * | 2017-02-24 | 2019-04-23 | Satori Worldwide, Llc | Selective distribution of messages in a scalable, real-time messaging system |
WO2018175487A1 (en) * | 2017-03-20 | 2018-09-27 | Satori Worldwide, Llc | System and method for providing location data over a messaging system |
US10841256B2 (en) * | 2017-05-05 | 2020-11-17 | ShieldX Networks, Inc. | Upgrading components of a messaging system used by a microservice-based application |
CN110391922B (zh) * | 2018-04-18 | 2022-08-19 | 视联动力信息技术股份有限公司 | 一种业务平台的版本提示方法和装置 |
CN110012115A (zh) * | 2019-05-06 | 2019-07-12 | 广州华多网络科技有限公司 | 直播间推送信息的更新方法和系统 |
-
2020
- 2020-01-20 CN CN202010066713.3A patent/CN111290861B/zh active Active
- 2020-11-10 WO PCT/CN2020/127665 patent/WO2021147466A1/zh active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070011277A1 (en) * | 2005-07-11 | 2007-01-11 | Ralph Neff | System and method for transferring data |
CN102546815A (zh) * | 2012-01-20 | 2012-07-04 | 王鑫 | 一种数字电子终端间同步系统和数字电子终端间同步方法 |
CN104216693A (zh) * | 2013-06-03 | 2014-12-17 | 阿里巴巴集团控股有限公司 | 一种提供设备标识的方法及装置 |
CN104660672A (zh) * | 2013-11-22 | 2015-05-27 | 韩国电子通信研究院 | 网络内容共享方法、以及网络内容提供设备和接收终端 |
CN110413303A (zh) * | 2019-07-23 | 2019-11-05 | 日立楼宇技术(广州)有限公司 | 一种控制器的同步方法、装置、设备和存储介质 |
CN111290861A (zh) * | 2020-01-20 | 2020-06-16 | 北京字节跳动网络技术有限公司 | 消息处理方法、装置及电子设备 |
Also Published As
Publication number | Publication date |
---|---|
CN111290861B (zh) | 2023-08-25 |
CN111290861A (zh) | 2020-06-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021004221A1 (zh) | 特效的展示处理方法、装置及电子设备 | |
CN109582310B (zh) | 数据处理方法、装置、电子设备及计算机可读存储介质 | |
WO2020221190A1 (zh) | 小程序状态同步方法、设备和计算机存储介质 | |
WO2020233142A1 (zh) | 多媒体文件播放方法、装置、电子设备和存储介质 | |
US11924298B2 (en) | Message pushing method for a virtual gift and electronic device | |
WO2020151599A1 (zh) | 视频同步发布方法、装置、电子设备及可读存储介质 | |
WO2020207085A1 (zh) | 信息分享方法、装置、电子设备及存储介质 | |
US11997356B2 (en) | Video page display method and apparatus, electronic device and computer-readable medium | |
WO2020248745A1 (zh) | 用户界面中字符的显示方法、装置、电子设备及存储介质 | |
WO2021147466A1 (zh) | 消息处理方法、装置及电子设备 | |
WO2022135094A1 (zh) | 系统的混沌工程实验方法、设备及存储介质 | |
WO2020143555A1 (zh) | 用于展现信息的方法和装置 | |
WO2022057677A1 (zh) | 振动控制方法、装置、电子设备和计算机可读存储介质 | |
WO2021197161A1 (zh) | 图标更新方法、装置和电子设备 | |
WO2015176352A1 (zh) | 一种基于安卓系统的应用间信息交互方法及装置 | |
WO2024051518A1 (zh) | 直播方法、装置、电子设备以及存储介质 | |
WO2023000888A1 (zh) | 云应用的实现方法、装置、电子设备和存储介质 | |
JP6758139B2 (ja) | 効率的な呼処理のためのシステムおよび方法 | |
WO2023134559A1 (zh) | 评论提示方法、装置、电子设备、存储介质和程序产品 | |
JP2020004379A (ja) | 情報をリリースするための方法と装置、ならびに情報を処理するための方法と装置 | |
US20240104671A1 (en) | Method and apparatus for group management, electronic device, and storage medium | |
US20230319325A1 (en) | Information interaction method, apparatus and device | |
WO2020173381A1 (zh) | 数据互通方法、装置、终端及存储介质 | |
US11962929B2 (en) | Method, apparatus, and device for configuring video special effect, and storage medium | |
WO2023061137A1 (zh) | 多媒体数据的处理方法、系统及设备 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20915893 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20915893 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 06.02.2023) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20915893 Country of ref document: EP Kind code of ref document: A1 |