CN105554150A - Network logging-in method and apparatus - Google Patents

Network logging-in method and apparatus Download PDF

Info

Publication number
CN105554150A
CN105554150A CN201511018715.0A CN201511018715A CN105554150A CN 105554150 A CN105554150 A CN 105554150A CN 201511018715 A CN201511018715 A CN 201511018715A CN 105554150 A CN105554150 A CN 105554150A
Authority
CN
China
Prior art keywords
server
tcp
described server
client
publish
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
CN201511018715.0A
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 Zed-3 Technology Co Ltd
Original Assignee
Beijing Zed-3 Technology 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 Zed-3 Technology Co Ltd filed Critical Beijing Zed-3 Technology Co Ltd
Priority to CN201511018715.0A priority Critical patent/CN105554150A/en
Publication of CN105554150A publication Critical patent/CN105554150A/en
Pending legal-status Critical Current

Links

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
    • H04L67/141Setup of application sessions
    • 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/143Termination or inactivation of sessions, e.g. event-controlled end of session
    • H04L67/145Termination or inactivation of sessions, e.g. event-controlled end of session avoiding end of session, e.g. keep-alive, heartbeats, resumption message or wake-up for inactive or interrupted session
    • 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/163In-band adaptation of TCP data exchange; In-band control procedures
    • 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
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer And Data Communications (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The present application provides a network logging-in method and apparatus. The method comprises: monitoring heartbeat information from a server; when the heartbeat information cannot be monitored, closing TCP (Transmission Control Protocol) connection with the server, and trying to carry out TCP connection with the server again; if connection with the server again is successful, sending a logging-out request to the server to execute a logging-out operation; and if the logging-out operation is successful, sending a logging-in request to the server. When a network is suddenly interrupted, the method does not require the server to notify a client to reconnect and log in, so that the pressure of the server is reduced, and on the basis of guaranteeing the client not to be forced to exit a program, the aim of automatically establishing connection for a client program and the server after the network or hardware is recovered is fulfilled.

Description

A kind of network entry method and device
Technical field
The application relates to network outage and reconnects technical field, particularly relates to a kind of network entry method and device.
Background technology
At routine use C/S (Client/Server; client/server) client of framework time; client dispatching desk monitor some routing servers send video data time, often can run into cause due to network or hardware device reason lose situation about being connected with server.
At present, can client be first forced to quit a program when running into network outage, after server end is checked through network disconnection, constantly send message by server and inform that client reconnects, after client network recovery, resolve this this message received and carry out reconnecting operation, the defect of this method is that server load is heavier, if client is too much or the same time loses connection, server needs constantly to send message to each terminal, and reception reconnects request.
Therefore, a kind of network entry method and device are provided, when network interrupts suddenly, client reconnects login not need server to notify, to alleviate the pressure of server, ensureing that on the basis that client is not forced to quit a program, realizing automatically connecting for client-side program and server after network or hardware recovery, is problem demanding prompt solution.
Summary of the invention
In view of this, this application provides a kind of network entry method and device, to ensure when network interrupts suddenly, client reconnects login not need server to notify, thus alleviate the pressure of server, ensureing on the basis that client is not forced to quit a program, realize is the object that client-side program and server connect automatically after network or hardware recovery.
To achieve these goals, this application provides following technical scheme:
A kind of network entry method, the method comprises:
Monitor the heartbeat message from server;
When described heartbeat message cannot be monitored, close and be connected with the TCP of described server, and again carry out TCP with described server and be connected;
If reconnect successfully with described server, then send to described server the request of publishing and publish operation to perform;
If described in publish successful operation, then send logging request to described server.
Preferably, after sending logging request to described server, also comprise:
Receive the login success message returned according to described logging request that described server sends.
Preferably, described when described heartbeat message cannot be monitored, close and be connected with the TCP of described server, and again carry out PCT with described server and be connected and comprise:
When described heartbeat message cannot be monitored, close and be connected with the TCP of described server;
Send connection request according to prefixed time interval to described server, be connected until again carry out TCP with described server.
Preferably, described closedown also comprises after being connected with the TCP of described server:
Heartbeat failure flags position is set to very.
Preferably, after the login success message returned according to described logging request that the described server of described reception sends, also comprise:
According to described login success message, heartbeat failure flags position is set to vacation.
A kind of network entry device, this device comprises:
Monitoring means, for monitoring the heartbeat message from server;
Linkage unit, for when described monitoring means cannot monitor described heartbeat message, closes and is connected with the TCP of described server, and again carry out TCP with described server and be connected;
Publish unit, if reconnect successfully for described linkage unit and described server, then send to described server the request of publishing and publish operation to perform;
Log in unit, if for described in publish unit publish successful operation, then send logging request to described server.
Preferably, also comprise:
Receiving element, for receiving the login success message returned according to described logging request that described server sends.
Preferably, described linkage unit comprises:
Closing unit, for when described monitoring means cannot monitor described heartbeat message, closes and is connected with the TCP of described server;
Transmitting element, for sending connection request according to prefixed time interval to described server, is connected until again carry out TCP with described server.
Preferably, also comprise:
First setting unit, for after described linkage unit closedown is connected with the TCP of described server, is set to heartbeat failure flags position very.
Preferably, also comprise:
Second setting unit, for according to described login success message, is set to vacation by heartbeat failure flags position.
From above technical scheme, this application provides a kind of network entry method and device, the method comprises: monitor the heartbeat message from server; When described heartbeat message cannot be monitored, close and be connected with the TCP of described server, and again carry out TCP with described server and be connected; If reconnect successfully with described server, then send to described server the request of publishing and publish operation to perform; If described in publish successful operation, then send logging request to described server.When network interrupts suddenly, the method does not need server to notify, and client reconnects login, thus alleviate the pressure of server, ensureing on the basis that client is not forced to quit a program, achieving after network or hardware recovery is the object that client-side program and server connect automatically.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only embodiments of the invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to the accompanying drawing provided.
The flow chart of a kind of network entry method that Fig. 1 provides for the embodiment of the present application one;
The flow chart of a kind of network entry method that Fig. 2 provides for the embodiment of the present application two;
The structural representation of a kind of network entry device that Fig. 3 provides for the embodiment of the present application three;
The structural representation of a kind of network entry device that Fig. 4 provides for the embodiment of the present application four.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
For ensureing when network interrupts suddenly, client reconnects login not need server to notify, thus alleviate the pressure of server, ensureing on the basis that client is not forced to quit a program, realize is the object that client-side program and server connect automatically after network or hardware recovery, this application provides a kind of network entry method and device, concrete scheme is as described below:
Embodiment one
As shown in Figure 1, a kind of flow chart of network entry method that provides for the embodiment of the present application one of Fig. 1.The network entry method that the application provides is applied to client dispatching desk, and the method comprises:
S101: monitor the heartbeat message from server;
Client is by real time or carry out the heartbeat message of periodic monitor from server with preset time period, thus judge whether client and server occurs network outage, if client can receive the heartbeat message from server always, so prove that network is normal, otherwise,, there is broken string in Network Abnormal.
S102: when monitoring heartbeat message, closes and is connected with the TCP of server, and again carry out TCP with server and be connected;
Concrete, in the present embodiment, this step comprises:
S1: when monitoring heartbeat message, closes and is connected with the TCP of server;
S2: send connection request to server according to prefixed time interval, is connected until again carry out TCP with server.
When client cannot monitor the heartbeat message from server certain period, then judge to lose with server to be connected.TCP (TransmissionControlProtocol transmission control protocol) is connected to network interruption and occurs interrupting extremely, and the information that the TCP after network recovery is normal binds in connecting likely upgrades (such as IP address, port numbers etc.), if so do not close old TCP to re-establish new connection, even if likely still can not receive the data message from server after network recovery, so, in this application, client, after detecting and losing with server and be connected, is initiatively closed and is connected with the TCP of server.
When after TCP connection closed, set up the resource required for TCP connection, such as Socket socket with set up TCP be connected shared by the release such as internal memory, now carry out request of publishing and can return failure in client inside, wait for a period of time after receiving failed message, continue to attempt connecting, be connected until again carry out TCP with server.
S103: if reconnect successfully with server, then send to server the request of publishing and publish operation to perform;
In the scheme that the application provides, client after disconnecting can not receive heartbeat message in a network, is initiatively closed TCP by client and is connected, and attempts again logging in, if still connection failure, then again attempts after a while connecting; If successful connection, first perform and publish the state of operation refreshing client at server, and then re-start login.Wherein, publish operation relative to register, it is generally client initiatively notification server when needing to quit a program, server is by recovery such as the resources that connects with client, upgrade the state of client, then return results to client, client determines whether to publish successfully according to returning results.
Client has a variety of in the state of server, and in our program, client has the states such as unregistered, idle, ring, call, maintenance, is to distinguish state according to the logging status of client and current used business function.
After client to be connected with server and to recover, the publishing in request of client can reinitialize TCP and connect, and performs and publish operation requests.
S104: if publish successful operation, then send logging request to server.
The request of publishing sent according to client when server returns successfully, proves to publish successfully, and client process publishes message success events, sends logging request to server.
Wherein, in the present embodiment, as shown in Figure 1, the method can also comprise step S105, concrete,
S105: the login success message returned according to logging request that reception server sends.
The logging request that server sends according to client returns successfully to client, proves client and server log success, achieves disconnection reconnecting.
From above technical scheme, the embodiment of the present application one provides a kind of network entry method, and the method comprises: monitor the heartbeat message from server; When described heartbeat message cannot be monitored, close and be connected with the TCP of described server, and again carry out TCP with described server and be connected; If reconnect successfully with described server, then send to described server the request of publishing and publish operation to perform; If described in publish successful operation, then send logging request to described server.When network interrupts suddenly, the method does not need server to notify, and client reconnects login, thus alleviate the pressure of server, ensureing on the basis that client is not forced to quit a program, achieving after network or hardware recovery is the object that client-side program and server connect automatically.
Embodiment two
On the basis of embodiment one, the embodiment of the present application two provides one network entry method more specifically, as shown in Figure 2, and the flow chart of a kind of network entry method that Fig. 2 provides for the embodiment of the present application two.The method comprises:
S101: monitor the heartbeat message from server;
Client is by real time or carry out the heartbeat message of periodic monitor from server with preset time period, thus judge whether client and server occurs network outage, if client can receive the heartbeat message from server always, so prove that network is normal, otherwise,, there is broken string in Network Abnormal.
S102: when monitoring heartbeat message, closes and is connected with the TCP of server, be set to very heartbeat failure flags position, and again carry out TCP with server and be connected;
Concrete, in the present embodiment, this step comprises:
S1: when monitoring heartbeat message, closes and is connected with the TCP of server, be set to very by heartbeat failure flags position;
It should be noted that, heart beat flag position is a parameter in client-side program, after the heartbeat message from server cannot being detected for a long time, client can be revised this parameter and be used for recording and the parameter of communications status of server, and object is that client-side program can obtain this state information when follow-up operation thereupon.
S2: send connection request to server according to prefixed time interval, is connected until again carry out TCP with server.
In this application, when client cannot monitor the heartbeat message from server certain period, then judge to lose with server to be connected.TCP is connected to network interruption and occurs interrupting extremely, and the information that the TCP after network recovery is normal binds in connecting likely upgrades (such as IP address, port numbers etc.), if so do not close old TCP to re-establish new connection, even if likely still can not receive the data message from server after network recovery, so, in this application, client, after detecting and losing with server and be connected, is initiatively closed and is connected with the TCP of server.
When after TCP connection closed, set up the resource required for TCP connection, such as Socket socket with set up TCP be connected shared by the release such as internal memory, now carry out request of publishing and can return failure in client inside, wait for a period of time after receiving failed message, continue to attempt connecting, be connected until again carry out TCP with server.
S103: if reconnect successfully with server, then send to server the request of publishing and publish operation to perform;
In the scheme that the application provides, client after disconnecting can not receive heartbeat message in a network, is initiatively closed TCP by client and is connected, and attempts again logging in, if still connection failure, then again attempts after a while connecting; If successful connection, first perform and publish the state of operation refreshing client at server, and then re-start login.Wherein, publish operation relative to register, it is generally client initiatively notification server when needing to quit a program, server is by recovery such as the resources that connects with client, upgrade the state of client, then return results to client, client determines whether to publish successfully according to returning results.
Client has a variety of in the state of server, and in our program, client has the states such as unregistered, idle, ring, call, maintenance, is to distinguish state according to the logging status of client and current used business function.
After client to be connected with server and to recover, the publishing in request of client can reinitialize TCP and connect, and performs and publish operation requests.
S104: if publish successful operation, then send logging request to server;
The request of publishing sent according to client when server returns successfully, proves to publish successfully, and client process publishes message success events, now because heartbeat failure flags position is true, can judge that heartbeat failure flags position is that true time sends logging request to server.
S105: the login success message returned according to logging request that reception server sends, and heartbeat failure flags position is set to vacation.
The logging request that server sends according to client returns successfully to client, and according to login success message, heartbeat failure flags position is set to vacation, and so far client and server log success, achieve disconnection reconnecting.
This network entry method that the embodiment of the present application two provides, when network interrupts suddenly, client reconnects login not need server to notify, thus alleviate the pressure of server, ensureing on the basis that client is not forced to quit a program, achieving after network or hardware recovery is the object that client-side program and server connect automatically.In addition, client does not need to set up timer, but publish circulation initiation TCP connection request in operation internal process in client and wait for, the state synchronized of client and server can be ensured like this, because client is logging status in the state of server end before network disconnects, if network recovery TCP reconnects not perform successfully and publishes operation and directly log in, server can judge that this client Last status returns login failure as logging status, and, timer can also be avoided because some reason loss causes whole scheme to lose efficacy.
Embodiment three
On the basis of embodiment one, the embodiment of the present application three provides a kind of network entry device, and this application of installation is in client dispatching desk.As shown in Figure 3, a kind of structural representation of network entry device that provides for the embodiment of the present application three of Fig. 3.This device comprises: monitoring means 201, linkage unit 202, publish unit 203, log in unit 204 and receiving element 205, wherein,
Monitoring means 201, for monitoring the heartbeat message from server;
Linkage unit 202, for when monitoring means 201 cannot monitor heartbeat message, closes and is connected with the TCP of server, and again carry out TCP with server and be connected;
In the present embodiment, linkage unit comprises: closing unit and transmitting element, wherein,
Closing unit, for when monitoring means cannot monitor heartbeat message, closes and is connected with the TCP of server;
Transmitting element, for sending connection request according to prefixed time interval to server, is connected until again carry out TCP with server.
Publish unit 203, if reconnect successfully for linkage unit 202 and server, then send to server the request of publishing and publish operation to perform;
Log in unit 204, if publish successful operation for what publish unit 203, then send logging request to server.
In the present embodiment, as shown in Figure 3, this device can also comprise receiving element 205, wherein,
Receiving element 205, for the login success message returned according to logging request that reception server sends.
Wherein, in the present embodiment and embodiment one, same or analogous ground can reference mutually, repeats no more in this application.
Embodiment four
On the basis of above embodiment, the embodiment of the present application four provides one network entry device more specifically, and this application of installation is in client dispatching desk.As shown in Figure 4, a kind of structural representation of network entry device that provides for the embodiment of the present application four of Fig. 4.This device comprises: monitoring means 201, linkage unit 202, first setting unit 203, publish unit 204, log in unit 205, receiving element 206 and the second setting unit 207, wherein,
Monitoring means 201, for monitoring the heartbeat message from server;
Linkage unit 202, for when monitoring means 201 cannot monitor heartbeat message, closes and is connected with the TCP of server, and again carry out TCP with server and be connected;
First setting unit 203, for after linkage unit 202 closedown is connected with the TCP of server, is set to heartbeat failure flags position very.
It should be noted that, in this application, this first setting unit 203 can be one and be connected with linkage unit 202, can self-existent unit, also can for being integrated in the part on linkage unit 202, that is, in whole device, the element of heartbeat failure flags position can be set as long as exist, not limit his size and form and position etc.
In the present embodiment, linkage unit can comprise: closing unit, the first setting unit and transmitting element, wherein,
Closing unit, for when monitoring means cannot monitor heartbeat message, closes and is connected with the TCP of server;
First setting unit, for after closing unit closedown is connected with the TCP of server, is set to heartbeat failure flags position very.
It should be noted that, the first setting unit herein and aforesaid first setting unit 203 are same unit, just there is situation to state two kinds at this, and namely the first setting unit can individualism, also can be integrated in linkage unit.
Transmitting element, for sending connection request according to prefixed time interval to server, is connected until again carry out TCP with server.
Publish unit 204, if reconnect successfully for linkage unit 202 and server, then send to server the request of publishing and publish operation to perform;
Log in unit 205, if publish successful operation for what publish unit 203, then send logging request to server;
Receiving element 206, for the login success message returned according to logging request that reception server sends.
Second setting unit 207, for according to login success message, is set to vacation by heartbeat failure flags position.
In this application, it should be noted that, the first setting unit and the second setting unit can be same unit, namely can receive the message of linkage unit and receiving element simultaneously, when linkage unit disconnection is connected with the TCP of server, heartbeat failure flags position is set to very; When receiving element receives the message logined successfully, heartbeat failure flags position is set to vacation.Concrete, do not limit in this application, can arrange according to actual conditions.
Wherein, the present embodiment and the same or analogous ground of other embodiments can references mutually, repeat no more in this application.
From above technical scheme, this network entry device that the application provides, when network interrupts suddenly, client reconnects login not need server to notify, thus alleviate the pressure of server, ensureing on the basis that client is not forced to quit a program, achieving after network or hardware recovery is the object that client-side program and server connect automatically.In addition, client does not need to set up timer, but publish circulation in operation internal process in client and initiate TCP connection request and attempt and wait for, the state synchronized of client and server can be ensured like this, because client is logging status in the state of server end before network disconnects, if network recovery TCP reconnects not perform successfully and publishes operation and directly log in, server can judge that this client Last status returns login failure as logging status, and, timer can also be avoided because some reason loss causes whole scheme to lose efficacy.
Finally, also it should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operating space, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
In this specification, each embodiment adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar portion mutually see.
To the above-mentioned explanation of the disclosed embodiments, professional and technical personnel in the field are realized or uses the application.To be apparent for those skilled in the art to the multiple amendment of these embodiments, General Principle as defined herein when not departing from the spirit or scope of the application, can realize in other embodiments.Therefore, the application can not be restricted to these embodiments shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.

Claims (10)

1. a network entry method, is characterized in that, the method comprises:
Monitor the heartbeat message from server;
When described heartbeat message cannot be monitored, close and be connected with the TCP of described server, and again carry out TCP with described server and be connected;
If reconnect successfully with described server, then send to described server the request of publishing and publish operation to perform;
If described in publish successful operation, then send logging request to described server.
2. method according to claim 1, is characterized in that, after sending logging request to described server, also comprises:
Receive the login success message returned according to described logging request that described server sends.
3. method according to claim 1, is characterized in that, described when monitoring described heartbeat message, closes and is connected with the TCP of described server, and again carries out PCT with described server and be connected and comprise:
When described heartbeat message cannot be monitored, close and be connected with the TCP of described server;
Send connection request according to prefixed time interval to described server, be connected until again carry out TCP with described server.
4. method according to claim 1 and 2, is characterized in that, described closedown also comprises after being connected with the TCP of described server:
Heartbeat failure flags position is set to very.
5. method according to claim 2, is characterized in that, after the login success message returned according to described logging request that the described server of described reception sends, also comprises:
According to described login success message, heartbeat failure flags position is set to vacation.
6. a network entry device, is characterized in that, this device comprises:
Monitoring means, for monitoring the heartbeat message from server;
Linkage unit, for when described monitoring means cannot monitor described heartbeat message, closes and is connected with the TCP of described server, and again carry out TCP with described server and be connected;
Publish unit, if reconnect successfully for described linkage unit and described server, then send to described server the request of publishing and publish operation to perform;
Log in unit, if for described in publish unit publish successful operation, then send logging request to described server.
7. device according to claim 6, is characterized in that, also comprises:
Receiving element, for receiving the login success message returned according to described logging request that described server sends.
8. device according to claim 6, is characterized in that, described linkage unit comprises:
Closing unit, for when described monitoring means cannot monitor described heartbeat message, closes and is connected with the TCP of described server;
Transmitting element, for sending connection request according to prefixed time interval to described server, is connected until again carry out TCP with described server.
9. the device according to claim 6 or 7, is characterized in that, also comprises:
First setting unit, for after described linkage unit closedown is connected with the TCP of described server, is set to heartbeat failure flags position very.
10. device according to claim 6, is characterized in that, also comprises:
Second setting unit, for according to described login success message, is set to vacation by heartbeat failure flags position.
CN201511018715.0A 2015-12-29 2015-12-29 Network logging-in method and apparatus Pending CN105554150A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511018715.0A CN105554150A (en) 2015-12-29 2015-12-29 Network logging-in method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511018715.0A CN105554150A (en) 2015-12-29 2015-12-29 Network logging-in method and apparatus

Publications (1)

Publication Number Publication Date
CN105554150A true CN105554150A (en) 2016-05-04

Family

ID=55833082

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511018715.0A Pending CN105554150A (en) 2015-12-29 2015-12-29 Network logging-in method and apparatus

Country Status (1)

Country Link
CN (1) CN105554150A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108900647A (en) * 2018-09-13 2018-11-27 新华三技术有限公司成都分公司 Address switching handling method and device
CN112140937A (en) * 2020-10-23 2020-12-29 深圳百跑科技有限公司 Double-gun combined charging method and system for charging pile
CN112468306A (en) * 2019-09-09 2021-03-09 西安诺瓦星云科技股份有限公司 Communication control method, device, system and storage medium
CN114650147A (en) * 2020-12-02 2022-06-21 成都鼎桥通信技术有限公司 Login method and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101155147A (en) * 2006-09-26 2008-04-02 阿里巴巴公司 Method and apparatus for distributing monitoring data of instant communication server
CN103067215A (en) * 2011-10-21 2013-04-24 中兴通讯股份有限公司 Method, application server, network database and system achieving heartbeat mechanism
CN103581131A (en) * 2012-07-31 2014-02-12 上海凌攀信息科技有限公司 Method for processing automatic repeated logins in mobile environment
CN103873472A (en) * 2014-03-18 2014-06-18 广州市纬志电子科技有限公司 Method for automatically having access to network
CN104199866A (en) * 2014-08-18 2014-12-10 中国建设银行股份有限公司 Offering machine exception handling method and device
CN104202414A (en) * 2014-09-17 2014-12-10 合一网络技术(北京)有限公司 Reliable transmission method based on UDP
CN104378419A (en) * 2014-11-10 2015-02-25 四川长虹电器股份有限公司 High-speed data push method and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101155147A (en) * 2006-09-26 2008-04-02 阿里巴巴公司 Method and apparatus for distributing monitoring data of instant communication server
CN103067215A (en) * 2011-10-21 2013-04-24 中兴通讯股份有限公司 Method, application server, network database and system achieving heartbeat mechanism
CN103581131A (en) * 2012-07-31 2014-02-12 上海凌攀信息科技有限公司 Method for processing automatic repeated logins in mobile environment
CN103873472A (en) * 2014-03-18 2014-06-18 广州市纬志电子科技有限公司 Method for automatically having access to network
CN104199866A (en) * 2014-08-18 2014-12-10 中国建设银行股份有限公司 Offering machine exception handling method and device
CN104202414A (en) * 2014-09-17 2014-12-10 合一网络技术(北京)有限公司 Reliable transmission method based on UDP
CN104378419A (en) * 2014-11-10 2015-02-25 四川长虹电器股份有限公司 High-speed data push method and system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108900647A (en) * 2018-09-13 2018-11-27 新华三技术有限公司成都分公司 Address switching handling method and device
CN108900647B (en) * 2018-09-13 2021-07-06 新华三技术有限公司成都分公司 Address switching processing method and device
CN112468306A (en) * 2019-09-09 2021-03-09 西安诺瓦星云科技股份有限公司 Communication control method, device, system and storage medium
CN112140937A (en) * 2020-10-23 2020-12-29 深圳百跑科技有限公司 Double-gun combined charging method and system for charging pile
CN114650147A (en) * 2020-12-02 2022-06-21 成都鼎桥通信技术有限公司 Login method and device

Similar Documents

Publication Publication Date Title
EP2577946B1 (en) Keep-alive hiatus declaration
EP2645636B1 (en) Home gateway, cloud server, and method for communication therebetween
JP5097671B2 (en) Systems and methods for seamless host migration
KR101042745B1 (en) System and method for reestablishing the session between terminal and server
CN103873472A (en) Method for automatically having access to network
CN110266810B (en) Message receiving method, device and storage medium based on MQTT protocol
CN105554150A (en) Network logging-in method and apparatus
KR101419579B1 (en) Method for enabling faster recovery of client applications in the event of server failure
JP2017505473A5 (en)
CN103905579A (en) Method and system for communication between platform and terminal, platform and relevant devices
CN104468380A (en) Interface communication method of access point device and server interaction
CN107454184B (en) Method for establishing stable network connection between Android client and server
CN103312558B (en) In computer clients server system, network is connected with validity monitoring method and system
CN103685398A (en) Communication connection establishment method and communication system
US20140201376A1 (en) Method and system for the handling of redundant long poll
CN104378230A (en) System and method for improving stability of Telnet server
CN109067509B (en) Distributed node signaling transmission method and system, shared computing node and signaling gateway
KR20160070726A (en) System for providing contents in virtualization service
CN113691591B (en) Data transmission method, device and computer readable storage medium
KR101207219B1 (en) Method for protecting DDS network overload
KR101407597B1 (en) System and method for providing push service
US10491544B2 (en) Consistency control of a logical path passing through a relay device
WO2005008633A2 (en) Active storage area network discovery system and method
CN115580555B (en) Distributed task cancellation method, device, system and electronic equipment
JP2002026932A (en) Monitor control system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160504