CN113067882A - Message processing method and device, electronic equipment and medium - Google Patents

Message processing method and device, electronic equipment and medium Download PDF

Info

Publication number
CN113067882A
CN113067882A CN202110349120.2A CN202110349120A CN113067882A CN 113067882 A CN113067882 A CN 113067882A CN 202110349120 A CN202110349120 A CN 202110349120A CN 113067882 A CN113067882 A CN 113067882A
Authority
CN
China
Prior art keywords
message
receiving
processed
terminal
determining
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
CN202110349120.2A
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.)
CCB Finetech Co Ltd
Original Assignee
CCB Finetech Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by CCB Finetech Co Ltd filed Critical CCB Finetech Co Ltd
Priority to CN202110349120.2A priority Critical patent/CN113067882A/en
Publication of CN113067882A publication Critical patent/CN113067882A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/161Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
    • H04L69/162Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields involving adaptations of sockets based mechanisms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the application discloses a message processing method, a message processing device, electronic equipment and a medium, and relates to the technical field of mobile interconnection. The method comprises the following steps: receiving a message to be processed sent by a sender, and determining information of a receiver according to the message to be processed; determining the terminal type and state information of a receiving terminal corresponding to the receiving party according to the receiving party information; determining a target transmission mode according to the terminal type and the state information of a receiving terminal corresponding to a receiving party; and sending the message to be processed to a receiving terminal in a target transmission mode. According to the scheme, the problems that the messages to be processed cannot be effectively adapted to the terminal due to the fact that the same protocol is adopted for transmitting the messages to be processed, and the arrival rate is low are solved, different terminal types and state information are transmitted by selecting the target transmission mode in a targeted mode, the arrival rate of the messages to be processed is improved, the protocols which are adapted to the terminal are adopted for transmitting the messages, and consumption of terminal flow and electric quantity is effectively reduced.

Description

Message processing method and device, electronic equipment and medium
Technical Field
The embodiment of the application relates to the technical field of mobile interconnection, in particular to a message processing method, a message processing device, electronic equipment and a medium.
Background
With the overall popularization of the mobile internet, the mobile terminal has become an indispensable communication tool in people's daily life.
However, compared with the PC internet, the network environment of the mobile terminal has the characteristics of instability, diversity, expensive traffic, and the like, and compared with the PC terminal, the mobile terminal has the characteristics of short endurance time and low hardware configuration. Therefore, the conventional scheme of the instant messaging system using a certain messaging protocol has failed to satisfy the demand of the mobile internet.
The instant messaging system based on the single XMPP communication protocol has the defect of consuming flow and electric quantity, the XMPP communication protocol is based on XML messages, the message volume of the protocol is large, and the flow and the electric quantity of the mobile terminal are both consumed seriously. The instant messaging system based on the WebSocket communication protocol has the defect of instability in the mobile terminal. Because the WebSocket protocol is long-connection, the requirement on the stability of a network environment is very high, the network environment of the mobile terminal is complex, the communication pipeline is often broken and needs to be reconnected, the communication is unstable, and the disconnection of the server side can be caused seriously because a reconnection storm occurs to occupy the resources of the server side. The self-defined private communication protocol has the defects of high development cost and no universal adaptability.
Disclosure of Invention
The embodiment of the application provides a message processing method, a message processing device, electronic equipment and a medium, which are used for transmitting messages in a target transmission mode adaptive to a terminal and improving the arrival rate of the messages.
In one embodiment, an embodiment of the present application provides a message processing method, including:
receiving a message to be processed sent by a sender, and determining information of a receiver according to the message to be processed;
determining the terminal type and state information of a receiving terminal corresponding to the receiving party according to the receiving party information;
determining a target transmission mode according to the terminal type and the state information of a receiving terminal corresponding to a receiving party;
and sending the message to be processed to the receiving terminal in the target transmission mode.
In another embodiment, an embodiment of the present application further provides a message processing apparatus, where the message processing apparatus includes:
the message receiving module is used for receiving a message to be processed sent by a sender and determining information of a receiver according to the message to be processed;
the information determining module is used for determining the terminal type and the state information of the receiving terminal corresponding to the receiving party according to the receiving party information;
a target transmission mode determining module, configured to determine a target transmission mode according to the terminal type and the state information of the receiving terminal corresponding to the receiving party;
and the message sending module is used for sending the message to be processed to the receiving terminal in the target transmission mode.
In another embodiment, an embodiment of the present application further provides an electronic device, including: one or more processors;
a memory for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors implement the message processing method according to any one of the embodiments of the present application.
In yet another embodiment, the present application further provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the message processing method according to any one of the embodiments of the present application.
In the embodiment of the application, a to-be-processed message sent by a sender is received, and information of a receiver is determined according to the to-be-processed message; determining the terminal type and state information of a receiving terminal corresponding to the receiving party according to the receiving party information; determining a target transmission mode according to the terminal type and the state information of a receiving terminal corresponding to a receiving party; and sending the message to be processed to the receiving terminal in the target transmission mode. According to the scheme, the problems that the messages to be processed cannot be effectively adapted to the terminal due to the fact that the same protocol is adopted for transmitting the messages to be processed, and the arrival rate is low are solved, different terminal types and state information are transmitted by selecting the target transmission mode in a targeted mode, the arrival rate of the messages to be processed is improved, the protocols which are adapted to the terminal are adopted for transmitting the messages, and consumption of terminal flow and electric quantity is effectively reduced.
Drawings
Fig. 1 is a flowchart of a message processing method according to an embodiment of the present application;
fig. 2 is a flowchart of a message processing method according to another embodiment of the present application;
fig. 3 is a flowchart of a message processing method according to another embodiment of the present application;
fig. 4 is a diagram of a specific application implementation structure of a message processing method according to an embodiment of the present application;
fig. 5 is a block diagram of a message processing method according to an embodiment of the present application
Fig. 6 is a schematic structural diagram of a message processing apparatus according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be further noted that, for the convenience of description, only some of the structures related to the present application are shown in the drawings, not all of the structures.
Fig. 1 is a flowchart of a message processing method according to an embodiment of the present application. The message processing method provided by the embodiment of the application can be suitable for the condition of processing the message to be processed. Typically, the embodiment of the present application is applicable to a case where a target transmission mode is selected for message processing according to the type and state information of a terminal. The method may be specifically performed by a message processing apparatus, which may be implemented by software and/or hardware, and which may be integrated in an electronic device capable of implementing the message processing method. Referring to fig. 1, the method of the embodiment of the present application specifically includes:
s110, receiving a message to be processed sent by a sender, and determining information of a receiver according to the message to be processed.
For example, the scheme in this embodiment of the application may be executed by a server, where the sender may be a terminal such as a mobile terminal or a PC terminal, and the sender sends a to-be-processed message to the server, and the server further processes the to-be-processed message. The embodiments of the present application are specifically described for a case where a sender sends a message to be processed to a receiver. The message to be processed may be sent in the form of a message, and specifically may be sent through an HTTP (Hypertext Transfer Protocol) transmission Protocol.
In the embodiment of the application, the server performs security check on the accessed sender and the message to be processed. When a client program is installed on a sender, sender information such as a unique device number, a device type and the like is transmitted to a server for authentication, when the sender initiates a request, a message to be processed is encrypted and transmitted according to an agreed encryption mode, the server decrypts the message first, and then checks the validity of the sender after the decryption is successful. And the server side checks the validity of the user identity according to the token and checks whether the user has the authority to call the corresponding API according to the authority configuration. The routing module finds the service corresponding to the request and the realization interface for distribution according to the reverse proxy configuration and the routing table, thereby realizing the reception of the message to be processed.
In the current message transmission mode, in order to not consider the information of the receiver, a single transmission protocol is adopted to transmit the message to be processed, the single transmission protocol is difficult to adapt to different receivers, the message arrival rate is low, and the flow and the electric quantity of the receiver are consumed, so that in the embodiment of the application, the information of the receiver is determined according to the message to be processed, and the transmission protocol adapted by the receiver is determined according to the adaptability of the information of the receiver to transmit the message to be processed. The message to be processed carries the information of the receiver, and the information of the receiver can be determined according to the message to be processed.
And S120, determining the terminal type and the state information of the receiving terminal corresponding to the receiving party according to the receiving party information.
The terminal type may include a mobile terminal and a PC terminal, and the status information may include an online status and an offline status. Illustratively, the adaptability between different receivers and different transmission modes may be related to the terminal type and the state information of the receiver. Therefore, the terminal type and the state information of the receiving party are determined according to the receiving party information, and the transmission mode adapted by the receiving party is accurately determined according to the terminal type and the state information of the receiving party.
S130, determining a target transmission mode according to the terminal type and the state information of the receiving terminal corresponding to the receiving party.
Illustratively, a corresponding target transmission mode adapted to the receiver can be determined according to the type and state information of the receiver terminal, and the message to be processed is transmitted according to the target transmission mode, so that the message to be processed is transmitted more quickly and effectively, the arrival rate of the transmission of the message to be processed is increased, and the delay rate of the message to be processed is reduced.
S140, the message to be processed is sent to the receiving terminal through the target transmission mode.
Illustratively, the message to be processed is sent to the receiving party through the target transmission mode, so that the message to be processed is transmitted through the target transmission mode adapted to the receiving party, the message to be processed can be rapidly and effectively transmitted, the transmission arrival rate of the message to be processed is improved, meanwhile, the flow and the electric quantity consumption of the receiving party can be reduced, and the cruising ability of the receiving party is improved.
In the embodiment of the application, a to-be-processed message sent by a sender is received, and information of a receiver is determined according to the to-be-processed message; determining the terminal type and state information of the receiver according to the receiver information; determining a target transmission mode according to the terminal type and the state information of the receiver; and sending the message to be processed to the receiver in the target transmission mode. The scheme solves the problems that the messages to be processed cannot be effectively adapted to the terminal due to the fact that the same protocol is adopted for transmitting the messages to be processed, and the arrival rate is low, and realizes that the messages to be processed are transmitted by different terminal types and state information in a targeted mode of selecting different target transmission modes, so that the arrival rate of the messages to be processed is improved, the message delay is reduced, the messages are transmitted by adopting the protocol suitable for the terminal, and the consumption of terminal flow and electric quantity is effectively reduced.
Fig. 2 is a flowchart of a message processing method according to another embodiment of the present application. For further optimization of the embodiments, details which are not described in detail in the embodiments of the present application are described in the embodiments. Referring to fig. 2, a message processing method provided in an embodiment of the present application may include:
s210, analyzing the message to be processed to obtain the receiver information contained in the message to be processed.
Illustratively, the message to be processed is transmitted to the server in the form of a message, and the server parses the message to be processed to obtain a receiver message, i.e., a receiver ID, included in the message to be processed. The message to be processed may further include information such as sender ID, session ID, message type, message content, and the like.
And S220, determining a corresponding receiving terminal according to the receiving party information.
For example, the corresponding relationship between the receiver information and the receiving terminals may be predetermined, the receiving terminals through which the receiver receives the message are determined, and after the message to be processed is analyzed to obtain the receiver information, the receiving terminal corresponding to the receiver information is determined according to the receiver information.
And S230, determining the terminal type and the state information of the receiving terminal according to the heartbeat message carrying the terminal type and sent by the receiving terminal.
Illustratively, the receiving terminal and the server determine the connection relationship by sending a heartbeat message, and therefore, the state information of the receiving terminal can be determined according to the heartbeat message sent by the receiving terminal. When sending the heartbeat message to the server, the receiving terminal carries the terminal type, so that the terminal type of the receiving terminal can be determined.
In this embodiment of the present application, determining the terminal type and the state information of the receiving terminal according to the heartbeat message with the terminal type sent by the receiving terminal includes: if receiving a heartbeat message sent by the receiving terminal according to a preset frequency, determining that the receiving terminal is in an online state; and if the duration of not receiving the heartbeat message is longer than the preset duration, determining that the receiving terminal is in an off-line state.
For example, if the receiving terminal can send a heartbeat message to the server according to a preset frequency, and the server can always receive the heartbeat message sent by the receiving terminal, it is determined that the receiving terminal is in an online state. And if the receiving terminal does not continuously send the heartbeat message to the server side any more and the duration of the heartbeat message which is not received by the server is longer than the preset duration, determining that the receiving terminal is in an off-line state. The preset time period can be determined according to actual conditions, such as 5 minutes.
And S240, determining a target transmission mode according to the terminal type and the state information of the receiving terminal corresponding to the receiving party.
In this embodiment of the present application, determining a target transmission mode according to the terminal type and the state information of the receiving terminal corresponding to the receiving party includes: if the state information of the receiving terminal corresponding to the receiving party is in an online state, determining a target transmission mode of the message to be processed according to the terminal type of the receiving terminal corresponding to the receiving party; and if the state information of the receiving terminal corresponding to the receiving party is in an off-line state and the receiving terminal corresponding to the receiving party is a mobile terminal, determining that the first transmission mode is a target transmission mode. If the state information of the receiving terminal corresponding to the receiving party is in an online state, determining a target transmission mode of the message to be processed according to the terminal type of the receiving terminal corresponding to the receiving party, wherein the target transmission mode comprises the following steps: if the terminal type of the receiving terminal corresponding to the receiving party is the first type, determining that the second transmission mode is the target transmission mode; and if the terminal type of the receiving terminal corresponding to the receiving party is the second type, determining that the third transmission mode is the target transmission mode.
Illustratively, if the status information of the receiving terminal corresponding to the receiving party is in an online status, the target transmission mode is further determined according to the terminal type of the receiving terminal corresponding to the receiving party. Specifically, if the terminal type of the receiving terminal is the first type, the second transmission mode is determined to be the target transmission mode, and if the terminal type of the receiving terminal is the second type, the third transmission mode is determined to be the target transmission mode. And if the receiving terminal is in an off-line state and the receiving terminal is a mobile terminal, selecting the first transmission mode as a target transmission mode.
The first transmission mode is an APP message push transmission mode, the second transmission mode is an MQTT protocol transmission mode, the third transmission mode is a WebSocket protocol transmission mode, the first type is a mobile terminal, and the second type is a PC terminal.
Specifically, if the receiving terminal is the mobile terminal online, the transmission mode of the MQTT protocol is adopted to transmit the message to be processed, if the receiving terminal is the PC terminal online, the transmission mode of the WebSocket protocol is adopted to transmit the message to be processed, and if the receiving terminal is the mobile terminal offline, the transmission mode of the APP message push transmission is adopted to transmit the message to be processed. MQTT has the advantage that it can provide real-time, reliable messaging services to connected remote devices with very little code and limited bandwidth. As an instant messaging protocol with low cost and low bandwidth occupation, the method has wide application in the aspects of Internet of things, small-sized equipment, mobile application and the like. Therefore, if the receiving terminal is on-line with the mobile terminal, the transmission of the message to be processed is carried out by adopting the MQTT protocol transmission mode, and the flow consumption and the electric quantity consumption of the mobile terminal can be effectively reduced. The instant messaging system based on the WebSocket communication protocol has the defect of instability at the mobile terminal, and the network of the PC terminal is stable, so that if the receiving terminal is the PC terminal, the message to be processed can be effectively transmitted through the WebSocket communication protocol. When the APP is not opened by the user, the APP background actively pushes messages to the user through the push server, and therefore when the mobile terminal is offline, effective transmission of messages to be processed can be conducted through the APP message push transmission mode. According to the terminal type and the online state of the receiving terminal, the adaptive target transmission mode is selected in a targeted mode to transmit the message to be processed, so that the arrival rate of the message is effectively improved, the delay is reduced, the system faults are reduced, and the cruising ability of the terminal is improved.
Sending the message to be processed to the receiving terminal by the target transmission mode, including: and if the state information of the receiving terminal corresponding to the receiving party is in an off-line state, sending the message to be processed to a manufacturer server of the receiving terminal corresponding to the receiving party so that the manufacturer server pushes the message to be processed to the receiving terminal.
Illustratively, the APP message push service selects a corresponding vendor push server according to a mobile phone brand of the mobile terminal, and pushes the message to be processed to the mobile terminal through the vendor push service.
And S250, sending the message to be processed to the receiving terminal through the target transmission mode.
According to the technical scheme, the message to be processed is analyzed to obtain the receiver information contained in the message to be processed, the receiving terminal corresponding to the receiver information is determined according to the receiver information, and the terminal type and the state information of the receiving terminal are determined according to the heartbeat message of the type of the portable terminal sent by the receiving terminal, so that the terminal type and the online state of the receiving terminal are accurately determined, and a target transmission mode adaptive to the receiving terminal is conveniently determined in follow-up adaptability.
Fig. 3 is a flowchart of a message processing method according to another embodiment of the present application. In the embodiment of the present application, details that are not described in detail in the embodiment of the present application are referred to in the above embodiment for further optimization of S250 in the above embodiment. Referring to fig. 3, a message processing method provided in an embodiment of the present application may include:
s310, aiming at each receiver, a message queue of the messages to be processed is established, and the message queue is used for containing the messages to be processed which are to be sent to the receiver.
For example, a message distribution layer in a server creates a dedicated message queue for each receiver that can receive a message, so as to accommodate a pending message sent by a sender to the receiver, so as to perform management and monitoring.
S320, receiving the message to be processed sent by the sender, and determining the information of the receiver according to the message to be processed.
S330, analyzing the message to be processed, and storing the analyzed message to be processed in a database.
Illustratively, the server parses the to-be-processed message, and persistently stores the parsed to-be-processed message in a database, which may include a redis database or a mysql database.
S340, returning response information of the message to be processed to the sender so as to inform the sender that the message to be processed is successfully sent.
Illustratively, after parsing and storing the message to be processed, the server returns response information of the message to be processed to the sender, and at this time, the sender displays that the message has been successfully sent and the sending of the message to be processed is finished.
S350, determining a message queue corresponding to the receiving party according to the receiving party information, and placing the message to be processed in the message queue.
Illustratively, the message to be processed may include information such as a sender ID, a receiver ID, a session ID, a message type, and a message content, and after the server parses the message to be processed, the server may obtain the receiver information, that is, the receiver ID, may determine a message queue corresponding to the receiver according to the receiver ID, and place the message to be processed in the corresponding message queue to wait for further processing.
S360, when the message queue is monitored to have the message to be processed, the step of determining the terminal type and the state information of the receiving terminal corresponding to the receiving party according to the receiving party information is executed.
Illustratively, the server monitors the message queue in real time, and when it is monitored that the message queue contains the message to be processed, the server executes the processing of the message to be processed, that is, determines the terminal type and the state information of the receiver according to the information of the receiver, and further executes the subsequent steps to realize the processing and sending of the message to be processed.
And S370, determining a target transmission mode according to the terminal type and the state information of the receiving terminal corresponding to the receiving party.
And S380, sending the message to be processed to the receiving terminal through the target transmission mode.
In the technical scheme of the embodiment of the application, the message queue is established for each receiver, and the to-be-processed message sent to the receiver by the sender is placed in the message queue, so that the to-be-processed message is managed orderly, the to-be-processed message is processed timely when the to-be-processed message is monitored, and the processing efficiency of the to-be-processed message is improved.
Fig. 4 is a diagram of a specific application implementation structure of the message processing method according to the embodiment of the present application. The method comprises the following specific steps:
the method comprises the following steps: the user A sends a message to the group chat, the group chat members also comprise a user B, a user C and a user D, the user B is a mobile terminal online, the user C is a PC terminal online, the user D is in an offline state, and the message is sent to the server through an Http communication protocol.
Step two: and the server analyzes the message after receiving the message, and acquires message information such as message content, a sending user ID, a receiving user ID, a group chat ID, a session ID and the like.
Step three: and the server stores the analyzed message in a database.
Step four: the system calls the asynchronous task consumer module to generate an asynchronous task. Different receiving user IDs create different tasks, and meanwhile, a response of successful sending is returned to the user A.
Step five: the asynchronous task system finds B, C, D the queues corresponding to three receiving users according to the receiving user ID, and finds the online status and terminal type of the users to decide which push queue to distribute the message to next.
Step six: because the user B is on line at the mobile terminal and needs to adopt MQTT protocol push, the received message of the user B is distributed to an MQTT push queue; the user C is on-line at the PC end and is pushed by adopting a WebSocket protocol, so that the received information of the user C is distributed to a WebSocket pushing queue; and the user D is in an off-line state and pushes the message in an APP message pushing mode, so that the received message of the user D is distributed to an APP message pushing queue.
Step seven: the MQTT pushing service monitors an MQTT pushing queue in real time to acquire the receiving information of the user B; the WebSocket pushing service monitors a WebSocket pushing queue in real time to acquire the receiving information of the user C; and monitoring the APP message push queue in real time by the APP message push service to acquire the receiving information of the user D.
Step eight: the MQTT push service publishes a message to a topic channel subscribed by a user B through an MQTT protocol, and the user B receives the message on a mobile terminal in real time; the WebSocket service channel WebSocket protocol sends a message to a long connection communication channel of a user C, and the user C receives the message in real time; the APP message pushing service selects corresponding vendor pushing service according to the mobile phone brand used by the user D, and pushes the message to the device of the user D through the vendor pushing service.
Fig. 5 is a block diagram of a message processing method according to an embodiment of the present application. The embodiment of the application provides a specific implementation flow of the message processing method. The method comprises the following specific steps:
the server side comprises: the system comprises a channel access layer, a message processing layer, a message distribution layer and a message pushing layer. Specifically, the method comprises the following steps:
1. a channel access layer: the channel access layer is responsible for receiving an http request of a sending terminal to a server, and comprises the following functional modules:
a safety checking module: and carrying out security check on the accessed sending terminal and the request message. When a client program is installed on a sending terminal, sending terminal information such as a unique equipment number, equipment type and the like is transmitted to a server for authentication, when the sending terminal initiates a request, messages are encrypted and transmitted according to an agreed encryption mode, a server security verification module decrypts the messages, and after decryption is successful, terminal validity is checked.
An authentication and verification module: and checking the identity validity of the sending terminal user according to the token, and checking whether the sending terminal user has the authority to call the corresponding API (application program interface) according to the authority configuration.
The route distribution module: and the routing module finds the service corresponding to the request and the realization interface for distribution according to the reverse proxy configuration and the routing table.
2. And a message processing layer: the message processing layer is responsible for analyzing and processing messages and comprises the following functional modules:
a message analysis module: analyzing the received message, and acquiring the user ID, the session ID, the message type, the message content, the user ID of the message receiving and sending terminal and other message basic information of the message sending terminal.
The message storage module 22: and the analyzed message is stored persistently and can be stored in a redis database or a mysql database.
The asynchronous task processing module: after the analysis and storage of the synchronous message are completed, the server side returns a response of successful processing to the http request, at this time, the sender displays that the message is successfully sent, and the synchronous request is finished. The server further gives the message to an asynchronous task for processing, and calls an asynchronous queue producer interface to generate the asynchronous task.
3. A message distribution layer: and the message distribution layer distributes and processes the message according to the message basic information analyzed by the message processing layer. The distribution processing of the message depends on the sidekiq message queue processing middleware implementation. The sidekiq middleware is divided into three main modules which are a producer module, a consumer module and a message queue respectively, wherein the producer module generates task messages to be processed and places the task messages into the message queue, the message queue is used for storing unprocessed task messages, and the consumer module monitors the message queue in real time and immediately processes the messages to be processed in the message queue. The message distribution layer maintains two layers of message queue selection modules, namely a user queue selection module and a push queue selection module, and has the following functions:
a user queue selection module: the message distribution layer maintains a special message queue for each receiving terminal capable of receiving the message, the message is analyzed in the message processing layer to obtain a message receiving terminal ID, the special message queue corresponding to the user can be found through the message receiving terminal ID, the message is placed in the user queue through the sidekid generator interface, and the message is processed by the consumer module.
A push queue selection module: when the consumer module processes the messages of the user queue, the current online state and the terminal type of the receiving terminal are searched according to the user ID, and if the user is a mobile terminal and is in the online state, the message is pushed by adopting an MQTT communication protocol; if the current user is a PC terminal and is online, a WebSocket communication protocol is adopted to carry out message pushing; if the current receiving terminal is in an off-line state, message pushing is carried out in an APP message pushing mode; the message distribution layer maintains a dedicated message queue for each message pushing mode, wherein the dedicated message queue is an MQTT message queue, a WebSocket message queue and an APP message pushing queue, and the message is pushed to the corresponding message queue after the message receiving mode of the user is determined.
4. And a message pushing layer: the message pushing layer is composed of three services, namely an MQTT service module, a WebSocket service module and an APP message pushing service module, the pushing services correspond to the message pushing queues one to one, and messages in each message pushing queue can be processed as a consumer module only through the corresponding message pushing service. The specific processing mechanism is as follows:
MQTT service module: the MQTT service module is used for pushing real-time messages to the online mobile terminal through an MQTT communication protocol, when a user logs in at the mobile terminal, a mobile terminal client registers the state of the mobile terminal which is logged in to the mobile terminal to the server, the MQTT service generates a unique and unrepeated subscription theme aiming at the mobile terminal and returns the theme to the mobile terminal client used by the user, the mobile terminal client subscribes the theme, when the MQTT message queue contains information received by the mobile terminal user, the MQTT service publishes the messages to the theme belonging to the mobile terminal, and the user of the mobile terminal can receive the messages. When the logged mobile terminal is logged off, the client terminal is switched to the background or no heartbeat link is sent to the server terminal for too long time, the MQTT service destroys the subscription theme of the user, and the user state is set to be an offline state.
The WebSocket service module: the WebSocket service module is used for pushing real-time messages to an online PC terminal user through a WebSocket communication protocol, when the user logs in at a PC terminal, a PC terminal client registers the PC terminal to a system to be in a PC terminal logged-in state, meanwhile, the PC client establishes a WebSocket long connection communication channel with the WebSocket service, the communication channel is maintained all the time, one heartbeat request is sent in one minute to detect the connection effectiveness, if the communication channel has a problem, reconnection is carried out, and when messages to be processed are in a message pushing queue corresponding to the WebSocket service, the WebSocket service can take out the messages and find a long connection communication channel handle to which the user belongs to send the messages.
APP message push service module: the APP message pushing service module is used for pushing messages to offline users through message pushing services provided by mobile phone terminal manufacturers, integrating SDK development packages provided by each mobile phone terminal manufacturer, and then establishing connection with the message pushing services of the manufacturers. The method comprises the steps that the mobile client can bind the terminal equipment after the mobile terminal is installed and logged in, the terminal equipment information can be obtained during binding, the APP message push service selects the corresponding mobile phone manufacturer push service through the type of the mobile terminal equipment, then the message content, the equipment unique identification and the package name are sent to the manufacturer message push service, and finally the message content, the equipment unique identification and the package name are pushed to the mobile terminal of a user.
5. The receiving terminal: the receiving terminal refers to the type of the terminal used by the user and the login state of the user when the message pushing occurs, the type of the terminal is divided into a mobile terminal and a PC terminal, wherein the mobile terminal integrates an MQTT subscription service module and a monitoring and message processing module of a manufacturer APP message pushing service, and the PC terminal integrates a WebSocket service module.
The specific implementation method provided by the embodiment of the application has the corresponding beneficial effects of the message processing method in the embodiment.
Fig. 6 is a schematic structural diagram of a message processing apparatus according to an embodiment of the present application. The device is applicable to the case of processing messages for message processing. Typically, the embodiment of the present application is applicable to a case where a target transmission mode is selected for message processing according to the type and state information of a terminal. The apparatus may be implemented by software and/or hardware, and the apparatus may be integrated in an electronic device. Referring to fig. 6, the apparatus specifically includes:
a message receiving module 410, configured to receive a to-be-processed message sent by a sender, and determine receiver information according to the to-be-processed message;
an information determining module 420, configured to determine, according to the receiver information, a terminal type and state information of a receiving terminal corresponding to the receiver;
a target transmission mode determining module 430, configured to determine a target transmission mode according to the terminal type and the state information of the receiving terminal corresponding to the receiving party;
a message sending module 440, configured to send the to-be-processed message to the receiving terminal in the target transmission manner.
In an embodiment of the present application, the apparatus further includes:
in this embodiment of the application, the message receiving module 410 is specifically configured to:
and analyzing the message to be processed to obtain the receiver information contained in the message to be processed.
In this embodiment, the information determining module 420 includes:
a receiving terminal determining unit, configured to determine a receiving terminal corresponding to the receiving terminal according to the receiving party information;
and the state determining unit is used for determining the terminal type and the state information of the receiving terminal according to the heartbeat message which is sent by the receiving terminal and carries the terminal type.
In an embodiment of the present application, the state determining unit is specifically configured to:
if receiving a heartbeat message sent by the receiving terminal according to a preset frequency, determining that the receiving terminal is in an online state;
and if the duration of not receiving the heartbeat message is longer than the preset duration, determining that the receiving terminal is in an off-line state.
In this embodiment of the present application, the target transmission method determining module 430 includes:
an online mode determining unit, configured to determine a target transmission mode of the message to be processed according to a terminal type of a receiving terminal corresponding to the receiving party if the state information of the receiving terminal corresponding to the receiving party is an online state;
and an offline mode determining unit, configured to determine that the first transmission mode is the target transmission mode if the status information of the receiving terminal corresponding to the receiving party is in an offline state and the receiving terminal corresponding to the receiving party is a mobile terminal.
In an embodiment of the present application, the offline mode determining unit is specifically configured to:
if the terminal type of the receiving terminal corresponding to the receiving party is the first type, determining that the second transmission mode is the target transmission mode;
and if the terminal type of the receiving terminal corresponding to the receiving party is the second type, determining that the third transmission mode is the target transmission mode.
In the embodiment of the application, the first transmission mode is an APP message push transmission mode, the second transmission mode is an MQTT protocol transmission mode, the third transmission mode is a WebSocket protocol transmission mode, the first type is a mobile terminal, and the second type is a PC terminal.
In this embodiment of the application, the message sending module 440 is specifically configured to:
and if the state information of the receiving terminal corresponding to the receiving party is in an off-line state, sending the message to be processed to a manufacturer server of the receiving terminal corresponding to the receiving party so that the manufacturer server pushes the message to be processed to the receiving terminal.
In an embodiment of the present application, the apparatus further includes:
the message queue establishing module is used for establishing a message queue of the message to be processed aiming at each receiver and is used for containing the message to be processed which is to be sent to the receiver.
In an embodiment of the present application, the apparatus further includes:
a message queue determining module, configured to determine, according to the receiver information, a message queue corresponding to the receiver, and place the to-be-processed message in the message queue;
and the monitoring module is used for executing the step of determining the terminal type and the state information of the receiving terminal corresponding to the receiving party according to the receiving party information when the message to be processed exists in the message queue.
In an embodiment of the present application, the apparatus further includes:
and the storage module is used for analyzing the message to be processed and storing the analyzed message to be processed in a database.
In an embodiment of the present application, the apparatus further includes:
and the response message sending module is used for returning response information of the message to be processed to the sender so as to inform the sender that the message to be processed is sent successfully.
The message processing device provided by the embodiment of the application can execute the message processing method provided by any embodiment of the application, and has corresponding functional modules and beneficial effects of the execution method.
Fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application. FIG. 7 illustrates a block diagram of an exemplary electronic device 412 suitable for use in implementing embodiments of the present application. The electronic device 412 shown in fig. 7 is only an example and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 7, the electronic device 412 may include: one or more processors 416; the memory 428 is configured to store one or more programs, and when the one or more programs are executed by the one or more processors 416, the one or more processors 416 are enabled to implement the message processing method provided in the embodiment of the present application, including:
receiving a message to be processed sent by a sender, and determining information of a receiver according to the message to be processed;
determining the terminal type and state information of a receiving terminal corresponding to the receiving party according to the receiving party information;
determining a target transmission mode according to the terminal type and the state information of a receiving terminal corresponding to a receiving party;
and sending the message to be processed to the receiving terminal in the target transmission mode.
The components of the electronic device 412 may include, but are not limited to: one or more processors or processors 416, a memory 428, and a bus 418 that couples the various device components including the memory 428 and the processors 416.
Bus 418 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, transaction ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Electronic device 412 typically includes a variety of computer device-readable storage media. These storage media may be any available storage media that can be accessed by electronic device 412 and includes both volatile and nonvolatile storage media, removable and non-removable storage media.
Memory 428 can include computer-device readable storage media in the form of volatile memory, such as Random Access Memory (RAM)430 and/or cache memory 432. The electronic device 412 may further include other removable/non-removable, volatile/nonvolatile computer device storage media. By way of example only, storage system 434 may be used to read from and write to non-removable, nonvolatile magnetic storage media (not shown in FIG. 7, commonly referred to as "hard drives"). Although not shown in FIG. 7, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical storage medium) may be provided. In these cases, each drive may be connected to bus 418 by one or more data storage media interfaces. Memory 428 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the application.
A program/utility 440 having a set (at least one) of program modules 442 may be stored, for instance, in memory 428, such program modules 442 including, but not limited to, an operating device, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. The program modules 442 generally perform the functions and/or methods of the embodiments described herein.
The electronic device 412 may also communicate with one or more external devices 414 (e.g., keyboard, pointing device, display 424, etc.), with one or more devices that enable a user to interact with the electronic device 412, and/or with any devices (e.g., network card, modem, etc.) that enable the electronic device 412 to communicate with one or more other computing devices. Such communication may occur via input/output (I/O) interfaces 422. Also, the electronic device 412 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet) through the network adapter 420. As shown in FIG. 7, network adapter 420 communicates with the other modules of electronic device 412 over bus 418. It should be appreciated that although not shown in FIG. 7, other hardware and/or software modules may be used in conjunction with the electronic device 412, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID devices, tape drives, and data backup storage devices, among others.
The processor 416 executes various functional applications and data processing, such as implementing a message processing method provided by an embodiment of the present application, by executing at least one of other programs of the plurality of programs stored in the memory 428.
One embodiment of the present application provides a storage medium containing computer-executable instructions that when executed by a computer processor perform a message processing method, comprising:
receiving a message to be processed sent by a sender, and determining information of a receiver according to the message to be processed;
determining the terminal type and state information of a receiving terminal corresponding to the receiving party according to the receiving party information;
determining a target transmission mode according to the terminal type and the state information of a receiving terminal corresponding to a receiving party;
and sending the message to be processed to the receiving terminal in the target transmission mode.
The computer storage media of the embodiments of the present application may take any combination of one or more computer-readable storage media. The computer readable storage medium may be a computer readable signal storage medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor device, apparatus, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In embodiments of the present application, a computer readable storage medium may be any tangible storage medium that can contain, or store a program for use by or in connection with an instruction execution apparatus, device, or apparatus.
A computer readable signal storage medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal storage medium may also be any computer readable storage medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution apparatus, device, or apparatus.
Program code embodied on a computer readable storage medium may be transmitted using any appropriate storage medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or device. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present application and the technical principles employed. It will be understood by those skilled in the art that the present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the application. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the appended claims.

Claims (15)

1. A method of message processing, the method comprising:
receiving a message to be processed sent by a sender, and determining information of a receiver according to the message to be processed;
determining the terminal type and state information of a receiving terminal corresponding to the receiving party according to the receiving party information;
determining a target transmission mode according to the terminal type and the state information of a receiving terminal corresponding to a receiving party;
and sending the message to be processed to the receiving terminal in the target transmission mode.
2. The method of claim 1, wherein determining recipient information from the pending message comprises:
and analyzing the message to be processed to obtain the receiver information contained in the message to be processed.
3. The method of claim 1, wherein determining the terminal type and the status information of the receiving terminal corresponding to the receiving party according to the receiving party information comprises:
determining a receiving terminal corresponding to the receiving party according to the receiving party information;
and determining the terminal type and the state information of the receiving terminal according to the heartbeat message carrying the terminal type and sent by the receiving terminal.
4. The method according to claim 3, wherein determining the terminal type and the status information of the receiving terminal according to the heartbeat message with the terminal type sent by the receiving terminal comprises:
if receiving a heartbeat message sent by the receiving terminal according to a preset frequency, determining that the receiving terminal is in an online state;
and if the duration of not receiving the heartbeat message is longer than the preset duration, determining that the receiving terminal is in an off-line state.
5. The method of claim 1, wherein determining the target transmission mode according to the terminal type and the state information of the receiving terminal corresponding to the receiving party comprises:
if the state information of the receiving terminal corresponding to the receiving party is in an online state, determining a target transmission mode of the message to be processed according to the terminal type of the receiving terminal corresponding to the receiving party;
and if the state information of the receiving terminal corresponding to the receiving party is in an off-line state and the receiving terminal corresponding to the receiving party is a mobile terminal, determining that the first transmission mode is a target transmission mode.
6. The method of claim 5, wherein if the status information of the receiving terminal corresponding to the receiving party is in an online status, determining a target transmission mode of the message to be processed according to a terminal type of the receiving terminal corresponding to the receiving party comprises:
if the terminal type of the receiving terminal corresponding to the receiving party is the first type, determining that the second transmission mode is the target transmission mode;
and if the terminal type of the receiving terminal corresponding to the receiving party is the second type, determining that the third transmission mode is the target transmission mode.
7. The method according to claim 6, wherein the first transmission mode is an APP message push transmission mode, the second transmission mode is an MQTT protocol transmission mode, the third transmission mode is a WebSocket protocol transmission mode, the first type is a mobile terminal, and the second type is a PC terminal.
8. The method according to claim 7, wherein sending the pending message to the receiving terminal via the target transmission mode comprises:
and if the state information of the receiving terminal corresponding to the receiving party is in an off-line state, sending the message to be processed to a manufacturer server of the receiving terminal corresponding to the receiving party so that the manufacturer server pushes the message to be processed to the receiving terminal.
9. The method of claim 1, wherein before receiving a pending message sent by a sender and determining receiver information according to the pending message, the method further comprises:
and aiming at each receiver, establishing a message queue of the messages to be processed, wherein the message queue is used for accommodating the messages to be processed to be sent to the receiver.
10. The method of claim 9, wherein after receiving a message to be processed sent by a sender and determining receiver information according to the message to be processed, the method further comprises:
determining a message queue corresponding to the receiver according to the receiver information, and placing the message to be processed in the message queue;
and when the message queue to be processed is monitored to exist, determining the terminal type and the state information of the receiving terminal corresponding to the receiving party according to the receiving party information.
11. The method of claim 1, wherein after receiving the pending message sent by the sender, the method further comprises:
and analyzing the message to be processed, and storing the analyzed message to be processed in a database.
12. The method of claim 11, wherein after receiving the pending message sent by the sender, the method further comprises:
and returning response information of the message to be processed to the sender so as to inform the sender that the message to be processed is successfully sent.
13. A message processing apparatus, characterized in that the apparatus comprises:
the message receiving module is used for receiving a message to be processed sent by a sender and determining information of a receiver according to the message to be processed;
the information determining module is used for determining the terminal type and the state information of the receiving terminal corresponding to the receiving party according to the receiving party information;
a target transmission mode determining module, configured to determine a target transmission mode according to the terminal type and the state information of the receiving terminal corresponding to the receiving party;
and the message sending module is used for sending the message to be processed to the receiving terminal in the target transmission mode.
14. An electronic device, characterized in that the electronic device comprises:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the message processing method of any one of claims 1-12.
15. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a message processing method according to any one of claims 1 to 12.
CN202110349120.2A 2021-03-31 2021-03-31 Message processing method and device, electronic equipment and medium Pending CN113067882A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110349120.2A CN113067882A (en) 2021-03-31 2021-03-31 Message processing method and device, electronic equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110349120.2A CN113067882A (en) 2021-03-31 2021-03-31 Message processing method and device, electronic equipment and medium

Publications (1)

Publication Number Publication Date
CN113067882A true CN113067882A (en) 2021-07-02

Family

ID=76564918

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110349120.2A Pending CN113067882A (en) 2021-03-31 2021-03-31 Message processing method and device, electronic equipment and medium

Country Status (1)

Country Link
CN (1) CN113067882A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113360774A (en) * 2021-07-08 2021-09-07 海尔数字科技(青岛)有限公司 Message pushing method, device, server and storage medium
CN113490164A (en) * 2021-08-13 2021-10-08 中原银行股份有限公司 Mobile application message pushing platform
CN113760581A (en) * 2021-09-09 2021-12-07 四川虹美智能科技有限公司 MQTT-based method and system for synchronizing attribute information of intelligent terminal
CN113840245A (en) * 2021-11-16 2021-12-24 中国电信股份有限公司 Communication method and communication system for RCS message
CN114124881A (en) * 2021-11-30 2022-03-01 中国建设银行股份有限公司 Message pushing method based on priority and related device
CN114157624A (en) * 2021-11-25 2022-03-08 上海浦东发展银行股份有限公司 Link connection method, device, equipment and storage medium for instant messaging
CN114268913A (en) * 2021-12-20 2022-04-01 中国电信股份有限公司 Message domain selection method and device, storage medium and electronic equipment
CN114979306A (en) * 2022-04-14 2022-08-30 哈尔滨工业大学人工智能研究院有限公司 Novel multi-path fusion transmission method for Internet of things equipment
CN115412597A (en) * 2022-08-19 2022-11-29 江阴市富仁智能科技有限公司 Real-time data communication method
CN116319650A (en) * 2023-05-22 2023-06-23 三一海洋重工有限公司 Port equipment data distribution method, device and system and container crane
CN117278505A (en) * 2023-11-21 2023-12-22 苏州元脑智能科技有限公司 Message transmission method, system, equipment and medium between RAID card nodes

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103139051A (en) * 2013-03-22 2013-06-05 南京信通科技有限责任公司 Instant messaging communication method based on Websocket protocol
WO2018035839A1 (en) * 2016-08-26 2018-03-01 华为技术有限公司 Data transmission method, associated apparatus and communication system
CN108667899A (en) * 2018-03-29 2018-10-16 挂号网(杭州)科技有限公司 Multiple terminals message synchronization and isolation instant communication method and system
CN110149392A (en) * 2019-05-17 2019-08-20 优信拍(北京)信息科技有限公司 A kind of management method and device of PUSH message
CN111093159A (en) * 2019-12-23 2020-05-01 北京奇艺世纪科技有限公司 Message pushing method and device, server and computer readable storage medium
CN111478968A (en) * 2020-04-08 2020-07-31 腾讯科技(深圳)有限公司 Data processing method and related device
CN111555965A (en) * 2020-05-11 2020-08-18 南京南瑞信息通信科技有限公司 Message pushing method and system suitable for iOS client
CN112511580A (en) * 2019-09-16 2021-03-16 北京国双科技有限公司 Message pushing method, device, storage medium and equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103139051A (en) * 2013-03-22 2013-06-05 南京信通科技有限责任公司 Instant messaging communication method based on Websocket protocol
WO2018035839A1 (en) * 2016-08-26 2018-03-01 华为技术有限公司 Data transmission method, associated apparatus and communication system
CN108667899A (en) * 2018-03-29 2018-10-16 挂号网(杭州)科技有限公司 Multiple terminals message synchronization and isolation instant communication method and system
CN110149392A (en) * 2019-05-17 2019-08-20 优信拍(北京)信息科技有限公司 A kind of management method and device of PUSH message
CN112511580A (en) * 2019-09-16 2021-03-16 北京国双科技有限公司 Message pushing method, device, storage medium and equipment
CN111093159A (en) * 2019-12-23 2020-05-01 北京奇艺世纪科技有限公司 Message pushing method and device, server and computer readable storage medium
CN111478968A (en) * 2020-04-08 2020-07-31 腾讯科技(深圳)有限公司 Data processing method and related device
CN111555965A (en) * 2020-05-11 2020-08-18 南京南瑞信息通信科技有限公司 Message pushing method and system suitable for iOS client

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
孔智: "基于MQTT的消息推送集群系统的设计与实现", 《中国优秀硕士学位论文全文数据库》 *

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113360774A (en) * 2021-07-08 2021-09-07 海尔数字科技(青岛)有限公司 Message pushing method, device, server and storage medium
CN113490164A (en) * 2021-08-13 2021-10-08 中原银行股份有限公司 Mobile application message pushing platform
CN113760581A (en) * 2021-09-09 2021-12-07 四川虹美智能科技有限公司 MQTT-based method and system for synchronizing attribute information of intelligent terminal
CN113840245A (en) * 2021-11-16 2021-12-24 中国电信股份有限公司 Communication method and communication system for RCS message
CN114157624B (en) * 2021-11-25 2023-10-24 上海浦东发展银行股份有限公司 Link connection method, device and equipment for instant messaging and storage medium
CN114157624A (en) * 2021-11-25 2022-03-08 上海浦东发展银行股份有限公司 Link connection method, device, equipment and storage medium for instant messaging
CN114124881A (en) * 2021-11-30 2022-03-01 中国建设银行股份有限公司 Message pushing method based on priority and related device
CN114268913A (en) * 2021-12-20 2022-04-01 中国电信股份有限公司 Message domain selection method and device, storage medium and electronic equipment
CN114268913B (en) * 2021-12-20 2023-03-14 中国电信股份有限公司 Message domain selection method and device, storage medium and electronic equipment
CN114979306A (en) * 2022-04-14 2022-08-30 哈尔滨工业大学人工智能研究院有限公司 Novel multi-path fusion transmission method for Internet of things equipment
CN115412597A (en) * 2022-08-19 2022-11-29 江阴市富仁智能科技有限公司 Real-time data communication method
CN116319650A (en) * 2023-05-22 2023-06-23 三一海洋重工有限公司 Port equipment data distribution method, device and system and container crane
CN116319650B (en) * 2023-05-22 2024-01-30 三一海洋重工有限公司 Port equipment data distribution method, device and system and container crane
CN117278505A (en) * 2023-11-21 2023-12-22 苏州元脑智能科技有限公司 Message transmission method, system, equipment and medium between RAID card nodes
CN117278505B (en) * 2023-11-21 2024-02-09 苏州元脑智能科技有限公司 Message transmission method, system, equipment and medium between RAID card nodes

Similar Documents

Publication Publication Date Title
CN113067882A (en) Message processing method and device, electronic equipment and medium
US8554855B1 (en) Push notification delivery system
US10404633B2 (en) Enhanced video instant messaging processing
US8122144B2 (en) Reliable messaging using redundant message streams in a high speed, low latency data communications environment
CN108347350B (en) Communication method and device
CN112532673B (en) Message sending method and device, computer readable storage medium and electronic equipment
CN112887429A (en) Data transmission method and device, electronic equipment and storage medium
CN111787026B (en) Method, device and equipment for transmitting media data and storage medium
CN111541555A (en) Group chat optimization method and related product
CN112887420B (en) Message pushing method and device, computer readable storage medium and electronic equipment
CN112689020B (en) Message transmission method, message middleware, electronic equipment and storage medium
CN113965628A (en) Message scheduling method, server and storage medium
CN111917835A (en) System, method and device for monitoring network data
US8200845B2 (en) Queuing of invocations for mobile web services
CN114257632B (en) Method and device for reconnecting broken wire, electronic equipment and readable storage medium
CN114449523B (en) Flow filtering method, device, equipment and medium for satellite measurement and control system
CN110809759A (en) Techniques for managing network notifications in a client-server system
CN117811833B (en) Unified network crypto-engine management system and method based on publishing and subscribing mode
CN110798398A (en) Group message management method, device, equipment and medium
CN106060158B (en) Method and device for judging state of target equipment
CN117692399A (en) Message uploading method and device
CN116527661A (en) Data interaction method and device, electronic terminal and storage medium
CN114157624A (en) Link connection method, device, equipment and storage medium for instant messaging
CN113988797A (en) Method and device for processing request, storage medium and electronic equipment
CN117061636A (en) Message exchange 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: 20210702