CN103037483A - Network server and method for connecting same and application server - Google Patents

Network server and method for connecting same and application server Download PDF

Info

Publication number
CN103037483A
CN103037483A CN2011102971622A CN201110297162A CN103037483A CN 103037483 A CN103037483 A CN 103037483A CN 2011102971622 A CN2011102971622 A CN 2011102971622A CN 201110297162 A CN201110297162 A CN 201110297162A CN 103037483 A CN103037483 A CN 103037483A
Authority
CN
China
Prior art keywords
application server
terminal equipment
data packets
webserver
heartbeat data
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
CN2011102971622A
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN2011102971622A priority Critical patent/CN103037483A/en
Publication of CN103037483A publication Critical patent/CN103037483A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

Disclosed are a network server and a method for connecting the same and an application server. The network server comprises a communication unit. The communication unit is allocated to connect with at least one terminal device of network application and is connected with the application server corresponding to the at least one network application, so that a connection between the terminal device and the application server is built; and a connecting maintaining unit is allocated to maintain the connection between the network server and the application server. wherein the terminal device is provided with a first state and a second state, the power consumption of the second state is smaller than that of the first state, and during the time when the terminal device is in the second state, the connecting maintaining unit maintains the connection between the network server and the application server through periodically sending a heartbeat packet to the application server or receiving the heartbeat packet from the application server.

Description

The webserver and keep itself and the method that is connected of application server
Technical field
The present invention relates to a kind of webserver and keep the method that is connected between the webserver and the application server.
Background technology
Current, have mobile interconnecting function terminal equipment (as, have panel computer, mobile phone of mobile communication function etc.) be used widely.Since usually terminal equipment install web application (as, QQ, microblogging etc.), so terminal equipment need to communicate with the application server of far-end.Communicate with the application server of far-end (as, upgrade the connection status between the two) usually make the processing unit of terminal equipment in running order, and the consumption of the electric power of this frequent accelerating terminal equipment, thereby the flying power of shortening terminal equipment.
Summary of the invention
In order to solve above-mentioned technical problem of the prior art, according to an aspect of the present invention, a kind of webserver is provided, comprise: communication unit, configuration is connected with the terminal equipment with at least one network application, and the application server corresponding with described at least one network application connects, so that described terminal equipment and described application server connect; And the unit is kept in connection, configuration keeps being connected of the described webserver and described application server by described communication unit, wherein said terminal equipment has the first state and the second state, the power consumption of described the second state is less than the power consumption of described the first state, and during described terminal equipment was in described the second state, described connection was kept the unit by periodically sending heartbeat data packets or receive heartbeat data packets to keep the connection between the described webserver and the described application server from described application server to described application server.
In addition, according to a further aspect in the invention, a kind of method that is connected of keeping between the webserver and the application server is provided, the described webserver has communication unit and the unit is kept in connection, and be connected with the terminal equipment with at least one network application, described terminal equipment has the first state and the second state, and the power consumption of described the second state is less than the power consumption of described the first state, described method comprises: communication unit is connected with the terminal equipment with at least one network application, and the application server corresponding with described at least one network application connects, so that described terminal equipment and described application server connect; And connect and to keep the unit and keep being connected of the described webserver and described application server, wherein said terminal equipment has the first state and the second state, the power consumption of described the second state is less than the power consumption of described the first state, and during described terminal equipment is in described the second state, connects and keep the unit by periodically sending heartbeat data packets or receive heartbeat data packets to keep the connection between the described webserver and the described application server from described application server to described application server.
By above-mentioned configuration; when application server does not produce the user data relevant with network application on the terminal equipment; utilize the webserver to replace terminal equipment transmission and/or the reception heartbeat data packets relevant with network application; often wake when not required thus terminal equipment up and come processing that heartbeat data packets is scheduled to, thus can save terminal equipment electric power consumption and prolong cruising time of terminal equipment.
Description of drawings
Fig. 1 is that diagram is according to the schematic diagram of the structure of the webserver of the embodiment of the invention; And
Fig. 2 is diagram according to the flow chart of keeping the method that is connected between the webserver and the application server of the embodiment of the invention.
Embodiment
Describe in detail with reference to the accompanying drawings according to each embodiment of the present invention.Here, it should be noted that in the accompanying drawings, identical Reference numeral is given basically had part identical or similar structures and function, and will omit being repeated in this description about them.
The below is with reference to the structure of Fig. 1 description according to the webserver of the embodiment of the invention.Fig. 1 is that diagram is according to the schematic diagram of the structure of the webserver of the embodiment of the invention.
As shown in Figure 1, can comprise communication unit 10 and connect and keep unit 11 that wherein communication unit 10 is kept unit 11 and interconnected with being connected according to the webserver 1 of the embodiment of the invention.Here, can be used as 2G/3G/4G network, wide area wireless network or other arbitrarily gateway or the routing server of cordless communication network according to the webserver 1 of the embodiment of the invention.
In this case, the communication unit 10 as the webserver 1 of gateway can be connected with the terminal equipment (not shown) with at least one network application.In addition, communication unit 10 can also be connected with at least one application server (not shown) that the network application service is provided.Therefore, by the webserver 1, terminal equipment and application server connect, and application server can provide to the terminal equipment such as panel computer or mobile phone the network application service relevant with the network application of installing on the terminal equipment.Here, because terminal equipment is known for the art technology technical staff with the process that application server connects by the webserver 1 as gateway, therefore omitted its detailed description here.
Connect and to keep unit 11 and can keep being connected of the webserver 1 and application server by communication unit 1, and can be by the random processor realization that can carry out preset program.Here, keep the webserver 1 and be to utilize the webserver 1 to replace terminal equipment to receive heartbeat data packets to the application server transmission or from application server with the purpose that is connected of application server, can often not wake terminal equipment up simultaneously.Particularly, terminal equipment can have operating state and holding state (resting state).Under the holding state of terminal equipment, the power consumption the when power consumption of terminal equipment is less than its operating state.That is to say, be at terminal equipment in the situation of holding state, the connection of the webserver 1 is kept unit 11 and is replaced terminal equipment, by periodically sending heartbeat data packets or receive heartbeat data packets to keep the connection between the webserver and the described application server from application server to application server.
The process that the below keeps detailed description the connection between the webserver and the described application server and transmit this data content to terminal equipment after application server produces new data content.
As shown in Figure 1, send heartbeat data packets or receive heartbeat data packets from application server to application server in order to replace terminal equipment, connection is kept unit 11 and be can further include end message acquisition module 111.This end message acquisition module 111 can the communication unit 10 of terminal equipment by the webserver 1 set up with application server between be connected the time, the link information of the join dependency between acquisition and terminal equipment and the application server.Here, link information should comprise that at least the address of sign (ID), the application server of terminal equipment is connected the corresponding ports that is connected of the webserver and application server, the cycle that sends heartbeat data packets and the content of heartbeat data packets with the network application port.
Particularly, the communication unit 10 of terminal equipment by the webserver 1 set up with application server between be connected the time, terminal equipment at first connects with the webserver 1.At this moment, the webserver 1 can divide to terminal equipment and is used in the predetermined port that communicates (below be called the first port), then when the webserver 1 is connected with application server, application server also can be used in the predetermined port that communicates (below be called the second port) in 1 minute to the webserver.Here, because application server is connected with a plurality of terminal equipments simultaneously, therefore for fear of conflict, application server can distribute the port (the port with other uses is not identical) of unique use as the second port to the webserver 1, namely, even a plurality of terminal equipments are connected with application server by consolidated network server 1, also can determine that this connection is corresponding with which terminal equipment by the second port that application server is distributed to the webserver 1.In this case, end message acquisition module 111 sign (ID), the webserver that can obtain terminal equipment will be set up the corresponding relation of terminal equipment and application server with the corresponding ports that is connected of application server.
In addition, end message acquisition module 111 can also determine which network application terminal equipment has installed from address and network application port that terminal equipment obtains application server, thereby can determine to provide which network application service (that is, determining to need to replace terminal equipment to send the network application of heartbeat data packets) to terminal equipment.
In addition, the communication unit 10 of terminal equipment by the webserver 1 set up with application server between be connected the time, end message acquisition module 111 can also send the information relevant with the content of the heartbeat data packets of the connection of keeping network application and heart beat cycle to the terminal equipment request based on determined network application service.Here, the content of heartbeat data packets of the connection of the network application such as QQ or microblogging all is based on concrete network application usually with heart beat cycle and different owing to be used for keeping, and usually by terminal equipment or application server generation.Therefore, in the situation of the heartbeat data packets that need to be produced by terminal equipment and be sent by terminal equipment the connection that is used for keeping network application, end message acquisition module 111 requesting terminal equipment send with network application (as, QQ or microblogging) information such as the content of corresponding heartbeat data packets and heart beat cycle.Terminal equipment send with network application (as, QQ or microblogging) after the information such as the content of corresponding heartbeat data packets and heart beat cycle, the information such as the content of end message acquisition module 111 storage heartbeat data packets and heart beat cycle, and the webserver is connected in the address of the sign (ID) of the information such as the content of heartbeat data packets and heart beat cycle and terminal equipment, application server with the network application port corresponding with the corresponding ports that is connected of application server, with consist of with terminal equipment on the relevant link information of the network application of installing.
After having obtained link information, connect keep unit 11 can be by sending heartbeat data packets to application server or keeping being connected of the webserver 1 and application server from the mode that application server receives heartbeat data packets.
For example, keeping unit 11 in connection need to send to application server in the situation of heartbeat data packets by communication unit 10, and connection is kept unit 11 and made up heartbeat data packets according to the content from heartbeat data packets 111 acquisitions of end message acquisition module, that application Network Based is determined.Then, connection is kept unit 11 and is sent heartbeat data packets based on heartbeat data packets and heart beat cycle to application server.Particularly, owing to comprise the address, network application port, the webserver of application server and the information such as the corresponding ports that is connected (the second port) of application server in the link information that end message acquisition module 111 obtains, therefore connect and keep unit 11 and can send heartbeat data packets with default heart beat cycle to application server with reference to above-mentioned information, to keep being connected between the webserver 1 and the application server.In this case, connect keep unit 11 can application server from the confirmation of receipt packet, and based on confirming that packet upgrades the connection status of the network application on the terminal equipment.Here, for example, the connection status of the network application on the terminal equipment can comprise the network application presence (as, off-line, online, stealthy etc.), the information such as network connection state (such as, connection duration of network application etc.) and can being stored in the memory device (not shown) of the webserver 1.Particularly, connect keep unit 11 can be based on the information such as the corresponding ports that is connected (the second port) of the address of application server, network application port, the webserver and application server with default heart beat cycle to application server transmission heartbeat data packets to keep being connected between the webserver 1 and the application server.After application server produced the affirmation packet corresponding with heartbeat data packets, application server sent this to the webserver 1 and confirms packet.After the webserver 1 receives this affirmation packet, connection is kept unit 11 and is determined that based on the information relevant with the second port in the affirmation packet this affirmation packet is the affirmation packet for the network application on which terminal equipment, and confirms that based on determining that the result utilizes packet upgrades the connection status of the network application on the terminal equipment.
In addition, in some network application, send heartbeat data packets by application server to terminal equipment.Particularly, application server can send this heartbeat data packets to the webserver 1 based on address and the corresponding ports (the second port) of the webserver 1 that obtains when terminal equipment and application server connect.Here, keeping unit 11 in connection receives in the situation of heartbeat data packets from application server, from different to the processing of terminal equipment forwarding heartbeat data packets in the prior art, connect and keep unit 11 based on the heartbeat data packets renewal of application server transmission and the connection status (that is, the connection status of network application) of application server.In this case, connect and to keep unit 11 after the connection status of having upgraded with application server, abandon the heartbeat data packets that application server sends and do not send this heartbeat data packets to terminal equipment.Particularly, application server sends heartbeat data packets to the webserver 1.After the webserver 1 receives this heartbeat data packets, connection is kept unit 11 and is determined that based on information relevant with the second port in the heartbeat data packets this affirmation packet is the heartbeat data packets for the network application on which terminal equipment, and based on determining that the result utilizes heartbeat data packets to upgrade the connection status of the network application on the terminal equipment.
By above-mentioned configuration, application server do not produce the user data relevant with network application on the terminal equipment (as, QQ message, microblogging updating message etc.) time, utilize the webserver 1 (unit 11 is kept in connection) to replace terminal equipment transmission and/or the reception heartbeat data packets relevant with network application to keep the connection of network application.In this case, the heartbeat data packets that terminal equipment does not need the timed sending heartbeat data packets relevant with network application or application server to send is processed, and often wakes when not required thus terminal equipment up.Under this situation, terminal equipment can be in holding state for a long time, thus can save terminal equipment electric power consumption and prolong cruising time of terminal equipment.
The situation of keeping the connection between the webserver and the described application server has been described in the above.If application server produces the new data content relevant with network application on the terminal equipment, then application server is to the webserver 1 transmission new data content.In this case, connection is kept unit 11 and the new data content is forwarded to terminal equipment so that terminal equipment is processed this new data content based on link information.In this case, terminal equipment enters operating state.
Particularly, if application server produce the new data content relevant with network application on the terminal equipment (as, QQ message, microblogging renewal etc.), then application server is based on to the webserver 1 this new data content of transmission.In this case, connect keep unit 11 based on packet corresponding to new data content in the information relevant with the second port determine that this new data content is the affirmation packet for the network application on which terminal equipment, and the new data content is forwarded to this terminal equipment so that terminal equipment is processed this new data content based on definite result.Particularly, for example, if this terminal equipment still keeps being connected with the webserver 1, then the webserver 1 connection that can pass through to keep sends to terminal equipment with the new data content so that terminal equipment is processed this new data content.In addition, if terminal equipment remains on holding state and does not send heartbeat data packets within a predetermined period of time and cause the disconnection that is connected of this terminal equipment and the webserver 1 always, then connect keep unit 11 definite new data content be for which terminal equipment after, can based on the tentation data in the link information (as, ID of determined terminal equipment etc.) transmit (as, broadcasting) this new data content.Here, receive at the terminal equipment with corresponding device id in the situation of this data content, it is to process for the new data content of the network application on it and to this new data content that this terminal equipment can be identified this data content based on device id, and other terminal equipment then can be ignored this new data content.Under terminal equipment received situation for the new data content of the network application on it, terminal equipment need to be processed this new data content, enters thus operating state.Here, it should be noted that, when sending the new data content to terminal equipment, unit 11 is kept in connection also to be needed to transmit the connection status of upgrading to terminal equipment during the sending/receiving heartbeat data packets, as the network application presence (as, off-line, online, stealthy etc.), network connection state (such as, connection duration of network application etc.) etc., with the generation that avoids conflict.
By above-mentioned configuration, application server produce the new data content relevant with network application on certain terminal equipment (as, QQ message, microblogging updating message etc.) time, the webserver 1 (unit 11 is kept in connection) is transmitted to corresponding terminal equipment with this new data content.In this case, terminal equipment is waken up to process this new data content.
Next, with reference to Fig. 2 the method that is connected between the webserver and the application server kept according to the embodiment of the invention is described.Fig. 2 is diagram according to the flow chart of keeping the method that is connected between the webserver and the application server of the embodiment of the invention.
As shown in Figure 2, at step S201, be connected with the terminal equipment that at least one network application has been installed thereon, and the application server corresponding with at least one network application connection, so that terminal equipment and application server connect.
Particularly, as described in for Fig. 1, the communication unit 10 that can be used as the webserver 1 of gateway can connect with the terminal equipment with at least one network application.In addition, communication unit 10 can also connect with at least one application server that the network application service is provided.Therefore, by the communication unit 10 of the webserver 1, terminal equipment can connect with application server, and application server can provide the network application service relevant with the network application of installing on the terminal equipment to terminal equipment.
At step S202, during terminal equipment is in resting state, by periodically sending heartbeat data packets or receive heartbeat data packets to keep the connection between the webserver and the application server from application server to application server.
Particularly, as described in for Fig. 1, in order to replace terminal equipment to send heartbeat data packets or receive heartbeat data packets from application server to application server, step S202 can further include terminal equipment set up with application server between be connected the time, the link information of the join dependency between acquisition and terminal equipment and the application server.
Particularly, for example, the communication unit 10 of terminal equipment by the webserver 1 set up with application server between be connected the time, terminal equipment at first connects with the webserver 1.At this moment, the webserver 1 can divide to terminal equipment and is used in the predetermined port (the first port) that communicates, then when the webserver 1 was connected with application server, application server also can be used in the predetermined port (the second port) that communicates in 1 minute to the webserver.Here, because application server is connected with a plurality of terminal equipments simultaneously, therefore for fear of conflict, the port (the port with other uses is not identical) that application server can distribute unique use to the webserver 1 is as the second port, can determine that this connection is corresponding with which terminal equipment by the second port that application server is distributed to the webserver 1.In this case, sign (ID), the webserver of end message acquisition module 111 acquisition terminal equipments will be set up the corresponding relation of terminal equipment and application server with the corresponding ports that is connected of application server.In addition, end message acquisition module 111 also determines from address and the network application port of terminal equipment acquisition application server which network application terminal equipment has installed, thereby can determine to provide which network application service (that is, determining to need to replace terminal equipment to send the network application of heartbeat data packets) to terminal equipment.In addition, the communication unit 10 of terminal equipment by the webserver 1 set up with application server between be connected the time, end message acquisition module 111 can also send the information relevant with the content of the heartbeat data packets of the connection of keeping network application and heart beat cycle to the terminal equipment request based on determined network application service, and the information such as the content of the heartbeat data packets that provides of storage terminal equipment and heart beat cycle.Here, end message acquisition module 111 is connected the webserver with the address of the sign (ID) of the information such as the content of heartbeat data packets and heart beat cycle and terminal equipment, application server with the network application port corresponding with the corresponding ports that is connected of application server, with consist of with terminal equipment on the relevant link information of the network application of installing.
After having obtained link information, connect keep unit 11 can be by sending heartbeat data packets to application server or keeping being connected of the webserver 1 and application server from the mode that application server receives heartbeat data packets.
For example, keeping unit 11 in connection need to send to application server in the situation of heartbeat data packets by communication unit 10, and connection is kept unit 11 and made up heartbeat data packets according to the content from heartbeat data packets 111 acquisitions of end message acquisition module, that application Network Based is determined.Then, connection is kept unit 11 and is sent heartbeat data packets based on heartbeat data packets and heart beat cycle to application server.Particularly, owing to comprise the address, network application port, the webserver of application server and the information such as the corresponding ports that is connected (the second port) of application server in the link information that end message acquisition module 111 obtains, therefore connect and keep unit 11 and can send heartbeat data packets with default heart beat cycle to application server with reference to above-mentioned information, to keep being connected between the webserver 1 and the application server.In this case, connect keep unit 11 can application server from the confirmation of receipt packet, and based on confirming that packet upgrades the connection status of the network application on the terminal equipment.Here, for example, the connection status of the network application on the terminal equipment can comprise the network application presence (as, off-line, online, stealthy etc.), the information such as network connection state (such as, connection duration of network application etc.) and can being stored in the memory device (not shown) of the webserver 1.
In addition, in some network application, send heartbeat data packets by application server to terminal equipment.Particularly, application server can send this heartbeat data packets to the webserver 1 based on address and the corresponding ports (the second port) of the webserver 1 that obtains when terminal equipment and application server connect.In this case, connection is kept unit 11 based on the heartbeat data packets renewal of application server transmission and the connection status (that is, the connection status of network application) of application server.In this case, connect and to keep unit 11 after the connection status of having upgraded with application server, abandon the heartbeat data packets that application server sends and do not send this heartbeat data packets to terminal equipment.For example, after the webserver 1 receives this heartbeat data packets, connection is kept unit 11 and is determined that based on information relevant with the second port in the heartbeat data packets this affirmation packet is the heartbeat data packets for the network application on which terminal equipment, and based on determining that the result utilizes heartbeat data packets to upgrade the connection status of the network application on the terminal equipment.
The method of keeping the connection between the webserver and the described application server has been described in the above.Yet, the invention is not restricted to this, method shown in Figure 2 can further include step: if application server produces the new data content relevant with at least one network application in the terminal equipment, then application server sends described new data content to the webserver; And connect and to keep the unit and in link information the new data content is forwarded to terminal equipment so that terminal equipment enters operating state.
Particularly, if application server produce the new data content relevant with network application on the terminal equipment (as, QQ message, microblogging renewal etc.), then application server is based on to the webserver 1 this new data content of transmission.In this case, connect keep unit 11 based on packet corresponding to new data content in the information relevant with the second port determine that this new data content is the affirmation packet for the network application on which terminal equipment, and the new data content is forwarded to this terminal equipment so that terminal equipment is processed this new data content based on definite result.Particularly, for example, if this terminal equipment still keeps being connected with the webserver 1, then the webserver 1 connection that can pass through to keep sends to terminal equipment with the new data content so that terminal equipment is processed this new data content.In addition, if terminal equipment remains on holding state and does not send heartbeat data packets within a predetermined period of time and cause the disconnection that is connected of this terminal equipment and the webserver 1 always, then connect keep unit 11 definite new data content be for which terminal equipment after, can based on the tentation data in the link information (as, ID of determined terminal equipment etc.) transmit (as, broadcasting) this new data content.Here, receive at the terminal equipment with corresponding device id in the situation of this data content, it is to process for the new data content of the network application on it and to this new data content that this terminal equipment can be identified this data content based on device id, and other terminal equipment then can be ignored this new data content.Under terminal equipment received situation for the new data content of the network application on it, terminal equipment need to be processed this new data content, enters thus operating state.Here, it should be noted that, when sending the new data content to terminal equipment, unit 11 is kept in connection also to be needed to transmit the connection status of upgrading to terminal equipment during the sending/receiving heartbeat data packets, as the network application presence (as, off-line, online, stealthy etc.), network connection state (such as, connection duration of network application etc.) etc., with the generation that avoids conflict.
Describe each embodiment of the present invention in the above in detail.Yet, it should be appreciated by those skilled in the art that without departing from the principles and spirit of the present invention, can carry out various modifications to these embodiment, combination or sub-portfolio, and such modification should fall within the scope of the present invention.

Claims (14)

1. webserver comprises:
Communication unit, configuration is connected with the terminal equipment with at least one network application, and the application server corresponding with described at least one network application connection, so that described terminal equipment and described application server connect; And
Connect and to keep the unit, configuration keeps being connected of the described webserver and described application server by described communication unit,
Wherein said terminal equipment has the first state and the second state, and the power consumption of described the second state is less than the power consumption of described the first state, and
During described terminal equipment was in described the second state, described connection was kept the unit by periodically sending heartbeat data packets or receive heartbeat data packets to keep the connection between the described webserver and the described application server from described application server to described application server.
2. the webserver as claimed in claim 1, wherein said connection is kept the unit and is further comprised:
End message acquisition module, configuration come described terminal equipment set up by described communication unit with described application server between be connected the time, the link information of the join dependency between acquisition and described terminal equipment and the described application server.
3. the webserver as claimed in claim 2, wherein
If application server produces the new data content relevant with described at least one network application in the described terminal equipment, then described application server sends described new data content to the described webserver; And
Described connection is kept the unit and based on described link information described new data content is forwarded to described terminal equipment so that described terminal equipment enters the first state.
4. the webserver as claimed in claim 2, wherein
Described link information comprises that at least the address of the sign of described terminal equipment, described application server is connected the corresponding ports that is connected of the described webserver and described application server, the cycle that sends described heartbeat data packets and the content of described heartbeat data packets with the network application port.
5. the webserver as claimed in claim 4, wherein
Keeping the unit in described connection sends in the situation of described heartbeat data packets to described application server, determine content and the heart beat cycle of described heartbeat data packets by terminal equipment based on described network application, and connect and keep the unit and send described heartbeat data packets based on content and the heart beat cycle of described heartbeat data packets to described application server.
6. the webserver as claimed in claim 4, wherein
Keep the unit in described connection and receive from described application server in the situation of heartbeat data packets, connect and keep the unit based on the connection status of described heartbeat data packets renewal with described application server, and abandon described heartbeat data packets.
7. the webserver as claimed in claim 1, wherein
Described the first state is the wake-up states of described terminal equipment, and described the second state is the resting state of described terminal equipment.
8. method that is connected of keeping between the webserver and the application server, the described webserver has communication unit and the unit is kept in connection, and be connected with the terminal equipment with at least one network application, described terminal equipment has the first state and the second state, and the power consumption of described the second state is less than the power consumption of described the first state, and described method comprises:
Communication unit is connected with the terminal equipment with at least one network application, and the application server corresponding with described at least one network application connection, so that described terminal equipment and described application server connect; And
During described terminal equipment is in described the second state, connects and keep the unit by periodically sending heartbeat data packets or receive heartbeat data packets to keep the connection between the described webserver and the described application server from described application server to described application server.
9. method as claimed in claim 8 further comprises:
Described terminal equipment set up with described application server between be connected the time, connect the link information of keeping the join dependency between unit acquisition and described terminal equipment and the described application server.
10. method as claimed in claim 9, wherein
If application server produces the new data content relevant with described at least one network application in the described terminal equipment, then described application server sends described new data content to the described webserver; And
Described connection is kept the unit and based on described link information described new data content is forwarded to described terminal equipment so that described terminal equipment enters the first state.
11. method as claimed in claim 9, wherein
Described link information comprises that at least the address of the sign of described terminal equipment, described application server is connected the corresponding ports that is connected of the described webserver and described application server, the cycle that sends described heartbeat data packets and the content of described heartbeat data packets with the network application port.
12. method as claimed in claim 11, wherein
Keeping the unit in described connection sends in the situation of described heartbeat data packets to described application server, determine content and the heart beat cycle of described heartbeat data packets by terminal equipment based on described network application, and connect and keep the unit and send described heartbeat data packets based on content and the heart beat cycle of described heartbeat data packets to described application server.
13. method as claimed in claim 11, wherein
Keep the unit in described connection and receive from described application server in the situation of heartbeat data packets, connect and keep the unit based on the connection status of described heartbeat data packets renewal with described application server, and abandon described heartbeat data packets.
14. method as claimed in claim 8, wherein
Described the first state is the wake-up states of described terminal equipment, and described the second state is the resting state of described terminal equipment.
CN2011102971622A 2011-09-30 2011-09-30 Network server and method for connecting same and application server Pending CN103037483A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011102971622A CN103037483A (en) 2011-09-30 2011-09-30 Network server and method for connecting same and application server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011102971622A CN103037483A (en) 2011-09-30 2011-09-30 Network server and method for connecting same and application server

Publications (1)

Publication Number Publication Date
CN103037483A true CN103037483A (en) 2013-04-10

Family

ID=48023846

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011102971622A Pending CN103037483A (en) 2011-09-30 2011-09-30 Network server and method for connecting same and application server

Country Status (1)

Country Link
CN (1) CN103037483A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103532805A (en) * 2013-11-06 2014-01-22 中国联合网络通信集团有限公司 Sending method and device for periodic messages of home terminal
CN103997436A (en) * 2014-05-24 2014-08-20 上海新时达电气股份有限公司 Link maintaining method and gateway in internet of things of elevator
CN104135460A (en) * 2013-05-03 2014-11-05 华为软件技术有限公司 Method for keeping push channel active and push server
WO2015018338A1 (en) * 2013-08-09 2015-02-12 华为技术有限公司 Method and device for establishing a connection
CN104426692A (en) * 2013-08-26 2015-03-18 联想(北京)有限公司 Information processing method, apparatus, and network server
CN105429883B (en) * 2015-10-22 2018-05-18 上海斐讯数据通信技术有限公司 The long connection method of multiple smart machines and server apparatus and smart machine

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090252072A1 (en) * 2008-04-08 2009-10-08 Telefonaktiebolaget Lm Ericsson (Publ) Method and Apparatus for Maintaining Long-Lived Connections Between a Mobile Client and a Server

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090252072A1 (en) * 2008-04-08 2009-10-08 Telefonaktiebolaget Lm Ericsson (Publ) Method and Apparatus for Maintaining Long-Lived Connections Between a Mobile Client and a Server

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104135460A (en) * 2013-05-03 2014-11-05 华为软件技术有限公司 Method for keeping push channel active and push server
CN104135460B (en) * 2013-05-03 2017-11-24 华为软件技术有限公司 A kind of push channel keepalive method and push server
WO2015018338A1 (en) * 2013-08-09 2015-02-12 华为技术有限公司 Method and device for establishing a connection
US9462053B2 (en) 2013-08-09 2016-10-04 Huawei Technologies Co., Ltd. Method and apparatus for connection establishment
CN104426692A (en) * 2013-08-26 2015-03-18 联想(北京)有限公司 Information processing method, apparatus, and network server
CN103532805A (en) * 2013-11-06 2014-01-22 中国联合网络通信集团有限公司 Sending method and device for periodic messages of home terminal
CN103997436A (en) * 2014-05-24 2014-08-20 上海新时达电气股份有限公司 Link maintaining method and gateway in internet of things of elevator
CN105429883B (en) * 2015-10-22 2018-05-18 上海斐讯数据通信技术有限公司 The long connection method of multiple smart machines and server apparatus and smart machine

Similar Documents

Publication Publication Date Title
CN103037483A (en) Network server and method for connecting same and application server
KR101537043B1 (en) Method and system for keeping connection between terminal and servers in communication system
CN104796971A (en) System and method for low power signaling in wireless local area network
CN102571996B (en) IP (Internet Protocol) address assignment method, IP address assignment device and network system
CN102546778B (en) Agent-based cross-platform wireless network access controller multi-board communication method
CN103843418A (en) Method of service agent, modem and terminal
CN101686145A (en) Equipment capable of upgrading, upgrading method and system
CN103312528A (en) Heartbeat message sending method and user terminal
CN104679528B (en) The newer method and apparatus of application program remote
CN105706502A (en) Mobile radio communications device, network device, network system and method
CN103781094A (en) A networking optimization method for wireless networks for industrial automation
CN102238108A (en) Off-line message transmission method
CN104950829A (en) Bus system power consumption control method and device
CN104243266A (en) Method and device for network access
CN105281919A (en) Remote wakening method, server and client terminal
CN103716371A (en) Web real-time data active pushing method
CN103002548B (en) The method of the connection of mobile terminal and maintenance mobile terminal and application server
CN102224720A (en) Refresh requests in soft-state signalling
CN104737596A (en) Putting a piece of equipment connected to a multi-link network on standby
US9237506B2 (en) Method for improving performance and reducing power consumption of a wireless network arrangement
CN105338195A (en) Terminal power saving method and terminal
CN103974224A (en) Credit control method and equipment
CN103068000B (en) Based on the self-organizing network method and system of moonlet
CN114286431B (en) Method and device for starting low-power mode, storage medium and electronic device
KR20120128013A (en) System and method for providing push service

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20130410