CN103955381B - Management server carries out volume software upgrade method and system to terminal device - Google Patents
Management server carries out volume software upgrade method and system to terminal device Download PDFInfo
- Publication number
- CN103955381B CN103955381B CN201410136772.8A CN201410136772A CN103955381B CN 103955381 B CN103955381 B CN 103955381B CN 201410136772 A CN201410136772 A CN 201410136772A CN 103955381 B CN103955381 B CN 103955381B
- Authority
- CN
- China
- Prior art keywords
- terminal device
- active mode
- fixed point
- activation
- parameter
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 32
- 230000004913 activation Effects 0.000 claims abstract description 167
- 238000012545 processing Methods 0.000 claims description 12
- 238000001514 detection method Methods 0.000 claims description 8
- 241000208340 Araliaceae Species 0.000 claims description 4
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 claims description 4
- 235000003140 Panax quinquefolius Nutrition 0.000 claims description 4
- 230000003213 activating effect Effects 0.000 claims description 4
- 235000008434 ginseng Nutrition 0.000 claims description 4
- 238000010276 construction Methods 0.000 claims description 2
- 230000008569 process Effects 0.000 abstract description 9
- 230000005540 biological transmission Effects 0.000 description 9
- 208000033748 Device issues Diseases 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000012216 screening Methods 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000011835 investigation Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Abstract
Management server of the present invention carries out volume software upgrade method and system to terminal device, according to current network traffic state, build volume software upgrading task strategy, the parameter value of the active mode parameter for being issued to terminal device is set according to volume software upgrading task strategy, adjustment software activation mode is for activation immediately or for fixed point is activated, when to activate immediately, file is activated immediately, when active mode is for fixed point activation, request management server issues fixed point activation data, and according to the fixed point actual activation upgrading of activation data selection, the upgrade file of activation is parsed afterwards, upgrading software, when being completed when upgrading, feedback upgrades successfully instruction to management server.In whole process, according to current network traffic state, Reasonable adjustment activates the mode of upgrade file, avoid, when Network is busy, taking the excessive network bandwidth, while, when Network is idle, it is ensured that redundant mesh bandwidth is rationally utilized, quick, batch upgrade terminal device software.
Description
Technical field
The present invention relates to technical field of network equipment management, more particularly to management server carries out batch to terminal device
Method for upgrading software and system.
Background technology
With the development and application of 3G and 4G technologies, the batch commercialization process of terminal device also in rapid propulsion,
In the middle of this, it is particularly important that software upgrading of the management server to terminal device shows, and how to ensure to criticize within a short period of time
Amount thousands of user terminals of upgrading, and quality of service is not influenceed, it is current problem without user intervention.
For example, when pressure software upgrading is carried out to 500 terminal devices, i.e., it is single when there are an affairs per second herein
Individual subscriber terminal equipment has altogether with management server to be needed to produce 7 HTTP requests to interact, it is assumed that transmission file size is 15M left
The right side, remaining bag size is ignored, then terminal device is accomplished by the network bandwidth of 20M within a hour, it is seen that existing
The method of batch upgrade terminal device software is very high to network bandwidth requirement.
But network bandwidth capacity is limited, during batch upgrade terminal device software, excessive occupied terminal
The network bandwidth of equipment will necessarily have a strong impact on the normal work of terminal device.
The content of the invention
Based on this, it is necessary to which the method for existing batch upgrade terminal device software is high to network bandwidth requirement, seriously
Influence the problem of terminal device normal work, there is provided a kind of low to network bandwidth requirement, it can be ensured that terminal device normal work
Batch upgrade terminal device software method and system.
A kind of method of management terminal device software batch upgrading, including step:
According to current network traffic state, volume software upgrading task strategy is set up;
When terminal device be known device and it is online when, according to the volume software upgrade task strategy, issue activation side
Formula parameter and upgrade file to terminal device, wherein, the parameter value of active mode parameter is for true or be false, works as parameter value
During for true, to activate immediately, when parameter value is false, active mode is activated active mode for fixed point;
The data that terminal device parsing active mode parameter feedback is returned are received and parsed through, when in the active mode parameter for issuing
During for false, send fixed point activation data to terminal device, wherein, it is described fixed point activation data include fixed point activation parameter with
Activationary time;
Send software upgrade success checking instruction to terminal device;
Whether receiving terminal apparatus verify the data that instruction feedback is returned according to software upgrade success, judge work as time software upgrading
Success.
A kind of method of terminal device software batch upgrade, including step:
Receive active mode parameter and upgrade file that management server is issued according to volume software upgrading task strategy;
Active mode parameter is parsed, the parameter value for recognizing active mode parameter is true or is false, selects upgrade file
Active mode, wherein, when parameter value is true, active mode is to activate immediately, when parameter value is false, active mode
For fixed point is activated;
When active mode to activate immediately, the upgrade file that activation is received, when active mode is for fixed point activation, please
The management server is asked to issue fixed point activation data, wherein, the fixed point activation data include fixed point activation parameter and activation
Time, according to the fixed point activation data, choose opportunity activation upgrade file;
The upgrade file of activation is parsed, upgrading terminals device software during completion to be upgraded, sends and upgrades successfully instruction to institute
State management server.
A kind of system of management terminal device software batch upgrading, including:
Volume software upgrading task strategy sets up module, for according to current network traffic state, setting up volume software liter
Level task strategy;
Data distributing module, for when terminal device be known device and it is online when, according to the volume software rise it is in charge of a grade
Business strategy, issues active mode parameter and upgrade file to terminal device, wherein, the parameter value of active mode parameter be true or
It is false, when parameter value is true, to activate immediately, when parameter value is false, active mode is fixed point to active mode
Activation;
Feedback data receiver module, for receiving and parsing through the data that terminal device parsing active mode parameter feedback is returned,
When parameter value is false in the active mode parameter for issuing, fixed point activation data are sent to terminal device, wherein, it is described fixed
Point activation data include fixed point activation parameter and activationary time;
Checking instruction sending module, for sending software upgrade success checking instruction to terminal device;
Judge module is upgraded successfully, the number that instruction feedback is returned is verified according to software upgrade success for receiving terminal apparatus
According to whether judgement succeeds when time software upgrading.
A kind of system of terminal device software batch upgrade, including:
Receiver module, for receiving the active mode parameter that management server is issued according to volume software upgrading task strategy
And upgrade file;
Active mode identification module, for parsing active mode parameter, the parameter value for recognizing active mode parameter is true
Or be false, upgrade file active mode is selected, wherein, when parameter value is true, active mode works as ginseng to activate immediately
When numerical value is false, active mode is activated for fixed point;
Activation processing module, for when active mode to activate immediately, the upgrade file for receiving being activated, when activation side
When formula is for fixed point activation, the management server is asked to issue fixed point activation data, wherein, it is fixed that the fixed point activation data include
Point activation parameter and activationary time, according to the fixed point activation data, choose opportunity activation upgrade file;
Upgrading completes feedback module, the upgrade file for parsing activation, upgrading terminals device software, completion to be upgraded
When, transmission upgrades successfully instruction to the management server.
Management server of the present invention carries out volume software upgrade method and system to terminal device, and management server is according to working as
Preceding network traffic situation, builds volume software upgrading task strategy, is set according to this volume software upgrading task strategy and issued
To the parameter value of the active mode parameter of terminal device(For true or be false), adjusting terminal device software active mode is
Activation immediately is fixed point activation, and when to activate immediately, terminal device activates file immediately, when active mode for fixed point is activated
When, request management server issues fixed point activation data, and activates the actual activation upgrading of data selection according to fixed point, afterwards terminal
The upgrade file of equipment parsing activation, upgrading terminals device software, when being completed when upgrading, feedback upgrades successfully instruction and is taken to management
Business device.In whole process, according to current network traffic state, Reasonable adjustment activates the mode of upgrade file, it is to avoid in network industry
When being engaged in busy, the excessive network bandwidth is taken, meanwhile, when Network is idle, it is ensured that redundant mesh bandwidth is rationally utilized, soon
Speed, batch upgrade terminal device software.In sum, management server of the present invention carries out volume software upgrading side to terminal device
Method is that a kind of network bandwidth requirement is low with system, it can be ensured that the batch upgrade terminal device software of terminal device normal work
Method and system.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of the one of embodiment of method of management terminal device software batch upgrading of the present invention;
Fig. 2 is the schematic flow sheet figure of the one of embodiment of method of terminal device software batch upgrade of the present invention;
Fig. 3 is the structural representation of the one of embodiment of system of management terminal device software batch upgrading of the present invention;
Fig. 4 is the structural representation figure of the one of embodiment of system of terminal device software batch upgrade of the present invention.
Specific embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below according to drawings and Examples
The present invention is further elaborated.It should be appreciated that specific implementation described herein is only used to explain the present invention, not
Limit the present invention.
The common terminal device equipment such as including Home eNodeB.
As shown in figure 1, a kind of method of management terminal device software batch upgrading, including step:
S100:According to current network traffic state, volume software upgrading task strategy is set up.
Current network traffic state can monitor between current management server and terminal device network condition and current
Business data transmission amount is obtained, and general this network traffic situation can be divided into the free time:Business data transmission amount is few, Netowrk tape
Width has a large amount of idle without utilization;Normally:Business data transmission normal transmission, the network bandwidth has on a small quantity can be further with
's;It is busy:Business data transmission amount is big, has mass data to need transmission, or even network between management server and terminal device
It is crowded, there is no any excess bandwidth to use.According to the service condition of current network, it is possible to set up volume software and rise in charge of a grade
Business strategy, the main terminal device quantity and terminal for including indicating upgrading in the current network conditions lower unit interval of this strategy sets
Standby active mode(Activation is activated or pinpointed immediately), realize the dynamic adjustment of network traffics and making full use of for bandwidth.
S120:When terminal device be known device and it is online when, according to the volume software upgrade task strategy, issue sharp
Mode parameter living and upgrade file to terminal device, wherein, the parameter value of active mode parameter is true or is false, works as ginseng
When numerical value is true, to activate immediately, when parameter value is false, active mode is activated active mode for fixed point.
Multiple terminal devices are connected with management server, are needed when data are issued according to volume software upgrading task plan
Slightly, the difference such as point different time, batch, type issues active mode parameter and upgrade file to terminal device.It is said herein to swash
Mode parameter living is preferably AutoActivateEnable, when AutoActivateEnable parameter values are true, activation side
To activate immediately, when AutoActivateEnable parameter values are false, active mode is activated formula for fixed point.
S130:The data that terminal device parsing active mode parameter feedback is returned are received and parsed through, when the active mode for issuing
When being false in parameter, fixed point activation data are sent to terminal device, wherein, the fixed point activation data include that fixed point is activated
Parameter and activationary time.
Terminal device can be activation side after the active mode parameter and upgrade file that management server issues is received
Formula parameter, recognizes the currently active mode, when active mode to activate immediately, can immediately activate upgrade file, works as active mode
During for fixed point activation, meeting feedback data to management server, request management server issues fixed point activation data, management server
After the request is received, fixed point activation data can be sent to terminal device, wherein, the fixed point activation data include that fixed point is activated
Parameter and activationary time, terminal device can be according to fixed point activation parameter and activationary times, and choose the right moment activation upgrade file.
S140:Send software upgrade success checking instruction to terminal device.
S150:Receiving terminal apparatus verify the data that instruction feedback is returned according to software upgrade success, judge when time software liter
Whether level succeeds.
The method of management terminal device software batch of the present invention upgrading, management server according to current network traffic state,
Volume software upgrading task strategy is built, the activation for being issued to terminal device is set according to this volume software upgrading task strategy
The parameter value of mode parameter(For true or be false), terminal device software active mode is adjusted to activate immediately or being fixed point
Activation, when to activate immediately, terminal device activates file immediately, when active mode is for fixed point activation, asks management service
Device issues fixed point activation data, and according to the fixed point actual activation upgrading of activation data selection, the activation of terminal device parsing afterwards
Upgrade file, upgrading terminals device software, when being completed when upgrading, feedback upgrades successfully instruction to management server.Whole process
In, according to current network traffic state, Reasonable adjustment activates the mode of upgrade file, it is to avoid when Network is busy, takes
The excessive network bandwidth, meanwhile, when Network is idle, it is ensured that redundant mesh bandwidth is rationally utilized, quick, batch upgrade end
End equipment software.
It is described according to current network traffic state wherein in one embodiment, set up volume software upgrading task strategy
Including step:
Traversal terminal device, identification needs the terminal device quantity of upgrading;
Detection current network traffic state, according to current network traffic state and need upgrading terminal device quantity, really
Determine the terminal device quantity for needing to upgrade in the unit interval;
According to the terminal device quantity of upgrading is needed in the unit interval, it is determined that issuing active mode parameter and upgrade file is arrived
Time delay interval on different terminal equipment;
The software version of present terminal equipment is recognized, it is determined that need to be issued to the upgrade file version of terminal device, according to
Issue time delay interval to different terminal equipment of active mode parameter and upgrade file and be issued to the upgrading of terminal device
FileVersion, builds volume software upgrading task strategy.
Single management server can be managed to multiple terminal devices, so needing the terminal quantity that management software is upgraded
It is also huge comparing.In the present embodiment, management server can first travel through whole connected terminal device, and identification is current
Need the terminal device total amount of upgrading, judge this terminal software upgrading need points of how many batches carry out, the upgrading of each batch
Terminal device quantity be how many, current network traffic state is detected afterwards, judge current traffic state be it is idle, normally or
It is busy, further according to current network traffic state and the terminal device quantity of needs upgrading, determine to need upgrading in the unit interval
Terminal device quantity, according to the terminal device quantity that upgrading is needed in the unit interval for determining, it is determined that issuing active mode parameter
With the time delay interval on upgrade file to different terminal equipment.Further, since software version is different on different terminal equipment, institute
, also to need to recognize the software version of present terminal equipment in the present embodiment in volume software upgrading task strategy is built
This, it is determined that needing to be issued to the upgrade file version of terminal device, obtains finally according to the time delay interval and identification for obtaining before
Software version builds volume software upgrading task strategy.So as to realize the effect of efficient, dynamic control bandwidth usage.
In order to illustrate further, in the present embodiment the step of determination time delay interval, below will be using a specific embodiment
Explain.
The terminal device number that this upgrading should include is gone out according to theoretical calculation, point several batches, each batch includes
How many terminal device.
Specifically algorithm is:
NE No. algorithm is downloaded in 30 minutes clocks simultaneously:
The concurrent updating network element numbers of N=
S=AKU size (units:MB)
V=webmaster bandwidth (units:Mbps)
Time-consuming (the unit of the theoretical upgradings of C=:Minute), the 30 minutes=theoretical upgrading of webmaster time-out is cached for 25 minutes+reserved 5 minutes
(Set up connection it is time-consuming other take).
E=webmasters are averagely allocated to the bandwidth (Kbps) (E is more preferably less than 1024Mbps) of network element
Algorithmic formula:N=(C*V*60)/(S*8) is noted:60 is the time second, and 8 is that bit and Byte changes multiple proportion
E=V*1024/N。
Wherein in one embodiment, it is described when terminal device be known device and it is online when, according to the volume software
Upgrading task strategy, issues active mode parameter and upgrade file specifically includes step to terminal device:
Judge terminal device whether registered device;
If terminal device is registered device, judge that terminal device is known device, and determine whether terminal device
Whether volume software upgrading task strategy is met, the step of next step detection terminal device presence is entered if meeting, if
Do not meet, then terminate operation;
If terminal device is unregistered equipment, terminate operation;
Detection terminal device presence, when terminal device is online, according to volume software upgrading task strategy, under
Send out active mode parameter and upgrade file to terminal device.
What is be connected with management server has very multiple terminal devices, and some are in management server in these terminal devices
On have registered, some are not registered, and some are that, in presence, some are in an off-line state of shutting down.
In order to ensure data transfer safety with it is accurate, management server when active mode parameter and upgrade file are issued, it is necessary to
Above-mentioned these terminal unit statuses are made a distinction, known and online terminal device issues data in lookup terminal device.
As shown in Fig. 2 a kind of method of terminal device software batch upgrade, including step:
S200:Receive active mode parameter and upgrading text that management server is issued according to volume software upgrading task strategy
Part.
It is online and be managed server and be identified as the terminal device of known device and can receive management server according to batch
Active mode parameter and upgrade file that software upgrading task strategy is issued.
S220:Parsing active mode parameter, the parameter value for recognizing active mode parameter is true or is false, and selection rises
Level file active mode, wherein, when parameter value is true, active mode, when parameter value is false, swashs to activate immediately
Mode living is activated for fixed point.
Terminal device can preferentially parse active mode parameter after these data are received, identification active mode ability
Parameter value, knows the active mode of current upgrade file.
S240:When active mode to activate immediately, the upgrade file that activation is received, when active mode for fixed point is activated
When, ask the management server to issue fixed point activation data, wherein, the fixed point activation data include fixed point activation parameter and
Activationary time, according to the fixed point activation data, chooses opportunity activation upgrade file.
When terminal device identification active mode for activate immediately when, can immediately activate the upgrade file for receiving, start into
Row software upgrading, when active mode is recognized for fixed point activation, terminal device can ask management server to issue fixed point activation number
According to, after fixed point activation data are received, data can be activated according to fixed point, choose opportunity activation upgrade file.
S260:The upgrade file of activation is parsed, upgrading terminals device software during completion to be upgraded, sends and upgrades successfully finger
Make the management server.
The method of terminal device software batch upgrade of the present invention, according to the data that management server is issued, adjusts itself soft
Part active mode when to activate immediately, activates file immediately for activation immediately or for fixed point is activated, when active mode is fixed point
During activation, request management server issues fixed point activation data, and activates the actual activation upgrading of data selection according to fixed point, afterwards
The upgrade file of activation is parsed, upgrading terminals device software when being completed when upgrading, is fed back and upgrades successfully instruction to management service
Device.In whole process, according to current network traffic state, Reasonable adjustment activates the mode of upgrade file, it is to avoid in Network
When busy, the excessive network bandwidth is taken, meanwhile, when Network is idle, it is ensured that redundant mesh bandwidth is rationally utilized, soon
Speed, batch upgrade terminal device software.
It is described when active mode to activate immediately wherein in one embodiment, the upgrade file that activation is received, when
When active mode is for fixed point activation, the management server is asked to issue fixed point activation data, wherein, the fixed point activation data
Including fixed point activation parameter and activationary time, according to the fixed point activation data, selection opportunity activation upgrade file is specifically included
Step:
When active mode to activate immediately, the upgrade file that activation is received;
When active mode is for fixed point activation, the management server is asked to issue fixed point activation data, wherein, it is described fixed
Point activation data include fixed point activation parameter and activationary time;
Computing terminal equipment reboot time, when the restarting terminal device time activationary time is more than, swashs according to the fixed point
Live data, chooses opportunity activation upgrade file;
When completion is activated, the parameter value in the active mode parameter is revised as true and stored.
When terminal device identifies Current software upgrade file active mode for fixed point activation, it is necessary to ask management service
Device is issued and pinpoints activation data, computing terminal equipment reboot time, when the restarting terminal device time activationary time is more than, according to
The fixed point activation data, choose opportunity activation upgrade file, so that it is guaranteed that making full use of idle bandwidth.
Volume software upgrade method is carried out to terminal device in order to further explain in detail management server of the present invention
Technical scheme and its advantage, will be illustrated to activating immediately and pinpointing activation respectively using specific embodiment below,
Terminal device is chosen to be Home eNodeB in this specific embodiment.
First, software upgrading file is to activate immediately
Upgraded just for online Home eNodeB, not online Home eNodeB can not make to be upgraded in this way, needed
Want operating personnel clearly to know that Home eNodeB, without communication service, does not result in customer complaint, typically use under special circumstances, such as
Investigation problem;
Flow is as follows:
1) management server judges the software version of Home eNodeB, should be comprising all needed for Home eNodeB in screening conditions
Version, existing 3 kinds are respectively firmware version, WLAN versions, WLAN backup versions;Selection task termination condition, termination condition has
Two kinds:According to the end time of task;Whether Home eNodeB completes this subtask to judge.
2) management server sets up successful connection with Home eNodeB.
3) management server issues parameter AutoActivateEnable, and parameter value is true, i.e., automatic activation is enabled
Open, Home eNodeB just activates AKU at once after having downloaded;
4) after management server confirms modification parameter success, AKU is issued;
5) upgrade at once after Home eNodeB has been downloaded and restart;
6) upgrade information is sent after Home eNodeB has been restarted to management server, management server needs statistics upgrading record
Information.
7)Webmaster judges whether task strategy terminates according to the termination condition of task.
2nd, software upgrading file is fixed point activation
By whole escalation process be divided into download and upgrading two processes carry out, clearly upgrade task total time, download
Time and the time of upgrading, online base station, not online base station are all come into force, typically used under special circumstances, such as cut in system
When connecing treatment;
Flow is as follows:
1) management server judges the version of Home eNodeB, all versions needed for should including Home eNodeB in screening conditions
This, existing 3 kinds are respectively firmware version, WLAN versions, WLAN backup versions;Selection task termination condition, termination condition has two
Kind:The download end time of task;Whether Home eNodeB completes this subtask to judge.
2) end time downloaded is determined, if just connecting upper management server, flow after the end time is downloaded
Terminate.
3) management server sets up successful connection with Home eNodeB.
4) management server issues parameter AutoActivateEnable, and parameter value is false, i.e., automatic activation is enabled
Close, Home eNodeB does not activate AKU after the completion of downloading;
5) after management server confirms modification parameter success, AKU is issued;
6) sent after Home eNodeB has been downloaded and download Download message informing management servers, management server needs system
Meter download information is simultaneously recorded;
7) management server issues parameter SwitchVersion, and parameter value is true, i.e., timed activation is switched and opened,
ActivateTime is issued, that is, issues update time;
8) Home eNodeB receives the parameter that management server is issued, judge after restarting Home eNodeB time whether more than etc.
In update time, if just being upgraded;After upgrading successfully, by the parameter value of AutoActivateEnable be changed to true,
The parameter value of SwitchVersion is changed to false;
If 9) above-mentioned upgrading failure, Home eNodeB needs to determine whether that version needs upgrading after restarting again, judges
Number of times is most 3 times, it is necessary to the parameter value of AutoActivateEnable is set into true, SwitchVersion after 3 times
Parameter value be set to false, will timed activation switch close, if it has, first upgrade after just send " 1Boot ";
If 10) " 1Boot " event message that Home eNodeB is reported, management server can carry out version number's parameter query,
If the version number that Home eNodeB is reported up and the version numbers match for issuing, judge to upgrade successfully;Webmaster needs to provide base
Online situation of standing come the reason for judgement unsuccessfully, base station whether do not reach the standard grade always caused by upgrading failure, base station whether on-line time
Upgrading failure caused by too short.
As shown in figure 3, a kind of system of management terminal device software batch upgrading, including:
Volume software upgrading task strategy sets up module 310, for according to current network traffic state, setting up volume software
Upgrading task strategy;
Data distributing module 320, for when terminal device be known device and it is online when, according to the volume software upgrade
Task strategy, issues active mode parameter and upgrade file to terminal device, wherein, the parameter value of active mode parameter is true
Or be false, when parameter value is true, to activate immediately, when parameter value is false, active mode is fixed to active mode
Point activation;
Feedback data receiver module 330, for receiving and parsing through the number that terminal device parsing active mode parameter feedback is returned
According to, when parameter value is false in the active mode parameter for issuing, fixed point activation data are sent to terminal device, wherein, it is described
Fixed point activation data include fixed point activation parameter and activationary time;
Checking instruction sending module 340, for sending software upgrade success checking instruction to terminal device;
Judge module 350 is upgraded successfully, verifies what instruction feedback was returned according to software upgrade success for receiving terminal apparatus
Whether data, judge succeed when time software upgrading.
The system of management terminal device software batch of the present invention upgrading, management server according to current network traffic state,
Volume software upgrading task strategy is built, the activation for being issued to terminal device is set according to this volume software upgrading task strategy
The parameter value of mode parameter(For true or be false), terminal device software active mode is adjusted to activate immediately or being fixed point
Activation, when to activate immediately, terminal device activates file immediately, when active mode is for fixed point activation, asks management service
Device issues fixed point activation data, and according to the fixed point actual activation upgrading of activation data selection, the activation of terminal device parsing afterwards
Upgrade file, upgrading terminals device software, when being completed when upgrading, feedback upgrades successfully instruction to management server.Whole process
In, according to current network traffic state, Reasonable adjustment activates the mode of upgrade file, it is to avoid when Network is busy, takes
The excessive network bandwidth, meanwhile, when Network is idle, it is ensured that redundant mesh bandwidth is rationally utilized, quick, batch upgrade end
End equipment software.
Wherein in one embodiment, the volume software upgrading task strategy sets up module to be included:
Traversal Unit, for traveling through terminal device, identification needs the terminal device quantity of upgrading;
Computing unit, for the terminal device quantity upgraded as needed, determines to need the terminal of upgrading in the unit interval
Number of devices;
Time delay interval determining unit, for detecting current network traffic state, according to current network traffic state and according to
The terminal device quantity of upgrading is needed in unit interval, it is determined that issuing active mode parameter and upgrade file to different terminal equipment
On time delay interval;
Construction unit, for recognizing the software version of present terminal equipment, it is determined that needing to be issued to the upgrading of terminal device
FileVersion, according to issuing time delay interval to different terminal equipment of active mode parameter and upgrade file and be issued to end
The upgrade file version of end equipment, builds volume software upgrading task strategy.
Wherein in one embodiment, the data distributing module is specifically included:
Registration recognition unit, for judge terminal device whether registered device;
Registered device processing unit, for being registered device when terminal device, then judges that terminal device sets as known to
It is standby, and determine whether whether terminal device meets volume software upgrading task strategy, when not meeting, terminate operation;
Unregistered equipment processing unit, for being unregistered equipment when terminal device, then terminates operation;
Detection issuance unit, it is soft according to the batch when terminal device is online for detecting terminal device presence
Part upgrading task strategy, issues active mode parameter and upgrade file to terminal device.
As shown in figure 4, a kind of system of terminal device software batch upgrade, including:
Receiver module 410, for receiving the active mode that management server is issued according to volume software upgrading task strategy
Parameter and upgrade file;
Active mode identification module 420, for parsing active mode parameter, the parameter value for recognizing active mode parameter is
True is false, selects upgrade file active mode, wherein, when parameter value is true, active mode is to activate immediately,
When parameter value is false, active mode is activated for fixed point;
Activation processing module 430, for when active mode to activate immediately, activating the upgrade file for receiving, when sharp
When mode living is for fixed point activation, the management server is asked to issue fixed point activation data, wherein, the fixed point activation packet
Fixed point activation parameter and activationary time are included, according to the fixed point activation data, opportunity activation upgrade file is chosen;
Upgrading completes feedback module 440, and the upgrade file for parsing activation, upgrading terminals device software is to be upgraded complete
Cheng Shi, transmission upgrades successfully instruction to the management server.
The system of terminal device software batch upgrade of the present invention, according to the data that management server is issued, adjusts itself soft
Part active mode when to activate immediately, activates file immediately for activation immediately or for fixed point is activated, when active mode is fixed point
During activation, request management server issues fixed point activation data, and activates the actual activation upgrading of data selection according to fixed point, afterwards
The upgrade file of activation is parsed, upgrading terminals device software when being completed when upgrading, is fed back and upgrades successfully instruction to management service
Device.In whole process, according to current network traffic state, Reasonable adjustment activates the mode of upgrade file, it is to avoid in Network
When busy, the excessive network bandwidth is taken, meanwhile, when Network is idle, it is ensured that redundant mesh bandwidth is rationally utilized, soon
Speed, batch upgrade terminal device software.
Wherein in one embodiment, the activation processing module is specifically included:
Processing unit is activated immediately, for when active mode to activate immediately, activating the upgrade file for receiving;
Fixed point activation processing unit, for when active mode is for fixed point activation, asking the management server to issue fixed
Point activation data, wherein, the fixed point activation data include fixed point activation parameter and activationary time;
Time judging unit, for computing terminal equipment reboot time, activationary time is more than when the restarting terminal device time
When, according to the fixed point activation data, choose opportunity activation upgrade file;
Parameter modifying unit, for when completion is activated, the parameter value in the active mode parameter being revised as into true
And store.
Embodiment described above only expresses several embodiments of the invention, and its description is more specific and detailed, but simultaneously
Therefore the limitation to the scope of the claims of the present invention can not be interpreted as.It should be pointed out that for one of ordinary skill in the art
For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to guarantor of the invention
Shield scope.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.
Claims (10)
1. a kind of method that management terminal device software batch is upgraded, it is characterised in that including step:
According to current network traffic state, set up volume software upgrading task strategy, network traffic situation include it is idle, normally with
It is busy;
When terminal device be known device and it is online when, according to the volume software upgrade task strategy, issue active mode ginseng
Count and upgrade file is to terminal device, wherein, the active mode parameter includes AutoActivateEnable, active mode ginseng
Several parameter values is true or is false, and when parameter value is true, active mode is to activate immediately, when parameter value is false
When, active mode is activated for fixed point;
The data that terminal device parsing active mode parameter feedback is returned are received and parsed through, when being in the active mode parameter for issuing
During false, fixed point activation data are sent to terminal device, wherein, the fixed point activation data include fixed point activation parameter and swash
Live time;
Send software upgrade success checking instruction to terminal device;
Receiving terminal apparatus verify the data that instruction feedback is returned according to software upgrade success, judge when time software upgrading whether into
Work(.
2. the method that management terminal device software batch according to claim 1 is upgraded, it is characterised in that the basis is worked as
Preceding network traffic situation, setting up volume software upgrading task strategy includes step:
Traversal terminal device, identification needs the terminal device quantity of upgrading;
Detection current network traffic state, according to current network traffic state and the terminal device quantity of needs upgrading, it is determined that single
The terminal device quantity of upgrading is needed in the time of position;
According to the terminal device quantity of upgrading is needed in the unit interval, it is determined that issuing active mode parameter and upgrade file to difference
Time delay interval on terminal device;
The software version of present terminal equipment is recognized, it is determined that need to be issued to the upgrade file version of terminal device, according to issuing
Time delay interval in active mode parameter and upgrade file to different terminal equipment and it is issued to the upgrade file of terminal device
Version, builds volume software upgrading task strategy.
3. the method that management terminal device software batch according to claim 1 and 2 is upgraded, it is characterised in that described to work as
Terminal device be known device and it is online when, according to the volume software upgrade task strategy, issue active mode parameter and liter
Level file specifically includes step to terminal device:
Judge terminal device whether registered device;
If terminal device is registered device, judge that terminal device is known device, and whether determine whether terminal device
Meet volume software upgrading task strategy, the step of next step detection terminal device presence is entered if meeting, if not being inconsistent
Close, then terminate operation;
If terminal device is unregistered equipment, terminate operation;
Detection terminal device presence, when terminal device is online, according to volume software upgrading task strategy, issues sharp
Mode parameter living and upgrade file are to terminal device.
4. a kind of method of terminal device software batch upgrade, it is characterised in that including step:
Receive active mode parameter and upgrade file that management server is issued according to volume software upgrading task strategy, described batch
Amount software upgrading task strategy is set up according to current network traffic state, network traffic situation include it is idle, normally with it is busy;
Parsing active mode parameter, the parameter value for recognizing active mode parameter is true or is false, and selection upgrade file is activated
Mode, wherein, the active mode parameter includes AutoActivateEnable, and when parameter value is true, active mode is
Activate immediately, when parameter value is false, active mode is activated for fixed point;
When active mode to activate immediately, the upgrade file that activation is received, when active mode is for fixed point activation, asks institute
State management server and issue fixed point activation data, wherein, the fixed point activation data include fixed point activation parameter and activationary time,
According to the fixed point activation data, opportunity activation upgrade file is chosen;
The upgrade file of activation is parsed, upgrading terminals device software during completion to be upgraded, sends and upgrades successfully instruction to the pipe
Reason server.
5. the method for terminal device software batch upgrade according to claim 4, it is characterised in that described to work as active mode
During to activate immediately, the upgrade file that activation is received, when active mode is for fixed point activation, under the request management server
Hair fixed point activation data, wherein, the fixed point activation data include fixed point activation parameter and activationary time, are swashed according to the fixed point
Live data, selection opportunity activation upgrade file specifically includes step:
When active mode to activate immediately, the upgrade file that activation is received;
When active mode is for fixed point activation, the management server is asked to issue fixed point activation data, wherein, the fixed point swashs
Live data includes fixed point activation parameter and activationary time;
Computing terminal equipment reboot time, when the restarting terminal device time activationary time is more than, according to the fixed point activation number
According to selection opportunity activation upgrade file;
When completion is activated, the parameter value in the active mode parameter is revised as true and stored.
6. the system that a kind of management terminal device software batch is upgraded, it is characterised in that including:
Volume software upgrading task strategy sets up module, rises in charge of a grade for according to current network traffic state, setting up volume software
Business strategy, network traffic situation include it is idle, normally with it is busy;
Data distributing module, for when terminal device be known device and it is online when, according to the volume software upgrade task plan
Slightly, active mode parameter and upgrade file are issued to terminal device, wherein, the active mode parameter includes
AutoActivateEnable, the parameter value of active mode parameter is true or is false, when parameter value is true, activation
To activate immediately, when parameter value is false, active mode is activated mode for fixed point;
Feedback data receiver module, for receiving and parsing through the data that terminal device parsing active mode parameter feedback is returned, instantly
When parameter value is false in the active mode parameter of hair, fixed point activation data are sent to terminal device, wherein, the fixed point swashs
Live data includes fixed point activation parameter and activationary time;
Checking instruction sending module, for sending software upgrade success checking instruction to terminal device;
Judge module is upgraded successfully, the data that instruction feedback is returned are verified according to software upgrade success for receiving terminal apparatus, sentenced
It is disconnected to work as whether time software upgrading succeeds.
7. the system that management terminal device software batch according to claim 6 is upgraded, it is characterised in that the batch is soft
Part upgrading task strategy sets up module to be included:
Traversal Unit, for traveling through terminal device, identification needs the terminal device quantity of upgrading;
Computing unit, for detecting current network traffic state, the terminal according to current network traffic state and needs upgrading sets
Standby quantity, determines to need the terminal device quantity of upgrading in the unit interval;
Time delay interval determining unit, for according to the terminal device quantity that upgrading is needed in the unit interval, it is determined that issuing activation side
Time delay interval in formula parameter and upgrade file to different terminal equipment;
Construction unit, for recognizing the software version of present terminal equipment, it is determined that needing to be issued to the upgrade file of terminal device
Version, sets according to issuing time delay interval to different terminal equipment of active mode parameter and upgrade file and being issued to terminal
Standby upgrade file version, builds volume software upgrading task strategy.
8. the system that the management terminal device software batch according to claim 6 or 7 is upgraded, it is characterised in that the number
Specifically included according to module is issued:
Registration recognition unit, for judge terminal device whether registered device;
Registered device processing unit, for being registered device when terminal device, then judges that terminal device is known device, and
Determine whether whether terminal device meets volume software upgrading task strategy, when not meeting, terminate operation;
Unregistered equipment processing unit, for being unregistered equipment when terminal device, then terminates operation;
Detection issuance unit, for detecting terminal device presence, when terminal device is online, according to the volume software liter
Level task strategy, issues active mode parameter and upgrade file to terminal device.
9. a kind of system of terminal device software batch upgrade, it is characterised in that including:
Receiver module, for receiving active mode parameter and the liter that management server is issued according to volume software upgrading task strategy
Level file, volume software upgrading task strategy is set up according to current network traffic state, network traffic situation include it is idle,
Normally with it is busy;
Active mode identification module, for parsing active mode parameter, recognizes the parameter value of active mode parameter for true or is
False, selects upgrade file active mode, wherein, the active mode parameter includes AutoActivateEnable, works as parameter
It is worth during for true, to activate immediately, when parameter value is false, active mode is activated active mode for fixed point;
Activation processing module, for when active mode to activate immediately, the upgrade file for receiving being activated, when active mode is
During fixed point activation, the management server is asked to issue fixed point activation data, wherein, the fixed point activation data include that fixed point swashs
Parameter and activationary time living, according to the fixed point activation data, choose opportunity activation upgrade file;
Upgrading completes feedback module, the upgrade file for parsing activation, upgrading terminals device software, during completion to be upgraded, hair
Send and upgrade successfully instruction to the management server.
10. the system of terminal device software batch upgrade according to claim 9, it is characterised in that the activation treatment
Module is specifically included:
Processing unit is activated immediately, for when active mode to activate immediately, activating the upgrade file for receiving;
Fixed point activation processing unit, for when active mode is for fixed point activation, asking the management server to issue fixed point and swashing
Live data, wherein, the fixed point activation data include fixed point activation parameter and activationary time;
Time judging unit, for computing terminal equipment reboot time, when the restarting terminal device time activationary time is more than, root
Data are activated according to the fixed point, opportunity activation upgrade file is chosen;
Parameter modifying unit, for when completion is activated, the parameter value in the active mode parameter being revised as true and being deposited
Storage.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410136772.8A CN103955381B (en) | 2014-04-04 | 2014-04-04 | Management server carries out volume software upgrade method and system to terminal device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410136772.8A CN103955381B (en) | 2014-04-04 | 2014-04-04 | Management server carries out volume software upgrade method and system to terminal device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103955381A CN103955381A (en) | 2014-07-30 |
CN103955381B true CN103955381B (en) | 2017-07-07 |
Family
ID=51332657
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410136772.8A Expired - Fee Related CN103955381B (en) | 2014-04-04 | 2014-04-04 | Management server carries out volume software upgrade method and system to terminal device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103955381B (en) |
Families Citing this family (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105991341A (en) * | 2015-03-06 | 2016-10-05 | 中兴通讯股份有限公司 | Method and device for realizing parameter configuration |
CN107368324A (en) * | 2016-05-11 | 2017-11-21 | 中兴通讯股份有限公司 | A kind of component upgrade methods, devices and systems |
CN106406948A (en) * | 2016-09-13 | 2017-02-15 | 乐视控股(北京)有限公司 | Configuration file downloading method and device |
CN108073408B (en) * | 2016-11-15 | 2020-11-24 | 平安科技(深圳)有限公司 | System updating method and device of self-service terminal |
CN107291515B (en) * | 2017-07-10 | 2020-09-25 | 北京明朝万达科技股份有限公司 | Client intelligent upgrading method and system based on state feedback |
CN107590691B (en) * | 2017-09-06 | 2021-01-15 | 晶赞广告(上海)有限公司 | Information publishing method and device, storage medium and terminal |
CN109660601A (en) * | 2018-11-26 | 2019-04-19 | 北京瑞卓喜投科技发展有限公司 | A kind of block chain common recognition method and block chain are known together device |
CN111526029A (en) * | 2019-02-02 | 2020-08-11 | 北京骑胜科技有限公司 | Gridding firmware upgrading method and device, electronic equipment and storage medium |
CN110109692B (en) * | 2019-05-13 | 2020-02-14 | 天津联兴科技技术有限公司 | System upgrading method |
CN110677294B (en) * | 2019-09-27 | 2022-02-11 | 新华三信息安全技术有限公司 | Network element equipment restart judging method and device, controller and readable storage medium |
CN110602688B (en) * | 2019-10-15 | 2023-07-04 | 青岛海信电子设备股份有限公司 | Terminal software upgrading method and upgrading system |
CN111181793B (en) * | 2019-12-31 | 2021-12-21 | 京信网络系统股份有限公司 | Method, device, equipment and storage medium for controlling chain communication business process |
CN111478792B (en) * | 2020-03-05 | 2021-11-02 | 网宿科技股份有限公司 | Cutover information processing method, system and device |
CN111723015A (en) * | 2020-06-24 | 2020-09-29 | 湖南快乐阳光互动娱乐传媒有限公司 | Software testing method and device and electronic equipment |
WO2022104530A1 (en) * | 2020-11-17 | 2022-05-27 | 中山市江波龙电子有限公司 | Method for upgrading firmware of storage apparatus, control device, and storage apparatus |
CN112887146A (en) * | 2021-01-28 | 2021-06-01 | 杭州迪普科技股份有限公司 | Network node upgrading method and device and electronic equipment |
CN116775084B (en) * | 2023-08-23 | 2023-11-24 | 荣耀终端有限公司 | System upgrading method and electronic equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1996885A (en) * | 2006-12-14 | 2007-07-11 | 杭州华为三康技术有限公司 | Method, management server and device for remote control of the device upgrade time |
CN101321350A (en) * | 2008-07-24 | 2008-12-10 | 北京立通无限科技有限公司 | Method ,device and system for automatically updating application software of mobile terminal |
CN103248669A (en) * | 2012-12-13 | 2013-08-14 | 武汉东为科技有限公司 | Distributed software upgrade system and method |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE10346478A1 (en) * | 2003-10-02 | 2005-05-25 | Siemens Ag | Flexible software update for automation systems via the Internet |
CN1859355B (en) * | 2005-12-28 | 2011-12-07 | 华为技术有限公司 | Method for processing batch service |
CN100463414C (en) * | 2006-12-25 | 2009-02-18 | 杭州华三通信技术有限公司 | A method and device for remote batch upgrade of the embedded device |
CN101686144A (en) * | 2008-09-22 | 2010-03-31 | 华为技术有限公司 | Method and system for processing data and node device |
US8914783B2 (en) * | 2008-11-25 | 2014-12-16 | Fisher-Rosemount Systems, Inc. | Software deployment manager integration within a process control system |
CN101741894B (en) * | 2008-11-26 | 2012-09-19 | 中国移动通信集团公司 | Upgrade method for distributed system and upgrade scheduling node and system |
-
2014
- 2014-04-04 CN CN201410136772.8A patent/CN103955381B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1996885A (en) * | 2006-12-14 | 2007-07-11 | 杭州华为三康技术有限公司 | Method, management server and device for remote control of the device upgrade time |
CN101321350A (en) * | 2008-07-24 | 2008-12-10 | 北京立通无限科技有限公司 | Method ,device and system for automatically updating application software of mobile terminal |
CN103248669A (en) * | 2012-12-13 | 2013-08-14 | 武汉东为科技有限公司 | Distributed software upgrade system and method |
Also Published As
Publication number | Publication date |
---|---|
CN103955381A (en) | 2014-07-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103955381B (en) | Management server carries out volume software upgrade method and system to terminal device | |
CN103248452B (en) | Data sending device, data receiving device, terminal and data transmission method | |
CN108768877B (en) | Distribution method and device of burst traffic and proxy server | |
US11102641B2 (en) | SIM card status determination method and SIM card status determination device | |
US20220201510A1 (en) | Method and Apparatus for Wireless Network Configuration, Storage Medium and Processor | |
CN106656562B (en) | A kind of OLT batch issues the detection method and device of ONU configuration | |
CN106993043B (en) | Data communication system and method based on agency | |
CN105490875A (en) | Automatic testing method, device and system and product to be tested | |
CN106571942B (en) | Configuration data updating method, client and server | |
CN114357495B (en) | Prediction machine under-chain aggregation method, device, equipment and medium based on block chain | |
CN109698871A (en) | A kind of optical fiber distributed type access system and its management method | |
CN105072139A (en) | Recommendation method and recommendation device | |
CN108973760B (en) | Charging pile management method based on Internet of things | |
CN108121612A (en) | A kind of collapse processing method and system based on linux kernel router | |
CN112566155A (en) | Networking method, device and system | |
CN112423322A (en) | Model information sending method, device, storage medium and electronic device | |
CN109324815A (en) | Monitoring method, device, equipment and the computer readable storage medium of system upgrade | |
CN111934956A (en) | Equipment configuration method and device, storage medium and electronic device | |
CN109697117B (en) | Terminal control method, terminal control device and computer-readable storage medium | |
CN107277163B (en) | Equipment remote mapping method and device | |
CN114124842A (en) | Data transmission method, system, electronic equipment and storage medium | |
CN106775818B (en) | ECU (electronic control Unit) upgrading method and ECU upgrading equipment based on CAN (controller area network) bus | |
CN107547591A (en) | Upgrade server, set top box, set top box upgrading file delivery method and system | |
CN104009961A (en) | PPPoE session ID distribution method and equipment thereof | |
CN108880913B (en) | traffic characteristic management method and device and central node server |
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 | ||
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
Address after: 510663 No. 10 Shenzhou Road, Science City, Luogang District, Guangzhou City, Guangdong Province Patentee after: Jingxin Network System Co.,Ltd. Address before: 510663 No. 10 Shenzhou Road, Science City, Luogang District, Guangzhou City, Guangdong Province Patentee before: COMBA TELECOM SYSTEMS (CHINA) Ltd. |
|
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20170707 |