CN113114558A - Communication message transmission method, device, communication server and computer storage medium - Google Patents
Communication message transmission method, device, communication server and computer storage medium Download PDFInfo
- Publication number
- CN113114558A CN113114558A CN202110372214.1A CN202110372214A CN113114558A CN 113114558 A CN113114558 A CN 113114558A CN 202110372214 A CN202110372214 A CN 202110372214A CN 113114558 A CN113114558 A CN 113114558A
- Authority
- CN
- China
- Prior art keywords
- message
- communication
- receiving end
- message receiving
- server
- 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
Links
- 238000004891 communication Methods 0.000 title claims abstract description 267
- 230000005540 biological transmission Effects 0.000 title claims abstract description 52
- 238000000034 method Methods 0.000 title claims abstract description 39
- 238000012790 confirmation Methods 0.000 claims description 13
- 238000004590 computer program Methods 0.000 claims description 8
- 238000010586 diagram Methods 0.000 description 10
- 230000008569 process Effects 0.000 description 3
- 230000003993 interaction Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
- 230000026676 system process Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
- H04L51/043—Real-time or near real-time messaging, e.g. instant messaging [IM] using or handling presence information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/55—Push-based network services
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The present disclosure relates to a communication message transmission method, a communication message transmission apparatus, a communication server, and a computer storage medium, the communication message transmission method including determining a message receiving end according to a received communication message; determining the connection state of the message receiving end and a communication server; if the connection state of the message receiving terminal and the communication server is an online state, the communication message is sent to the message receiving terminal; if the connection state of the message receiving end and the communication server is an off-line state, the communication message is sent to a terminal manufacturer push server corresponding to the message receiving end, so that the terminal manufacturer push server can push the communication message to the message receiving end, and the timeliness of communication message transmission can be improved.
Description
Technical Field
The present disclosure relates to the field of mobile communications technologies, and in particular, to a communication message transmission method, a communication message transmission apparatus, a communication server, and a computer storage medium.
Background
With the popularization of mobile terminals and more mobile internet users, instant messaging applications have become a main communication tool. In order to meet the real-time communication requirements of a large number of users, the instant messaging system in the related art keeps long connection through the client and the server so that the communication messages are instantly reachable. However, maintaining a long connection between the client and the server requires a heartbeat to be periodically maintained, which causes additional consumption of traffic and power, and reduces the standby time of the terminal. With the upgrade of a terminal system, manufacturers often limit the application to background operation and networking in order to prolong the battery service time and reduce the memory consumption, so that the application cannot establish long connection with a server, communication messages are not received timely, and the reliability is greatly reduced.
Therefore, how to improve the timeliness of the communication message transmission is a technical problem that needs to be solved by those skilled in the art.
Disclosure of Invention
An object of the present disclosure is to provide a communication message transmission method, a communication message transmission apparatus, a communication server, and a computer storage medium, which can improve the timeliness of communication message transmission.
To solve the above technical problem, the present disclosure provides a communication message transmission method, including:
determining a message receiving end according to the received communication message;
determining the connection state of the message receiving end and a communication server;
if the connection state of the message receiving terminal and the communication server is an online state, the communication message is sent to the message receiving terminal;
and if the connection state of the message receiving end and the communication server is an off-line state, sending the communication message to a terminal manufacturer push server corresponding to the message receiving end so that the terminal manufacturer push server can push the communication message to the message receiving end.
Optionally, the sending the communication message to a terminal manufacturer push server corresponding to the message receiving end includes:
determining the equipment identification of the message receiving end;
and sending the communication message to a terminal manufacturer push server corresponding to the equipment identifier.
Optionally, determining the device identifier of the message receiving end includes:
and determining the equipment identification of the message receiving end according to the historical login information recorded by the communication server.
Optionally, after sending the communication message to the message receiving end, the method further includes:
judging whether the confirmation information returned by the message receiving end is received within the preset time;
and if the confirmation information returned by the message receiving end is not received within the preset time, sending the communication message to a terminal manufacturer push server corresponding to the message receiving end, so that the terminal manufacturer push server pushes the communication message to the message receiving end.
Optionally, after sending the communication message to the message receiving end, the method further includes:
judging whether the confirmation information returned by the message receiving end is received within the preset time;
if the confirmation information returned by the message receiving terminal is not received within the preset time, the communication message is marked as a non-sent message, and the communication message is sent again to the message receiving terminal after the heartbeat signal sent by the message receiving terminal is detected.
Optionally, the method further comprises:
and returning the state information corresponding to the connection state of the message receiving end and the communication server to the message sending end which sends the communication message.
Optionally, before determining the connection status between the message receiving end and the messaging server, the method further includes:
updating a terminal connection state table according to the received heartbeat signal; the terminal connection state table comprises a corresponding relation between a terminal identifier and a connection state;
correspondingly, determining the connection state of the message receiving end and the communication server comprises the following steps:
and determining the connection state of the message receiving end and the communication server by inquiring the terminal connection state table.
The present disclosure also provides a communication message transmission apparatus, including:
the message receiving end determining module is used for determining a message receiving end according to the received communication message;
the connection state determining module is used for determining the connection state of the message receiving end and the communication server;
the first transmission module is used for sending the communication message to a message receiving end if the connection state of the message receiving end and the communication server is an online state;
and the second transmission module is used for sending the communication message to a terminal manufacturer push server corresponding to the message receiving end if the connection state of the message receiving end and the communication server is an off-line state, so that the terminal manufacturer push server can push the communication message to the message receiving end.
The present disclosure also provides a computer storage medium having a computer program stored thereon, which when executed, implements the steps performed by the above communication message transmission method.
The present disclosure also provides a communication server, which includes a memory and a processor, wherein the memory stores a computer program, and the processor realizes the steps executed by the communication message transmission method when calling the computer program in the memory.
Through the technical scheme, after the communication message which needs to be forwarded to the message receiving end is received, the connection state of the message receiving end and the communication server is determined. If the connection state is the online state, directly sending a communication message to a message sending end; if the connection state is the off-line state, the communication message is forwarded to the message receiving end through the terminal manufacturer push server. Because the communication application between the terminal manufacturer push server and the message receiving end is a system-level application, the message pushing of the terminal manufacturer push server cannot be influenced by the operation that the message receiving end closes the background application when the power consumption is reduced. Therefore, no matter whether the message receiving end establishes communication connection with the communication server or not, the scheme can realize timely sending of the communication message and improve the timeliness of communication message transmission. The present disclosure also provides a communication message transmission device, a computer storage medium and a communication server, which have the above beneficial effects and are not described herein again.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows.
Drawings
The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description serve to explain the disclosure without limiting the disclosure. In the drawings:
fig. 1 is a flowchart of a communication message transmission method according to an embodiment of the disclosure;
fig. 2 is a flowchart of another communication message transmission method according to an embodiment of the disclosure;
fig. 3 is a schematic structural diagram of an instant messaging system according to an embodiment of the present disclosure;
fig. 4 is a schematic diagram illustrating a communication message transmission principle of an instant messaging system according to an embodiment of the present disclosure;
fig. 5 is a schematic diagram illustrating a communication message transmission principle of another instant messaging system according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of a communication message transmission apparatus according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the disclosure.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present disclosure more clear, the technical solutions of the embodiments of the present disclosure will be described clearly and completely with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are some, but not all embodiments of the present disclosure. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
Referring to fig. 1, fig. 1 is a flowchart of a communication message transmission method according to an embodiment of the disclosure.
The specific steps may include:
s101: determining a message receiving end according to the received communication message;
the present embodiment may be applied to a communication server, where the communication server may be a server for communication applications, and each communication application may have a corresponding communication server. For example, both the terminal a and the terminal B are installed with the communication application c, when the terminal a sends the communication message to the terminal B, the communication message is sent to the communication server of the communication application c, and then the communication server sends the communication message to the terminal B. Before this step, there may also be an operation of sending a communication message to the communication server by the message sending end, and after the communication server receives the communication message, it may determine a terminal to which the communication message needs to be sent, that is, a message receiving end.
After receiving the communication message, the communication message may be analyzed to obtain a communication content and a message receiving end, where the communication content is an information content sent by a message sending end, and the communication object is a terminal to which the communication sending terminal needs to send the communication content. It can be understood that the transmission of the communication message appears as information transmission between users of the communication application at the communication application level, and the users of the communication application run the communication application through the terminal, so the transmission of the communication message appears as information transmission between the message sending end and the message receiving end at the hardware level.
S102: determining the connection state of a message receiving end and a communication server;
after determining the message receiving end to which the communication message needs to be sent, the embodiment selects a corresponding message sending mode according to the connection state of the message receiving end. The connection state between the message receiving end and the communication server may include an online state and an offline state, and specifically, the connection state when the message receiving end and the communication server are connected (including short connection and long connection) is the online state, and the connection state when the message receiving end and the communication server are disconnected is the offline state.
In this embodiment, the connection status between the communication server and each terminal may be pre-recorded, and after the message receiving end is determined, the connection status between the message receiving end and the communication server may be determined according to the pre-recorded connection status between the communication server and each terminal. In this embodiment, the status information corresponding to the connection status between the message receiving end and the communication server may also be returned to the message sending end that sent the communication message.
S103: if the connection state of the message receiving terminal and the communication server is an online state, the communication message is sent to the message receiving terminal;
the step is established on the basis that the connection state of the message receiving end and the communication server is an online state, the communication application of the message receiving end is in operation, and the message receiving end is connected with the communication server at the moment and can send the communication message to the message receiving end.
S104: and if the connection state of the message receiving end and the communication server is an off-line state, sending the communication message to a terminal manufacturer push server corresponding to the message receiving end so that the terminal manufacturer push server can push the communication message to the message receiving end.
The method comprises the following steps that the step is established on the basis that the connection state of a message receiving end and a communication server is an off-line state, if the communication message is directly sent to the message receiving end, the message receiving end cannot receive the communication message in time, the communication message can be received only after the message receiving end runs a communication application next time and establishes connection with the communication server, and the timeliness of the communication message is poor. The implementation method can solve the problem that the message cannot be instantly reachable because the communication application cannot run in the background or cannot be networked in the background.
Through the technical scheme, after the communication message which needs to be forwarded to the message receiving end is received, the connection state of the message receiving end and the communication server is determined. If the connection state is the online state, directly sending a communication message to a message sending end; if the connection state is the off-line state, the communication message is forwarded to the message receiving end through the terminal manufacturer push server. Because the communication application between the terminal manufacturer push server and the message receiving end is a system-level application, the message pushing of the terminal manufacturer push server cannot be influenced by the operation that the message receiving end closes the background application when the power consumption is reduced. Therefore, in the embodiment, no matter whether the message receiving end establishes communication connection with the communication server or not, the communication message can be sent in time, and the timeliness of communication message transmission can be improved.
As a further introduction to the corresponding embodiment of fig. 1, the process of sending the communication message to the terminal manufacturer push server may include: and determining the equipment identification of the message receiving end, and sending the communication message to a terminal manufacturer push server corresponding to the equipment identification.
It can be understood that each message receiving end produced by the terminal manufacturer has a corresponding terminal manufacturer push server, and the above embodiment determines the device identifier of the message receiving end first, and determines the terminal manufacturer push server capable of pushing messages to the message receiving end according to the device identifier. Further, in the above embodiment, the method for determining the device identifier of the message receiving end may be: and determining the equipment identification of the message receiving end according to the historical login information recorded by the communication server. Specifically, the target receiving user identifier may be determined according to the communication message, the device identifier of the terminal used when the target receiving user identifier logs in last time is queried according to the historical login information recorded in the communication server, and the target terminal device identifier is used as the device identifier of the message receiving end. In the embodiment, the message can be pushed through a channel pushed by a terminal manufacturer, so that the problem that the application software cannot normally receive the message due to system process recovery or the fact that a background does not allow a connection network is solved, and the problems of power consumption caused by long-time running of the application and flow consumption caused by long-time connection between the communication application and the server can be reduced.
Referring to fig. 2, fig. 2 is a flowchart of another communication message transmission method according to an embodiment of the present disclosure, which is a further description of the embodiment of fig. 1 after S103 sends the communication message to the message receiving end, and specific steps may include:
s201: judging whether the confirmation information returned by the message receiving end is received within the preset time; if not, the step S202 is entered; if yes, entering S203;
s202: and sending the communication message to a terminal manufacturer push server corresponding to the message receiving end so that the terminal manufacturer push server can push the communication message to the message receiving end.
S203: and returning the prompt information sent by the message to the message sending terminal.
After receiving the communication message, the message receiving end may return an acknowledgement (i.e., acknowledgement character). If the confirmation information returned by the message receiving end is not received within the preset time, which indicates that the situation that the connection state of the message receiving end is not updated timely may exist, the communication message can be sent to the terminal manufacturer push server again, so that the communication message is pushed by the terminal manufacturer server.
As another possible implementation manner, in this embodiment, when the acknowledgment information returned by the message receiving end is not received within the preset time, the communication message may be marked as an unsent message, and the communication message may be sent again to the message receiving end after the heartbeat signal sent by the message receiving end is detected. The message receiving end can temporarily disconnect the network connection under certain conditions (such as entering an elevator and taking a subway), so that the communication message can be transmitted temporarily in the above mode, and the communication message can be transmitted to the message receiving end again in time after the message receiving end is connected to the network.
As a further introduction to the corresponding embodiment of fig. 1, before determining the connection state between the message receiving end and the communication server in S102, the terminal connection state table may also be updated according to the received heartbeat signal; the terminal connection state table comprises a corresponding relation between a terminal identifier and a connection state, and the heartbeat signal is a signal sent by a message receiving end. Correspondingly, the embodiment corresponding to fig. 1 may also determine the connection state between the message receiving end and the communication server by querying the terminal connection state table.
Referring to fig. 3, fig. 3 is a schematic structural diagram of an instant messaging system according to an embodiment of the present disclosure, where the instant messaging system includes a communication client, a communication server, and a terminal manufacturer push server. Specifically, the communication clients classified by the operation carrier may include a PC client, an iOS client, and an android client. The communication client may include a message sender and a message receiver.
The communication server can record the connection state (such as an online state and an offline state) of each communication client, the communication server can judge the connection state of the message receiving end firstly when forwarding the message, if the connection state is the online state, the communication server can directly send the communication message to the message receiving end, and if the connection state is the offline state, the communication server can select a corresponding terminal manufacturer push server to push the communication message according to the equipment model or the equipment identification of the message receiving end. The terminal vendor Push server may include an APNS (Apple Push Notification Service) server and an MPNS (Microsoft Push Notification Service) server.
Referring to fig. 4 and 5, fig. 4 is a schematic diagram illustrating a communication message transmission principle of an instant messaging system according to an embodiment of the present disclosure, and fig. 5 is a schematic diagram illustrating a communication message transmission principle of another instant messaging system according to an embodiment of the present disclosure.
As shown in fig. 4, if the message receiver is in the online state, the process of transmitting the communication message is as follows: the message sending end sends the communication message to the instant communication server, if the communication server judges that the message receiving end is in an online state, the communication server directly sends the communication message to the message receiving end, and the message receiving end can display the communication message on a human-computer interaction interface.
As shown in fig. 5, if the message receiver is in the offline state, the process of transmitting the communication message is as follows: the message sending end sends the communication message to the communication server, if the communication server judges that the message receiving end is in an off-line state, the communication server pushes the communication message to a pushing server for a terminal manufacturer according to the type of terminal equipment, the terminal manufacturer server pushes the message to the message receiving end through a self-contained channel, and the message receiving end can display the communication message on a man-machine interaction interface.
In this embodiment, the connection state of the communication client is recorded, when the communication server forwards the message, the online state of the client is first determined, if the client is online, the message is directly sent, and if the client is offline, a corresponding terminal manufacturer push server is selected according to the type of the terminal of the communication client to send the communication message. The instant message can be pushed and received by the terminal manufacturer under the condition that the communication application is recycled by the system or is not allowed to be connected with the network in the background. The communication application of the communication client does not need to be constantly connected with the server for a long time, so that the flow consumption is reduced, and the communication application of the communication client does not need to be constantly operated in a background so that the electric quantity consumption is reduced.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a communication message transmission device according to an embodiment of the present disclosure;
the system may include:
a message receiving end determining module 100, configured to determine a message receiving end according to the received communication message;
a connection status determining module 200, configured to determine a connection status between the message receiving end and the communication server;
a first transmission module 300, configured to send the communication message to a message receiving end if a connection state between the message receiving end and the communication server is an online state;
a second transmission module 400, configured to send the communication message to a terminal manufacturer push server corresponding to the message receiving end if the connection state between the message receiving end and the communication server is an offline state, so that the terminal manufacturer push server pushes the communication message to the message receiving end.
Through the technical scheme, after the communication message which needs to be forwarded to the message receiving end is received, the connection state of the message receiving end and the communication server is determined. If the connection state is the online state, directly sending a communication message to a message sending end; if the connection state is the off-line state, the communication message is forwarded to the message receiving end through the terminal manufacturer push server. Because the communication application between the terminal manufacturer push server and the message receiving end is a system-level application, the message pushing of the terminal manufacturer push server cannot be influenced by the operation that the message receiving end closes the background application when the power consumption is reduced. Therefore, in the embodiment, no matter whether the message receiving end establishes communication connection with the communication server or not, the communication message can be sent in time, and the timeliness of communication message transmission can be improved.
Further, the second transmission module 400 includes:
an identifier determining unit, configured to determine an equipment identifier of the message receiving end;
and the information sending unit is used for sending the communication message to a terminal manufacturer push server corresponding to the equipment identifier.
Further, the identifier determining unit is specifically a unit configured to determine the device identifier of the message receiving end according to the historical login information recorded by the communication server.
Further, the method also comprises the following steps:
the first judgment module is used for judging whether the confirmation information returned by the message receiving end is received within the preset time after the communication message is sent to the message receiving end;
the second transmission module 400 is further configured to send the communication message to a terminal manufacturer push server corresponding to the message receiving end if the confirmation information returned by the message receiving end is not received within the preset time, so that the terminal manufacturer push server pushes the communication message to the message receiving end;
or, the second transmission module 400 is further configured to mark the communication message as a non-sent message if the confirmation information returned by the message receiving end is not received within the preset time, and send the communication message again to the message receiving end after detecting the heartbeat signal sent by the message receiving end.
Further, the method also comprises the following steps:
and the state feedback module is used for returning the state information corresponding to the connection state of the message receiving end and the communication server to the message sending end for sending the communication message.
Further, the method also comprises the following steps:
the connection state maintenance module is used for updating a terminal connection state table according to the received heartbeat signal; the terminal connection state table comprises a corresponding relation between a terminal identifier and a connection state;
correspondingly, the connection status determining module 200 is specifically a module for determining the connection status between the message receiving end and the communication server by querying the terminal connection status table.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the disclosure. For example, the electronic device 700 may be provided as a server. Referring to fig. 7, an electronic device 700 includes a processor 722, which may be one or more in number, and a memory 732 for storing computer programs that are executable by the processor 722. The computer programs stored in memory 732 may include one or more modules that each correspond to a set of instructions. Further, the processor 722 may be configured to execute the computer program to perform the communication message transmission method described above.
Additionally, the electronic device 700 may also include a power component 726 that may be configured to perform power management of the electronic device 700 and a communication component 750 that may be configured to enable communication, e.g., wired or wireless communication, of the electronic device 700. The electronic device 700 may also include input/output (I/O) interfaces 758. The electronic device 700 may operate based on an operating system stored in memory 732, such as Windows Server, Mac OS XTM, UnixTM, Linux, and the like.
In another exemplary embodiment, there is also provided a computer readable storage medium including program instructions which, when executed by a processor, implement the steps of the above-described communication message transmission method. For example, the computer readable storage medium may be the memory 732 described above that includes program instructions that are executable by the processor 722 of the electronic device 700 to perform the communication message transmission method described above.
The preferred embodiments of the present disclosure are described in detail with reference to the accompanying drawings, but the present disclosure is not limited to the specific details of the above embodiments, and various simple modifications may be made to the technical solution of the present disclosure within the technical idea of the present disclosure, and these simple modifications all belong to the protection scope of the present disclosure. It should be noted that, in the foregoing embodiments, various features described in the above embodiments may be combined in any suitable manner, and in order to avoid unnecessary repetition, various combinations that are possible in the present disclosure are not described again.
In addition, any combination of various embodiments of the present disclosure may be made, and the same should be considered as the disclosure of the present disclosure, as long as it does not depart from the spirit of the present disclosure.
Claims (10)
1. A method for communicating message transmissions, comprising:
determining a message receiving end according to the received communication message;
determining the connection state of the message receiving end and a communication server;
if the connection state of the message receiving terminal and the communication server is an online state, the communication message is sent to the message receiving terminal;
and if the connection state of the message receiving end and the communication server is an off-line state, sending the communication message to a terminal manufacturer push server corresponding to the message receiving end so that the terminal manufacturer push server can push the communication message to the message receiving end.
2. The communication message transmission method according to claim 1, wherein sending the communication message to a terminal manufacturer push server corresponding to the message receiving end comprises:
determining the equipment identification of the message receiving end;
and sending the communication message to a terminal manufacturer push server corresponding to the equipment identifier.
3. The method of claim 2, wherein determining the device id of the message receiver comprises:
and determining the equipment identification of the message receiving end according to the historical login information recorded by the communication server.
4. The method according to claim 1, further comprising, after sending the communication message to the message receiver:
judging whether the confirmation information returned by the message receiving end is received within the preset time;
and if the confirmation information returned by the message receiving end is not received within the preset time, sending the communication message to a terminal manufacturer push server corresponding to the message receiving end, so that the terminal manufacturer push server pushes the communication message to the message receiving end.
5. The method according to claim 1, further comprising, after sending the communication message to the message receiver:
judging whether the confirmation information returned by the message receiving end is received within the preset time;
if the confirmation information returned by the message receiving terminal is not received within the preset time, the communication message is marked as a non-sent message, and the communication message is sent again to the message receiving terminal after the heartbeat signal sent by the message receiving terminal is detected.
6. The method for transmitting a communication message according to claim 1, further comprising:
and returning the state information corresponding to the connection state of the message receiving end and the communication server to the message sending end which sends the communication message.
7. The communication message transmission method according to any one of claims 1 to 6, further comprising, before determining the connection status of the message receiving end and the communication server:
updating a terminal connection state table according to the received heartbeat signal; the terminal connection state table comprises a corresponding relation between a terminal identifier and a connection state;
correspondingly, determining the connection state of the message receiving end and the communication server comprises the following steps:
and determining the connection state of the message receiving end and the communication server by inquiring the terminal connection state table.
8. A communication message transmission apparatus, comprising:
the message receiving end determining module is used for determining a message receiving end according to the received communication message;
the connection state determining module is used for determining the connection state of the message receiving end and the communication server;
the first transmission module is used for sending the communication message to a message receiving end if the connection state of the message receiving end and the communication server is an online state;
and the second transmission module is used for sending the communication message to a terminal manufacturer push server corresponding to the message receiving end if the connection state of the message receiving end and the communication server is an off-line state, so that the terminal manufacturer push server can push the communication message to the message receiving end.
9. A communication server, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the communication message transmission method according to any one of claims 1 to 7 when calling the computer program in the memory.
10. A computer storage medium having computer-executable instructions stored thereon that, when loaded and executed by a processor, perform the steps of the communication message transmission method as recited in any of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110372214.1A CN113114558A (en) | 2021-04-07 | 2021-04-07 | Communication message transmission method, device, communication server and computer storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110372214.1A CN113114558A (en) | 2021-04-07 | 2021-04-07 | Communication message transmission method, device, communication server and computer storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113114558A true CN113114558A (en) | 2021-07-13 |
Family
ID=76714298
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110372214.1A Pending CN113114558A (en) | 2021-04-07 | 2021-04-07 | Communication message transmission method, device, communication server and computer storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113114558A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114157624A (en) * | 2021-11-25 | 2022-03-08 | 上海浦东发展银行股份有限公司 | Link connection method, device, equipment and storage medium for instant messaging |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102685070A (en) * | 2011-03-10 | 2012-09-19 | 阿里巴巴集团控股有限公司 | Data transmission method and data transmission device |
CN105007254A (en) * | 2014-04-17 | 2015-10-28 | 腾讯科技(深圳)有限公司 | Data transmission method and system, and terminal |
CN108600085A (en) * | 2018-04-04 | 2018-09-28 | 腾讯科技(深圳)有限公司 | Message is sent and output method, device, server, terminal and storage medium |
CN109218181A (en) * | 2018-10-30 | 2019-01-15 | 北京大米科技有限公司 | A kind of method, apparatus and electronic equipment of data transmission |
CN110913000A (en) * | 2019-11-27 | 2020-03-24 | 浙江华诺康科技有限公司 | Method, system and computer readable storage medium for processing service information |
CN111093159A (en) * | 2019-12-23 | 2020-05-01 | 北京奇艺世纪科技有限公司 | Message pushing method and device, server and computer readable storage medium |
CN112492020A (en) * | 2020-11-24 | 2021-03-12 | 杭州萤石软件有限公司 | Message pushing method, system, device and storage medium |
-
2021
- 2021-04-07 CN CN202110372214.1A patent/CN113114558A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102685070A (en) * | 2011-03-10 | 2012-09-19 | 阿里巴巴集团控股有限公司 | Data transmission method and data transmission device |
CN105007254A (en) * | 2014-04-17 | 2015-10-28 | 腾讯科技(深圳)有限公司 | Data transmission method and system, and terminal |
CN108600085A (en) * | 2018-04-04 | 2018-09-28 | 腾讯科技(深圳)有限公司 | Message is sent and output method, device, server, terminal and storage medium |
CN109218181A (en) * | 2018-10-30 | 2019-01-15 | 北京大米科技有限公司 | A kind of method, apparatus and electronic equipment of data transmission |
CN110913000A (en) * | 2019-11-27 | 2020-03-24 | 浙江华诺康科技有限公司 | Method, system and computer readable storage medium for processing service information |
CN111093159A (en) * | 2019-12-23 | 2020-05-01 | 北京奇艺世纪科技有限公司 | Message pushing method and device, server and computer readable storage medium |
CN112492020A (en) * | 2020-11-24 | 2021-03-12 | 杭州萤石软件有限公司 | Message pushing method, system, device and storage medium |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114157624A (en) * | 2021-11-25 | 2022-03-08 | 上海浦东发展银行股份有限公司 | Link connection method, device, equipment and storage medium for instant messaging |
CN114157624B (en) * | 2021-11-25 | 2023-10-24 | 上海浦东发展银行股份有限公司 | Link connection method, device and equipment for instant messaging and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102143444B (en) | Method, relevant equipment and system for pushing service delivery platform message | |
EP2775743B1 (en) | Communication processing method and device, and terminal | |
EP2713641A1 (en) | Method for receiving data, method for transmitting data, mobile terminal, and server | |
EP2536100A1 (en) | Method and system for managing terminal states or terminal events in machine-to-machine or machine-to-man or man-to-machine (m2m) service | |
KR20070001128A (en) | Automatic user device presence registration system | |
CN102271097A (en) | Method for integrally sending message containing online instant message and offline short message | |
US20090068989A1 (en) | Method for exchanging requests between the computer application of a mobile terminal and an instantaneous messaging server | |
CN103685570A (en) | Server, terminal and message pushing method | |
CN113038090B (en) | Transmission link management method and system | |
CN102209039A (en) | Method and equipment for transmitting file | |
US8391307B2 (en) | Method for handling communications over a non-permanent communication link | |
CN113114558A (en) | Communication message transmission method, device, communication server and computer storage medium | |
US20120179763A1 (en) | Session-based short message service management | |
CN113259874B (en) | Message processing method, electronic device and storage medium | |
KR20090006120A (en) | Method and system for transmitting an instantaneous message to a terminal | |
KR100495369B1 (en) | Multimedia Messaging Service Method, Multimedia Messaging System and Multimedia Wireless Communication Terminal Equipment | |
CN101742422A (en) | Method and device of mobile instant messaging | |
CN100466635C (en) | Method and apparatus for transmitting message | |
EP2203025A1 (en) | Method for transmitting sms and sms platform | |
CN103873594A (en) | Service switching method and system | |
CN112995674B (en) | Media information transmission method, system and storage medium | |
KR20090070022A (en) | A system for and a method of providing instant messanger services, an apparatus for and a method of controlling connection of a server and terminal units in the system, and computer-readable media in which programs for executing the methods are recorded | |
CN105207795A (en) | IOT communication method and device | |
KR101979588B1 (en) | Method, System and Apparatus for Controlling Session | |
CN108173910B (en) | Method and system for managing application |
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: 20210713 |