CN107484232A - Message method, system, the network equipment and readable storage medium storing program for executing - Google Patents
Message method, system, the network equipment and readable storage medium storing program for executing Download PDFInfo
- Publication number
- CN107484232A CN107484232A CN201710720171.5A CN201710720171A CN107484232A CN 107484232 A CN107484232 A CN 107484232A CN 201710720171 A CN201710720171 A CN 201710720171A CN 107484232 A CN107484232 A CN 107484232A
- Authority
- CN
- China
- Prior art keywords
- terminal
- message
- application server
- network equipment
- client
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/58—Message adaptation for wireless communication
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
A kind of message method, system, the network equipment and readable storage medium storing program for executing, methods described are applied to a network equipment, and for the network equipment by network connected terminal, terminal is provided with application client, and methods described includes:When the application client that the network equipment is detected in terminal is arranged to network agent pattern, the long connection that the network equipment is established between application server corresponding with application client, the network agent pattern are the long connection between application client disconnection and application server in terminal;When the network equipment listens to the message that application server issues for terminal, terminal is sent a message to.The embodiment of the present invention saves power consumption of terminal of the terminal in time caused by communication, reaches the purpose of power saving by the way that the network detection in timely communication process and connection communication all network equipments are completed.
Description
Technical field
The present invention relates to technical field of communication network, more particularly to a kind of message method, system, the network equipment and
Readable storage medium storing program for executing.
Background technology
With the fast development of mobile communication, terminal such as mobile phone, tablet personal computer etc. are brought greatly for the communication of people
It is convenient, turn into equipment essential in people's life and work.
At present, the instant messaging application such as wechat, qq becomes the applications client that must be installed of each smart machine.
When developing end application, we generally require to send immediately respectively from the applications client into terminal of server not timing
Kind notification message.
Current scheme is all to establish long connection with application server by the applications client of terminal, then using heartbeat
Machine contracting system obtains message.Applications client needs to cycle through heartbeat data packets to application server, to cause application server
Correct state is maintained for it.The power consumption of mobile terminal can be increased by frequently sending heartbeat data packets, especially when network-like
In the case that condition is bad, the reconnection mechanism of mobile terminal itself can cause power consumption to double.
The content of the invention
In view of above-mentioned condition, it is necessary to for terminal power consumption amount during instant messaging in the prior art it is big the problem of, carry
For a kind of message method, system, the network equipment and readable storage medium storing program for executing.
On the one hand, the embodiments of the invention provide a kind of message method, applied to a network equipment, the network is set
Standby to be provided with application client by network connected terminal, the terminal, methods described includes:
When the application client that the network equipment is detected in the terminal is arranged to network agent pattern
When, the length that the network equipment is established between application server corresponding with the application client connects, the network
Proxy mode is that the application client in the terminal disconnects and the length connection between the application server;
When the network equipment listens to the message that the application server issues for the terminal, by the message
Send to the terminal.
In the embodiment of the present invention, when the network equipment detects that the application client of terminal is arranged to network agent pattern
When, the network equipment is established to be connected the length between application server, and monitors whether application server has disappearing for the terminal
Breath.After the network equipment receives the message of application server, retransmit to terminal and handled.Application client in terminal
When end is under network agent pattern, the long connection between application server is disconnected, application server is avoided and frequently sends
Power consumption caused by heartbeat data packets to application server.Network during instant messaging is detected and connected by the embodiment of the present invention
Connect letter to be completed by the network equipment, save the terminal work(caused by network linking of terminal instant messaging when without communication data
Consumption, reach the purpose of power saving.
Above-mentioned message method, wherein, the network equipment detects whether the application client is arranged to net
The step of network proxy mode, includes:
After foundation and the network connection of the terminal is detected, prompt message is sent to the terminal, the prompting letter
Cease for prompting whether the terminal by the application client is arranged to network agent pattern;
When receiving the confirmation message of the terminal feedback, determine that the application client is arranged to the network
Proxy mode.
Above-mentioned message method, wherein, comprising the application client in the network equipment confirmation
Sign-On authentication information, before the long connection between the foundation and the application server, methods described also includes:
The Sign-On authentication information is sent to the application server and is authenticated;
If receive the successful message of certification that the application server returns, it is determined that set up and the application service
Long connection between device.
Above-mentioned message method, wherein, the terminal identification information also including the terminal and institute in the confirmation
State the client identification information of application client, after the confirmation message for receiving the terminal feedback, the side
Method also includes:
The terminal identification information and the corresponding relation of the client identification information are stored.
Above-mentioned message method, wherein, it is described when listening to the application server for disappearing of issuing of the terminal
During breath, the step of sending the message to the terminal, specifically includes:
After the message that the application server issues is listened to, the client mark described in extraction from the message
Know information;
According to the corresponding relation lookup terminal identification information corresponding with the client identification information, and according to
The terminal identification information found sends the message to corresponding terminal.
Above-mentioned message method, if being found according to the corresponding relation corresponding with the client identification information more
During the individual terminal identification information, the message is respectively sent to corresponding multiple respectively with multiple terminal identification informations
The terminal.
Above-mentioned message method, wherein, long the step of connecting between the foundation and the application server, is specific
Including:
Circulation initiates the HTTP request of prefixed time interval to the application server, is to monitor the application server
No issuing message to the application server is directed to the terminal.
On the other hand, the embodiment of the present invention has also carried a kind of network equipment, the network equipment by network connected terminal,
The terminal is provided with application client, and the network equipment includes:
Connection establishment module, for detecting that the application client in the terminal is arranged to network for working as
During proxy mode, the length established between application server corresponding with the application client connects, the network agent
Pattern is that the application client in the terminal disconnects and the length connection between the application server;
Sending module, for when listening to the message that the application server issues for the terminal, disappearing described
Breath is sent to the terminal.
The embodiment of the present invention additionally provides a kind of message transmission system, including application server and terminal and above-mentioned network are set
It is standby.
The embodiment of the present invention additionally provides a kind of readable storage medium storing program for executing, is stored thereon with computer program, described program quilt
The step of the above method is realized during computing device
The embodiment of the present invention additionally provides a kind of network equipment, including memory, processor and storage are on a memory
And the computer program that can be run on a processor, realize such as the step of above-mentioned method during the computing device described program.
Brief description of the drawings
Fig. 1 is the flow chart of the message method in first embodiment of the invention;
Fig. 2 is the flow chart of the message method in second embodiment of the invention;
Fig. 3 is the structured flowchart of the network equipment in third embodiment of the invention.
Embodiment
Embodiments of the invention are described below in detail, the example of the embodiment is shown in the drawings, wherein from beginning to end
Same or similar label represents same or similar element or the element with same or like function.Below with reference to attached
The embodiment of figure description is exemplary, is only used for explaining the present invention, and is not considered as limiting the invention.
With reference to following description and accompanying drawing, it will be clear that these and other aspects of embodiments of the invention.In these descriptions
In accompanying drawing, some particular implementations in embodiments of the invention are specifically disclosed, to represent to implement the implementation of the present invention
Some modes of the principle of example, but it is to be understood that the scope of embodiments of the invention is not limited.On the contrary, the present invention
Embodiment includes all changes, modification and the equivalent fallen into the range of the spirit and intension of attached claims.
Referring to Fig. 1, be the message method in first embodiment of the invention, applied in message transmission system, institute
Stating message transmission system includes application server, the network equipment and terminal.When terminal connects the network equipment, the network equipment is with answering
Long connection is established with server.The network equipment is used to connect network, for example, router, modem etc..Specifically with
Router example, it is essentially identical with the function of wired or wireless router of the prior art, and difference is, passes through route
Device establishes the function of long connection realization and the instant messaging of application server with application server.When it is implemented, router
Instant communication function can be realized by the trustship module in router, and long connect is established by the trustship module and application server
Connect.Router sends a bit of data (heartbeat data packets) to application server at regular intervals, to cause application server
Correct state is maintained for it.Terminal is, for example, mobile phone, tablet personal computer or wearable device etc., for installing application client
End, and with the function of connection wireless network.The message method includes step S11~S12.
Step S11, when any one application client that the network equipment is detected in a terminal is arranged to network agent
During pattern, the length that the network equipment is established between application server corresponding with the application client connects, described
Network agent pattern is that the application client in the terminal disconnects and the length connection between the application server.
When any one terminal enters the wifi coverages of the network equipment, the network connection side of terminal can be set in user
Formula is wifi connections, terminal is established network connection with the network equipment.It should be understood that any one terminal can by wired or
Wirelessly network connection is established with the network equipment.
When terminal is connected to the network equipment, the application client in terminal disconnects corresponding application server
Between long connection.I.e. the application client need not send heartbeat data packets to maintain connection status to application server,
The CPU of terminal is constantly in sleep state when without message, reduce kwh loss, will not produce by applications client IMU
The electricity consume of news.When user determines terminal being arranged to proxy mode, confirmation to the network that terminal sends feedback is set
Standby, the network equipment determines that application client is arranged to network agent pattern.
One or more application clients are at least installed, user can select should by one or more in general terminal
Proxy mode is arranged to program, accordingly, the network equipment establishes application corresponding with an application client in terminal
Long connection between server, the length that can also be established between each self-corresponding application server of multiple application clients
Connection.
The network equipment is established TCP length with application server and connected, to realize the real-time arrival of message.Long connection typically passes through
HTTP (HTTP-Hypertext transfer protocol, HTTP) Long-pull (long connection) mode
Realize, i.e. the initiation of network equipment circulation is established with server and connected at intervals of the HTTP request of certain time length.Server is in
Wait state, when there is message to need to send, server transmits the message to the network equipment.
Step S12, when the network equipment listens to the message that application server issues for the terminal, by described in
Message is sent to terminal.
Application client is, for example, wechat, QQ, microblogging, mailbox etc..User installs application client in the terminal
Filling registration information is needed during end, the log-on message is the account of user's registration, password including user's mark.And the registration is believed
Breath and application program identification information are sent to corresponding application server as client identification information.Application program identification information
For distinguishing application client, such as wechat or QQ.
When the message for the registered user of a certain terminal be present, application server passes through the network equipment and application service
Long interface channel between device sends message, and the message includes the client identification information for the terminal.Application server
The message issued is sent to the network equipment, and the network equipment sends a message to the terminal, and the terminal sends a message to client
Application client corresponding to identification information.
Terminal is during no use, and the CPU of most of the time terminal is to maintain sleep, and wifi chip is periodically waken up automatically
Cross to make a return journey and detect whether the message of oneself.When relevant one's own number in the Beacon (beacon) that terminal wifi chip receives
According to caching sign when, to stay awake for and send PS-poll bags to the network equipment, send a message to the network equipment
Terminal, while need to wake up terminal CPU to handle the message sended over.If wifi chip find Beacon in not on
The cache information of oneself, then continue dormancy and repeat this operation until the next DTIM cycles arrive.
When the network equipment sends a message to terminal, the CPU of terminal is waken up, carries out bright screen, indicator lamp flicker etc., and offset
Breath is handled, and sends a message to corresponding application client.Therefore the application client of terminal is without frequently
Transmission heartbeat data packets, increase the power consumption of terminal, but long connection is established by the network equipment and application server, go forward side by side
Row heartbeat detection.Terminal CPU is waken up by wifi chip again when the network equipment detects that active user has new information, so as to eventually
End CPU makes corresponding processing (such as bright screen, indicator lamp glittering etc.), informs that user has new information.
The embodiment of the present invention establishes long connection by the network equipment and application server, and monitors whether application server has
For the message of the terminal.When the network equipment receives the message of application server, send a message to terminal, terminal send to
Corresponding application client.The present embodiment is complete by the network equipment by the network detection during instant messaging and connection communication
Into saving the power consumption of terminal caused by network linking of terminal instant messaging when without communication data, reach the purpose of power saving.
Referring to Fig. 2, be the message method in second embodiment of the invention, including step S21~S24.
Step S21, after the network equipment, which detects, establishes the network connection with a terminal, prompt message is sent to the end
End, the prompt message are used to prompt whether the terminal by the application client in the terminal is arranged to network agent
Pattern.The network agent pattern is that the application client disconnects application clothes corresponding with the application client
Long connection between business device.
After the network equipment, which detects, to be established with the network connection of a terminal, all application programs in terminal are obtained
Information.And prompt message is sent to terminal, the prompt message is used to prompt whether the terminal is set application client
For network agent pattern.User determines whether the application client in the client being arranged to generation according to prompt message
Reason pattern.When it is implemented, prompt message can with when for multiple application clients sequentially information, such as " whether
Wechat application is arranged to proxy mode " and the options for user confirmation of yes/no is provided, retransmiting one afterwards should for QQ
With the prompt message of programmatic client.
It should be understood that the prompt message can be used for controlling terminal to show all application programs in the form of a list
Information, for user selection need to be arranged to the application terminal of proxy mode.One or more in list is chosen as user
After individual application client and determination, it will confirm that feedback of the information to the network equipment.
It is right therewith that the application client for needing to be arranged to network agent pattern that terminal confirms user simultaneously disconnects
Long connection between the application server answered, to keep depth standby, reduce terminal CPU electricity consume.
Step S22, the confirmation current application program that the terminal feedback is received when the network equipment are arranged to network
During the confirmation message of proxy mode, determine that the current application program client is arranged to the network agent pattern.
The network equipment determines which application client is arranged to network agent pattern according to the confirmation message of feedback.
It can also be multiple that the application client for being arranged to network agent pattern, which can be one,.
Step S23, the network equipment are established between application server corresponding with the current application program client
Long connection.When it is implemented, network equipment circulation initiates the HTTP request of prefixed time interval to the application server, with
Monitoring the application server, whether issuing message to the application server is directed to the terminal.
When user determines wechat or QQ being arranged to proxy mode according to prompt message, terminal sends out the confirmation of feedback
Deliver to the network equipment, the network equipment establish between application server corresponding with wechat, QQ it is long connect, and monitor the two clothes
Whether business device has the wechat for being issued to the terminal or QQ message.
Further, the Sign-On authentication information of the current application program client, network are included in the confirmation
Establish before the long connection between application server corresponding with the current application program client, in addition to step:
The network equipment sends the Sign-On authentication information to application service corresponding to the current application program client
Device is authenticated;
If receiving the successful message of certification that application server corresponding to the current application program client returns,
It is determined that set up the long connection between the application server.
The Sign-On authentication information of application client, which includes application server, needs the information of certification, as login account,
Password, server ip etc..The network equipment is authenticated with application server using Sign-On authentication information, logged in, application server
User, which can not be identified, to be logged in by the network equipment or terminal directly checking.After application server is proved to be successful, then network
The long connection that equipment is established between application program.
Further, the terminal identification information in the confirmation also including the terminal and the current application program
The client identification information of client, after the network equipment receives the confirmation message of the terminal feedback, by the terminal
The corresponding relation of identification information and the client identification information is stored.Ip address of the terminal identification information including terminal,
Mac addresses, terminal unique mark.
Step S24, will when the network equipment listens to the message that the application server issues for the terminal
The message is sent to the terminal.
After the network equipment listens to the message that application server issues, client identification information in being extracted from message.
Terminal identification information corresponding with client identification information is searched according to corresponding relation, and according to the terminal identification information found
Send a message to corresponding terminal.
When application server needs to send message to the registered user of a certain application program, by message and application program visitor
The client identification information at family end is sent to the network equipment by the long interface channel between the network equipment and application server
In.Such as wechat client is installed in terminal, after certain user sends registration request by terminal to application server, using clothes
The client identification information of the wechat client of the terminal is stored on business device.When in the presence of the wechat message for being sent to the registered user
When, wechat application server sends messages to the network equipment.Client identification letter is contained in the message that application server is sent
The user's mark and application program identification information of breath, i.e. registered user.
Further, if finding multiple terminal marks corresponding with the client identification information according to the corresponding relation
When knowing information, message is respectively sent to distinguish corresponding multiple terminals with multiple terminal identification informations.
When the multiple terminals being connected with the network equipment while when having logged in the application client that a certain client uses, eventually
End, which is fed back in the confirmation of the network equipment, contains multiple terminal identification informations.The network equipment is by multiple terminal identification informations
It is corresponding with client identification information to be stored.
Client identification information in network equipment extraction message, and terminal corresponding to client identification information is searched, and
Send a message in the terminal found.The CPU work of terminal, bright screen, indicator lamp flicker etc. are carried out, and sent a message to
Corresponding application client.Long connection is established by the network equipment and application server, and carries out heartbeat detection.Work as network
Equipment detects wakes up terminal CPU by wifi chip again when active user has new information, so as to which terminal CPU makes corresponding place
Reason (such as bright screen, indicator lamp glittering etc.), informs that user has new information.Therefore the application client of terminal is without sending
Heartbeat data packets, reduce the power consumption of terminal.
The present embodiment by the network equipment keep with the instant messaging of application server, terminal is without other application, and nothing
When message comes in a dormant state, the electricity consume of terminal is reduced.
Referring to Fig. 3, being the network equipment in third embodiment of the invention, the network equipment is whole by network connection
End, the terminal are provided with application client, and the network equipment includes:
Connection establishment module 100, for detecting that the application client in terminal is arranged to network agent for working as
During pattern, the length established between application server corresponding with the application client connects, the network agent pattern
Disconnected and the long connection between the application server for the application client in the terminal;
Sending module 200, described in when listening to the message that the application server issues for the terminal, inciting somebody to action
Message is sent to the terminal.
Further, the network equipment also includes:
Authentication module 300, it is authenticated for the Sign-On authentication information to be sent to the application server;
If receive the successful message of certification that the application server returns, it is determined that set up and the application service
Long connection between device.
Further, the terminal identification information in the confirmation also including the terminal and the application client
The client identification information at end.The network equipment also includes:Memory module 400, for by the terminal identification information and institute
The corresponding relation for stating client identification information is stored.
Further, it is described when listening to the message that the application server issues for the terminal, disappear described
Breath sends to the step of terminal and specifically included:
After the message that the application server issues is listened to, the client mark described in extraction from the message
Know information;
According to the corresponding relation lookup terminal identification information corresponding with the client identification information, and according to
The terminal identification information found sends the message to corresponding terminal.
Further, if finding multiple ends corresponding with the client identification information according to the corresponding relation
When holding identification information, the message is respectively sent to distinguish corresponding multiple ends with multiple terminal identification informations
End.
The embodiment of the present invention establishes long connection by the network equipment and application server, and whether monitors application server
There is the message for the terminal.When the network equipment receives the message of application server, terminal is sent a message to, terminal is sent
To corresponding application client.The present embodiment is by the network detection during instant messaging and connection communication by the network equipment
Complete, save the power consumption of terminal caused by network linking of terminal instant messaging when without communication data, reach the mesh of power saving
's.
Present invention also offers the network in a kind of message transmission system, including application server, terminal above-described embodiment
Equipment.
The network equipment and message transmission system of the present embodiment, it can be used for performing any shown method implementations of Fig. 1 to Fig. 2
The technical scheme of example, its implementing principle and technical effect is similar, and here is omitted.
The embodiment of the present invention additionally provides a kind of readable storage medium storing program for executing, is stored thereon with computer program, described program quilt
The step of above method is realized during computing device.
The embodiment of the present invention additionally provides a kind of network equipment, including memory, processor and storage are on a memory
And the computer program that can be run on a processor, the step of realizing the above method during computing device described program.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use
In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (such as computer based system including the system of processor or other can be held from instruction
The system of row system, device or equipment instruction fetch and execute instruction) use, or combine these instruction execution systems, device or set
It is standby and use.For the purpose of this specification, " computer-readable medium " can any can be included, store, communicate, propagate or pass
Defeated program is for instruction execution system, device or equipment or the dress used with reference to these instruction execution systems, device or equipment
Put.
The more specifically example (non-exhaustive list) of computer-readable medium includes following:Connected up with one or more
Electrical connection section (electronic installation), portable computer diskette box (magnetic device), random access memory (RAM), read-only storage
(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device, and portable optic disk is read-only deposits
Reservoir (CDROM).In addition, computer-readable medium, which can even is that, to print the paper of described program thereon or other are suitable
Medium, because can then enter edlin, interpretation or if necessary with it for example by carrying out optical scanner to paper or other media
His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each several part of the present invention can be realized with hardware, software, firmware or combinations thereof.Above-mentioned
In embodiment, software that multiple steps or method can be performed in memory and by suitable instruction execution system with storage
Or firmware is realized.If, and in another embodiment, can be with well known in the art for example, realized with hardware
Any one of row technology or their combination are realized:With the logic gates for realizing logic function to data-signal
Discrete logic, have suitable combinational logic gate circuit application specific integrated circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or the spy for combining the embodiment or example description
Point is contained at least one embodiment or example of the present invention.In this manual, to the schematic representation of above-mentioned term not
Necessarily refer to identical embodiment or example.Moreover, specific features, structure, material or the feature of description can be any
One or more embodiments or example in combine in an appropriate manner.
Embodiment described above only expresses the several embodiments of the present invention, and its description is more specific and detailed, but simultaneously
Therefore the limitation to the scope of the claims of the present invention can not be interpreted as.It should be pointed out that for one of ordinary skill in the art
For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the guarantor of the present invention
Protect scope.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.
Claims (11)
1. a kind of message method, it is characterised in that applied to a network equipment, the network equipment is whole by network connection
End, the terminal are provided with application client, and methods described includes:
When the application client that the network equipment is detected in the terminal is arranged to network agent pattern, institute
State the long connection that the network equipment is established between application server corresponding with the application client, the network agent mould
Formula is that the application client in the terminal disconnects and the length connection between the application server;
When the network equipment listens to the message that the application server issues for the terminal, the message is sent
To the terminal.
2. message method as claimed in claim 1, it is characterised in that the network equipment detects the application program visitor
Whether family end, which is arranged to the step of network agent pattern, includes:
After foundation and the network connection of the terminal is detected, send prompt message to the terminal, the prompt message and use
In prompting whether the terminal by the application client is arranged to network agent pattern;
When receiving the confirmation message of the terminal feedback, determine that the application client is arranged to the network agent
Pattern.
3. message method as claimed in claim 2, it is characterised in that the application program is included in the confirmation
The Sign-On authentication information of client, the network equipment are established before the long connection between the application server, the side
Method also includes:
The Sign-On authentication information is sent to the application server and is authenticated;
If receive the successful message of certification that the application server returns, it is determined that set up with the application server it
Between long connection.
4. message method as claimed in claim 2, it is characterised in that also including the terminal in the confirmation
The client identification information of terminal identification information and the application client, the confirmation for receiving the terminal feedback
After message, methods described also includes:
The terminal identification information and the corresponding relation of the client identification information are stored.
5. message method as claimed in claim 4, it is characterised in that described to be directed to when listening to the application server
During the message that the terminal issues, the step of sending the message to the terminal, specifically includes:
After the message that the application server issues is listened to, the client identification letter described in extraction from the message
Breath;
The terminal identification information corresponding with the client identification information is searched according to the corresponding relation, and according to lookup
The terminal identification information arrived sends the message to corresponding terminal.
6. message method as claimed in claim 5, it is characterised in that if according to the corresponding relation find with it is described
Corresponding to client identification information during multiple terminal identification informations, the message is respectively sent to and multiple terminals
Multiple terminals corresponding to identification information difference.
7. the message method as described in claim 1-6 is any, it is characterised in that the foundation and the application server
Between long connection the step of specifically include:
Circulation initiates the HTTP request of prefixed time interval to the application server, with monitor the application server whether under
Hair message to the application server is directed to the terminal.
8. a kind of network equipment, it is characterised in that the network equipment is provided with application by network connected terminal, the terminal
Programmatic client, including:
Connection establishment module, detect that the application client in the terminal is arranged to network agent pattern for working as
When, the length established between application server corresponding with the application client connects, and the network agent pattern is institute
The application client in terminal is stated to disconnect and the length connection between the application server;
Sending module, for when listening to the message that the application server issues for the terminal, the message to be sent out
Deliver to the terminal.
9. a kind of message transmission system, including application server and terminal, it is characterised in that also including described in claim 8
The network equipment.
10. a kind of readable storage medium storing program for executing, is stored thereon with computer program, it is characterised in that described program is executed by processor
The step of methods of the Shi Shixian as described in any one in claim 1-7.
11. a kind of network equipment, it is characterised in that on a memory and can handled including memory, processor and storage
The computer program run on device, it is characterised in that realized during the computing device described program as in claim 1-7
The step of method described in any one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710720171.5A CN107484232A (en) | 2017-08-21 | 2017-08-21 | Message method, system, the network equipment and readable storage medium storing program for executing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710720171.5A CN107484232A (en) | 2017-08-21 | 2017-08-21 | Message method, system, the network equipment and readable storage medium storing program for executing |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107484232A true CN107484232A (en) | 2017-12-15 |
Family
ID=60601103
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710720171.5A Pending CN107484232A (en) | 2017-08-21 | 2017-08-21 | Message method, system, the network equipment and readable storage medium storing program for executing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107484232A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108173910A (en) * | 2017-12-18 | 2018-06-15 | 网宿科技股份有限公司 | A kind of method and system for managing application |
CN112491810A (en) * | 2020-11-09 | 2021-03-12 | 珠海格力电器股份有限公司 | Data connection method and mobile terminal |
CN112769926A (en) * | 2020-12-31 | 2021-05-07 | 广州鲁邦通物联网科技有限公司 | Internet of things center, system and communication method |
CN113162956A (en) * | 2020-01-22 | 2021-07-23 | 华为技术有限公司 | Method, device and network equipment for establishing communication connection |
CN113765948A (en) * | 2020-06-02 | 2021-12-07 | 华为技术有限公司 | Long connection device and network system |
CN114244886A (en) * | 2021-11-22 | 2022-03-25 | 北京小米移动软件有限公司 | Device control method, device control apparatus, and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103188653A (en) * | 2011-12-27 | 2013-07-03 | 华为终端有限公司 | Method of data receiving, method of data sending, mobile terminal and server |
CN103685570A (en) * | 2013-12-27 | 2014-03-26 | 兴天通讯技术(天津)有限公司 | Server, terminal and message pushing method |
-
2017
- 2017-08-21 CN CN201710720171.5A patent/CN107484232A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103188653A (en) * | 2011-12-27 | 2013-07-03 | 华为终端有限公司 | Method of data receiving, method of data sending, mobile terminal and server |
CN103685570A (en) * | 2013-12-27 | 2014-03-26 | 兴天通讯技术(天津)有限公司 | Server, terminal and message pushing method |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108173910A (en) * | 2017-12-18 | 2018-06-15 | 网宿科技股份有限公司 | A kind of method and system for managing application |
CN113162956A (en) * | 2020-01-22 | 2021-07-23 | 华为技术有限公司 | Method, device and network equipment for establishing communication connection |
CN113765948A (en) * | 2020-06-02 | 2021-12-07 | 华为技术有限公司 | Long connection device and network system |
WO2021244087A1 (en) * | 2020-06-02 | 2021-12-09 | 华为技术有限公司 | Long connection apparatus and network system |
CN113765948B (en) * | 2020-06-02 | 2022-12-27 | 华为技术有限公司 | Long connection device and network system |
CN112491810A (en) * | 2020-11-09 | 2021-03-12 | 珠海格力电器股份有限公司 | Data connection method and mobile terminal |
CN112491810B (en) * | 2020-11-09 | 2021-09-21 | 珠海格力电器股份有限公司 | Data connection method and mobile terminal |
CN112769926A (en) * | 2020-12-31 | 2021-05-07 | 广州鲁邦通物联网科技有限公司 | Internet of things center, system and communication method |
CN114244886A (en) * | 2021-11-22 | 2022-03-25 | 北京小米移动软件有限公司 | Device control method, device control apparatus, and storage medium |
CN114244886B (en) * | 2021-11-22 | 2024-04-30 | 北京小米移动软件有限公司 | Device control method, device control apparatus, and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107484232A (en) | Message method, system, the network equipment and readable storage medium storing program for executing | |
US11265814B2 (en) | Implementation method of low power consumption internet of things based on proxy apparatus | |
KR101821711B1 (en) | Neighbor discovery to support sleepy nodes | |
US9198217B2 (en) | Method for maintaining connection between terminal and network server, terminal and network server | |
TWI388169B (en) | Wireless communication device and its power saving method | |
KR20140030338A (en) | Power save proxy in communication networks | |
CN106125621A (en) | security monitoring system and security monitoring method | |
JP2016526863A (en) | Data processing method and apparatus | |
WO2015154462A1 (en) | Method and device for managing instant communication application program, and mobile terminal thereof | |
EP2856698B1 (en) | Network presence offload | |
US9544851B2 (en) | Communication terminal, communication method, and computer readable medium | |
US20130227576A1 (en) | Method and apparatus for controlling task execution | |
CN103686953A (en) | Mobile-terminal sleep wake-up method | |
CN109842919A (en) | A kind of communication of terminal and base station, terminal method of network entry and device | |
CN102339122A (en) | Digital communication device capable of saving electricity, and electricity-saving control device and method thereof | |
CN105450422A (en) | Wireless access point fault remote automatic recovery system based on access controller and POE switch | |
CN106550438A (en) | Limit method and system, the mobile device of periodic wakeup | |
CN107809789B (en) | Communication method, communication device, access point and station of wireless local area network | |
CN104243719A (en) | Heartbeat period determining method, system and device for long connection in mobile communication network | |
CN102413179A (en) | Automatic power-on or wake-up machine and power-on or wake-up method thereof | |
CN106559812B (en) | A kind of based reminding method, device and the core net node of end delay calling | |
CN101115217A (en) | Method, system and device of paging access terminal | |
CN104066159B (en) | A kind of method that mobile terminal sleeping wakes up | |
CN105357387A (en) | Method, apparatus and system for wakening terminal | |
CN104954148A (en) | Control method and device of node equipment and router |
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: 20171215 |