CN114124702A - Household network equipment automatic upgrading control method based on flow statistics - Google Patents

Household network equipment automatic upgrading control method based on flow statistics Download PDF

Info

Publication number
CN114124702A
CN114124702A CN202111398250.1A CN202111398250A CN114124702A CN 114124702 A CN114124702 A CN 114124702A CN 202111398250 A CN202111398250 A CN 202111398250A CN 114124702 A CN114124702 A CN 114124702A
Authority
CN
China
Prior art keywords
network equipment
upgrade
home network
automatic
threshold value
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.)
Granted
Application number
CN202111398250.1A
Other languages
Chinese (zh)
Other versions
CN114124702B (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.)
Taicang T&W Electronics Co Ltd
Original Assignee
Taicang T&W Electronics 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 Taicang T&W Electronics Co Ltd filed Critical Taicang T&W Electronics Co Ltd
Priority to CN202111398250.1A priority Critical patent/CN114124702B/en
Publication of CN114124702A publication Critical patent/CN114124702A/en
Application granted granted Critical
Publication of CN114124702B publication Critical patent/CN114124702B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/16Threshold monitoring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention discloses a household network equipment automatic upgrading control method based on flow statistics, which is characterized in that the household network equipment determines whether to start an automatic upgrading process or not by judging the flow of an interface and the size relation between the NAT conversation number and a set threshold value. The method can be widely applied to devices such as home gateways, routers, expanders and the like, has the characteristics of good stability, low maintenance cost, simplicity and convenience in operation, flexibility and convenience, wide application range and 0 configuration, and has the advantage of influencing user experience as little as possible.

Description

Household network equipment automatic upgrading control method based on flow statistics
Technical Field
The invention belongs to the technical field of remote automatic upgrading of software, and particularly relates to a flow statistics-based automatic upgrading control method for household network equipment.
Background
In home network devices, remote upgrading of their software is often required. The modern society gets rid of the work and rest rules of 'work by day, work by day and rest by day', some people are night shifts, some people are white shifts, so the difference of the work and rest rules can cause that the use requirements of the household router are different, the use peak of some people can be in a certain time point, and the use valley of some people can be in a certain time point, therefore, the traditional upgrading is carried out at a certain time point, the services such as game video and the like which are operated by some people are certainly influenced, the service of the home gateway is inevitably interrupted in the upgrading process, the interruption does not have a good way to inform the following users, therefore, under some environments, the normal use of some people can be influenced when the remote upgrading is carried out regularly, the bad use experience is brought, if the experience is judged based on the flow, the bad experience can be reduced, and the equipment can be upgraded in batches, the load of the server can also be reduced.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a method for automatically upgrading and controlling the household network equipment based on flow statistics, and the method can improve the user experience and is suitable for various household network equipment.
In order to solve the problems, the technical scheme adopted by the invention is as follows:
the invention relates to a household network equipment automatic upgrade control method based on flow statistics, which is characterized in that the household network equipment determines whether to start an automatic upgrade process by judging the flow of an interface and the size relationship between the NAT conversation number and a set threshold.
Furthermore, the automatic upgrading process is started without considering whether the system is in a state of successful synchronization.
Further, the automatic upgrade process is not started at a fixed certain time point, but at a time point when the home network device service is most idle is selected.
Further, the method for judging whether the service of the home network device is idle is to synchronously judge the flow size of the device output interface and the number of the NAT sessions, and when the flow size of the device output interface and the number of the NAT sessions are less than the set threshold, the device is considered idle, and the judgment is not performed by adopting the number of the online devices.
Further, a flow statistics-based automatic upgrade control method for home network equipment comprises the following steps:
s1, starting an automatic upgrade daemon process, and detecting whether an available upgrade version exists on the server at intervals;
s2, if available upgrade version exists, downloading the upgrade file to local and decrypting;
s3, checking whether the current flow condition of the outgoing interface of the gateway and the number of the NAT sessions are smaller than a threshold value, and if so, jumping to the step S4; if the threshold value is larger than the threshold value, jumping to step S5;
s4, immediately starting upgrading;
s5, the process goes to step S3 again after a certain time.
Preferably, the preset value at intervals in step S1 is one day, so as to avoid that the upgrade daemon puts an additional burden on the home network device that is not abundant in resources.
Preferably, the threshold in step S3 is the value of the outgoing interface traffic and the number of NAT sessions when the network device of the selected home with typical characteristics is idle.
Preferably, the preset value delayed for a certain time in step S5 is one day.
Adopt the produced beneficial effect of above-mentioned technical scheme to lie in:
the method can be widely applied to devices such as home gateways, routers, expanders and the like, has the characteristics of good stability, low maintenance cost, simplicity and convenience in operation, flexibility and convenience, wide application range and 0 configuration, and has the advantage of influencing user experience as little as possible.
Drawings
FIG. 1 is a flow chart of the method of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the specific embodiments of the present invention and the accompanying drawings. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention relates to a household network equipment automatic upgrading control method based on flow statistics, which is characterized in that the household network equipment determines whether to start an automatic upgrading process by judging the flow of an interface and the size relationship between the NAT conversation number and a set threshold.
The invention starts the automatic upgrading process without considering whether the system is in the state of successful synchronization, and if the synchronization time source has problems, the invention has no way to judge whether the current time is accurate. The invention does not adopt a timing mode to upgrade, namely the upgrade opportunity selected by the invention is not at a certain time point in a timing mode, but the upgrade is carried out by selecting the time point at which the service of the home network equipment is most idle. The method for judging whether the service of the home network equipment is idle is to synchronously judge the flow size of the output interface of the equipment and the number of NAT sessions, and when the flow size of the output interface of the equipment and the number of the NAT sessions are less than a set threshold value, the equipment is considered to be idle, rather than adopting the number of online equipment for judgment.
As shown in fig. 1, the method of the present invention comprises the steps of:
s1, starting an automatic upgrade daemon process, and detecting whether an available upgrade version exists on the server at intervals;
s2, if available upgrade version exists, downloading the upgrade file to local and decrypting;
s3, checking whether the current flow condition of the outgoing interface of the gateway and the number of the NAT sessions are smaller than a threshold value, and if so, jumping to the step S4; if the threshold value is larger than the threshold value, jumping to step S5;
s4, immediately starting upgrading;
s5, the process goes to step S3 again after a certain time.
As a preferred embodiment of the present invention, the preset value at intervals in step S1 may be one day, so as to avoid that the upgrade daemon puts an additional burden on the home router with less abundant resources.
In a preferred embodiment of the present invention, the setting of the threshold in step S3 is specifically as follows: in the development process, the use conditions (the outgoing interface flow and the NAT session number) of the household equipment with typical characteristics are selected when the household equipment is idle, an initial threshold value is set according to the investigated result, and the values can be selected for the user.
As a preferred embodiment of the present invention, the predetermined time delay in step S5 may be a day.

Claims (8)

1. A household network equipment automatic upgrade control method based on flow statistics is characterized in that: the automatic upgrading method of the invention is that the household network equipment determines whether to start the automatic upgrading process by judging the flow of the interface and the size relationship between the NAT conversation number and the set threshold value.
2. The method for controlling automatic upgrade of home network equipment based on traffic statistics as claimed in claim 1, wherein: the automatic upgrading process is started without considering whether the system time is in a state of successful synchronization.
3. The method for controlling automatic upgrade of home network equipment based on traffic statistics as claimed in claim 2, wherein: the automatic upgrade process is not started at a fixed certain point in time, but at a point in time when the home network device service is most idle.
4. The automatic upgrade control method for home network devices based on traffic statistics as claimed in claim 3, wherein: the method for judging whether the service of the home network equipment is idle is to synchronously judge the flow size of the output interface of the equipment and the number of NAT sessions, and when the flow size of the output interface of the equipment and the number of the NAT sessions are less than a set threshold value, the equipment is considered to be idle, and the judgment is not carried out by adopting the number of online equipment.
5. The automatic upgrade control method for home network devices based on traffic statistics according to any of claims 1-4, comprising the steps of:
s1, starting an automatic upgrade daemon process, and detecting whether an available upgrade version exists on the server at intervals;
s2, if available upgrade version exists, downloading the upgrade file to local and decrypting;
s3, checking whether the current flow condition of the outgoing interface of the gateway and the number of the NAT sessions are smaller than a threshold value, and if so, jumping to the step S4; if the threshold value is larger than the threshold value, jumping to step S5;
s4, immediately starting upgrading;
s5, the process goes to step S3 again after a certain time.
6. The method for controlling automatic upgrade of home network equipment based on traffic statistics as claimed in claim 5, wherein: the preset value at intervals in step S1 is one day, so as to avoid the upgrade daemon from bringing extra burden to the home network device with insufficient resources.
7. The method for controlling automatic upgrade of home network equipment based on traffic statistics as claimed in claim 5, wherein: the threshold in step S3 is the outgoing interface traffic value and the NAT session number when the selected network device of the home with typical characteristics is idle.
8. The method for controlling automatic upgrade of home network equipment based on traffic statistics as claimed in claim 5, wherein: the preset value for delaying for a certain time in the step S5 is one day.
CN202111398250.1A 2021-11-19 2021-11-19 Automatic upgrade control method for household network equipment based on flow statistics Active CN114124702B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111398250.1A CN114124702B (en) 2021-11-19 2021-11-19 Automatic upgrade control method for household network equipment based on flow statistics

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111398250.1A CN114124702B (en) 2021-11-19 2021-11-19 Automatic upgrade control method for household network equipment based on flow statistics

Publications (2)

Publication Number Publication Date
CN114124702A true CN114124702A (en) 2022-03-01
CN114124702B CN114124702B (en) 2024-06-14

Family

ID=80440464

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111398250.1A Active CN114124702B (en) 2021-11-19 2021-11-19 Automatic upgrade control method for household network equipment based on flow statistics

Country Status (1)

Country Link
CN (1) CN114124702B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116055318A (en) * 2022-06-10 2023-05-02 荣耀终端有限公司 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
CN1933426A (en) * 2006-10-19 2007-03-21 杭州华为三康技术有限公司 Method and apparatus for automatic selecting staging time
CN105721203A (en) * 2016-01-26 2016-06-29 北京小米移动软件有限公司 Upgrade processing method and device
CN106911576A (en) * 2017-02-17 2017-06-30 上海斐讯数据通信技术有限公司 The shunting method for pushing and system of a kind of router firmware upgrading
CN107769966A (en) * 2017-10-12 2018-03-06 上海斐讯数据通信技术有限公司 A kind of method and system for determining the router upgrade time

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1933426A (en) * 2006-10-19 2007-03-21 杭州华为三康技术有限公司 Method and apparatus for automatic selecting staging time
CN105721203A (en) * 2016-01-26 2016-06-29 北京小米移动软件有限公司 Upgrade processing method and device
CN106911576A (en) * 2017-02-17 2017-06-30 上海斐讯数据通信技术有限公司 The shunting method for pushing and system of a kind of router firmware upgrading
CN107769966A (en) * 2017-10-12 2018-03-06 上海斐讯数据通信技术有限公司 A kind of method and system for determining the router upgrade time

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116055318A (en) * 2022-06-10 2023-05-02 荣耀终端有限公司 Router upgrading method and device, router and readable storage medium
CN116055318B (en) * 2022-06-10 2023-11-07 荣耀终端有限公司 Router upgrading method and device, router and readable storage medium

Also Published As

Publication number Publication date
CN114124702B (en) 2024-06-14

Similar Documents

Publication Publication Date Title
EP2137883B1 (en) Method of transmitting data in a communication system
EP2950484B1 (en) Device control method, network device, and network system
WO2002054691A3 (en) Improved calling service of a voip device in a vlan environment_
RU2008119811A (en) SYSTEM AND METHOD FOR ADAPTIVE COMBINATION OF MULTIMEDIA INFORMATION FOR APPLICATIONS IN INTERNET NETWORK SPEECH PROTOCOLS
EP3709664A1 (en) Stream pushing method, system and server
CN110557448A (en) Control method and system for smart home
CN114124702A (en) Household network equipment automatic upgrading control method based on flow statistics
CN114422571B (en) Quantum communication client disconnection reconnection system and method
KR20050019679A (en) Packet service enhancement method for mobile communication terminal
CN108810129A (en) Internet of Things network control system and method, terminal device and local network services equipment
CN1984373B (en) System and method for providing multimedia contents in a communication system
EP2385726A1 (en) Apparatus and method for controlling amount of concurrent calls
US6345088B1 (en) Apparatus and methods for handling call waiting in a modem
CN109862443B (en) Method for optimizing network setting of television
CN101018265B (en) Fleeing device and its method
CN111212192B (en) Method, device and storage medium for playing voice when IMS fixed telephone user dials VOLTE user
CN103888230B (en) timer dynamic setting method and device
CN110764425A (en) Home equipment redirection method, smart home APP and storage medium
CN1567884A (en) Method for detecting and controlling user access by using Internet control protocol
JP4796924B2 (en) Button phone system
CN111404708A (en) Route configuration method, router and home gateway
CN108965927B (en) Broadcast control method and system
CN112291073B (en) Method and device for determining speaking terminal and electronic equipment
CN108322453A (en) A kind of router and game data package transmission method
CN110880978B (en) Method, device and medium for connecting business processing PC (personal computer) with terminal equipment

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