CN108073408A - The method for updating system and device of self-aided terminal - Google Patents
The method for updating system and device of self-aided terminal Download PDFInfo
- Publication number
- CN108073408A CN108073408A CN201611005952.8A CN201611005952A CN108073408A CN 108073408 A CN108073408 A CN 108073408A CN 201611005952 A CN201611005952 A CN 201611005952A CN 108073408 A CN108073408 A CN 108073408A
- Authority
- CN
- China
- Prior art keywords
- self
- aided terminal
- terminal
- data
- aided
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
Abstract
The present invention relates to a kind of method for updating system of self-aided terminal, the described method comprises the following steps:Server receives the initial connection request that multiple self-aided terminals are sent, and initial connection request includes the terminal iidentification and System Number of each self-aided terminal;It is counted according to System Number in multiple self-aided terminals, it is necessary to the self-aided terminal and its quantity of more new system;Corresponding delay duration is generated for each self-aided terminal for needing more new system according to quantity;Renewal time to the self-aided terminal in requisition for update system is calculated according to delay duration;Inquire about update the data corresponding with needing the self-aided terminal of more new system;When detecting that system time meets or exceeds renewal time, make the self-aided terminal acquisition of needs more new system is corresponding to update the data and be updated.The above method can reduce the data transmission pressure of server, improve the total system update efficiency of self-aided terminal.In addition, also correspondence provides a kind of system updating device of self-aided terminal.
Description
Technical field
The present invention relates to technical field of information processing, more particularly to the method for updating system and dress of a kind of self-aided terminal
It puts.
Background technology
Self-aided terminal is mainly used for alleviating the problem of business hall stream of people is big, improves the speed of business handling, is mainly used in
The industries such as bank, telecommunications, electric power, medical treatment, aviation, retail.Self-aided terminal is usually distributed across each agency, and solid daily
Fixed time point is connected to the background system of self-aided terminal simultaneously, starts operation.
In order to improve the software performance of self-service device, the runtime of self-service device usually needs to be updated or upgrade.
Traditional method is that the system update data of self-aided terminal are set in background system, when self-service device is in the regular time point
When being connected to background system, then to self-aided terminal it is made to carry out system update the system update data distributing.It is set due to self-service
Standby substantial amounts, the operating system of same type of self-service device is all identical, and therefore, traditional method is self-service in realization
, it is necessary to occupy substantial amounts of resource or even background system can be caused to collapse during the update of equipment so that update is inefficient.
The content of the invention
Based on this, it is necessary to for above-mentioned technical problem, provide a kind of system update efficiency that can improve self-aided terminal
Self-aided terminal method for updating system and device.
A kind of method for updating system of self-aided terminal, the described method comprises the following steps:
Server receives the initial connection request that multiple self-aided terminals are sent, and the initial connection request is included each certainly
Help the terminal iidentification and System Number of terminal;
It is counted according to the System Number in the multiple self-aided terminal, it is necessary to the self-aided terminal and its number of more new system
Amount;
Inquire about update the data corresponding with the self-aided terminal of the needs more new system;
According to the quantity of the self-aided terminal of the needs more new system and it is described update the data, need more new system to be each
Self-aided terminal distribute corresponding delay duration;
The renewal time of each self-aided terminal for needing more new system is calculated according to the delay duration;
When reaching the renewal time, the self-aided terminal for needing more new system is controlled to download institute from the server
It states and updates the data and be updated.
In one of the embodiments, it is described to be counted according to the System Number in the multiple self-aided terminal, it is necessary to more
The step of self-aided terminal and its quantity of new system, including:
Obtain pre-set recent systems number in server;
Whether the System Number for detecting each self-aided terminal is identical with corresponding recent systems number;
If numbering different self-aided terminal with corresponding recent systems there are System Number, judge that the self-aided terminal is
Need the self-aided terminal of more new system;
Calculate the quantity of the self-aided terminal of the needs more new system.
In one of the embodiments, the method further includes:
When the system update of the self-aided terminal of the needs more new system is completed, by the System Number of the self-aided terminal more
Newly numbered for corresponding recent systems.
In one of the embodiments, the inquiry is corresponding with the self-aided terminal of the needs more new system updates the data
The step of, including:
The classification of the self-aided terminal of the needs more new system is determined according to the System Number, and is sorted out;
From server inquiry with different classes of self-aided terminal is corresponding updates the data;
The quantity of the self-aided terminal according to the needs more new system and it is described update the data, each to need to update
The self-aided terminal of system distributes the step of corresponding delay duration, including:
Update the data size according to described, calculate different classes of self-aided terminal download it is corresponding update the data it is required
Downloading duration;
According to the downloading duration delay duration is distributed for the different classes of self-aided terminal.
In one of the embodiments, the delay duration for distributing to the different classes of self-aided terminal is identical
Delay duration or different delay durations;Wherein, if the delay duration is identical delay duration, the identical delay
Duration is not less than the maximum in the downloading duration of the different classes of self-aided terminal.
A kind of system updating device of self-aided terminal, described device include:
Initial connection request receiving module, it is described initial for receiving the initial connection request that multiple self-aided terminals are sent
Connection request includes the terminal iidentification and System Number of each self-aided terminal;
Quantity statistics module, for being counted according to the System Number in the multiple self-aided terminal, it is necessary to more new system
Self-aided terminal and its quantity;
Enquiry module is updated the data, for inquiring about update the data corresponding with the self-aided terminal of the needs more new system;
Renewal time computing module, quantity and the update number for the self-aided terminal according to the needs more new system
According to for each corresponding delay duration of self-aided terminal distribution for needing more new system;Each need are calculated according to the delay duration
Will more new system self-aided terminal renewal time;
System update module, for when reaching the renewal time, controlling the self-aided terminal for needing more new system
It updates the data and is updated from described in server download.
In one of the embodiments, the quantity statistics module includes:
Detection unit, for obtaining pre-set recent systems number in server;Detect each self-aided terminal is
Whether unified editing number is identical with corresponding recent systems number;
Identifying unit if to number different self-aided terminal with corresponding recent systems for there are System Numbers, is sentenced
The fixed self-aided terminal is the self-aided terminal for needing more new system;
Amount calculation unit, for calculating the quantity of the self-aided terminal of the needs more new system.
In one of the embodiments, described device further includes:
System Number update module, for when the system update of the self-aided terminal of the needs more new system is completed, inciting somebody to action
The System Number of the self-aided terminal is updated to corresponding recent systems number.
In one of the embodiments, the enquiry module that updates the data is additionally operable to according to determining the System Number
The classification of the self-aided terminal of more new system is needed, and is sorted out;From server inquiry and different classes of self-aided terminal
It is corresponding to update the data;
The renewal time computing module is additionally operable to update the data size according to, calculates different classes of self-aided terminal
It downloads and corresponding updates the data required downloading duration;It is the different classes of self-aided terminal point according to the downloading duration
With the delay duration.
In one of the embodiments, the delay duration for distributing to the different classes of self-aided terminal is identical
Delay duration or different delay durations;Wherein, if the delay duration is identical delay duration, the identical delay
Duration is not less than the maximum in the downloading duration of the different classes of self-aided terminal.
The method for updating system and device of above-mentioned self-aided terminal determine correspondence by detecting the System Number of self-aided terminal
Self-aided terminal whether be need carry out system update self-aided terminal, determine needed for carry out system update self-aided terminal number
It measures and updates the data, and need the self-aided terminal setting for carrying out system update corresponding to be each with updating the data according to the quantity
Delay duration, renewal time of corresponding self-aided terminal is determined according to the delay duration and present system time so that needs
When reaching the renewal time, acquisition is corresponding to be updated the data and is updated the self-aided terminal of more new system, so as to reduce
Synchronization carries out the quantity of the self-aided terminal of system update, to reduce the data transmission pressure of server, improves self-service end
The total system update efficiency at end.
Description of the drawings
Fig. 1 is the applied environment figure of the method for updating system of self-aided terminal in one embodiment;
Fig. 2 is the internal structure schematic diagram of server in one embodiment;
Fig. 3 is the flow chart of the method for updating system of self-aided terminal in one embodiment;
Fig. 4 is to be counted in one embodiment according to System Number in multiple self-aided terminals, it is necessary to the self-service end of more new system
The flow chart of the step of end and its quantity;
Fig. 5 is the stream that the step of updating the data corresponding with the self-aided terminal of needs more new system is inquired about in one embodiment
Cheng Tu;
Fig. 6 is the structure diagram of the system updating device of self-aided terminal in one embodiment;
Fig. 7 is the structure diagram of quantity statistics module in one embodiment;
Fig. 8 is the structure diagram of the system updating device of self-aided terminal in another embodiment;
Fig. 9 is the structure diagram that enquiry module is updated the data in one embodiment.
Specific embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to the accompanying drawings and embodiments, it is right
The present invention is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the present invention, not
For limiting the present invention.
As shown in Figure 1, the applied environment figure of the method for updating system for the self-aided terminal in one embodiment.This applies ring
Border includes self-aided terminal 110 and server 120.Self-aided terminal 110 can be ATM machine, automatic charger, automatic machine, automatic
Vending machine, self-service refueling machine, self-service take the arbitrary self-service terminating machine device such as unit at self-help registration machine.It is run on self-aided terminal
There is operating system, by the connection with server, realize the business handling of user.Server 120 is after self-aided terminal is corresponding
Platform system server is stored with the system data of self-aided terminal operating system.Server 120 can pass through preset interface and self-service end
End 110 is communicated, and receives the initial connection request of multiple self-aided terminals 110, which includes self-aided terminal
Terminal iidentification and System Number;Counted according to System Number in multiple self-aided terminals, it is necessary to the self-aided terminal of more new system and
Its quantity;Inquire about update the data corresponding with needing the self-aided terminal of more new system;The self-aided terminal of more new system as needed
Quantity and update the data, distribute corresponding delay duration for each self-aided terminal for needing more new system;According to delay duration
Calculate the renewal time of each self-aided terminal for needing more new system;When reaching renewal time, control needs more new system
Self-aided terminal is updated the data and is updated from server download.
As shown in Fig. 2, the internal structure schematic diagram for the server 120 in one embodiment.The server 120 includes logical
Cross processor, non-volatile memory medium, built-in storage and the network interface of system bus connection.Wherein, server is non-easy
The property lost storage medium is stored with operating system and database, further includes a kind of system updating device of self-aided terminal.The database
In be stored with the system data of self-aided terminal operating system, the system updating device of the self-aided terminal is used to implement a kind of self-service end
The method for updating system at end.The processor supports the operation of entire server for providing calculating and control ability.In server
Built-in storage provide environment for the operation of the system updating device of the self-aided terminal in non-volatile memory medium, the memory storage
Computer-readable instruction can be stored in device, when which is executed by processor, may be such that the processor performs
A kind of method for updating system of self-aided terminal.Network interface is used to carry out network communication with self-aided terminal.
It will be understood by those skilled in the art that structure shown in Figure 2, only part knot relevant with application scheme
The block diagram of structure, does not form the restriction for the server being applied thereon to application scheme, and specific server can include
Some components are either combined than more or fewer components shown in figure or are arranged with different components.
In one embodiment, as shown in figure 3, providing a kind of method for updating system of self-aided terminal, this method can answer
For in environment as shown in Figure 1, and can specifically be performed on server as shown in Figure 2.This method comprises the following steps:
Step 302, server receives the initial connection request that multiple self-aided terminals are sent, and initial connection request is included often
The terminal iidentification and System Number of a self-aided terminal.
In the present embodiment, server can call default interface to be attached with multiple self-aided terminals.Self-aided terminal includes
Multiple, server can set an initial connection cycle with the plurality of self-aided terminal.For example, the initial link cycle can be with 24
Hour is a cycle.Initial connection request for self-aided terminal in each cycle, for the first time with server carry out connection please
It asks.Include the terminal iidentification and System Number of the self-aided terminal in initial link request transmitted by each self-aided terminal.Eventually
End mark can be made of with System Number the number of presetting digit capacity, letter and other characters respectively, be respectively used to uniquely know
The operating system run on not corresponding self-aided terminal and self-aided terminal.
Step 304, counted according to System Number in multiple self-aided terminals, it is necessary to the self-aided terminal and its number of more new system
Amount.
In the present embodiment, the plurality of self-aided terminal is to carry out initial connection in synchronization and server.Server is connecing
After the initial link request for receiving multiple self-aided terminals, according to the System Number carried in each initial link request, determining should
Whether the operating system run on self-aided terminal needs to carry out system update, and counts the self-service end for needing to carry out system update
The quantity at end.
Step 306, inquiry is corresponding with needing the self-aided terminal of more new system updates the data.
In the present embodiment, server has pre-established different System Numbers and the correspondence updated the data, according to this
Correspondence inquires about updating the data corresponding to the newest operating system stored from database, this update the data as pair
It is required when self-aided terminal being answered to carry out system update to update the data.
Step 308, the quantity of the self-aided terminal of more new system and update the data as needed, need more new system to be each
Self-aided terminal distribute corresponding delay duration.
Delay duration to need more new system self-aided terminal quantity and update the data related.The data updated the data are got over
Greatly, it is necessary to which the quantity of the self-aided terminal of more new system is more, then the delay duration being oppositely arranged is bigger.Specifically, working as needs more
The quantity of new self-aided terminal is bigger, then set maximum delay duration is also bigger.When the data updated the data are bigger, then put down
Time interval between adjacent delay duration is also bigger.
Further, the interval duration between set adjacent delay duration can be identical, also can be different.With interval duration
Exemplified by identical, a length of half an hour when can such as set the interval between each adjacent delay duration, i.e., it is 0 to set delay duration respectively
Minute, 30 minutes, 60 minutes, 90 minutes etc..The quantity of set delay duration can be by needing the self-aided terminal of more new system
Quantity determine that the quantity may be less than or equal to the quantity for the self-aided terminal for needing more new system.Terminal can will be set
Delay duration is sequentially assigned to corresponding self-aided terminal according to the identified self-aided terminal for needing more new system so that each
The self-aided terminal of more new system is needed to be each assigned to a delay duration.
For example, there is the quantity for the self-aided terminal for needing more new system and (be calculated as 1~terminal of terminal respectively for 100
100) size, updated the data is 500M, then can set adjacent delay duration at intervals of 10 minutes, and set delay duration respectively
Respectively 0 minute, 10 minutes, 20 minutes, 30 minutes and 40 minutes.It it is 0 minute, eventually by the distribution delay duration of terminal 1~20
21~40 distribution delay duration of end is 10 minutes, the distribution delay duration of terminal 41~60 is 20 minutes, the distribution of terminal 61~80 is prolonged
Constantly a length of 30 minutes, terminal 81~100 distribute delay duration be 30 minutes.
Step 310, the renewal time of the self-aided terminal of corresponding each needs more new system is calculated according to delay duration.
It can will be for the delay duration that the self-aided terminal of more new system distributed each be needed to be carried out with current system time
Summation, renewal time that is obtaining and being the self-aided terminal.
Step 312, when reaching renewal time, control needs the self-aided terminal of more new system to download update number from server
According to and be updated.
In the present embodiment, server can call the times computing function module such as relevant timer, when detecting current in real time
Between whether be reached for needing renewal time for being distributed of self-aided terminal of more new system accordingly.It is not up to updated in system time
During the time, server can respond the initial connection request, and be directed toward a preset value, and preset value is directed toward corresponding preset data.
The preset value can be a default value.The preset data that default value is directed toward can be to update to wait to initial connection request return system
The data of processing.
When detecting that system time meets or exceeds renewal time, the self-aided terminal acquisition pair of needs more new system can be made
That answers updates the data.Specifically, server, which can actively update the data this, is sent to corresponding corresponding self-aided terminal, self-service end
End receives updating the data transmitted by server, and carry out system update is updated the data according to received.Or make self-service end
End actively obtained from server it is corresponding update the data carry out system update, to reduce the data transmission pressure of server.
In the present embodiment, by detect the System Number of self-aided terminal determine corresponding self-aided terminal whether be need into
The self-aided terminal of row system update, determine needed for carry out system update self-aided terminal quantity and update the data, and according to
The quantity with update the data for it is each need carry out system update the corresponding delay duration of self-aided terminal setting, according to the delay
Duration determines the renewal time of corresponding self-aided terminal with present system time so that need more new system self-aided terminal to
During up to the renewal time, acquisition is corresponding to be updated the data and is updated, and system update is carried out so as to reduce synchronization
The quantity of self-aided terminal to reduce the data transmission pressure of server, improves the total system update efficiency of self-aided terminal.
In one embodiment, the System Number of self-aided terminal can automatically be changed by server, identical operating system
Corresponding System Number can differ on different self-aided terminals.So as to determine needs by adjusting System Number
Newer self-aided terminal improves the newer diversity of self-aided terminal.
In one embodiment, as shown in figure 4, being counted according to System Number in multiple self-aided terminals, it is necessary to more new system
Self-aided terminal and its step of quantity, including:
Step 402, pre-set recent systems number in server is obtained.
In the present embodiment, one or more system datas can be stored in server, and are provided with for each system data
Corresponding System Number, recent systems number are the corresponding System Number of most newly-installed system data.Generally, it can pass through
The time that each System Number is set is detected, the System Number corresponding to the setting time the latest is recent systems number.
Step 404, whether the System Number for detecting each self-aided terminal is identical with corresponding recent systems number.
In the present embodiment, server is with after the success of the initial connection of each self-aided terminal, then comparing the self-aided terminal
Whether System Number is identical with default recent systems number.
Step 406, if numbering different self-aided terminal with corresponding recent systems there are System Number, judging should be certainly
Terminal is helped to need the self-aided terminal of more new system.
In the present embodiment, if the System Number of self-aided terminal is identical with recent systems number, illustrate on the self-aided terminal
The operating system of operation is newest operating system, without carrying out system update.If the System Number of self-aided terminal with it is newest
System Number is different, then illustrates to be provided with newer operating system on server for the self-aided terminal, then judge the self-aided terminal
To need the self-aided terminal of more new system.
Step 408, the quantity for the self-aided terminal for needing more new system is calculated.
In the present embodiment, server can be by calling the module with computing function such as accumulator to be connected to calculate currently
In self-aided terminal on to server, it is judged as needing the quantity of the self-aided terminal of more new system.
In one embodiment, when the system update of self-aided terminal of more new system is needed to complete, by the self-aided terminal
System Number be updated to corresponding recent systems number.
In the present embodiment, self-aided terminal can send the message being updated successfully, service after system update is completed to server
Device receive the self-aided terminal be updated successfully message after, the System Number of the self-aided terminal is changed to corresponding newest system
Unified editing number so that when it carries out initial connection again, can be determined that it is according to updated System Number need not carry out system more
New self-aided terminal.
In one embodiment, as shown in figure 5, inquiry is corresponding with the self-aided terminal of needs more new system updates the data
Step, including:
Step 502, the corresponding multiple system numbers of System Number are obtained.
The system son number corresponding to each System Number, system son number are provided in the present embodiment, in server
Comprising multiple.After the System Number of self-aided terminal is determined, it can inquire about and obtain corresponding multiple system of the System Number
Number.Wherein, the one or more system module data of each system number association, the system module data are whole operation system
Data corresponding to one or more of system system function module.
Step 504, the corresponding multiple recent systems numbers of recent systems number are obtained.
It is common, when there is provided during new operating system, not being that all system datas of old system are all modified,
And only it is a part of system data therein to be modified or added new a part of system data.At this point, it can will do
The system data of modification or increased part sets corresponding new system to number, and the system number of the part to not making an amendment
According to keeping corresponding system son number constant.That is the corresponding system son number of recent systems number, is compiled in a upper system
The recent systems son number for increasing or changing on the basis of system son number corresponding to number.
Step 506, system number with corresponding recent systems son number is compared, determined with system number not
Same recent systems son number.
In the present embodiment, it is whether identical with the system son number of self-aided terminal to can detect each recent systems number.I.e.
Detect each system number whether be also among multiple systems son number corresponding to the System Number of self-aided terminal wherein
One.If so, judging that recent systems son number is identical recent systems son number, corresponding system module data are not
To update the data.If it is not, then judging that recent systems son number is different recent systems son numbers, that is, illustrate the recent systems
Son number is the system son number for increasing or changing, and corresponding system module data are also the data for increasing or changing,
As update the data.
Step 508, obtain different recent systems and number corresponding system module data, system module data are needs
The self-aided terminal of more new system is corresponding to be updated the data.
In the present embodiment, it can be closed according to the different recent systems number with the association of corresponding system module data
System obtains corresponding system module data to search, which is that the self-aided terminal of more new system is needed to correspond to
Update the data.
For example, it is as shown in table 1 below, for System Number and the recent systems number institute of self-aided terminal in one embodiment
The sub- number table of comparisons of corresponding system.Then system number with corresponding recent systems son number is compared, is determined with being
It is 123463 that system, which numbers different recent systems son numbers, can obtain the system mould corresponding to the sub- number 123463 of recent systems
Block number evidence, as needing, the self-aided terminal of more new system is corresponding to be updated the data.
The System Number of 1 self-aided terminal of table and the sub- number table of comparisons of system of recent systems number
In the present embodiment, by the way that corresponding system number and corresponding system are provided with to each System Number in advance
Module data so that system data is convenient for management and update.Then by recent systems number recent systems son number with it is self-service
The corresponding system number of System Number of terminal is compared, and determines that recent systems different from the sub- number of system is numbered,
It is corresponding more as the self-aided terminal of needs more new system that different recent systems is numbered into corresponding system module data
New data.Since system module data are the data corresponding to one or more of whole operation system system function module,
So that the transmission quantity updated the data becomes smaller, the data transmission pressure of server and terminal is reduced.
In one embodiment, before the step of corresponding self-aided terminal is needs the self-aided terminal of more new system is judged,
It further includes:Whether detection recent systems number is pilot number, and detects whether self-aided terminal is pilot self-aided terminal;When newest
System Number is pilot number, and when self-aided terminal is pilot self-aided terminal, it is to need more new system to judge corresponding self-aided terminal
Self-aided terminal.
In the present embodiment, System Number can also be further arranged to pilot number.Pilot numbers corresponding operating system
To be used for operating system on probation.I.e. when developing new operating system, can first it be tried out on the self-aided terminal of part.When
When whether the System Number of self-aided terminal is different from recent systems number, server, which can further detect recent systems number, is
It is no to be numbered for pilot.Specifically, it can detect whether recent systems number carries pilot mark, if so, judging the newest system
Unified editing number is numbered for pilot.
When determined recent systems number is pilot number, then further detect whether the self-aided terminal belongs to pilot certainly
Help terminal.Wherein, server is also provided with pilot self-aided terminal list, is stored in the list and is arranged to pilot self-aided terminal
Terminal iidentification.The terminal iidentification that server can detect the self-aided terminal whether there is in the pilot self-aided terminal list, if
It is then to judge the self-aided terminal for pilot self-aided terminal.
When recent systems number is pilot number, and self-aided terminal is pilot self-aided terminal, server can determine that correspondence
Self-aided terminal is the self-aided terminal for needing more new system.
In the present embodiment, by setting pilot number and pilot self-aided terminal, convenient for trying newer operating system
Point can also improve the stability and diversity of self-aided terminal operation on the whole.
In one embodiment, inquiry the step of updating the data corresponding with the self-aided terminal of needs more new system, including:
The classification of the self-aided terminal of needs more new system is determined according to System Number, and is sorted out;From server inquiry and inhomogeneity
Other self-aided terminal is corresponding to be updated the data.
In the present embodiment, server can according to the manufacturer of self-aided terminal, hardware information, unit type, installation be
One or more factors therein such as system classification are classified.The corresponding System Number of different classes of self-aided terminal is different.
For example the naming rule of the System Number of different classes of self-aided terminal can be pre-set so that can be according to the System Number
Would know that the classification of corresponding self-aided terminal, by it is same category of will the self-aided terminal of more new system sort out.
The corresponding system data of different classes of self-aided terminal also differs, and server can inquire oneself of the System Number
Help terminal-pair answer it is required update the data, this updates the data corresponding with the classification of self-aided terminal.
It the quantity of the self-aided terminal of more new system as needed and updates the data, for each self-service end for needing more new system
The step of corresponding delay duration, is distributed at end, including:According to size is updated the data, different classes of self-aided terminal download pair is calculated
That answers updates the data required downloading duration;According to downloading duration delay duration is distributed for different classes of self-aided terminal.
In the present embodiment, server is after corresponding update the data is inquired, it may be determined that the size updated the data, according to
The size updated the data updates the data required downloading duration to predict that corresponding self-aided terminal downloads this.The downloading duration can root
It is determined according to the information rate of self-aided terminal and/or the factors such as data distributing speed of server.Self-aided terminal bar is distributed
Delay duration can be determined according to the downloading duration.
In the present embodiment, by further determined according to the classification of terminal it is corresponding update the data and delay duration,
Also the stability and diversity of self-aided terminal operation can be improved on the whole.
In one embodiment, distribute to the delay duration of different classes of self-aided terminal for identical delay duration or
Different delay durations;Wherein, if delay duration is identical delay duration, which is not less than inhomogeneity
Maximum in the downloading duration of other self-aided terminal.
For example, there are the self-aided terminal for needing more new system of two categories, classification A and classification B, quantity are denoted as
Respectively 100 and 60, the corresponding size that updates the data is respectively 200M and 300M, by corresponding self-aided terminal be denoted as terminal A1~
A100 and terminal B1~B200.Server calculates download of the self-aided terminal completion of each classification to updating the data accordingly
Duration is respectively 5 minutes and 10 minutes.
Can be then terminal A1~A30, A31~A60, A61~A90, A91~A100 set delay according to the downloading duration
Shi Changwei 0 minute, 5 minutes, 10 minutes, 15 minutes.It is for terminal B1~B20, B21~B50, B51~B60 settings delay duration
15 minutes, 25 minutes and 35 minutes.
By the way that delay duration is set to may be such that each self-aided terminal not less than the maximum in the downloading duration of self-aided terminal
Have sufficient time download needed for updating the data, and can be controlled in the self-service end that the same time updates the data from server download
The quantity at end so as to reduce the data transmission pressure of server, improves the stability of self-aided terminal operation on the whole.
Fig. 6 is the structure diagram of the system updating device of self-aided terminal in one embodiment.It is as shown in fig. 6, a kind of self-service
The system updating device of terminal is run on server as shown in Figure 2, which includes:
Initial connection request receiving module 602 for receiving the initial connection request that multiple self-aided terminals are sent, initially connects
Connecing request includes the terminal iidentification and System Number of each self-aided terminal.
Quantity statistics module 604, for counted according to System Number in multiple self-aided terminals, it is necessary to more new system it is self-service
Terminal and its quantity.
Enquiry module 606 is updated the data, for inquiring about update the data corresponding with needing the self-aided terminal of more new system.
Renewal time computing module 608 for the quantity of the self-aided terminal of more new system as needed and updates the data, is
Each self-aided terminal for needing more new system distributes corresponding delay duration;Each needs more new system is calculated according to delay duration
Self-aided terminal renewal time.
System update module 610, for when reaching renewal time, control needs the self-aided terminal of more new system from service
Device download is updated the data and is updated.
In one embodiment, as shown in fig. 7, quantity statistics module 604 includes:
Detection unit 702, for obtaining pre-set recent systems number in server;Detect each self-aided terminal
Whether System Number is identical with corresponding recent systems number.
Identifying unit 704, if to number different self-aided terminal with corresponding recent systems for there are System Numbers,
The self-aided terminal is judged to need the self-aided terminal of more new system.
Amount calculation unit 706, for calculating the quantity for the self-aided terminal for needing more new system.
In one embodiment, as shown in figure 8, providing the system updating device of another self-aided terminal, the device is also
Including:
System Number update module 612, for need more new system self-aided terminal system update complete when, by this
The System Number of self-aided terminal is updated to corresponding recent systems number.
In one embodiment, enquiry module 606 is updated the data to be additionally operable to be determined to need more new system according to System Number
Self-aided terminal classification, and sorted out;From server inquiry with different classes of self-aided terminal is corresponding updates the data.
Renewal time computing module 608 is additionally operable to according to size is updated the data, calculate different classes of self-aided terminal download
It is corresponding to update the data required downloading duration;According to downloading duration delay duration is distributed for different classes of self-aided terminal.
In one embodiment, distribute to the delay duration of different classes of self-aided terminal for identical delay duration or
Different delay durations;Wherein, if delay duration is identical delay duration, which is not less than inhomogeneity
Maximum in the downloading duration of other self-aided terminal.
In one embodiment, as shown in figure 9, updating the data enquiry module 606 includes:
System son number acquiring unit 902, for obtaining the corresponding multiple system numbers of System Number;Obtain newest system
The corresponding multiple recent systems numbers of unified editing number.
Determination unit 904, for system number to be compared with corresponding recent systems son number, definite and system
Son numbers different recent systems son numbers.
System module data query unit 906, recent systems for inquiring about different number corresponding system module number
According to system module data are to need the self-aided terminal of more new system is corresponding to update the data.
In one embodiment, quantity statistics module 604 is additionally operable to whether detection recent systems number is pilot number, and
Detect whether self-aided terminal is pilot self-aided terminal;It is pilot number to be numbered when recent systems, and self-aided terminal is self-service for pilot
During terminal, corresponding self-aided terminal is judged to need the self-aided terminal of more new system.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the program can be stored in a non-volatile computer and can be read
In storage medium, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, the storage is situated between
Matter can be magnetic disc, CD, read-only memory (Read-Only Memory, ROM) etc..
Each technical characteristic of embodiment described above can be combined arbitrarily, to make description succinct, not to above-mentioned reality
It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited
In contradiction, the scope that this specification is recorded all is considered to be.
Embodiment described above only expresses the several embodiments of the present invention, and description is more specific and detailed, but simultaneously
It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that come for those of ordinary skill in the art
It says, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the protection of the present invention
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 for updating system of self-aided terminal, which is characterized in that the described method comprises the following steps:
Server receives the initial connection request that multiple self-aided terminals are sent, and the initial connection request includes each self-service end
The terminal iidentification and System Number at end;
It is counted according to the System Number in the multiple self-aided terminal, it is necessary to the self-aided terminal and its quantity of more new system;
Inquire about update the data corresponding with the self-aided terminal of the needs more new system;
According to the quantity of the self-aided terminal of the needs more new system and it is described update the data, for it is each need more new system from
Help the corresponding delay duration of terminal distribution;
The renewal time of each self-aided terminal for needing more new system is calculated according to the delay duration;
When reaching the renewal time, described need described in the self-aided terminal from server download of more new system more is controlled
New data is simultaneously updated.
2. according to the method described in claim 1, it is characterized in that, described count the multiple self-service according to the System Number
In terminal, it is necessary to the step of the self-aided terminal and its quantity of more new system, including:
Obtain pre-set recent systems number in server;
Whether the System Number for detecting each self-aided terminal is identical with corresponding recent systems number;
If numbering different self-aided terminal with corresponding recent systems there are System Number, judge the self-aided terminal for needs
The self-aided terminal of more new system;
Calculate the quantity of the self-aided terminal of the needs more new system.
3. according to the method described in claim 2, it is characterized in that, the method further includes:
When the system update of the self-aided terminal of the needs more new system is completed, the System Number of the self-aided terminal is updated to
Corresponding recent systems number.
4. according to the method in any one of claims 1 to 3, which is characterized in that the inquiry needs to update system with described
Self-aided terminal corresponding the step of updating the data of system, including:
The classification of the self-aided terminal of the needs more new system is determined according to the System Number, and is sorted out;
From server inquiry with different classes of self-aided terminal is corresponding updates the data;
The quantity of the self-aided terminal according to the needs more new system and it is described update the data, need more new system to be each
Self-aided terminal distribute corresponding delay duration the step of, including:
Size is updated the data according to described, different classes of self-aided terminal is calculated and downloads and corresponding update the data required download
Duration;
According to the downloading duration delay duration is distributed for the different classes of self-aided terminal.
5. according to the method described in claim 4, prolong it is characterized in that, distributing to the described of the different classes of self-aided terminal
Constantly a length of identical delay duration or different delay durations;Wherein, if the delay duration is identical delay duration,
Then the identical delay duration is not less than the maximum in the downloading duration of the different classes of self-aided terminal.
6. a kind of system updating device of self-aided terminal, which is characterized in that described device includes:
Initial connection request receiving module, for receiving the initial connection request that multiple self-aided terminals are sent, the initial connection
Request includes the terminal iidentification and System Number of each self-aided terminal;
Quantity statistics module, for counted according to the System Number in the multiple self-aided terminal, it is necessary to more new system from
Help terminal and its quantity;
Enquiry module is updated the data, for inquiring about update the data corresponding with the self-aided terminal of the needs more new system;
Renewal time computing module, for according to it is described needs more new system self-aided terminal quantity and it is described update the data,
Self-aided terminal for each needs more new system distributes corresponding delay duration;Each need more is calculated according to the delay duration
The renewal time of the self-aided terminal of new system;
System update module for when reaching the renewal time, controls the self-aided terminal for needing more new system from institute
It states and updates the data and be updated described in server download.
7. device according to claim 6, which is characterized in that the quantity statistics module includes:
Detection unit, for obtaining pre-set recent systems number in server;The system for detecting each self-aided terminal is compiled
It is number whether identical with corresponding recent systems number;
Identifying unit, if to number different self-aided terminal with corresponding recent systems for there are System Numbers, judging should
Self-aided terminal is the self-aided terminal for needing more new system;
Amount calculation unit, for calculating the quantity of the self-aided terminal of the needs more new system.
8. device according to claim 7, which is characterized in that described device further includes:
System Number update module, for it is described needs more new system self-aided terminal system update complete when, by this from
The System Number of terminal is helped to be updated to corresponding recent systems number.
9. the device according to any one of claim 6 to 8, which is characterized in that the enquiry module that updates the data also is used
In the classification for the self-aided terminal that the needs more new system is determined according to the System Number, and sorted out;From the service
Device is inquired about and different classes of self-aided terminal is corresponding updates the data;
The renewal time computing module is additionally operable to update the data size according to, calculates different classes of self-aided terminal and downloads
It is corresponding to update the data required downloading duration;According to the downloading duration institute is distributed for the different classes of self-aided terminal
State delay duration.
10. device according to claim 9, which is characterized in that distribute to the described of the different classes of self-aided terminal
Delay duration is identical delay duration or different delay durations;Wherein, if the delay duration is identical delay
Long, then the identical delay duration is not less than the maximum in the downloading duration of the different classes of self-aided terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611005952.8A CN108073408B (en) | 2016-11-15 | 2016-11-15 | System updating method and device of self-service terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611005952.8A CN108073408B (en) | 2016-11-15 | 2016-11-15 | System updating method and device of self-service terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108073408A true CN108073408A (en) | 2018-05-25 |
CN108073408B CN108073408B (en) | 2020-11-24 |
Family
ID=62162598
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611005952.8A Active CN108073408B (en) | 2016-11-15 | 2016-11-15 | System updating method and device of self-service terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108073408B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108846951A (en) * | 2018-05-31 | 2018-11-20 | 深圳友宝科斯科技有限公司 | Automatic vending machine long-range control method, device, storage medium and system |
CN108846952A (en) * | 2018-05-31 | 2018-11-20 | 深圳友宝科斯科技有限公司 | Automatic vending machine long-range control method, device, storage medium and system |
CN109257219A (en) * | 2018-09-21 | 2019-01-22 | Oppo广东移动通信有限公司 | Update method, device, storage medium and server |
CN110750283A (en) * | 2019-10-15 | 2020-02-04 | 青岛易触科技有限公司 | Remote upgrading method and system for vending machine driving program |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1763713A (en) * | 2004-10-22 | 2006-04-26 | 华为技术有限公司 | Mobile terminal software edition updating method |
CN103580887A (en) * | 2012-07-25 | 2014-02-12 | 中兴通讯股份有限公司 | Clients, updating method and updating system |
CN103634665A (en) * | 2013-12-04 | 2014-03-12 | 乐视致新电子科技(天津)有限公司 | Version upgrading method and version upgrading device |
CN103685495A (en) * | 2013-12-05 | 2014-03-26 | 金蝶软件(中国)有限公司 | Method and system for upgrading software |
CN103955381A (en) * | 2014-04-04 | 2014-07-30 | 京信通信系统(中国)有限公司 | Method and system for management server to perform batch software update on terminal equipment |
CN104717636A (en) * | 2013-12-13 | 2015-06-17 | 成都鼎桥通信技术有限公司 | Software upgrading method, terminal device and over-the-air download server |
US20160274887A1 (en) * | 2015-03-19 | 2016-09-22 | Zynga Inc. | Modifying client device game applications |
-
2016
- 2016-11-15 CN CN201611005952.8A patent/CN108073408B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1763713A (en) * | 2004-10-22 | 2006-04-26 | 华为技术有限公司 | Mobile terminal software edition updating method |
CN103580887A (en) * | 2012-07-25 | 2014-02-12 | 中兴通讯股份有限公司 | Clients, updating method and updating system |
CN103634665A (en) * | 2013-12-04 | 2014-03-12 | 乐视致新电子科技(天津)有限公司 | Version upgrading method and version upgrading device |
CN103685495A (en) * | 2013-12-05 | 2014-03-26 | 金蝶软件(中国)有限公司 | Method and system for upgrading software |
CN104717636A (en) * | 2013-12-13 | 2015-06-17 | 成都鼎桥通信技术有限公司 | Software upgrading method, terminal device and over-the-air download server |
CN103955381A (en) * | 2014-04-04 | 2014-07-30 | 京信通信系统(中国)有限公司 | Method and system for management server to perform batch software update on terminal equipment |
US20160274887A1 (en) * | 2015-03-19 | 2016-09-22 | Zynga Inc. | Modifying client device game applications |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108846951A (en) * | 2018-05-31 | 2018-11-20 | 深圳友宝科斯科技有限公司 | Automatic vending machine long-range control method, device, storage medium and system |
CN108846952A (en) * | 2018-05-31 | 2018-11-20 | 深圳友宝科斯科技有限公司 | Automatic vending machine long-range control method, device, storage medium and system |
CN109257219A (en) * | 2018-09-21 | 2019-01-22 | Oppo广东移动通信有限公司 | Update method, device, storage medium and server |
CN110750283A (en) * | 2019-10-15 | 2020-02-04 | 青岛易触科技有限公司 | Remote upgrading method and system for vending machine driving program |
Also Published As
Publication number | Publication date |
---|---|
CN108073408B (en) | 2020-11-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108073408A (en) | The method for updating system and device of self-aided terminal | |
CN110795203B (en) | Resource scheduling method, device, system and computing equipment | |
CN108683604A (en) | concurrent access control method, terminal device and medium | |
CN108055264A (en) | Dispatching device, method and the computer readable storage medium of stream pushing server | |
CN109597685A (en) | Method for allocating tasks, device and server | |
CN109246229A (en) | A kind of method and apparatus of distribution resource acquisition request | |
CN111988422B (en) | Subscription method, device, server and storage medium of application service | |
CN108173698B (en) | Network service management method, device, server and storage medium | |
CN110430590A (en) | Network is sliced matching process and device | |
CN105871983A (en) | Method and device for selecting servers | |
CN110795217B (en) | Task allocation method and system based on resource management platform | |
CN108429754A (en) | A kind of high in the clouds Distributed Detection method, system and relevant apparatus | |
CN104267987B (en) | A kind of newer detection method of application APP, detection device and terminal | |
CN107819797A (en) | Access request treating method and apparatus | |
CN110062027A (en) | Load-balancing method, central server and terminal device | |
CN109450691A (en) | Gateway monitoring method, equipment and computer readable storage medium | |
CN105337783A (en) | Method of monitoring abnormal flow consumption of communication equipment and apparatus | |
CN110933178A (en) | Method for adjusting node configuration in cluster system and server | |
CN113329345A (en) | Method and device for improving short message sending success rate | |
CN112214288B (en) | Pod scheduling method, device, equipment and medium based on Kubernetes cluster | |
CN108733440A (en) | interface icon configuration method, device and terminal device | |
CN110209166B (en) | Cooperative control method and device for multiple mobile service robots and storage medium | |
CN110753001A (en) | Method and device for efficiently transmitting data and storage medium | |
CN105591980B (en) | A kind of bandwidth consumption management method and device | |
JP2012048386A (en) | Arrangement determination program, method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |