CN107608688A - Terminal device timesharing upgrade method and computer-readable recording medium - Google Patents

Terminal device timesharing upgrade method and computer-readable recording medium Download PDF

Info

Publication number
CN107608688A
CN107608688A CN201710627902.1A CN201710627902A CN107608688A CN 107608688 A CN107608688 A CN 107608688A CN 201710627902 A CN201710627902 A CN 201710627902A CN 107608688 A CN107608688 A CN 107608688A
Authority
CN
China
Prior art keywords
terminal device
terminal
upgrade
upgrading
management platform
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.)
Pending
Application number
CN201710627902.1A
Other languages
Chinese (zh)
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.)
Fujian Landi Commercial Equipment Co Ltd
Original Assignee
Fujian Landi Commercial Equipment 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 Fujian Landi Commercial Equipment Co Ltd filed Critical Fujian Landi Commercial Equipment Co Ltd
Priority to CN201710627902.1A priority Critical patent/CN107608688A/en
Publication of CN107608688A publication Critical patent/CN107608688A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a kind of terminal device timesharing upgrade method and computer-readable recording medium, method to include:According to the update time of single terminal equipment, by pressure test, the optimum terminations upgrading quantity that the bandwidth rates of computer room where obtaining terminal management platform are supported;Quantity is upgraded according to the update time of single terminal equipment and optimum terminations, determines the update time point of each terminal device;The upgrade parameter of its terminal device managed is set in terminal management platform, and upgrade parameter includes equipment Serial Number, upgrading flag, update time point and recent program version number;Terminal management platform sends upgrade parameter to corresponding terminal device according to equipment Serial Number;Terminal device is upgraded according to upgrading flag and recent program version number in its corresponding update time point.The present invention reduces the time required during great amount of terminals device upgrade, while improve the success rate for upgrading of terminal device in the case where not changing existing hardware condition.

Description

Terminal device timesharing upgrade method and computer-readable recording medium
Technical field
The present invention relates to field of terminal technology, more particularly to a kind of terminal device timesharing upgrade method and computer-readable deposit Storage media.
Background technology
With the development for paying industry, pay electronic product and be widely used in industry-by-industry.We make These terminals are managed with terminal management system.But roll up with the storage of terminal device, and terminal device It is used in more various industry, it is necessary to frequently update terminal program, this is just proposed more to terminal management mode High ageing and reliability requirement.
Among the production environment of reality, due to the limitation of broadband speed and other hardware conditions, original upgrading scheme For:The device upgrade of upgrade server monitor terminal is asked, and the terminal of all platform registrations puts initiation application upgrade at the same time Request, server, which receives, to be asked and is upgraded terminal.The program can meet to produce in the case where terminal device is less Demand, but terminal device substantial increase in the case of, can be caused using this method it is long expected from terminal staging time ratio, simultaneously also With the situation for great amount of terminals device upgrade failure occur.It can be seen that existing upgrading scheme can not meet production requirement.
The content of the invention
The technical problems to be solved by the invention are:A kind of terminal device timesharing upgrade method is provided and computer-readable deposited Storage media, the demand that high-volume terminal device is efficient and reliably upgrades can be realized in the case where not increasing hardware input.
In order to solve the above-mentioned technical problem, the technical solution adopted by the present invention is:A kind of terminal device timesharing upgrade method, Including:
According to the update time of single terminal equipment, by pressure test, the band of computer room where obtaining terminal management platform The optimum terminations upgrading quantity that wide speed is supported;
Quantity is upgraded according to the update time of single terminal equipment and the optimum terminations, determines the liter of each terminal device Level time point;
The upgrade parameter of its terminal device managed is set in terminal management platform, and the upgrade parameter includes equipment Sequence number, upgrading flag, update time point and recent program version number;
Terminal management platform sends upgrade parameter to corresponding terminal device according to equipment Serial Number;
Terminal device is upgraded according to upgrading flag and recent program version number in its corresponding update time point.
The invention further relates to a kind of computer-readable recording medium, is stored thereon with computer program, and described program is located Reason device realizes following steps when performing:
According to the update time of single terminal equipment, by pressure test, the band of computer room where obtaining terminal management platform The optimum terminations upgrading quantity that wide speed is supported;
Quantity is upgraded according to the update time of single terminal equipment and the optimum terminations, determines the liter of each terminal device Level time point;
The upgrade parameter of its terminal device managed is set in terminal management platform, and the upgrade parameter includes equipment Sequence number, upgrading flag, update time point and recent program version number;
Terminal management platform sends upgrade parameter to corresponding terminal device according to equipment Serial Number;
Terminal device is upgraded according to upgrading flag and recent program version number in its corresponding update time point.
The beneficial effects of the present invention are:By pressure test, computer room is in single terminal where obtaining terminal management platform The maximum terminal quantity that can upgrade and upgrade successfully simultaneously in the update time of equipment upgrades quantity as optimum terminations, according to most Good terminal staging quantity, the terminal device that terminal management platform is managed divide batch, the maximum of the terminal quantity per batch Value is optimum terminations upgrading quantity, and the upgrading interval between each batch is then determined according to the update time of single terminal equipment Time, finally determine the update time point of each terminal device;Terminal device update time point according to corresponding to itself is risen Level, so as to realize timesharing, upgrading in batches;The present invention reduces a large amount of ends in the case where not changing existing hardware condition The end equipment time required when upgrading, while improve the success rate for upgrading of terminal device.
Brief description of the drawings
Fig. 1 is the method flow diagram of the embodiment of the present invention one;
Fig. 2 is the method flow diagram of the embodiment of the present invention two.
Embodiment
To describe the technology contents of the present invention, the objects and the effects in detail, below in conjunction with embodiment and coordinate attached Figure is explained in detail.
The design of most critical of the present invention is:What computer room was supported where obtaining terminal management platform by pressure test is optimal Terminal staging quantity, with reference to the update time of single terminal equipment, the update time point of each terminal device is determined, sets terminal During back-up, in batches upgraded.
Referring to Fig. 1, a kind of terminal device timesharing upgrade method, including:
According to the update time of single terminal equipment, by pressure test, the band of computer room where obtaining terminal management platform The optimum terminations upgrading quantity that wide speed is supported;
Quantity is upgraded according to the update time of single terminal equipment and the optimum terminations, determines the liter of each terminal device Level time point;
The upgrade parameter of its terminal device managed is set in terminal management platform, and the upgrade parameter includes equipment Sequence number, upgrading flag, update time point and recent program version number;
Terminal management platform sends upgrade parameter to corresponding terminal device according to equipment Serial Number;
Terminal device is upgraded according to upgrading flag and recent program version number in its corresponding update time point.
It was found from foregoing description, the beneficial effects of the present invention are:Great amount of terminals can be reduced under existing hardware condition The time required to device upgrade, and success rate for upgrading can be improved.
Further, the optimum terminations upgrading quantity is in the time consistent with the update time of single terminal equipment Interior, what the bandwidth rates of computer room were supported can complete the maximum terminal quantity of upgrading where terminal management platform.
Further, described " quantity is upgraded according to the update time of single terminal equipment and the optimum terminations, it is determined that The update time point of each terminal device " is specially:
According to the update time of single terminal equipment, it is determined that upgrading interval time, the upgrading interval time is more than described The update time of single terminal equipment;
Upgrade quantity according to the optimum terminations, each terminal device that terminal management platform is managed is divided, really Batch corresponding to fixed each terminal device;
According to default time started and the upgrading interval time, the update time of the terminal device of each batch is determined Point.
Seen from the above description, interval time is determined by the update time according to single terminal equipment, reduced as far as possible Total time needed for the upgrading of whole terminal devices;Upgrade quantity by combining optimum terminations to determine the upgrading of each terminal device At time point, ensure that the quantity of the terminal device of upgrading per batch is as far as possible more, as far as possible less upgrading batch, so as to ensure upgrading effect Rate.
It is further, described that " upgrade parameter is sent to corresponding terminal and set according to equipment Serial Number by terminal management platform It is standby " be specially:
Upgrade parameter is sent to corresponding terminal and set according to equipment Serial Number by terminal management platform by transaction of registering It is standby.
Seen from the above description, terminal device obtains upgrade parameter by transaction of registering, and can specify upgrading plan in advance And can be modified before update time point, facilitate the maintenance of terminal device, and because transaction of registering is essentially all of Payment terminal is all achievable, and therefore, the operation by transaction interaction upgrade parameter of registering is versatile.
Further, it is described " terminal device in its corresponding update time point, according to upgrading flag and recent program version This number is upgraded " be specially:
Terminal device judges whether that needs are upgraded in its corresponding update time point, according to upgrading flag;
If so, then terminal device transmission upgrade request to terminal management platform, the upgrade request includes terminal device Present procedure version number;
Terminal management platform judges present procedure version number and the upgrade parameter of the terminal device of terminal device transmission In recent program version number it is whether consistent;
If consistent, the upgrading flag of the terminal device is arranged to upgrade;
If inconsistent, program corresponding to recent program version number is issued to the terminal device;
Terminal device is upgraded after receiving described program.
Seen from the above description, terminal device first passes through upgrading flag to judge whether to need to upgrade, and terminal conduit pats Platform judges whether to need to upgrade further according to program version number, can avoid unnecessary upgrading flow, be patted so as to reduce terminal conduit The pressure of platform, improve the upgrading efficiency of terminal device.
Further, after described " terminal device is upgraded after receiving described program ", further comprise:
After the completion of updating terminal device, the upgrading flag in upgrade parameter is arranged to upgrade by terminal device, and is led to Know that the upgrading flag of the terminal device is arranged to upgrade by terminal management platform.
Further, after described " terminal device is upgraded after receiving described program ", further comprise:
After the completion of updating terminal device, terminal device renewal present procedure version number;
Terminal management platform preserves the present procedure version number after the terminal device renewal.
Seen from the above description, by the parameter information that upgrades in time, it is easy to later maintenance personnel or administrative staff to inquire about.
Further, after described " after the completion of updating terminal device, terminal device renewal present procedure version number ", one is entered Step includes:
According to the present procedure version number after renewal, judge whether the terminal device upgrades successfully.
Seen from the above description, it is easy to later maintenance personnel to inquire about terminal device according to program version number on the terminal device Whether upgrade successfully.
Further, before described " terminal device sends upgrade request to terminal management platform ", further comprise:
Present procedure version number and recent program version number are compared by terminal device, judge whether consistent;
If consistent, the upgrading flag in upgrade parameter is arranged to upgrade by terminal device, and sends amendment advice To terminal management platform;
After terminal management platform receives the amendment advice, the upgrading flag of the terminal device is arranged to rise Level;
If inconsistent, the step of terminal device sends upgrade request to terminal management platform is performed.
Seen from the above description, by the judgement of advanced line program version number on the terminal device, avoid rising due to artificial Level and caused by unnecessary upgrading flow, further improve the upgrading efficiency of terminal device.
It is further, described that " terminal management platform judges the present procedure version number of terminal device transmission and the terminal Whether the recent program version number in the upgrade parameter of equipment is consistent " before, further comprise:
Terminal management platform verifies the legitimacy of the terminal device according to the equipment Serial Number of the terminal device.
Seen from the above description, by being verified to the legitimacy of terminal device, security is ensured.
The invention further relates to a kind of computer-readable recording medium, is stored thereon with computer program, and described program is located Reason device realizes following steps when performing:
According to the update time of single terminal equipment, by pressure test, the band of computer room where obtaining terminal management platform The optimum terminations upgrading quantity that wide speed is supported;
Quantity is upgraded according to the update time of single terminal equipment and the optimum terminations, determines the liter of each terminal device Level time point;
The upgrade parameter of its terminal device managed is set in terminal management platform, and the upgrade parameter includes equipment Sequence number, upgrading flag, update time point and recent program version number;
Terminal management platform sends upgrade parameter to corresponding terminal device according to equipment Serial Number;
Terminal device is upgraded according to upgrading flag and recent program version number in its corresponding update time point.
Further, the optimum terminations upgrading quantity is in the time consistent with the update time of single terminal equipment Interior, what the bandwidth rates of computer room were supported can complete the maximum terminal quantity of upgrading where terminal management platform.
Further, described " quantity is upgraded according to the update time of single terminal equipment and the optimum terminations, it is determined that The update time point of each terminal device " is specially:
According to the update time of single terminal equipment, it is determined that upgrading interval time, the upgrading interval time is more than described The update time of single terminal equipment;
Upgrade quantity according to the optimum terminations, each terminal device that terminal management platform is managed is divided, really Batch corresponding to fixed each terminal device;
According to default time started and the upgrading interval time, the update time of the terminal device of each batch is determined Point.
It is further, described that " upgrade parameter is sent to corresponding terminal and set according to equipment Serial Number by terminal management platform It is standby " be specially:
Upgrade parameter is sent to corresponding terminal and set according to equipment Serial Number by terminal management platform by transaction of registering It is standby.
Further, it is described " terminal device in its corresponding update time point, according to upgrading flag and recent program version This number is upgraded " be specially:
Terminal device judges whether that needs are upgraded in its corresponding update time point, according to upgrading flag;
If so, then terminal device transmission upgrade request to terminal management platform, the upgrade request includes terminal device Present procedure version number;
Terminal management platform judges present procedure version number and the upgrade parameter of the terminal device of terminal device transmission In recent program version number it is whether consistent;
If consistent, the upgrading flag of the terminal device is arranged to upgrade;
If inconsistent, program corresponding to recent program version number is issued to the terminal device;
Terminal device is upgraded after receiving described program.
Further, after described " terminal device is upgraded after receiving described program ", further comprise:
After the completion of updating terminal device, the upgrading flag in upgrade parameter is arranged to upgrade by terminal device, and is led to Know that the upgrading flag of the terminal device is arranged to upgrade by terminal management platform.
Further, after described " terminal device is upgraded after receiving described program ", further comprise:
After the completion of updating terminal device, terminal device renewal present procedure version number;
Terminal management platform preserves the present procedure version number after the terminal device renewal.
Further, after described " after the completion of updating terminal device, terminal device renewal present procedure version number ", one is entered Step includes:
According to the present procedure version number after renewal, judge whether the terminal device upgrades successfully.
Further, before described " terminal device sends upgrade request to terminal management platform ", further comprise:
Present procedure version number and recent program version number are compared by terminal device, judge whether consistent;
If consistent, the upgrading flag in upgrade parameter is arranged to upgrade by terminal device, and sends amendment advice To terminal management platform;
After terminal management platform receives the amendment advice, the upgrading flag of the terminal device is arranged to rise Level;
If inconsistent, the step of terminal device sends upgrade request to terminal management platform is performed.
It is further, described that " terminal management platform judges the present procedure version number of terminal device transmission and the terminal Whether the recent program version number in the upgrade parameter of equipment is consistent " before, further comprise:
Terminal management platform verifies the legitimacy of the terminal device according to the equipment Serial Number of the terminal device.
Embodiment one
Fig. 1 is refer to, embodiments of the invention one are:A kind of terminal device timesharing upgrade method, it can be applied to pay eventually End, comprises the following steps:
S1:According to the update time of single terminal equipment, by pressure test, computer room where obtaining terminal management platform The optimum terminations upgrading quantity that bandwidth rates are supported.Wherein, the update time of single terminal equipment be using single terminal outside Computer room where net access terminal management platform carries out upgrading required update time.Optimum terminations upgrading quantity be with list In the update time of the individual terminal device consistent time, what the bandwidth rates of computer room were supported where terminal management platform can complete The maximum terminal quantity of upgrading;That is, it is assumed that N number of under conditions of the bandwidth rates of computer room where terminal management platform Total time needed for updating terminal device and the time consistency needed for single terminal device upgrade, then optimum terminations upgrading quantity be N maximum.
S2:According to the update time of single terminal equipment and optimum terminations upgrading quantity, each terminal device is determined Update time point.
Specifically, according to the update time of single terminal equipment, it is determined that upgrading interval time, the upgrading interval time is big In the update time of the single terminal equipment;Further, in order to improve upgrading total time and upgrading efficiency, when upgrading is spaced Between be slightly larger than single terminal equipment update time;
Upgrade quantity according to the optimum terminations, each terminal device that terminal management platform is managed is divided, really Batch corresponding to fixed each terminal device;Wherein, the maximum of the quantity of the terminal device of each batch is optimum terminations ascending series Amount, i.e., the terminal device quantity of each batch are no more than optimum terminations upgrading quantity;
According to default time started and the upgrading interval time, the update time of the terminal device of each batch is determined Point;The update time point of each terminal device in first batch is the default time started, each terminal in second lot The update time point of equipment is to add upgrading interval time the default time started, the upgrading of each terminal device in the 3rd batch Time point is the upgrading interval time for the default time started adding twice, the like.
S3:The upgrade parameter of its terminal device managed is set in terminal management platform, and the upgrade parameter includes Equipment Serial Number, upgrading flag, update time point and recent program version number;Wherein, the upgrading flag may be configured as Do not upgrade or upgraded.
S4:Terminal management platform sends upgrade parameter to corresponding terminal device according to equipment Serial Number;Further Ground, when terminal device initiates to register transaction, terminal management platform obtains corresponding according to the equipment Serial Number of the terminal device Upgrade parameter, and by the upgrade parameter composition corresponding to message return to terminal device, terminal device receives return of registering Message, according to respective rule analytic message, upgrade parameter corresponding to acquisition, and being preserved.
S5:Terminal device is upgraded in its corresponding update time point, further, according to upgrading flag and newest Program version number is upgraded.
For example, it is assumed that terminal management platform intelligent acess and all right, the support upgrading under the speed of 341kb/sec broadbands Terminal quantity be 20 and upgrading need time be 3 minutes, then the quantity of the terminal device of each batch be 20, upgrading Interval time is set to 4 minutes;Assuming that the default time started is 12 points, then the terminal device of first batch is risen at 12 points Level, the terminal device of second lot are upgraded for 4 minutes at 12 points, by that analogy.
In step S1-S2, by the hardware device performance information of computer room where assessing terminal management platform, broadband speed is confirmed Rate etc., statistics present terminal management platform pass through pressure with terminal amount and terminal device increased number in the coming years Terminal upgrading plan in batches is formulated in test.In step S3, each terminal device is set according to upgrading plan in terminal management platform Upgrade parameter, terminal management platform can preserve the upgrade parameter of each terminal device, and random read take and can modify.Afterwards Continuous terminal device is upgraded according to upgrade parameter.
Fought for conventionally, as great amount of terminals equipment when being upgraded at same time point, can carry out resource, can Resource allocation can be caused to fail, cause upgrading failure or increase update time.And in the present embodiment, the upgrading in upgrade parameter Time point can be accurate to minute, it is possible to prevente effectively from network congestion and cause upgrading failure situations such as;By setting upgrading mark Position, the terminal that can effectively reduce needs to upgrade are needed (due to business change, it is only necessary to upgrade partial service related terminal device Application program), so as to reduce the pressure of terminal management platform, improve the upgrading efficiency of terminal device;Terminal device passes through label Upgrade parameter is obtained to transaction, upgrading plan can be specified in advance and can be modified before update time point, it is convenient whole The maintenance of end equipment, and because transaction of registering is that essentially all of payment terminal is all achievable, therefore, by registering, transaction is handed over The operation of mutual upgrade parameter is versatile.
Embodiment two
The present embodiment is the step S5 of embodiment one further expansion.
As shown in Fig. 2 step S5 comprises the following steps:
S501:Terminal device judges whether that needs are upgraded in its corresponding update time point, according to upgrading flag; Judge to upgrade whether flag is not upgrade, if so, then performing step S502.
S502:Present procedure version number and recent program version number are compared by terminal device, judge whether unanimously, if It is then to perform step S503, if it is not, then performing step S505.
S503:Upgrading flag in upgrade parameter is arranged to upgrade by terminal device, and sends amendment advice to end End pipe platform;
S504:After terminal management platform receives the amendment advice, the upgrading flag of the terminal device is arranged to Upgrade;
S505:Terminal device sends upgrade request to terminal management platform, and the upgrade request includes working as terminal device Preceding program version number;
S506:Terminal management platform verifies the legal of the terminal device according to the equipment Serial Number of the terminal device Property, if being verified, perform step S507.
S507:Terminal management platform judges present procedure version number and the upgrading of the terminal device of terminal device transmission Whether the recent program version number in parameter is consistent, if so, step S508 is then performed, if it is not, then performing step S509.
S508:The upgrading flag of the terminal device is arranged to upgrade by terminal management platform;
S509:Program corresponding to recent program version number is issued to the terminal device by terminal management platform;
S510:Terminal device is upgraded after receiving described program.Further, after the completion of updating terminal device, eventually Upgrading flag in upgrade parameter is arranged to upgrade by end equipment, and notifies terminal management platform by the terminal device Upgrading flag is arranged to upgrade, that is, performs step S503-S504.
Further, after step S510, i.e., after the completion of updating terminal device, terminal device renewal present procedure version Number;Terminal management platform preserves the present procedure version number after the terminal device renewal.Final-period management personnel can be in terminal conduit According to the upgrade status of upgrading flag inquiry terminal device in platform;Plant maintenance personnel can be on the terminal device according to more Present procedure version number after new, inquires about whether the terminal device upgrades successfully.
In the present embodiment, terminal device and terminal management platform are successively according to upgrading flag and program version number judgement It is no to need to upgrade, unnecessary upgrading flow can be avoided, so as to reduce the pressure of terminal management platform, improves the liter of terminal device Stage efficiency;After the completion of upgrading, by the parameter information that upgrades in time, it is easy to later maintenance personnel or administrative staff to inquire about.
Embodiment three
The present embodiment is a kind of computer-readable recording medium of corresponding above-described embodiment, is stored thereon with computer journey Sequence, following steps are realized when described program is executed by processor:
According to the update time of single terminal equipment, by pressure test, the band of computer room where obtaining terminal management platform The optimum terminations upgrading quantity that wide speed is supported;
Quantity is upgraded according to the update time of single terminal equipment and the optimum terminations, determines the liter of each terminal device Level time point;
The upgrade parameter of its terminal device managed is set in terminal management platform, and the upgrade parameter includes equipment Sequence number, upgrading flag, update time point and recent program version number;
Terminal management platform sends upgrade parameter to corresponding terminal device according to equipment Serial Number;
Terminal device is upgraded according to upgrading flag and recent program version number in its corresponding update time point.
Further, the optimum terminations upgrading quantity is in the time consistent with the update time of single terminal equipment Interior, what the bandwidth rates of computer room were supported can complete the maximum terminal quantity of upgrading where terminal management platform.
Further, described " quantity is upgraded according to the update time of single terminal equipment and the optimum terminations, it is determined that The update time point of each terminal device " is specially:
According to the update time of single terminal equipment, it is determined that upgrading interval time, the upgrading interval time is more than described The update time of single terminal equipment;
Upgrade quantity according to the optimum terminations, each terminal device that terminal management platform is managed is divided, really Batch corresponding to fixed each terminal device;
According to default time started and the upgrading interval time, the update time of the terminal device of each batch is determined Point.
It is further, described that " upgrade parameter is sent to corresponding terminal and set according to equipment Serial Number by terminal management platform It is standby " be specially:
Upgrade parameter is sent to corresponding terminal and set according to equipment Serial Number by terminal management platform by transaction of registering It is standby.
Further, it is described " terminal device in its corresponding update time point, according to upgrading flag and recent program version This number is upgraded " be specially:
Terminal device judges whether that needs are upgraded in its corresponding update time point, according to upgrading flag;
If so, then terminal device transmission upgrade request to terminal management platform, the upgrade request includes terminal device Present procedure version number;
Terminal management platform judges present procedure version number and the upgrade parameter of the terminal device of terminal device transmission In recent program version number it is whether consistent;
If consistent, the upgrading flag of the terminal device is arranged to upgrade;
If inconsistent, program corresponding to recent program version number is issued to the terminal device;
Terminal device is upgraded after receiving described program.
Further, after described " terminal device is upgraded after receiving described program ", further comprise:
After the completion of updating terminal device, the upgrading flag in upgrade parameter is arranged to upgrade by terminal device, and is led to Know that the upgrading flag of the terminal device is arranged to upgrade by terminal management platform.
Further, after described " terminal device is upgraded after receiving described program ", further comprise:
After the completion of updating terminal device, terminal device renewal present procedure version number;
Terminal management platform preserves the present procedure version number after the terminal device renewal.
Further, after described " after the completion of updating terminal device, terminal device renewal present procedure version number ", one is entered Step includes:
According to the present procedure version number after renewal, judge whether the terminal device upgrades successfully.
Further, before described " terminal device sends upgrade request to terminal management platform ", further comprise:
Present procedure version number and recent program version number are compared by terminal device, judge whether consistent;
If consistent, the upgrading flag in upgrade parameter is arranged to upgrade by terminal device, and sends amendment advice To terminal management platform;
After terminal management platform receives the amendment advice, the upgrading flag of the terminal device is arranged to rise Level;
If inconsistent, the step of terminal device sends upgrade request to terminal management platform is performed.
It is further, described that " terminal management platform judges the present procedure version number of terminal device transmission and the terminal Whether the recent program version number in the upgrade parameter of equipment is consistent " before, further comprise:
Terminal management platform verifies the legitimacy of the terminal device according to the equipment Serial Number of the terminal device.
In summary, a kind of terminal device timesharing upgrade method provided by the invention and computer-readable recording medium, lead to Excess pressure is tested, and computer room where obtaining terminal management platform can upgrade and upgrade simultaneously in the update time of single terminal equipment Successful maximum terminal quantity upgrades quantity as optimum terminations, upgrades quantity according to optimum terminations, by terminal management platform institute The terminal device division batch of management, the maximum of the terminal quantity per batch is optimum terminations upgrading quantity, then basis The update time of single terminal equipment determines the upgrading interval time between each batch, finally determines the upgrading of each terminal device Time point;Terminal device update time point according to corresponding to itself is upgraded, so as to realize timesharing, upgrading in batches;Rise Level time point can be accurate to minute, it is possible to prevente effectively from network congestion and cause upgrading failure situations such as;By setting upgrading mark Know position, can effectively reduce the terminal needs for needing to upgrade, so as to reduce the pressure of terminal management platform, improve terminal device Upgrade efficiency.The present invention is not in the case where changing existing hardware condition, when reducing required during great amount of terminals device upgrade Between, while improve the success rate for upgrading of terminal device.
Embodiments of the invention are the foregoing is only, are not intended to limit the scope of the invention, it is every to utilize this hair The equivalents that bright specification and accompanying drawing content are made, or the technical field of correlation is directly or indirectly used in, similarly include In the scope of patent protection of the present invention.

Claims (20)

  1. A kind of 1. terminal device timesharing upgrade method, it is characterised in that including:
    According to the update time of single terminal equipment, by pressure test, the bandwidth speed of computer room where obtaining terminal management platform The optimum terminations upgrading quantity that rate is supported;
    Quantity is upgraded according to the update time of single terminal equipment and the optimum terminations, when determining the upgrading of each terminal device Between point;
    The upgrade parameter of its terminal device managed is set in terminal management platform, and the upgrade parameter includes equipment sequence Number, upgrading flag, update time point and recent program version number;
    Terminal management platform sends upgrade parameter to corresponding terminal device according to equipment Serial Number;
    Terminal device is upgraded according to upgrading flag and recent program version number in its corresponding update time point.
  2. 2. terminal device timesharing upgrade method according to claim 1, it is characterised in that the optimum terminations upgrade quantity For within the time consistent with the update time of single terminal equipment, the bandwidth rates of computer room are supported where terminal management platform Can complete upgrading maximum terminal quantity.
  3. 3. terminal device timesharing upgrade method according to claim 1, it is characterised in that described " to be set according to single terminal Standby update time and optimum terminations upgrading quantity, determine the update time point of each terminal device " be specially:
    According to the update time of single terminal equipment, it is determined that upgrading interval time, the upgrading interval time is more than described single The update time of terminal device;
    Upgrade quantity according to the optimum terminations, each terminal device that terminal management platform is managed is divided, it is determined that respectively Batch corresponding to terminal device;
    According to default time started and the upgrading interval time, the update time point of the terminal device of each batch is determined.
  4. 4. terminal device timesharing upgrade method according to claim 1, it is characterised in that " the terminal management platform root According to equipment Serial Number, upgrade parameter is sent to corresponding terminal device " be specially:
    Terminal management platform is according to equipment Serial Number, and by registering, transaction sends upgrade parameter to corresponding terminal device.
  5. 5. terminal device timesharing upgrade method according to claim 1, it is characterised in that described " terminal device is right at its The update time point answered, upgraded according to upgrading flag and recent program version number " be specially:
    Terminal device judges whether that needs are upgraded in its corresponding update time point, according to upgrading flag;
    If so, then terminal device transmission upgrade request to terminal management platform, the upgrade request includes the current of terminal device Program version number;
    Terminal management platform is judged in the present procedure version number of terminal device transmission and the upgrade parameter of the terminal device Whether recent program version number is consistent;
    If consistent, the upgrading flag of the terminal device is arranged to upgrade;
    If inconsistent, program corresponding to recent program version number is issued to the terminal device;
    Terminal device is upgraded after receiving described program.
  6. 6. terminal device timesharing upgrade method according to claim 5, it is characterised in that described " terminal device receives Upgraded after described program " after, further comprise:
    After the completion of updating terminal device, the upgrading flag in upgrade parameter is arranged to upgrade by terminal device, and notifies end The upgrading flag of the terminal device is arranged to upgrade by end pipe platform.
  7. 7. terminal device timesharing upgrade method according to claim 5, it is characterised in that described " terminal device receives Upgraded after described program " after, further comprise:
    After the completion of updating terminal device, terminal device renewal present procedure version number;
    Terminal management platform preserves the present procedure version number after the terminal device renewal.
  8. 8. terminal device timesharing upgrade method according to claim 7, it is characterised in that described " updating terminal device is complete After Cheng Hou, terminal device renewal present procedure version number ", further comprise:
    According to the present procedure version number after renewal, judge whether the terminal device upgrades successfully.
  9. 9. terminal device timesharing upgrade method according to claim 5, it is characterised in that described " terminal device, which is sent, to be risen Level is asked to terminal management platform " before, further comprise:
    Present procedure version number and recent program version number are compared by terminal device, judge whether consistent;
    If consistent, the upgrading flag in upgrade parameter is arranged to upgrade by terminal device, and sends amendment advice to end End pipe platform;
    After terminal management platform receives the amendment advice, the upgrading flag of the terminal device is arranged to upgrade;
    If inconsistent, the step of terminal device sends upgrade request to terminal management platform is performed.
  10. 10. terminal device timesharing upgrade method according to claim 5, it is characterised in that described " terminal management platform is sentenced Whether the recent program version number in present procedure version number and the upgrade parameter of the terminal device that disconnected terminal device is sent Before unanimously ", further comprise:
    Terminal management platform verifies the legitimacy of the terminal device according to the equipment Serial Number of the terminal device.
  11. 11. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that described program is processed Device realizes following steps when performing:
    According to the update time of single terminal equipment, by pressure test, the bandwidth speed of computer room where obtaining terminal management platform The optimum terminations upgrading quantity that rate is supported;
    Quantity is upgraded according to the update time of single terminal equipment and the optimum terminations, when determining the upgrading of each terminal device Between point;
    The upgrade parameter of its terminal device managed is set in terminal management platform, and the upgrade parameter includes equipment sequence Number, upgrading flag, update time point and recent program version number;
    Terminal management platform sends upgrade parameter to corresponding terminal device according to equipment Serial Number;
    Terminal device is upgraded according to upgrading flag and recent program version number in its corresponding update time point.
  12. 12. computer-readable recording medium according to claim 11, it is characterised in that the optimum terminations upgrade quantity For within the time consistent with the update time of single terminal equipment, the bandwidth rates of computer room are supported where terminal management platform Can complete upgrading maximum terminal quantity.
  13. 13. computer-readable recording medium according to claim 11, it is characterised in that described " to be set according to single terminal Standby update time and optimum terminations upgrading quantity, determine the update time point of each terminal device " be specially:
    According to the update time of single terminal equipment, it is determined that upgrading interval time, the upgrading interval time is more than described single The update time of terminal device;
    Upgrade quantity according to the optimum terminations, each terminal device that terminal management platform is managed is divided, it is determined that respectively Batch corresponding to terminal device;
    According to default time started and the upgrading interval time, the update time point of the terminal device of each batch is determined.
  14. 14. computer-readable recording medium according to claim 11, it is characterised in that " the terminal management platform root According to equipment Serial Number, upgrade parameter is sent to corresponding terminal device " be specially:
    Terminal management platform is according to equipment Serial Number, and by registering, transaction sends upgrade parameter to corresponding terminal device.
  15. 15. computer-readable recording medium according to claim 11, it is characterised in that described " terminal device is right at its The update time point answered, upgraded according to upgrading flag and recent program version number " be specially:
    Terminal device judges whether that needs are upgraded in its corresponding update time point, according to upgrading flag;
    If so, then terminal device transmission upgrade request to terminal management platform, the upgrade request includes the current of terminal device Program version number;
    Terminal management platform is judged in the present procedure version number of terminal device transmission and the upgrade parameter of the terminal device Whether recent program version number is consistent;
    If consistent, the upgrading flag of the terminal device is arranged to upgrade;
    If inconsistent, program corresponding to recent program version number is issued to the terminal device;
    Terminal device is upgraded after receiving described program.
  16. 16. computer-readable recording medium according to claim 15, it is characterised in that described " terminal device receives Upgraded after described program " after, further comprise:
    After the completion of updating terminal device, the upgrading flag in upgrade parameter is arranged to upgrade by terminal device, and notifies end The upgrading flag of the terminal device is arranged to upgrade by end pipe platform.
  17. 17. computer-readable recording medium according to claim 15, it is characterised in that described " terminal device receives Upgraded after described program " after, further comprise:
    After the completion of updating terminal device, terminal device renewal present procedure version number;
    Terminal management platform preserves the present procedure version number after the terminal device renewal.
  18. 18. computer-readable recording medium according to claim 17, it is characterised in that described " updating terminal device is complete After Cheng Hou, terminal device renewal present procedure version number ", further comprise:
    According to the present procedure version number after renewal, judge whether the terminal device upgrades successfully.
  19. 19. computer-readable recording medium according to claim 15, it is characterised in that described " terminal device, which is sent, to be risen Level is asked to terminal management platform " before, further comprise:
    Present procedure version number and recent program version number are compared by terminal device, judge whether consistent;
    If consistent, the upgrading flag in upgrade parameter is arranged to upgrade by terminal device, and sends amendment advice to end End pipe platform;
    After terminal management platform receives the amendment advice, the upgrading flag of the terminal device is arranged to upgrade;
    If inconsistent, the step of terminal device sends upgrade request to terminal management platform is performed.
  20. 20. computer-readable recording medium according to claim 15, it is characterised in that described " terminal management platform is sentenced Whether the recent program version number in present procedure version number and the upgrade parameter of the terminal device that disconnected terminal device is sent Before unanimously ", further comprise:
    Terminal management platform verifies the legitimacy of the terminal device according to the equipment Serial Number of the terminal device.
CN201710627902.1A 2017-07-28 2017-07-28 Terminal device timesharing upgrade method and computer-readable recording medium Pending CN107608688A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710627902.1A CN107608688A (en) 2017-07-28 2017-07-28 Terminal device timesharing upgrade method and computer-readable recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710627902.1A CN107608688A (en) 2017-07-28 2017-07-28 Terminal device timesharing upgrade method and computer-readable recording medium

Publications (1)

Publication Number Publication Date
CN107608688A true CN107608688A (en) 2018-01-19

Family

ID=61059989

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710627902.1A Pending CN107608688A (en) 2017-07-28 2017-07-28 Terminal device timesharing upgrade method and computer-readable recording medium

Country Status (1)

Country Link
CN (1) CN107608688A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109634646A (en) * 2019-03-06 2019-04-16 北京意锐新创科技有限公司 The method and apparatus of barcode scanning terminal coupling firmware updating based on SFTP
CN109783120A (en) * 2018-12-28 2019-05-21 易票联支付有限公司 A kind of POS machine software version updating method and system
CN109901864A (en) * 2019-03-06 2019-06-18 北京意锐新创科技有限公司 The method and apparatus of barcode scanning terminal coupling firmware updating based on FTPS
CN109901865A (en) * 2019-03-06 2019-06-18 北京意锐新创科技有限公司 The method and apparatus of firmware upgrade

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090138477A1 (en) * 2007-11-26 2009-05-28 Adobe Systems Incorporated Updating Data on a Remote Device
CN103067484A (en) * 2012-12-25 2013-04-24 深圳市天维尔通讯技术有限公司 Method and system upgrading application program automatically
CN103580887A (en) * 2012-07-25 2014-02-12 中兴通讯股份有限公司 Clients, updating method and updating system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090138477A1 (en) * 2007-11-26 2009-05-28 Adobe Systems Incorporated Updating Data on a Remote Device
CN103580887A (en) * 2012-07-25 2014-02-12 中兴通讯股份有限公司 Clients, updating method and updating system
CN103067484A (en) * 2012-12-25 2013-04-24 深圳市天维尔通讯技术有限公司 Method and system upgrading application program automatically

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109783120A (en) * 2018-12-28 2019-05-21 易票联支付有限公司 A kind of POS machine software version updating method and system
CN109634646A (en) * 2019-03-06 2019-04-16 北京意锐新创科技有限公司 The method and apparatus of barcode scanning terminal coupling firmware updating based on SFTP
CN109901864A (en) * 2019-03-06 2019-06-18 北京意锐新创科技有限公司 The method and apparatus of barcode scanning terminal coupling firmware updating based on FTPS
CN109901865A (en) * 2019-03-06 2019-06-18 北京意锐新创科技有限公司 The method and apparatus of firmware upgrade

Similar Documents

Publication Publication Date Title
CN107608688A (en) Terminal device timesharing upgrade method and computer-readable recording medium
US20140068212A1 (en) Device backups and updates in view of data usage statistics
CN110138688A (en) Dynamic adjusts method, apparatus, equipment and the readable storage medium storing program for executing of business interface
CN108681504A (en) Automated testing method, test server and computer readable storage medium
CN105024947A (en) Method and device for monitoring network traffic
CN110784530A (en) Gray scale publishing method and server
CN112733206A (en) Resource allocation method, device, server and medium
CN107943626A (en) The performance test methods and associated server of a kind of transaction system
CN102263666B (en) Permit to carry out the method, apparatus and system of traffic scheduling based on service traffics
CN115658098A (en) Upgrading method and device for distributed business processing system
CN104317660B (en) A kind of bank's parameter management system
JP7039652B2 (en) Abnormal server service processing method and equipment
CN111988388B (en) Flow distribution method, device, electronic equipment and storage medium
CN106034148A (en) Fast information interaction method, local server, remote server and system
CN107193618A (en) A kind of solving device, method and the application of device end upgrading test
CN103491115A (en) Resource dispatching method, resource dispatching device and resource dispatching system
CN109710285A (en) A kind of device updating method and system
CN113596920B (en) Flow control method, device, electronic equipment and storage medium
CN111694670B (en) Resource allocation method, apparatus, device and computer readable medium
CN114493756A (en) Resource management method, device, equipment and storage medium
CN112055376A (en) Base station equipment monitoring method, device and storage medium
CN115604113B (en) FAN network equipment rapid upgrading method, system, equipment and medium
CN110177125A (en) A kind of middleware platform moving method and system
CN114040380B (en) Data issuing method and device, electronic equipment, medium and product
CN112260966B (en) Traffic distribution control method, apparatus and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180119

RJ01 Rejection of invention patent application after publication