CN112839106A - Communication method and apparatus, electronic device, and medium - Google Patents

Communication method and apparatus, electronic device, and medium Download PDF

Info

Publication number
CN112839106A
CN112839106A CN202110215250.7A CN202110215250A CN112839106A CN 112839106 A CN112839106 A CN 112839106A CN 202110215250 A CN202110215250 A CN 202110215250A CN 112839106 A CN112839106 A CN 112839106A
Authority
CN
China
Prior art keywords
client
server
time interval
communication
communication channel
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110215250.7A
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.)
Beijing North Source Software Co ltd
Beijing VRV Software Corp Ltd
Original Assignee
Beijing North Source Software Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing North Source Software Co ltd filed Critical Beijing North Source Software Co ltd
Priority to CN202110215250.7A priority Critical patent/CN112839106A/en
Publication of CN112839106A publication Critical patent/CN112839106A/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/14Session management
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • 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/535Tracking the activity of the user
    • 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

Abstract

The invention provides a communication method and device, electronic equipment and a medium, wherein a communication channel between a client and a server is established after the communication channel is started by setting a middleware; the client sends a heartbeat message to the server through the communication channel; and the server pushes data to the client through the communication channel after receiving the heartbeat message, so that the reliability is high and the optimized use is easy.

Description

Communication method and apparatus, electronic device, and medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a communication method and apparatus, an electronic device, and a medium.
Background
At present, some instant messaging software which is made into a C/S (client/server) framework pays more and more attention to the realization of middleware before a client and a server, especially a network channel, most of traditional network channels adopt TCP and UDP protocols for transmission, and the problems of reliability, long connection, short connection and transmission efficiency exist.
Therefore, how to provide a communication scheme with high reliability and easy optimized use is a technical problem to be solved urgently by those skilled in the art.
Disclosure of Invention
The invention provides a communication method and device, electronic equipment and a medium, which have high reliability and are easy to optimize and use.
In a first aspect, the present invention provides a communication method, including:
the middleware establishes a communication channel between the client and the server after being started;
the client sends a heartbeat message to the server through the communication channel;
and the server pushes data to the client through the communication channel after receiving the heartbeat message.
Further, still include:
the middleware judges the current network state based on abnormal network conditions and the heartbeat information;
if the current network state is determined to be normal, first information of the normal current network state is sent to the client and the server;
and the server pushes data to the client after receiving the first information.
Further, after the middleware determines the current network state based on the abnormal network condition and the heartbeat information, the method further includes:
and if the current network state is determined to be abnormal, starting an overtime state machine to repair the network until the preset repair times are reached.
Further, the timeout state machine includes at least one of the following states: a preparation period, a detection period and a stabilization period;
when the current detection time is greater than the maximum time interval maxHbtime, the detection time is the maximum time interval;
when the current detection time is greater than the maximum time interval maxHbtime, the detection time is the maximum time interval;
when the current detection time is less than the minimum time interval minHbtime, the detection time is the minimum time interval;
when the current detection time is less than the minimum time interval minHbtime, the detection time is the minimum time interval;
wherein A, B, M and N are both positive integers.
Further, the determining, by the middleware, a current network state based on the abnormal network condition and the heartbeat information includes:
if the receiving time interval of the two adjacent heartbeat information exceeds the preset time interval, determining that the current network state is abnormal;
if the receiving time interval of the two adjacent heartbeat information exceeds the preset time interval, determining that the current network state is normal;
and if the heartbeat signal is received after the preset time is exceeded, determining that the current network state is abnormal.
Further, still include:
and after the network is repaired by entering an overtime state machine mechanism and reaching the preset repairing times, the middleware discards the original communication channel and reestablishes a new communication channel.
Further, the data pushing performed by the server to the client through the communication channel after the heartbeat message is received by the server includes:
after receiving the heartbeat message, the server pushes the message to be pushed to a channel thread of a communication channel through a channel;
the channel thread distributes service to a corresponding client interface through a TDispatch processor of the triple;
and transmitting the data to a client callback function in the interface so as to realize data push from the server to the client.
In a second aspect, the present invention provides a communication apparatus, comprising:
the middleware is used for establishing a communication channel between the client and the server after starting;
the client is used for sending heartbeat messages to the server through the communication channel;
and the server is used for pushing data to the client through the communication channel after receiving the heartbeat message.
In a third aspect, the present invention further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the communication method according to any one of the above-mentioned embodiments.
In a fourth aspect, the present invention also provides a non-transitory computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the communication method as described in any of the above.
The invention provides a communication method and device, electronic equipment and a medium.A communication channel between a client and a server is established after the communication method and device, the electronic equipment and the medium are started by setting a middleware; the client sends a heartbeat message to the server through the communication channel; and the server pushes data to the client through the communication channel after receiving the heartbeat message, so that the reliability is high and the optimized use is easy.
Drawings
In order to more clearly illustrate the technical solutions of the present invention or the prior art, the drawings needed for the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
Fig. 1 is a flowchart of a communication method according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a timeout state machine of a communication method according to an embodiment of the present invention;
fig. 3 is a flowchart of a communication method according to an embodiment of the present invention;
fig. 4 is a flow chart to three of a communication method according to an embodiment of the present invention;
fig. 5 is a flowchart of a TDispatchProcessor distribution mechanism of a communication method according to an embodiment of the present invention;
fig. 6 is a schematic diagram illustrating client-side and server-side interaction of a communication method according to another embodiment of the present invention;
fig. 7 is a flowchart illustrating client-side and server-side interaction of a communication method according to another embodiment of the present invention;
fig. 8 is a schematic structural diagram of a communication device according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of an electronic device provided in the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The communication method of the present invention is described below in conjunction with fig. 1-5.
Fig. 1 is a flowchart of a communication method according to an embodiment of the present invention; fig. 2 is a schematic diagram of a timeout state machine of a communication method according to an embodiment of the present invention; fig. 3 is a flowchart of a communication method according to an embodiment of the present invention; fig. 4 is a flow chart to three of a communication method according to an embodiment of the present invention; fig. 5 is a flowchart of a TDispatchProcessor distribution mechanism of a communication method according to an embodiment of the present invention.
In a specific implementation manner of the present invention, an embodiment of the present invention provides a communication method, including:
step 110: the middleware establishes a communication channel between the client and the server after being started;
in the embodiment of the invention, a client needs to log in a middleware firstly, the middleware starts to establish a communication channel after being started, initializes a thrift protocol, initializes a heartbeat object, namely a server, sets timeout time and the like, namely automatically starts the channel, realizes interconnection and intercommunication of the client and the server, and needs to set some parameters, such as calculating an initial heartbeat interval according to a heartbeat message sent by the client, and sets receiving timeout by using historical failure times or failure times input by a user.
Step 120: the client sends a heartbeat message to the server through the communication channel;
after the initialization of the communication channel is completed, the client starts to send heartbeat messages at preset time intervals in a circulating mode, at the moment, the middleware can judge whether the client and the server are in normal communication or not, specifically, according to whether the heartbeat messages are continuous or not, if intermittent heartbeat signals exist, the communication connection between the client and the server is in a weak network state, if the server cannot receive the heartbeat signals, the communication connection is in an off-network state, and if the heartbeat signals are continuous, the time intervals of adjacent heartbeat signals are uniform and accord with the preset time intervals, the communication connection between the client and the server is healthy.
Step 130: and the server pushes data to the client through the communication channel after receiving the heartbeat message.
After the server receives the heartbeat message, the message to be pushed is pushed to the channel thread through the channel, the channel thread distributes service through a triple TDispatch processor, distributes the service to a corresponding client interface, and transmits data to a client callback function in the interface, so as to realize data pushing from the server to the client, for example: adding friends at the client, inviting to a group, and sending news messages and the like by the server.
Specifically, in practice, the middleware may determine a current network state based on an abnormal network condition and the heartbeat information; if the current network state is determined to be normal, first information of the normal current network state is sent to the client and the server; and the server pushes data to the client after receiving the first information. In practice, of course, there may be a situation that the network condition is not good, and at this time, if it is determined that the current network state is abnormal, a timeout state machine is started to perform network repair until the preset number of repair times is reached.
Specifically, as shown in fig. 2, the timeout state machine includes at least one of the following states: a preparation period, a detection period and a stabilization period; when the current detection time is greater than the maximum time interval maxHbtime, the detection time is the maximum time interval; when the current detection time is greater than the maximum time interval maxHbtime, the detection time is the maximum time interval; when the current detection time is less than the minimum time interval minHbtime, the detection time is the minimum time interval; when the current detection time is less than the minimum time interval minHbtime, the detection time is the minimum time interval; wherein A, B, M and N are both positive integers.
Further, in order to realize that the middleware judges the current network state based on the abnormal network condition and the heartbeat information, the following judgment can be made:
step 210: if the receiving time interval of the two adjacent heartbeat information exceeds the preset time interval, determining that the current network state is abnormal;
step 220: if the receiving time interval of the two adjacent heartbeat information exceeds the preset time interval, determining that the current network state is normal;
step 230: and if the heartbeat signal is received after the preset time is exceeded, determining that the current network state is abnormal.
Specifically, according to whether the heartbeat messages are continuous, if an intermittent heartbeat signal exists, it indicates that the communication connection between the client and the server is in a weak network state, if the server cannot receive the heartbeat signal, it indicates that the communication connection is in an off-network state, and if the heartbeat signal is continuous, the time interval of adjacent heartbeat signals is uniform and meets the preset time interval, it indicates that the communication connection between the client and the server is relatively robust.
Certainly, in practice, when the client and the server cannot normally communicate or the communication is weak, a repairing mode may be used, but if the client and the server cannot normally communicate all the time, the communication channel may have a problem, so that after the network is repaired by entering the timeout state machine mechanism to reach the preset repairing times, the middleware discards the original communication channel and reestablishes a new communication channel.
On the basis of the foregoing embodiment, in this embodiment, in order for the server to perform data push to the client through the communication channel after receiving the heartbeat message, the following steps may be performed:
step 310: after receiving the heartbeat message, the server pushes the message to be pushed to a channel thread of a communication channel through a channel;
step 320: the channel thread distributes service to a corresponding client interface through a TDispatch processor of the triple;
step 330: and transmitting the data to a client callback function in the interface so as to realize data push from the server to the client.
As shown in fig. 5, after receiving a heartbeat message, a server pushes a message to be pushed to a channel thread through a channel, and the channel thread distributes a service to a corresponding client interface through a TDispatchProcessor of thrift, and transmits data to a client callback function in the interface, so as to realize data pushing from a server to a client, for example: adding friends at the client, inviting to a group, and sending news messages and the like by the server.
The embodiment of the invention provides the functions of repairing and exception handling under the condition of weak network or network failure, and meets the requirement of automatic repairing and handling of the client under the extreme conditions of weak network or network failure and the like. And an exception handling and overtime state machine mechanism is constructed, and repair and automatic reconnection are performed under the condition of weak network or network disconnection, so that a completely autonomous controllable channel system is realized, the requirements of an instant communication client are met, the client maintenance is not needed, the extreme conditions such as the weak network are self-adapted, and the automatic repair reconnection mechanism is provided.
Referring to fig. 6 and 7, fig. 6 is a schematic diagram illustrating interaction between a client and a server in a communication method according to another embodiment of the present invention; fig. 7 is a flowchart illustrating a client-side interaction and a server-side interaction of a communication method according to another embodiment of the present invention.
In this embodiment, a set of communication channels based on heartbeat messages is established from the client to the server in the instant messaging software, so as to implement real-time two-way communication between the client and the server and ensure that the client and the server maintain communication connection. After a channel in the instant messaging software is established, the client sends a heartbeat request to the server at regular time, and after receiving the request, the server pushes messages to be notified to the client one by one through the channel, so that the pushing function in the instant messaging is realized. And after receiving the push of the server, the thread to which the channel belongs calls a corresponding function interface to push the data to a callback function of the client by using a thrift technology according to the push content. Under the conditions of weak network or broken network, the channel technology realizes a set of exception handling mechanism, and the exception handling mechanism based on thrift is used for handling the exception occurring in the channel message transmission, processing and reporting to the client. When network transmission and other abnormalities occur, a timeout state machine mechanism exists, a preparation period, a stabilization period and a detection period exist, and according to whether the channel connection network is overtime or not, the channel connection network and the detection period are switched to detect the network state sensitively and perform corresponding processing in time. Once the client is disconnected with the server for a long time, the technology sets the timeout time after exception handling, and an automatic reconnection mechanism is realized after timeout, so that the channel is automatically restarted and the server is reconnected.
The communication method provided by the embodiment of the invention is applied to C/S interconnection communication. The method realizes a thread channel in the process of the network middleware, the channel uses the communication transmission technology based on the thrift protocol, and the communication channel with flexibility and high network sensitivity between the client and the server is realized by sending the heartbeat message of the null request to the server at fixed time, setting the timeout time, the time interval and other heartbeat factors. After the middleware is started, the channel is automatically started, interconnection and intercommunication between the client and the server are realized, the client sends heartbeat messages, after the server receives the heartbeat messages, the messages needing to be pushed are pushed to the channel thread through the channel, the channel thread distributes services through a triple TDispatch processor and distributes the services to corresponding client interfaces, data are transmitted to a client callback function in the interfaces, and data pushing from the server to the client is realized, for example: adding friends at the client, inviting to a group, and sending news messages and the like by the server. A set of channel method for communication between a client and a server is realized, and specifically:
1. and initializing a thrift message sending object in the channel thread, and circularly sending the heartbeat request system.
2. Once network abnormalities such as weak network or broken network exist in transmission or a thrift application layer calls the abnormalities, corresponding records are made and pushed to a client, and a timeout state machine mechanism is provided, wherein the timeout state machine mechanism comprises a preparation period, a detection period and a stabilization period, and switching is performed between the network state and the channel connection along with whether the network state and the channel connection are overtime or not.
3. Once the exception handling mechanism reports errors in continuous network exceptions, the automatic disconnection reconnection mechanism system is started to log in again after a certain number of times, a new channel is automatically opened, the original channel is discarded, and the server is reconnected.
In the communication method provided by the embodiment of the invention, the communication channel between the client and the server is established after the middleware is started; the client sends a heartbeat message to the server through the communication channel; and the server pushes data to the client through the communication channel after receiving the heartbeat message, so that the reliability is high and the optimized use is easy.
The following describes a communication apparatus provided by the present invention, and the communication apparatus described below and the communication method described above may be referred to correspondingly.
Referring to fig. 8, fig. 8 is a schematic structural diagram of a communication device according to an embodiment of the present invention.
In another embodiment of the present invention, an embodiment of the present invention provides a communication apparatus 800, including:
the middleware 810 is used for establishing a communication channel between the client and the server after starting;
a client 820, configured to send a heartbeat message to the server through the communication channel;
and the server 830 is configured to push data to the client through the communication channel after receiving the heartbeat message.
Fig. 9 illustrates a physical structure diagram of an electronic device, and as shown in fig. 9, the electronic device may include: a processor (processor)910, a communication Interface (Communications Interface)920, a memory (memory)930, and a communication bus 940, wherein the processor 910, the communication Interface 920, and the memory 930 communicate with each other via the communication bus 940. Processor 910 may invoke logic instructions in memory 930 to perform a communication method in any of the above embodiments, the method comprising: the middleware establishes a communication channel between the client and the server after being started; the client sends a heartbeat message to the server through the communication channel; and the server pushes data to the client through the communication channel after receiving the heartbeat message.
Furthermore, the logic instructions in the memory 930 may be implemented in software functional units and stored in a computer readable storage medium when the logic instructions are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform the method of communication in any of the above embodiments provided by the above methods, the method comprising: the middleware establishes a communication channel between the client and the server after being started; the client sends a heartbeat message to the server through the communication channel; and the server pushes data to the client through the communication channel after receiving the heartbeat message.
In yet another aspect, the present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, is implemented to perform the communication method in any of the above embodiments provided above, the method comprising: the middleware establishes a communication channel between the client and the server after being started; the client sends a heartbeat message to the server through the communication channel; and the server pushes data to the client through the communication channel after receiving the heartbeat message.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A method of communication, comprising:
the middleware establishes a communication channel between the client and the server after being started;
the client sends a heartbeat message to the server through the communication channel;
and the server pushes data to the client through the communication channel after receiving the heartbeat message.
2. The communication method according to claim 1, further comprising:
the middleware judges the current network state based on abnormal network conditions and the heartbeat information;
if the current network state is determined to be normal, first information of the normal current network state is sent to the client and the server;
and the server pushes data to the client after receiving the first information.
3. The communication method according to claim 2, wherein after the middleware judges a current network state based on an abnormal network condition and the heartbeat information, the method further comprises:
and if the current network state is determined to be abnormal, starting an overtime state machine to repair the network until the preset repair times are reached.
4. The communication method according to claim 3,
the timeout state machine includes at least one of: a preparation period, a detection period and a stabilization period;
when the current detection time is greater than the maximum time interval maxHbtime, the detection time is the maximum time interval;
when the current detection time is greater than the maximum time interval maxHbtime, the detection time is the maximum time interval;
when the current detection time is less than the minimum time interval minHbtime, the detection time is the minimum time interval;
when the current detection time is less than the minimum time interval minHbtime, the detection time is the minimum time interval;
wherein A, B, M and N are both positive integers.
5. The communication method according to claim 2,
the middleware judges the current network state based on the abnormal network condition and the heartbeat information includes:
if the receiving time interval of the two adjacent heartbeat information exceeds the preset time interval, determining that the current network state is abnormal;
if the receiving time interval of the two adjacent heartbeat information exceeds the preset time interval, determining that the current network state is normal;
and if the heartbeat signal is received after the preset time is exceeded, determining that the current network state is abnormal.
6. The communication method according to claim 2, further comprising:
and after the network is repaired by entering an overtime state machine mechanism and reaching the preset repairing times, the middleware discards the original communication channel and reestablishes a new communication channel.
7. The communication method according to any one of claims 1 to 6,
the data pushing of the server to the client through the communication channel after the heartbeat message is received by the server comprises the following steps:
after receiving the heartbeat message, the server pushes the message to be pushed to a channel thread of a communication channel through a channel;
the channel thread distributes service to a corresponding client interface through a TDispatch processor of the triple;
and transmitting the data to a client callback function in the interface so as to realize data push from the server to the client.
8. A communications apparatus, comprising:
the middleware is used for establishing a communication channel between the client and the server after starting;
the client is used for sending heartbeat messages to the server through the communication channel;
and the server is used for pushing data to the client through the communication channel after receiving the heartbeat message.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the communication method according to any of claims 1 to 7 are implemented when the processor executes the program.
10. A non-transitory computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the communication method according to any one of claims 1 to 7.
CN202110215250.7A 2021-02-25 2021-02-25 Communication method and apparatus, electronic device, and medium Pending CN112839106A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110215250.7A CN112839106A (en) 2021-02-25 2021-02-25 Communication method and apparatus, electronic device, and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110215250.7A CN112839106A (en) 2021-02-25 2021-02-25 Communication method and apparatus, electronic device, and medium

Publications (1)

Publication Number Publication Date
CN112839106A true CN112839106A (en) 2021-05-25

Family

ID=75933591

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110215250.7A Pending CN112839106A (en) 2021-02-25 2021-02-25 Communication method and apparatus, electronic device, and medium

Country Status (1)

Country Link
CN (1) CN112839106A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113993144A (en) * 2021-10-27 2022-01-28 营口天成消防设备有限公司 Heartbeat method based on TC wireless networking communication product
CN114492861A (en) * 2021-12-31 2022-05-13 北京航天测控技术有限公司 Test data acquisition and analysis method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102111419A (en) * 2011-03-07 2011-06-29 浙江大学 Message middleware-based client automatic reconnection method
CN103491512A (en) * 2012-06-12 2014-01-01 腾讯科技(深圳)有限公司 Implementation method and device for information pushing
US8959530B1 (en) * 2013-05-07 2015-02-17 Sprint Communications Company L.P. Messaging middleware processing thread count based events
CN106375148A (en) * 2016-08-30 2017-02-01 北京北信源软件股份有限公司 Dynamic network heartbeat processing method in instant communication and terminal
CN110611691A (en) * 2018-06-15 2019-12-24 中兴通讯股份有限公司 Message pushing method, system and storage medium
CN112291364A (en) * 2020-11-06 2021-01-29 腾讯科技(深圳)有限公司 Message pushing processing method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102111419A (en) * 2011-03-07 2011-06-29 浙江大学 Message middleware-based client automatic reconnection method
CN103491512A (en) * 2012-06-12 2014-01-01 腾讯科技(深圳)有限公司 Implementation method and device for information pushing
US8959530B1 (en) * 2013-05-07 2015-02-17 Sprint Communications Company L.P. Messaging middleware processing thread count based events
CN106375148A (en) * 2016-08-30 2017-02-01 北京北信源软件股份有限公司 Dynamic network heartbeat processing method in instant communication and terminal
CN110611691A (en) * 2018-06-15 2019-12-24 中兴通讯股份有限公司 Message pushing method, system and storage medium
CN112291364A (en) * 2020-11-06 2021-01-29 腾讯科技(深圳)有限公司 Message pushing processing method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113993144A (en) * 2021-10-27 2022-01-28 营口天成消防设备有限公司 Heartbeat method based on TC wireless networking communication product
CN114492861A (en) * 2021-12-31 2022-05-13 北京航天测控技术有限公司 Test data acquisition and analysis method

Similar Documents

Publication Publication Date Title
CN108616914B (en) Method and device for reconnection of broken line
CN112839106A (en) Communication method and apparatus, electronic device, and medium
CN102223381A (en) Message pushing method, server, client terminal and system
CN107508916B (en) Server link management method for intelligent robot
CN104883279A (en) Heartbeat message processing method, heartbeat message processing device and heartbeat message processing system
CN112422684A (en) Target message processing method and device, storage medium and electronic device
CN102882708A (en) Operation and maintenance auditing method, device and system
CN107317731A (en) A kind of detection method of client and server connection state
CN103516766A (en) Method and system of communication between client-side and application server
CN109302435B (en) Message publishing method, device, system, server and computer readable storage medium
WO2023229531A2 (en) Data transmission method and apparatus, terminal, and storage medium
CN103581131A (en) Method for processing automatic repeated logins in mobile environment
CN113301103B (en) Data processing system, method and device
CN113746725B (en) Gateway selection method and device in multi-gateway environment and storage medium
CN108259322B (en) Intercom instant access method and device
CN114640705A (en) Large-scale heartbeat monitoring method for internet of things terminal
CN113965495A (en) Method and device for detecting activity of terminal application program, electronic equipment and storage medium
CN110890989A (en) Channel connection method and device
CN116185912B (en) Industrial bus load balancing method, device, equipment and medium of ECAT coupler
CN114006936B (en) System operation information real-time acquisition method, server and client
CN115580555B (en) Distributed task cancellation method, device, system and electronic equipment
CN114979987B (en) Abnormal short message identification re-sending method and device, electronic equipment and storage medium
CN114257630B (en) Classroom real-time interaction method, system, terminal equipment and readable storage medium
CN114039881B (en) Communication connection monitoring method
CN112423325B (en) Multi-channel-based northbound interface communication 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: 20210525