A method and device for disconnection reconnection
A disconnection, reconnection, and reconnection technology, applied in the field of mobile internet, can solve the problems of slow reconnection speed, heavy system burden, and chaotic processing logic, so as to improve the reconnection speed, reduce the system burden, and avoid confusion.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0046]This embodiment provides a method for reconnecting after a disconnection, which is applied to a mobile terminal. The mobile terminal may be a smart phone, a tablet computer, a game console, etc. As for the specific device of the mobile terminal, this Examples are not specifically limited. Wherein, an operating system (for example: Android system, or IOS system) is installed in the mobile terminal, and a client is installed on the operating system, and the execution subject of the method for disconnection and reconnection in this embodiment is the client.
[0047] Such as figure 1 As shown, the method for disconnection and reconnection includes:
[0048] Step S101: During the networking process between the client and the server, the monitoring module monitors the network status of the mobile terminal, wherein the client is installed on the system of the mobile terminal, and the monitoring module is set in the client.
[0049] In a specific implementation process, the c...
Embodiment 2
[0068] Based on the same inventive concept, this embodiment provides a disconnection reconnection device 200, such as figure 2 shown, including:
[0069] The monitoring module 201 is configured to monitor the network status of the mobile terminal during the networking process between the client and the server, wherein the client is installed on the system of the mobile terminal, and the monitoring module is set on the client In; when it is found that the network of the mobile terminal is abnormal, send a preset message to the system of the mobile terminal;
[0070] The reconnection module 202 is configured to receive the preset message, and re-establish the network connection between the client and the server based on the preset message, wherein the reconnection module is set on the client terminal.
[0071] As an optional embodiment, the monitoring module 201 is specifically used for:
[0072] The socket connection between the client and the server is monitored, and if th...
Embodiment 3
[0083] Based on the same inventive idea, such as image 3 As shown, the present embodiment provides a disconnection reconnection device 300, including a memory 310, a processor 320, and a computer program 311 stored in the memory 310 and operable on the processor 320, and the processor 320 executes the computer program 311 to implement the following steps:
[0084]During the networking process between the client and the server, the monitoring module monitors the network status of the mobile terminal, wherein the client is installed on the system of the mobile terminal, and the monitoring module is set in the client; When the network of the mobile terminal is abnormal, the monitoring module sends a preset message to the system of the mobile terminal; the reconnection module receives the preset message, and based on the preset message, re-establishes the client The network connection between the client and the server, wherein the reconnection module is set in the client.
[00...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com