CN110913416B - Terminal, networking method thereof and computer-readable storage medium - Google Patents

Terminal, networking method thereof and computer-readable storage medium Download PDF

Info

Publication number
CN110913416B
CN110913416B CN201911070209.4A CN201911070209A CN110913416B CN 110913416 B CN110913416 B CN 110913416B CN 201911070209 A CN201911070209 A CN 201911070209A CN 110913416 B CN110913416 B CN 110913416B
Authority
CN
China
Prior art keywords
terminal
configuration parameters
networking configuration
networking
standby
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.)
Active
Application number
CN201911070209.4A
Other languages
Chinese (zh)
Other versions
CN110913416A (en
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.)
Shenzhen Ticomm Information Technology Co ltd
Original Assignee
Shenzhen Ticomm Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Ticomm Information Technology Co ltd filed Critical Shenzhen Ticomm Information Technology Co ltd
Priority to CN201911070209.4A priority Critical patent/CN110913416B/en
Publication of CN110913416A publication Critical patent/CN110913416A/en
Application granted granted Critical
Publication of CN110913416B publication Critical patent/CN110913416B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/19Connection re-establishment

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a terminal networking method, which comprises the following steps: when the updating of the networking configuration parameters of the terminal is detected and the continuous time of the disconnection of the terminal and the network reaches the preset time, acquiring standby networking configuration parameters; and updating the current networking configuration parameters of the terminal into the standby networking configuration parameters so that the terminal is reconnected to the network according to the standby networking configuration parameters. The invention also discloses a terminal and a computer readable storage medium. The invention has higher efficiency of re-connecting the terminal to the network.

Description

Terminal, networking method thereof and computer-readable storage medium
Technical Field
The present invention relates to the field of network connection technologies, and in particular, to a terminal, a networking method thereof, and a computer-readable storage medium.
Background
The most critical function on the network termination equipment is the network connection. Meanwhile, the terminal cannot be normally networked due to misoperation of a user and abnormal power-off of the terminal, namely the reason that the terminal cannot be connected to the network is that the networking configuration parameters of the terminal are abnormal.
In the prior art, when a terminal accesses an operator network, if networking device parameters of the terminal are abnormal, only factory settings can be restored, that is, all configurations of the terminal are cleared, and networking parameters of the terminal are reconfigured in a brand-new state, so that the terminal is connected to the network for reuse. However, this operation relies on manual intervention, and the efficiency of re-accessing the network by the terminal is low.
Disclosure of Invention
The invention mainly aims to provide a terminal, a networking method thereof and a computer readable storage medium, aiming at solving the problem of low efficiency of re-connecting the terminal to a network.
In order to achieve the above object, the networking method for terminals provided by the present invention includes the following steps:
when the updating of the networking configuration parameters of the terminal is detected and the continuous time of the disconnection of the terminal and the network reaches the preset time, acquiring standby networking configuration parameters;
and updating the current networking configuration parameters of the terminal into the standby networking configuration parameters so that the terminal is reconnected to the network according to the standby networking configuration parameters.
In an embodiment, the standby networking configuration parameters are stored in the terminal or the management and control server, and the terminal acquires the standby networking configuration parameters from the management and control server through a built-in communication card.
In an embodiment, before the step of obtaining the standby networking configuration parameter, the method further includes:
and after the terminal is successfully connected with the network, storing the networking configuration parameters of the terminal as standby networking configuration parameters.
In an embodiment, after the step of updating the current networking configuration parameter of the terminal to the standby networking configuration parameter, the method further includes:
when the terminal fails to perform networking according to the standby networking configuration parameters, the networking configuration parameters of the terminal are recovered to the networking configuration parameters when the terminal is disconnected from the network, and prompt information that the terminal cannot perform networking under the influence of external factors is output.
In an embodiment, after the step of updating the current networking configuration parameter of the terminal to the standby networking configuration parameter, the method further includes:
when the terminal fails to perform networking according to the standby networking configuration parameters and the terminal fails to connect with the management and control server according to the standby networking configuration parameters, the networking configuration parameters of the terminal are recovered to be the networking configuration parameters when the terminal is disconnected from the network, and prompt information of network abnormity is output.
In an embodiment, the standby networking configuration parameters are multiple, and the step of updating the current networking configuration parameters of the terminal to the standby networking configuration parameters includes:
acquiring the priority of each standby networking configuration parameter, and determining the standby networking configuration parameter with the highest priority as a target standby networking configuration parameter;
and updating the current networking configuration parameters of the terminal into the target standby networking configuration parameters.
In one embodiment, the priority of the standby networking configuration parameter is determined according to at least one of the use time point, the use times and the network connection success times of the standby networking configuration parameter; wherein the later the point in time of use, the higher the priority of the backup networking configuration parameter; the more the number of uses, the higher the priority of the backup networking configuration parameter; the more times the network connection is successful, the higher the priority of the backup networking configuration parameter.
In an embodiment, after the step of updating the current networking configuration parameter of the terminal to the target standby networking configuration parameter, the method further includes:
when the terminal fails to configure the parameters according to the target standby networking, re-determining the target standby networking configuration parameters in each standby networking configuration parameter which is not determined as the target standby networking configuration parameters;
and returning to execute the step of updating the current networking configuration parameters of the terminal into the target standby networking configuration parameters.
In order to achieve the above object, the present invention further provides a terminal including a memory, a processor, and a terminal networking program stored in the memory and executable on the processor, wherein the terminal networking program, when executed by the processor, implements the steps of the terminal networking method as described above.
To achieve the above object, the present invention also provides a computer-readable storage medium storing a networking program of a terminal, which when executed by a processor, performs the steps of the networking program of the terminal as described above.
According to the terminal, the networking method and the computer readable storage medium provided by the invention, when the updating of the networking configuration parameters of the terminal is detected and the continuous duration of the disconnection between the terminal and the network reaches the preset duration, the terminal acquires the standby networking configuration parameters, so that the current networking configuration parameters of the terminal are updated to the standby networking configuration parameters, and the terminal is enabled to reconnect the network according to the standby networking configuration parameters. When the terminal is disconnected with the network, the network can be reconnected by adopting the standby networking configuration parameters without manually intervening the network reconnection of the terminal, so that the automatic network reconnection of the terminal is realized, and the network reconnection efficiency of the terminal is higher.
Drawings
Fig. 1 is a schematic diagram of a hardware architecture of a terminal according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a first embodiment of a networking method of a terminal according to the present invention;
fig. 3 is a flowchart illustrating a second embodiment of a networking method of a terminal according to the present invention;
fig. 4 is a flowchart illustrating a networking method of a terminal according to a third embodiment of the present invention;
fig. 5 is a flowchart illustrating a networking method of a terminal according to a fourth embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The main solution of the embodiment of the invention is as follows: when the updating of the networking configuration parameters of the terminal is detected and the continuous time of the disconnection of the terminal and the network reaches the preset time, acquiring standby networking configuration parameters; and updating the current networking configuration parameters of the terminal into the standby networking configuration parameters so that the terminal is reconnected to the network according to the standby networking configuration parameters.
When the terminal is disconnected with the network, the network can be reconnected by adopting the standby networking configuration parameters without manually intervening the network reconnection of the terminal, so that the automatic network reconnection of the terminal is realized, and the network reconnection efficiency of the terminal is higher.
As an implementation, the terminal may be as shown in fig. 1.
The embodiment of the invention relates to a terminal, which can be a centralized management and control network terminal, namely the terminal comprises a router, a light cat and the like, and the terminal comprises: a processor 101, e.g. a CPU, a memory 102, a communication bus 103. Wherein a communication bus 103 is used for enabling the connection communication between these components.
The memory 102 may be a high-speed RAM memory or a non-volatile memory (e.g., a disk memory). As shown in fig. 1, the memory 103, which is a kind of computer storage medium, may include therein a networking program of the terminal; and the processor 101 may be configured to invoke the networking program of the terminal stored in the memory 102 and perform the following operations:
when the updating of the networking configuration parameters of the terminal is detected and the continuous time of the disconnection of the terminal and the network reaches the preset time, acquiring standby networking configuration parameters;
and updating the current networking configuration parameters of the terminal into the standby networking configuration parameters so that the terminal is reconnected to the network according to the standby networking configuration parameters.
In one embodiment, the processor 101 may be configured to invoke the networking program of the terminal stored in the memory 102 and perform the following operations:
the standby networking configuration parameters are stored in the terminal or the management and control server, and the terminal acquires the standby networking configuration parameters from the management and control server through a built-in communication card.
In one embodiment, the processor 101 may be configured to invoke the networking program of the terminal stored in the memory 102 and perform the following operations:
and after the terminal is successfully connected with the network, storing the networking configuration parameters of the terminal as standby networking configuration parameters.
In one embodiment, the processor 101 may be configured to invoke the networking program of the terminal stored in the memory 102 and perform the following operations:
when the terminal fails to perform networking according to the standby networking configuration parameters, the networking configuration parameters of the terminal are recovered to the networking configuration parameters when the terminal is disconnected from the network, and prompt information that the terminal cannot perform networking under the influence of external factors is output.
In one embodiment, the processor 101 may be configured to invoke the networking program of the terminal stored in the memory 102 and perform the following operations:
when the terminal fails to perform networking according to the standby networking configuration parameters and the terminal fails to connect with the management and control server according to the standby networking configuration parameters, the networking configuration parameters of the terminal are recovered to be the networking configuration parameters when the terminal is disconnected from the network, and prompt information of network abnormity is output.
In one embodiment, the processor 101 may be configured to invoke the networking program of the terminal stored in the memory 102 and perform the following operations:
acquiring the priority of each standby networking configuration parameter, and determining the standby networking configuration parameter with the highest priority as a target standby networking configuration parameter;
and updating the current networking configuration parameters of the terminal into the target standby networking configuration parameters.
In one embodiment, the processor 101 may be configured to invoke the networking program of the terminal stored in the memory 102 and perform the following operations:
the priority of the standby networking configuration parameters is determined according to at least one of the using time point, the using times and the successful times of network connection of the standby networking configuration parameters; wherein the later the point in time of use, the higher the priority of the backup networking configuration parameter; the more the number of uses, the higher the priority of the backup networking configuration parameter; the more times the network connection is successful, the higher the priority of the backup networking configuration parameter.
In one embodiment, the processor 101 may be configured to invoke the networking program of the terminal stored in the memory 102 and perform the following operations:
when the terminal fails to configure the parameters according to the target standby networking, re-determining the target standby networking configuration parameters in the standby networking configuration parameters which are not determined as the target standby networking configuration parameters;
and returning to execute the step of updating the current networking configuration parameters of the terminal into the target standby networking configuration parameters.
According to the scheme, when the updating of the networking configuration parameters of the terminal is detected and the continuous duration of the disconnection between the terminal and the network reaches the preset duration, the terminal acquires the standby networking configuration parameters, so that the current networking configuration parameters of the terminal are updated to the standby networking configuration parameters, and the terminal is enabled to reconnect the network according to the standby networking configuration parameters. When the terminal is disconnected with the network, the network can be reconnected by adopting the standby networking configuration parameters without manually intervening the network reconnection of the terminal, so that the automatic network reconnection of the terminal is realized, and the network reconnection efficiency of the terminal is higher.
Based on the hardware architecture of the terminal, the embodiment of the networking method of the terminal is provided.
Referring to fig. 2, fig. 2 is a first embodiment of a networking method of a terminal according to the present invention, the networking method of the terminal including the steps of:
step S10, when detecting that the networking configuration parameters of the terminal are updated and the continuous time of disconnection between the terminal and the network reaches the preset time, acquiring standby networking configuration parameters;
in this embodiment, the execution subject is a terminal. The terminal is a centralized management and control network terminal, such as a router, a light cat, and the like. After disconnecting from the network, the terminal will try to reconnect to the network through the current networking configuration parameters, and the terminal starts timing. When the continuous time of disconnection between the terminal and the network reaches the preset time, the current networking configuration parameter of the terminal can be judged to be wrong.
The preset time length can be determined according to the times of trying to connect the network by the terminal, for example, the time interval of trying to connect the network by the terminal is 20s, if the terminal still fails to connect the network within 5 times, it is determined that the current networking configuration parameter of the terminal is abnormal, the networking times is 5 times, and the preset time length is 1min. Certainly, the terminal may directly determine whether the current networking configuration parameter of the terminal is abnormal according to the number of times of the terminal re-networking, that is, the terminal disconnects the network connection for the first time, and if the number of times of the re-networking reaches the preset number, it determines that the current networking configuration parameter of the terminal is abnormal.
In this embodiment, the terminal detects whether the current networking configuration parameter is wrong, and therefore, when the terminal detects that the networking configuration parameter is updated and the duration of disconnection between the terminal and the network reaches the preset duration, the terminal acquires the standby networking configuration parameter, so that the reason that the terminal cannot be networked due to external factors is preliminarily eliminated.
And when the current networking configuration parameters of the terminal are judged to be wrong, the terminal acquires the standby networking configuration parameters. The standby networking configuration parameters are the networking configuration parameters stored when the terminal is successfully connected with the network before. That is, after the terminal is successfully connected with the network, the terminal stores the networking configuration parameters successfully networked as the standby networking configuration parameters; and if the networking configuration parameters which are successfully networked are stored in the terminal, updating the storage time point of the standby networking configuration parameters, namely updating the original storage time point of the standby networking configuration parameters to the time point of the terminal which is successfully networked. The standby networking configuration parameters also include factory set networking parameters.
In addition, the terminal can send the networking configuration parameters successfully networked to the management and control server, and the management and control server stores the networking configuration parameters as the standby networking configuration parameters associated with the terminal, that is, the management and control server obtains the device identifier of the terminal and stores the device identifier and the standby networking configuration parameters in an associated manner. It should be noted that the standby networking configuration parameters stored locally by the terminal may be deleted, and at this time, the terminal may send a request for obtaining the standby networking configuration parameters to the management and control server through the built-in communication card, so that the terminal obtains the standby networking configuration parameters from the management and control server through the communication card. The communication card can be a 3G, 4G, 5G or other mobile phone card.
And step S20, updating the current networking configuration parameters of the terminal into the standby networking configuration parameters so that the terminal can reconnect the network according to the standby networking configuration parameters.
And after the terminal acquires the standby networking configuration parameters, updating the current networking configuration parameters into the standby networking configuration parameters, so that the terminal is reconnected to the network according to the standby networking configuration parameters.
In the technical scheme provided by the embodiment, when the fact that the networking configuration parameters of the terminal are updated and the duration of disconnection between the terminal and the network reaches the preset duration is detected, the terminal acquires the standby networking configuration parameters, so that the current networking configuration parameters of the terminal are updated to the standby networking configuration parameters, and the terminal is enabled to reconnect the network according to the standby networking configuration parameters. When the terminal is disconnected with the network, the network can be reconnected by adopting the standby networking configuration parameters without manually intervening the network reconnection of the terminal, so that the automatic network reconnection of the terminal is realized, and the network reconnection efficiency of the terminal is higher.
Referring to fig. 3, fig. 3 is a second embodiment of the networking method for a terminal according to the present invention, and based on the first embodiment, after step S20, the method further includes:
and S30, when the terminal fails to be networked according to the standby networking configuration parameters, restoring the networking configuration parameters of the terminal to the networking configuration parameters when the terminal is disconnected from the network, and outputting prompt information that the terminal cannot be networked due to the influence of external factors.
In this embodiment, after the terminal fails to perform network connection again according to the standby network connection configuration parameters, it can be determined that the reason why the terminal fails to perform network connection is not that the network connection configuration parameters are wrong, but that the terminal cannot perform network connection successfully due to the influence of external factors. At the moment, the terminal restores the standby networking configuration parameters to the networking configuration parameters when the terminal is disconnected from the network, namely the networking configuration parameters when the terminal is disconnected from the network are not wrong, and the terminal outputs prompt information that the terminal cannot be networked due to the influence of external factors so that a user can detect the environment where the terminal is located to eliminate the external factors and enable the terminal to be networked again.
It should be noted that the standby networking configuration parameters may be multiple sets, the terminal may sequentially adopt each set of standby networking configuration parameters for networking, if all the standby networking configuration parameters cannot enable the terminal to be connected to the network, the terminal restores the standby networking configuration parameters to the networking configuration parameters when the terminal is disconnected from the network, and outputs a prompt that the terminal cannot be networked due to the influence of external factors.
In the technical scheme provided by the embodiment, when the terminal fails to perform networking according to the standby networking configuration parameters, the terminal can be judged to be influenced by external factors and cannot be connected into the network, but the networking configuration parameters are not in a problem, the terminal restores the networking configuration parameters to the networking configuration parameters when the terminal is disconnected from the network, and prompt information that the terminal cannot be networked due to the influence of the external factors is output so as to prompt a user that the networking configuration parameters of the terminal do not need to be changed.
Referring to fig. 4, fig. 4 is a third embodiment of the networking method for a terminal according to the present invention, and based on the second embodiment, after step S20, the method further includes:
and S40, when the terminal fails to be networked according to the standby networking configuration parameters and the terminal fails to be connected with the control server according to the standby networking configuration parameters, restoring the networking configuration parameters of the terminal to the networking configuration parameters when the terminal is disconnected with the network, and outputting prompt information of network abnormity.
In this embodiment, when the terminal fails to perform networking according to the standby networking configuration parameters, the network may have a problem, that is, when the terminal performs network connection using any standby networking configuration parameters, the terminal cannot access the network. Therefore, the reason why the terminal cannot access the network is that the network configuration parameters are wrong when the terminal is disconnected from the network, and the network is abnormal. And the occurrence of the network abnormity is also an external factor.
For this reason, when configuring the networking parameters, the terminal may be connected to the network and other servers through the networking configuration parameters, for example, the terminal may be communicatively connected to the management and control server through the configured networking parameters. That is, the terminal saves the networking configuration parameters capable of connecting with the network and the management and control server as the standby networking configuration parameters. Therefore, when the terminal fails to perform networking according to the standby networking configuration parameters, the terminal can adopt the standby networking configuration parameters to connect the management and control server, and if the terminal cannot connect the management and control server according to the standby networking configuration parameters, the abnormality of the network can be judged. Of course, if the standby networking configuration parameters are multiple groups, if the terminal adopts the standby networking configuration parameters of each group, the terminal cannot be successfully networked, and cannot be connected with the management and control server, the network abnormality can be judged. At the moment, the terminal restores the current networking configuration parameters to the networking configuration parameters when the terminal is disconnected from the network, and outputs prompt information of network abnormity.
In the technical scheme provided by this embodiment, when the terminal fails to perform networking according to the standby networking configuration parameters and the terminal fails to connect with the management and control server according to the standby networking configuration parameters, it may be determined that the terminal is abnormal so that the terminal cannot access the network, the terminal restores the current networking configuration parameters to the networking configuration parameters when the network is disconnected, and outputs prompt information of the network abnormality.
Referring to fig. 5, fig. 5 is a fourth embodiment of the networking method of the terminal of the present invention, and based on any one of the first to third embodiments, the step S20 includes:
step S21, acquiring the priority of each standby networking configuration parameter, and determining the standby networking configuration parameter with the highest priority as a target standby networking configuration parameter;
and step S22, updating the current networking configuration parameters of the terminal into the target standby networking configuration parameters.
In this embodiment, the terminal obtains all the stored standby networking configuration parameters, that is, there are multiple sets of standby networking configuration parameters. The terminal may in turn employ each set of standby networking configuration parameters to connect to the network.
Each group of standby networking configuration parameters has corresponding priority, and the higher the priority is, the more the terminal adopts the standby networking configuration parameters corresponding to the priority to connect the network. The priority can be determined according to at least one of the using time point, the using times and the successful times of network connection of the standby networking configuration parameters, wherein the later the using time point is, the higher the priority of the standby networking configuration parameters is; the more times of use, the higher the priority of the standby networking configuration parameters; the more times the network connection is successful, the higher the priority of the standby networking configuration parameters. It will be appreciated that the point in time of use of the backup networking configuration parameter can characterize the most recent networking configuration parameter that the user has learned; the use times of the standby networking configuration parameters can represent the habit networking configuration parameters of the user to the terminal; and the success times of the standby networking configuration parameters represent the success rate of the successful networking of the terminal. The terminal can determine the target standby networking configuration parameters by adopting different priorities according to different scenes, for example, if a user sets the terminal to be networked according to the latest networking configuration parameters, the target standby networking configuration parameters are determined by adopting the priorities determined by the using time points of the networking configuration parameters; if the user setting terminal is networked according to the networking configuration parameters of the user habit, determining the target standby networking configuration parameters by adopting the priority determined by the use times of the networking configuration parameters; and if the user does not set the priority scheme for the terminal, determining the target standby networking configuration parameters by adopting the priority determined by the successful networking times of the networking configuration parameters.
And the terminal selects the standby networking configuration parameter with the highest priority from the standby networking configuration parameters as a target standby networking configuration parameter, so that the terminal is connected with the network according to the target standby networking configuration parameter.
Further, when the terminal fails to configure the parameters according to the target standby networking, the terminal re-determines the target standby networking configuration parameters from the standby networking configuration parameters which are not determined as the target standby networking configuration parameters, so that the current networking configuration parameters of the terminal are updated to the target standby networking configuration parameters until the terminal successfully accesses the network or the terminal fails to adopt all the standby networking configuration parameters for networking, and the determination of the target standby networking configuration parameters is finished.
In the technical solution provided in this embodiment, the terminal takes the backup networking configuration parameter with the highest priority as the target backup networking configuration parameter, so that the terminal performs network connection in sequence according to the priorities of the backup networking configuration parameters.
The present invention also provides a terminal including a memory, a processor, and a terminal networking program stored in the memory and executable on the processor, wherein the terminal networking program, when executed by the processor, implements the steps of the terminal networking method according to the above embodiments.
The present invention also provides a computer-readable storage medium storing a networking program of a terminal, which when executed by a processor implements the steps of the networking program of the terminal as described in the above embodiments.
The above-mentioned serial numbers of the embodiments of the present invention are only for description, and do not represent the advantages and disadvantages of the embodiments.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element.
Through the description of the foregoing embodiments, it is clear to those skilled in the art that the method of the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but in many cases, the former is a better implementation. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (9)

1. A networking method of a terminal is characterized by comprising the following steps:
when the updating of the networking configuration parameters of the terminal is detected and the continuous time of the disconnection of the terminal and the network reaches the preset time, acquiring standby networking configuration parameters;
updating the current networking configuration parameters of the terminal into the standby networking configuration parameters so that the terminal is reconnected to the network according to the standby networking configuration parameters;
the standby networking configuration parameters are multiple, and the step of updating the current networking configuration parameters of the terminal into the standby networking configuration parameters comprises the following steps:
acquiring the priority of each standby networking configuration parameter, and determining the standby networking configuration parameter with the highest priority as a target standby networking configuration parameter;
updating the current networking configuration parameters of the terminal to the target standby networking configuration parameters;
the priority of the standby networking configuration parameters is determined according to the using time point, the using times and the successful times of network connection of the standby networking configuration parameters.
2. The networking method of a terminal according to claim 1, wherein the standby networking configuration parameters are stored in the terminal or a management and control server, and the terminal obtains the standby networking configuration parameters from the management and control server through a built-in communication card.
3. The networking method of a terminal according to claim 1, wherein said step of obtaining standby networking configuration parameters is preceded by the step of:
and after the terminal is successfully connected with the network, storing the networking configuration parameters of the terminal as standby networking configuration parameters.
4. The networking method of a terminal according to claim 1, wherein after the step of updating the current networking configuration parameters of the terminal to the standby networking configuration parameters, the method further comprises:
when the terminal fails to perform networking according to the standby networking configuration parameters, the networking configuration parameters of the terminal are recovered to the networking configuration parameters when the terminal is disconnected from the network, and prompt information that the terminal cannot perform networking under the influence of external factors is output.
5. The networking method of a terminal of claim 4, wherein after the step of updating the current networking configuration parameters of the terminal to the standby networking configuration parameters, further comprising:
when the terminal fails to perform networking according to the standby networking configuration parameters and the terminal fails to connect with the management and control server according to the standby networking configuration parameters, the networking configuration parameters of the terminal are recovered to be the networking configuration parameters when the terminal is disconnected from the network, and prompt information of network abnormity is output.
6. The networking method of a terminal according to any one of claims 1 to 5, wherein the later the usage time point, the higher the priority of the standby networking configuration parameter; the more the number of uses, the higher the priority of the backup networking configuration parameter; the more times the network connection is successful, the higher the priority of the backup networking configuration parameter.
7. The networking method of claim 6, wherein after the step of updating the current networking configuration parameters of the terminal to the target standby networking configuration parameters, further comprising:
when the terminal fails to configure the parameters according to the target standby networking, re-determining the target standby networking configuration parameters in each standby networking configuration parameter which is not determined as the target standby networking configuration parameters;
and returning to execute the step of updating the current networking configuration parameters of the terminal into the target standby networking configuration parameters.
8. A terminal, characterized in that the terminal comprises a memory, a processor and a networking program of the terminal stored in the memory and executable on the processor, the networking program of the terminal implementing the steps of the networking method of the terminal according to any one of claims 1 to 7 when executed by the processor.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a networking program of a terminal, which when executed by a processor implements the steps of the networking method of the terminal according to any one of claims 1 to 7.
CN201911070209.4A 2019-11-04 2019-11-04 Terminal, networking method thereof and computer-readable storage medium Active CN110913416B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911070209.4A CN110913416B (en) 2019-11-04 2019-11-04 Terminal, networking method thereof and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911070209.4A CN110913416B (en) 2019-11-04 2019-11-04 Terminal, networking method thereof and computer-readable storage medium

Publications (2)

Publication Number Publication Date
CN110913416A CN110913416A (en) 2020-03-24
CN110913416B true CN110913416B (en) 2023-02-28

Family

ID=69814819

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911070209.4A Active CN110913416B (en) 2019-11-04 2019-11-04 Terminal, networking method thereof and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN110913416B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112333849B (en) * 2020-06-19 2023-05-02 深圳Tcl新技术有限公司 Equipment connection disconnection processing method and device, mobile terminal and storage medium
CN112738833B (en) * 2020-12-24 2023-01-24 北京小米移动软件有限公司 Network information updating method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016082517A1 (en) * 2014-11-25 2016-06-02 中兴通讯股份有限公司 Method and device for recovering network connection
CN107438186A (en) * 2016-05-25 2017-12-05 中兴通讯股份有限公司 A kind of network backup reconnection method, device and set top box

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200701707A (en) * 2005-06-22 2007-01-01 Mitac Technology Corp System and method for switching internet connection settings according to internet environment
US9507844B2 (en) * 2014-03-28 2016-11-29 International Business Machines Corporation Automatic adjustment of data replication based on data access
CN108574732B (en) * 2018-03-22 2021-05-04 平安科技(深圳)有限公司 Push message processing method, computer readable storage medium and terminal equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016082517A1 (en) * 2014-11-25 2016-06-02 中兴通讯股份有限公司 Method and device for recovering network connection
CN107438186A (en) * 2016-05-25 2017-12-05 中兴通讯股份有限公司 A kind of network backup reconnection method, device and set top box

Also Published As

Publication number Publication date
CN110913416A (en) 2020-03-24

Similar Documents

Publication Publication Date Title
KR101665492B1 (en) Management method for embedded universal integrated circuit card, related device and system
CN111522264B (en) Control method and device of equipment, storage medium and electronic device
CN108566405B (en) Medical equipment state monitoring method and device and storage medium
CN109725921B (en) Method and device for updating firmware of VCI (virtual vehicle interface) equipment and automobile fault diagnosis instrument
CN111078471B (en) System fault recovery method and device for display device and computer storage medium
CN110913416B (en) Terminal, networking method thereof and computer-readable storage medium
CN109451020B (en) Timeout management method, timeout management device, and computer-readable storage medium
CN105721203B (en) Upgrade processing method and device
US10469620B2 (en) Method for transferring a new software version to at least one electricity meter via a communication network
CN109802995B (en) Message pushing method, device, equipment and storage medium
CN111147314A (en) Switch upgrading method, device and storage medium
CN109831779B (en) Upgrade package downloading method, device, server, terminal and system
CN111405059A (en) Data transmission method of cloud equipment, electronic equipment and Internet of things system
CN112948098B (en) Service unit offline method based on micro-service unit architecture and related device
CN111625264B (en) Method, device, equipment and medium for upgrading multi-level management system
CN106204031B (en) Card application processing method and device
EP2385726A1 (en) Apparatus and method for controlling amount of concurrent calls
CN115934130A (en) ECU (electronic control Unit) upgrading method, device, equipment and medium
CN109548020B (en) Compensation method and device after authentication failure, server and storage medium
CN112235842A (en) Communication method and device of Internet of things equipment
CN113504879A (en) Data storage method and intelligent household appliance
CN110868460B (en) Terminal, registration server, and method and system for configuring networking parameters of terminal
CN111865685B (en) Network service recovery method, device, equipment and readable storage medium
KR20130088497A (en) Apparatas and method for conducting device discovery in a control point
CN114385329B (en) Process management method and device, electronic device and readable storage medium

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
GR01 Patent grant
GR01 Patent grant