CN105721203B - Upgrade processing method and device - Google Patents

Upgrade processing method and device Download PDF

Info

Publication number
CN105721203B
CN105721203B CN201610052351.6A CN201610052351A CN105721203B CN 105721203 B CN105721203 B CN 105721203B CN 201610052351 A CN201610052351 A CN 201610052351A CN 105721203 B CN105721203 B CN 105721203B
Authority
CN
China
Prior art keywords
terminal
network
router
advance
updating operation
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
CN201610052351.6A
Other languages
Chinese (zh)
Other versions
CN105721203A (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610052351.6A priority Critical patent/CN105721203B/en
Publication of CN105721203A publication Critical patent/CN105721203A/en
Application granted granted Critical
Publication of CN105721203B publication Critical patent/CN105721203B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

Present disclose provides upgrade processing method and devices, wherein the described method includes: whether the terminal that connection is established in detection with router in advance is used network after receiving updating operation instruction;If detecting that network is used in the terminal for establishing connection with router in advance, returns and the step of whether terminal that connection is established in the detection with router in advance is used network executed;If the current uses no network of terminal for establishing connection with router in advance is detected, according to the updating operation instruction execution updating operation.The disclosure can be to avoid the problem of user can not use network by the preparatory terminal with router binding in router upgrade, further, it avoids the user in the router upgrade and forces the problem of restarting the router and leading to the router upgrade failure or damage, the user experience is improved.

Description

Upgrade processing method and device
Technical field
This disclosure relates to the communications field more particularly to upgrade processing method and device.
Background technique
In the related technology, router prompts administrator that can upgrade, and in pipe after receiving updating operation instruction After the agreement of reason person's manual confirmation is upgraded, automatically according to the updating operation instruction execution upgrading processing.
But router can occupy a large amount of network flows after starting upgrading, and the preparatory and router is caused to establish connection Some terminal devices be not available network, user may attempt instauration net by way of restarting the router at this time The normal use of network, so that causing the router upgrade to fail possibly even leads to the damage of the router, user experience Difference.
Summary of the invention
In view of this, present disclose provides upgrade processing method and device, to solve deficiency in the related technology.
According to the first aspect of the embodiments of the present disclosure, a kind of upgrade processing method is provided, which comprises
After receiving updating operation instruction, whether the terminal that connection is established in detection with router in advance is used net Network;
If detecting that network is used in the terminal for establishing connection with router in advance, returns and execute the detection in advance The step of whether terminal for establishing connection with router is used network;
If detecting the current uses no network of terminal for establishing connection with router in advance, referred to according to the updating operation It enables and executes updating operation.
Optionally, whether the terminal that connection is established in the detection with router in advance is used network, comprising:
Obtain network flow magnitude of the terminal for establishing connection with router in advance in the first preset time period;
Judge whether the network flow magnitude is more than preset threshold, when in the terminal for establishing connection with router in advance Target terminal target network flow value be more than preset threshold when, determine that network is used in the target terminal.
Optionally, network is used in the determination target terminal, comprising:
Judge whether the target terminal is the terminal for sending the updating operation instruction, when the target terminal is not hair When sending the terminal of the updating operation instruction, determine that network is used in the target terminal.
It is optionally, described to judge whether the target terminal is the terminal for sending the updating operation instruction, comprising:
Obtain the target terminal mark of the target terminal;
Obtain the sending side terminal mark for sending the sending side terminal of the updating operation instruction;
Compare target terminal mark and whether described sender terminal iidentification identical, when target terminal mark with When described sender terminal iidentification is not identical, determining the target terminal not is the terminal for sending the updating operation instruction.
Optionally, described return executes whether the terminal that connection is established in the detection with router in advance is used network The step of, comprising:
Return to whether just the execution detection establishes the terminal of connection with router in advance after being spaced the second preset time period In the step of using network.
According to the second aspect of an embodiment of the present disclosure, a kind of upgrading processing device is provided, described device includes:
Detection module is configured as after receiving updating operation instruction, and the end of connection is established in detection with router in advance Whether end is used network;
Trigger module, if being configured as detecting that network is used in the terminal for establishing connection with router in advance, touching It sends out detection module described and detects again and establish the terminal of connection with router in advance and whether network is used;
Execution module, if being configured as detecting the current uses no network of terminal for establishing connection with router in advance, According to the updating operation instruction execution updating operation.
Optionally, the detection module includes:
First acquisition submodule is configured as obtaining the terminal for establishing connection with router in advance in the first preset time period Interior network flow magnitude;
First judging submodule is configured as judging whether the network flow magnitude is more than preset threshold, when preparatory and road When being more than preset threshold by the target network flow value that device establishes the target terminal in the terminal of connection, the target is determined Network is used in terminal.
Optionally, first judging submodule includes:
Second judgment submodule is configured as judging whether the target terminal is the end for sending the updating operation instruction End determines that net is used in the target terminal when the target terminal is not to send the terminal of the updating operation instruction Network.
Optionally, the second judgment submodule includes:
Second acquisition submodule is configured to determine that the target terminal mark of the target terminal;
Third acquisition submodule is configured to determine that the sender for sending the sending side terminal of the updating operation instruction is whole End mark;
Comparative sub-module, is configured as the mark of target terminal described in comparison and whether described sender terminal iidentification is identical, When target terminal mark is not identical as described sender terminal iidentification, determining the target terminal not is to send the liter The terminal of grade operational order.
Optionally, the trigger module includes:
Trigger submodule, be configured as interval the second preset time period after trigger the detection module detect again in advance with Whether the terminal that router establishes connection is used network.
According to the third aspect of an embodiment of the present disclosure, a kind of upgrading processing device is provided, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
After receiving updating operation instruction, whether the terminal that connection is established in detection with router in advance is used net Network;
If detecting that network is used in the terminal for establishing connection with router in advance, returns and execute the detection in advance The step of whether terminal for establishing connection with router is used network;
If detecting the current uses no network of terminal for establishing connection with router in advance, referred to according to the updating operation It enables and executes updating operation.
The technical scheme provided by this disclosed embodiment can include the following benefits:
In the embodiment of the present disclosure, router after receiving updating operation instruction, establish with the router in advance by detection Whether the terminal of connection is used network, and in the current uses no network of the terminal, the router just can be according to described Updating operation instruction is automatic to execute updating operation.Avoid the user in router upgrade that from can not tying up by preparatory with the router The fixed terminal uses the problem of network, further, avoid in the router upgrade user force to restart it is described Router and the problem of lead to router upgrade failure or damage, the user experience is improved.
In the embodiment of the present disclosure, network flow magnitude of the available terminal of router in the first preset time period, if The target network flow value of target terminal in the terminal is more than preset threshold, illustrates that user is passing through the target terminal Use network.At this point, the router can be temporarily without upgrading processing, until detecting that net is currently not used in the terminal After network, upgrading processing is just executed.It avoids the problem that leading to suspension due to the router upgrade, and avoids in the routing User forces the problem of restarting the router and leading to the router upgrade failure or damage when device upgrades, and improves use Family experience.
In the embodiment of the present disclosure, it can detect in addition to the target terminal for sending updating operation instruction is being currently used When network, suspend upgrading processing, availability is high, and user experience is good.
In the embodiment of the present disclosure, router can be after often detecting that network is used in terminal, when interval second is default Between section just detected again, avoid frequently detecting whether terminal is used network and occupies router excess resource.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and together with specification for explaining the principles of this disclosure.
Fig. 1 is a kind of disclosure upgrade processing method flow chart shown according to an exemplary embodiment;
Fig. 2 is the disclosure another upgrade processing method flow chart shown according to an exemplary embodiment;
Fig. 3 is the disclosure another upgrade processing method flow chart shown according to an exemplary embodiment;
Fig. 4 is the disclosure another upgrade processing method flow chart shown according to an exemplary embodiment;
Fig. 5 is a kind of disclosure upgrading processing device block diagram shown according to an exemplary embodiment;
Fig. 6 is the disclosure another upgrading processing device block diagram shown according to an exemplary embodiment;
Fig. 7 is the disclosure another upgrading processing device block diagram shown according to an exemplary embodiment;
Fig. 8 is the disclosure another upgrading processing device block diagram shown according to an exemplary embodiment;
Fig. 9 is the disclosure another upgrading processing device block diagram shown according to an exemplary embodiment;
Figure 10 is an a kind of disclosure structural representation for upgrading processing device shown according to an exemplary embodiment Figure.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with as appended The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
It is only to be not intended to be limiting the disclosure merely for for the purpose of describing particular embodiments in the term that the disclosure uses. The "an" of the singular used in disclosure and the accompanying claims book, " described " and "the" are also intended to including majority Form, unless the context clearly indicates other meaning.It is also understood that term "and/or" used herein refers to and wraps It may be combined containing one or more associated any or all of project listed.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the disclosure A little information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out.For example, not departing from In the case where disclosure range, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as One information.Depending on context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determination ".
As shown in Figure 1, Fig. 1 is a kind of upgrade processing method shown according to an exemplary embodiment, comprising the following steps:
In a step 101, receive updating operation instruction after, detection established in advance with router connection terminal whether Network is used.
The method provided in the embodiment of the present disclosure can be used for router.
The router is in the updating operation instruction for receiving the sending side terminal transmission for sending updating operation instruction Afterwards, updating operation is not executed temporarily, but whether the terminal that connection is established in detection with the router in advance is currently used Network.In the embodiment of the present disclosure, whether network flow can be used by the detection terminal whether to judge the terminal Network is used.I.e. step 101 is as shown in Fig. 2, Fig. 2 is that show on the basis of embodiment according to Fig. 1 another rises Grade processing method, may include:
In step 201, network flow of the terminal for establishing connection with router in advance in the first preset time period is obtained Magnitude.
In this step, the router can in the following manner in any one obtain described network flow magnitude.
First way reports the network flow magnitude by the terminal.
The terminal can monitor the network flow magnitude of itself according to the relevant technologies, and the router is receiving the liter After grade operational order, issues network flow and report instruction to the terminal for establishing connection with the router in advance, the terminal root Report instruction that the network flow magnitude is reported to the router according to the network flow.But the above process can equally generate Network flow, accordingly, it is possible to cause the network flow magnitude obtained not accurate enough.It, can also be by institute in the embodiment of the present disclosure State the network flow magnitude that router monitors the terminal automatically.
The second way monitors the network flow magnitude by the router.
Since the terminal is needed through the router access network, the router can be according to related skill Art is monitored the network flow magnitude of terminal, to obtain network flow magnitude of the terminal in the first preset time period.
In step 202, judge whether the network flow magnitude is more than preset threshold, establishes connection with router when in advance The terminal in target terminal target network flow value be more than preset threshold when, determine that the target terminal is used Network.
In this step, preset threshold can be the numerical value not less than 0.Optionally, if the currently used network flow of terminal When magnitude is smaller, even if then router currently starts to be upgraded, user can not also be influenced by the terminal and use network. Therefore, it in the embodiment of the present disclosure, if the target network flow value of target terminal is more than preset threshold, can determine in advance and institute It states the target terminal that router is established in the terminal of connection and network is used.Otherwise, the terminal can be determined Current uses no network.
In the embodiment of the present disclosure, it is contemplated that described sender terminal is sending the updating operation instruction to the router When can equally generate network flow, and institute should be learnt by the user that described sender terminal sends the updating operation instruction Updating operation will be carried out by stating router, will not restart the router.Therefore, optionally, should be arranged in the target terminal Except transmission described sender terminal.I.e. step 202 may include:
In step 301, judge whether the target terminal is the terminal for sending the updating operation instruction, when the mesh Mark terminal is not when sending the terminal of the updating operation instruction, to determine that network is used in the target terminal.
In this step, the router is not it needs to be determined that the target terminal is the end for sending the updating operation instruction End.Optionally, step 301 is as shown in figure 3, Fig. 3 is another upgrading processing shown on the basis of embodiment according to Fig.2, Method may include:
In step 401, the target terminal mark of the target terminal is obtained.
In this step, the router can obtain the target terminal according to the relevant technologies and identify.Optionally, the mesh Mark terminal iidentification can be address, media interviews control Internet protocol (Internet Protocol, IP) of the target terminal Make the address (Media Access Control, MAC), client identification module (Subscriber Identity Module, SIM) Card number or International Mobile Station Equipment Identification (International Mobile Equipment Identity, IMEI) number etc..
In step 402, the sending side terminal mark for sending the sending side terminal of the updating operation instruction is obtained.
In this step, the router equally can obtain described sender terminal iidentification according to the relevant technologies.Similarly, Described sender terminal iidentification can be the IP address of the terminal for sending updating operation instruction, MAC Address, SIM card number or IMEI number etc..
In step 403, whether the target terminal mark and described sender terminal iidentification are identical, when the mesh When marking terminal iidentification and not identical described sender terminal iidentification, determining the target terminal not is to send the updating operation to refer to The terminal of order.
In this step, the router can target terminal mark and described sender terminal iidentification whether phase Together.If the target terminal mark is different with described sender terminal iidentification, it can determine that the target terminal is not sent The updating operation instruction, can determine that network is used in the target terminal.Otherwise the preparatory and routing can be determined Device establishes the current uses no network of the terminal of connection.
If detecting that network is used in the terminal in the manner described above, 101 are returned to step.Otherwise continue to hold Row step 102.
In the embodiments of the present disclosure, whether network is used and to occupy router excessive in order to avoid frequently detecting terminal Resource, it is alternatively possible to which the second preset time period of interval executes step again after detecting that network is used in the target terminal Rapid 101, until detecting the preparatory current uses no network of the terminal for establishing connection with the router, just continue to execute step Rapid 102.
In a step 102, according to the updating operation instruction execution updating operation.
In this step, the router, can be according to the relevant technologies root when determining the current uses no network of the terminal According to the updating operation instruction execution updating operation.
In above-described embodiment, after receiving updating operation instruction, detection is established with the router in advance to be connected router Whether the terminal connect is used network, and in the current uses no network of the terminal, the router just can be according to the liter Grade operational order executes updating operation automatically.Avoid the user in router upgrade that from can not binding by preparatory with the router Terminal the problem of using network, further, avoid in the router upgrade user and force to restart the road The problem of leading to the router upgrade failure or damage by device, the user experience is improved.
If Fig. 4 shows, Fig. 4 is another upgrade processing method shown according to an exemplary embodiment, comprising the following steps:
In step 501, it after receiving updating operation instruction, obtains and establishes the terminal of connection with router in advance the Network flow magnitude in one preset time period.
In this step, router always can be monitored the network flow magnitude of terminal according to the relevant technologies, to obtain Take network flow magnitude of the terminal in the first preset time period.
In step 502, judge whether the network flow magnitude is more than preset threshold.
In this step, preset threshold can be the numerical value not less than 0.Optionally, if the currently used network flow of terminal When magnitude is smaller, it can be determined that even if router currently starts to be upgraded, the terminal can not also be influenced and use network.Cause This, in the embodiment of the present disclosure, if the target network flow value of target terminal is more than preset threshold, continues to execute step 503, It is no to then follow the steps 506.
In step 503, the target terminal mark of the target terminal is obtained.
In step 504, the sending side terminal mark for sending the sending side terminal of the updating operation instruction is obtained.
In step 505, whether the target terminal mark and described sender terminal iidentification are identical.
In this step, if the router, which is compared, determines the target terminal mark and described sender terminal mark Know difference, then returns to step 501 after being spaced the second preset time period, if identical, continue to execute step 506.
In step 506, according to the updating operation instruction execution updating operation.
In this step, the network flow of the router in the preparatory terminal for establishing connection with the router It is more than preset threshold that value, which is less than preset threshold or the target network flow value of the target terminal, but the target is whole When end mark is identical with described sender terminal iidentification, the current uses no network of the terminal can be determined, it at this time can be according to The relevant technologies are according to the updating operation instruction execution updating operation.
In above-described embodiment, if router detects that the preparatory and router establishes the terminal of connection at the first time It is more than default that network flow magnitude in section, which is less than preset threshold or the target network flow value of the target terminal in the terminal, Threshold value, but the target terminal is the terminal for sending the updating operation instruction, i.e., the target terminal mark of the described target terminal It is identical with sending side terminal mark, the current uses no network of the terminal can be determined at this time, and the router can be in not shadow User is rung using according to the updating operation instruction execution updating operation, avoiding in the router upgrade in the case where network User forces the problem of restarting the router and leading to the router upgrade failure or damage.If router detects The target network flow value is more than preset threshold, and the target terminal is not the terminal for sending the updating operation instruction, The target terminal mark and sending side terminal mark of the i.e. described target terminal be not identical, at this point, the router can be spaced It is detected again after default second time period and establishes the terminal of connection with the router in advance and whether network is used.It can High with property, user experience is good.
Corresponding with preceding method embodiment, the disclosure additionally provides the embodiment of device.
As shown in figure 5, Fig. 5 is a kind of disclosure upgrading processing device block diagram shown according to an exemplary embodiment, packet It includes: detection module 610, trigger module 620 and execution module 630.
Wherein, the detection module 610 is configured as after receiving updating operation instruction, and detection is in advance and router Whether the terminal for establishing connection is used network;
The trigger module 620, if being configured as detecting that the terminal for establishing connection with router in advance is used Network triggers the detection module and detects again and establishes the terminal of connection with router in advance and whether network is used;
The execution module 630, if being configured as detecting that the terminal for establishing connection with router in advance does not make currently With network, according to the updating operation instruction execution updating operation.
As shown in fig. 6, Fig. 6 is the disclosure another upgrading processing device block diagram shown according to an exemplary embodiment, For the embodiment on the basis of aforementioned embodiment illustrated in fig. 5, the detection module 610 includes: the first acquisition submodule 611 and One judging submodule 612.
Wherein, first acquisition submodule 611 is configured as obtaining and establishes the terminal of connection with router in advance the Network flow magnitude in one preset time period;
First judging submodule 612 is configured as judging whether the network flow magnitude is more than preset threshold, when pre- When first establishing the target network flow value of the target terminal in the terminal of connection with router more than preset threshold, institute is determined It states target terminal and network is used.
As shown in fig. 7, Fig. 7 is the disclosure another upgrading processing device block diagram shown according to an exemplary embodiment, For the embodiment on the basis of aforementioned embodiment illustrated in fig. 6, first judging submodule 612 includes: second judgment submodule 613。
Wherein, the second judgment submodule 613 is configured as judging whether the target terminal is to send the upgrading The terminal of operational order determines that the target is whole when the target terminal is not to send the terminal of the updating operation instruction Network is used in end.
As shown in figure 8, Fig. 8 is the disclosure another upgrading processing device block diagram shown according to an exemplary embodiment, For the embodiment on the basis of aforementioned embodiment illustrated in fig. 7, the second judgment submodule 613 includes: the second acquisition submodule 614, third acquisition submodule 615 and Comparative sub-module 616.
Wherein, second acquisition submodule 614 is configured to determine that the target terminal mark of the target terminal;
The third acquisition submodule 615 is configured to determine that the sending side terminal for sending the updating operation instruction Sending side terminal mark;
The Comparative sub-module 616, is configured as the mark of target terminal described in comparison and described sender terminal iidentification is No identical, when target terminal mark is not identical as described sender terminal iidentification, determining the target terminal not is hair Send the terminal of the updating operation instruction.
As shown in figure 9, Fig. 9 is the disclosure another upgrading processing device block diagram shown according to an exemplary embodiment, For the embodiment on the basis of aforementioned figure 5-8 any illustrated embodiment, the trigger module 620 includes: triggering submodule 621。
Wherein, the triggering submodule 621 triggers the detection module inspection after being configured as the second preset time period of interval Whether the terminal that connection is established in survey with router in advance is used network.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein being used as separate part description Unit may or may not be physically separated, component shown as a unit may or may not be Physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to the actual needs Some or all of the modules therein is selected to realize the purpose of disclosure scheme.Those of ordinary skill in the art are not paying wound In the case that the property made is worked, it can understand and implement.
Correspondingly, the disclosure also provides a kind of upgrading processing device, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
After receiving updating operation instruction, whether the terminal that connection is established in detection with router in advance is used net Network;
If detecting that network is used in the terminal for establishing connection with router in advance, returns and execute the detection in advance The step of whether terminal for establishing connection with router is used network;
If detecting the current uses no network of terminal for establishing connection with router in advance, referred to according to the updating operation It enables and executes updating operation.
As shown in Figure 10, Figure 10 is shown according to an exemplary embodiment another for upgrading processing device 1000 One structural schematic diagram.For example, device 1000 may be provided as router.Referring to Fig.1 0, device 1000 includes processing component 1022, it further comprise one or more processors, and the memory resource as representated by memory 1032, for storing It can be by the instruction of the execution of processing component 1022, such as application program.The application program stored in memory 1032 may include It is one or more each correspond to one group of instruction module.In addition, processing component 1022 is configured as executing instruction, Method to execute above-mentioned control smart home device.
Device 1000 can also include that a power supply module 1026 be configured as the power management of executive device 1000, and one Wired or wireless network interface 1050 is configured as device 1000 being connected to network and input and output (I/O) interface 1058.Device 1000 can be operated based on the operating system for being stored in memory 1032, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure Its embodiment.The disclosure is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following Claim point out.
The foregoing is merely the preferred embodiments of the disclosure, not to limit the disclosure, all essences in the disclosure Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of disclosure protection.

Claims (7)

1. a kind of upgrade processing method, which is characterized in that the described method includes:
After receiving updating operation instruction, whether the terminal that connection is established in detection with router in advance is used network;
Whether the terminal that connection is established in the detection with router in advance is used network, comprising:
Obtain network flow magnitude of the terminal for establishing connection with router in advance in the first preset time period;
Judge whether the network flow magnitude is more than preset threshold, the mesh in the terminal for establishing connection with router in advance When marking the target network flow value of terminal more than preset threshold, determine that network is used in the target terminal;
Network is used in the determination target terminal, comprising:
Judge whether the target terminal is the terminal for sending the updating operation instruction, when the target terminal is not to send institute When stating the terminal of updating operation instruction, determine that network is used in the target terminal;
If detecting that the terminal for establishing connection with router in advance is used network, returns and execute the detection in advance and road The step of whether network is used by the terminal that device establishes connection;
If detecting the current uses no network of terminal for establishing connection with router in advance, held according to updating operation instruction Row updating operation.
2. judging whether the target terminal is to send the liter the method according to claim 1, wherein described The terminal of grade operational order, comprising:
Obtain the target terminal mark of the target terminal;
Obtain the sending side terminal mark for sending the sending side terminal of the updating operation instruction;
Compare target terminal mark and whether described sender terminal iidentification identical, when target terminal mark with it is described When sending side terminal mark is not identical, determining the target terminal not is the terminal for sending the updating operation instruction.
3. method according to claim 1 or 2, which is characterized in that the return executes the detection in advance and router The step of whether terminal of connection is used network established, comprising:
Return to whether the terminal that connection is established in the execution detection with router in advance makes after being spaced the second preset time period The step of with network.
4. a kind of upgrading processing device, which is characterized in that described device includes:
Detection module, is configured as after receiving updating operation instruction, and the terminal that connection is established in detection with router in advance is It is no that network is used;
The detection module includes:
First acquisition submodule is configured as obtaining the terminal for establishing connection with router in advance in the first preset time period Network flow magnitude;
First judging submodule is configured as judging whether the network flow magnitude is more than preset threshold, when preparatory and router When establishing the target network flow value of the target terminal in the terminal of connection more than preset threshold, the target terminal is determined Network is used;
First judging submodule includes:
Second judgment submodule is configured as judging whether the target terminal is the terminal for sending the updating operation instruction, When the target terminal is not to send the terminal of the updating operation instruction, determine that network is used in the target terminal;
Trigger module triggers institute if being configured as detecting that network is used in the terminal for establishing connection with router in advance It states detection module and detects again and establish the terminal of connection with router in advance and whether network is used;
Execution module, if being configured as detecting the current uses no network of terminal for establishing connection with router in advance, according to The updating operation instruction execution updating operation.
5. device according to claim 4, which is characterized in that the second judgment submodule includes:
Second acquisition submodule is configured to determine that the target terminal mark of the target terminal;
Third acquisition submodule is configured to determine that the sending side terminal mark for sending the sending side terminal of the updating operation instruction Know;
Comparative sub-module, is configured as the mark of target terminal described in comparison and whether described sender terminal iidentification is identical, works as institute When stating target terminal mark and not identical described sender terminal iidentification, determining the target terminal not is to send the upgrading behaviour Make the terminal instructed.
6. device according to claim 4 or 5, which is characterized in that the trigger module includes:
Trigger submodule, be configured as interval the second preset time period after trigger the detection module detect again in advance with routing Whether the terminal that device establishes connection is used network.
7. a kind of upgrading processing device characterized by comprising
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
After receiving updating operation instruction, whether the terminal that connection is established in detection with router in advance is used network;
Whether the terminal that connection is established in the detection with router in advance is used network, comprising:
Obtain network flow magnitude of the terminal for establishing connection with router in advance in the first preset time period;
Judge whether the network flow magnitude is more than preset threshold, the mesh in the terminal for establishing connection with router in advance When marking the target network flow value of terminal more than preset threshold, determine that network is used in the target terminal;
Network is used in the determination target terminal, comprising:
Judge whether the target terminal is the terminal for sending the updating operation instruction, when the target terminal is not to send institute When stating the terminal of updating operation instruction, determine that network is used in the target terminal;
If detecting that the terminal for establishing connection with router in advance is used network, returns and execute the detection in advance and road The step of whether network is used by the terminal that device establishes connection;
If detecting the current uses no network of terminal for establishing connection with router in advance, held according to updating operation instruction Row updating operation.
CN201610052351.6A 2016-01-26 2016-01-26 Upgrade processing method and device Active CN105721203B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610052351.6A CN105721203B (en) 2016-01-26 2016-01-26 Upgrade processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610052351.6A CN105721203B (en) 2016-01-26 2016-01-26 Upgrade processing method and device

Publications (2)

Publication Number Publication Date
CN105721203A CN105721203A (en) 2016-06-29
CN105721203B true CN105721203B (en) 2018-12-25

Family

ID=56155089

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610052351.6A Active CN105721203B (en) 2016-01-26 2016-01-26 Upgrade processing method and device

Country Status (1)

Country Link
CN (1) CN105721203B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106656582A (en) * 2016-12-01 2017-05-10 北京小米移动软件有限公司 System upgrading method and device
CN107769966A (en) * 2017-10-12 2018-03-06 上海斐讯数据通信技术有限公司 A kind of method and system for determining the router upgrade time
WO2021159301A1 (en) * 2020-02-12 2021-08-19 Arris Enterprises Llc Method and system for reducing service impact to users during image and/or firmware changes
CN112423322B (en) * 2020-11-18 2022-09-06 青岛海尔科技有限公司 Model information sending method, device, storage medium and electronic device
CN114124702B (en) * 2021-11-19 2024-06-14 太仓市同维电子有限公司 Automatic upgrade control method for household network equipment based on flow statistics
CN116055318B (en) * 2022-06-10 2023-11-07 荣耀终端有限公司 Router upgrading method and device, router and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1567843A (en) * 2003-06-22 2005-01-19 华为技术有限公司 Method of automatic software update for terminal equipment
CN103024773A (en) * 2012-12-10 2013-04-03 上海斐讯数据通信技术有限公司 Method, management device and system for upgrading software of wireless router
CN103677864A (en) * 2012-09-05 2014-03-26 中兴通讯股份有限公司 Method for upgrading software and terminal
CN105187262A (en) * 2015-10-27 2015-12-23 上海斐讯数据通信技术有限公司 Router upgrading method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8316113B2 (en) * 2008-12-19 2012-11-20 Watchguard Technologies, Inc. Cluster architecture and configuration for network security devices

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1567843A (en) * 2003-06-22 2005-01-19 华为技术有限公司 Method of automatic software update for terminal equipment
CN103677864A (en) * 2012-09-05 2014-03-26 中兴通讯股份有限公司 Method for upgrading software and terminal
CN103024773A (en) * 2012-12-10 2013-04-03 上海斐讯数据通信技术有限公司 Method, management device and system for upgrading software of wireless router
CN105187262A (en) * 2015-10-27 2015-12-23 上海斐讯数据通信技术有限公司 Router upgrading method and system

Also Published As

Publication number Publication date
CN105721203A (en) 2016-06-29

Similar Documents

Publication Publication Date Title
CN105721203B (en) Upgrade processing method and device
US10802906B2 (en) Monitoring method and apparatus of server, and storage medium
CN104717282B (en) A kind of method, apparatus and system of control Android operation system intelligent terminal
US20170223035A1 (en) Scaling method and management device
CN104461897A (en) Application program test method and device
US9241007B1 (en) System, method, and computer program for providing a vulnerability assessment of a network of industrial automation devices
CN106713420B (en) The dispositions method and device of monitoring
CN111263377B (en) Network configuration method, device, equipment and system and distribution network testing method and system
EP3409071B1 (en) Wireless mesh network formation
CN104468547A (en) Long connection establishing method, device and system
CN105704789A (en) Method and device for restoring network connection
US20140156820A1 (en) Configuration information selection based on extracted information
US9641595B2 (en) System management apparatus, system management method, and storage medium
CN107395451B (en) Processing method, device and equipment for internet traffic abnormity and storage medium
CN110830443A (en) Method and system for remotely monitoring equipment state
CN108235083B (en) Television log information acquisition method and device
CN106230658B (en) A kind of method and apparatus monitoring the network equipment
CN107528788B (en) Method and device for realizing automatic stacking between network devices
CN107995644B (en) Method, switch, system and storage medium for automatic recovery of wireless access point
CN105357078A (en) Detection method and system of network state of intelligent equipment
CN112104513B (en) Visual software load method, device, equipment and storage medium
CN105681480A (en) Point-to-point protocol (PPP) dial on demand method and equipment
CN110913416B (en) Terminal, networking method thereof and computer-readable storage medium
CN107220092B (en) Method for deploying software, control server, readable medium and storage controller
CN112953794A (en) Network detection method, device, equipment and storage medium of router

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant