CN103258389B - The method of self-aided terminal upload file, system and self-aided terminal - Google Patents

The method of self-aided terminal upload file, system and self-aided terminal Download PDF

Info

Publication number
CN103258389B
CN103258389B CN201310136952.1A CN201310136952A CN103258389B CN 103258389 B CN103258389 B CN 103258389B CN 201310136952 A CN201310136952 A CN 201310136952A CN 103258389 B CN103258389 B CN 103258389B
Authority
CN
China
Prior art keywords
terminal
self
aided
aided terminal
status information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310136952.1A
Other languages
Chinese (zh)
Other versions
CN103258389A (en
Inventor
马亮亮
傅强
李丹
石瑜育
薛红星
廖宫燕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Construction Bank Corp
Original Assignee
China Construction Bank Corp
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 China Construction Bank Corp filed Critical China Construction Bank Corp
Priority to CN201310136952.1A priority Critical patent/CN103258389B/en
Publication of CN103258389A publication Critical patent/CN103258389A/en
Application granted granted Critical
Publication of CN103258389B publication Critical patent/CN103258389B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of method of self-aided terminal upload file, system and self-aided terminal, wherein, described method comprises: each self-aided terminal generates terminal's status information table according to respective SOT state of termination, terminal location and network condition; Each self-aided terminal intercourses described terminal's status information table by network; Core terminal carries out dynamic order according to the terminal's status information table after its exchange of preserving to each self-aided terminal; Described core terminal generates the time point of the upload file of each self-aided terminal according to ranking results, and the time point of each self-aided terminal upload file is sent to all non-core terminals; Each self-aided terminal is according to the requirement upload file of described time point.Dynamic programming is carried out to the files passe of each self-aided terminal, arranges the time of each self-aided terminal upload file rationally, in an orderly manner, to efficiently solve in prior art a large amount of self-aided terminal simultaneously transfer files cause uploading the high and machine phenomenon of delaying of mortality.

Description

The method of self-aided terminal upload file, system and self-aided terminal
Technical field
The present invention relates to computer documents transmission technology, specifically, relate to the method for self-aided terminal upload file in a kind of bank self-service system, system and self-aided terminal.
Background technology
In current financial service, financial business is provided to be development trend by self-aided terminal (also referred to as Possum).So-called self-aided terminal is a kind of self-service equipment being combined with multiple different financial business function, and the function that holder can utilize this equipment to provide completes inquiry, change password, deposit, the financial service such as to withdraw the money.Along with the development of infotech, Self-Service has become each large-scale commerce bank key factor very important in competition, and each large-scale commerce bank throughout the country, especially extensively arranges Self-Service site in urban street.A large amount of Self-Service sites, while bringing very big profit to bank, also creates the data file of magnanimity, and the operation maintenance department being transferred to bank of the data file of magnanimity brings great challenge.Traditional self-aided terminal is not given overall consideration to from head office's file server upload and download file, only upload in set time section or Download Server specified file, when causing the terminal quantity uploading simultaneously/download more, the phenomenon of head office's file server refusal response occurs, and therefore the mortality of transfer files is higher.
In existing transfer files mechanism, separate unit self-aided terminal determines whether to need transfer files as just independently individuality, then file transfer operation is carried out in section at a fixed time, this is no problem when minority terminal needs transfer files, but when great amount of terminals needs to carry out file transfer simultaneously (as submitted chronological file on the same day to head office's file server), now server cannot meet the demand of great amount of terminals simultaneously transfer files, the phenomenon of denial of service will be presented, now file transfer mortality significantly improves, not only cannot meet transfer files demand, and server instantaneous pressure may be caused excessive and machine of delaying.
Summary of the invention
The invention provides the method for self-aided terminal upload file in a kind of bank self-service system, system and self-aided terminal, dynamic programming is carried out to the files passe of each self-aided terminal, arrange the time of each self-aided terminal upload file rationally, in an orderly manner, to efficiently solve in prior art a large amount of self-aided terminal simultaneously transfer files cause uploading the high and machine phenomenon of delaying of mortality.
In one embodiment of the invention, the invention provides a kind of method of self-aided terminal upload file, described self-aided terminal comprises at least one non-core terminal of core terminal and the management of described core terminal machine, and wherein, described method comprises:
Each self-aided terminal generates terminal's status information table according to respective SOT state of termination, terminal location and network condition;
Each self-aided terminal intercourses described terminal's status information table by network;
Described core terminal carries out dynamic order according to the terminal's status information table after its exchange of preserving to each self-aided terminal;
Described core terminal generates the time point of the upload file of each self-aided terminal according to ranking results, and the time point of each self-aided terminal upload file is sent to all non-core terminals;
Each self-aided terminal is according to the requirement upload file of described time point.
In another embodiment of the invention, the invention provides the method for self-aided terminal upload file in a kind of bank self-service system, described bank self-service system comprises multiple self-aided terminal, and wherein, described method comprises:
In head office, at least one self-aided terminal is appointed as core terminal by file server end, then other self-aided terminals are non-core terminal;
Each self-aided terminal generates terminal's status information table according to respective SOT state of termination, terminal location and network condition;
Initiated by described core terminal, the terminal network that each self-aided terminal is intercoursed described terminal's status information table by network and added with described core terminal is core;
Described core terminal carries out dynamic order according to the terminal's status information table after its exchange of preserving to each self-aided terminal in described terminal network;
Described core terminal generates the time point of the upload file of each self-aided terminal in described terminal network according to ranking results, and the time point of each self-aided terminal upload file is sent to all non-core terminal in described terminal network;
Each self-aided terminal in described terminal network is according to the requirement upload file of described time point.
In other embodiments of the present invention, the invention provides a kind of self-aided terminal, comprising:
Status information table generation module, generates terminal's status information table for the SOT state of termination according to self, terminal location and network condition;
State information exchange module, for intercoursing terminal's status information table by network and other self-aided terminals;
Order module, carries out dynamic order for the terminal's status information table preserved according to it to each self-aided terminal;
Uplink time generation module, generates the time point of the upload file of each self-aided terminal for ranking results;
Uplink time issues module, for the time point of each self-aided terminal upload file being sent to other self-aided terminals described;
Files passe module, for the requirement upload file according to described time point.
Correspondingly, present invention also offers a kind of self-aided terminal, comprising:
Status information table generation module, generates terminal's status information table for the SOT state of termination according to self, terminal location and network condition;
State information exchange module, for intercoursing terminal's status information table by network and other self-aided terminals;
Uplink time receiver module, for receiving the time point information of the upload file that core terminal sends;
Files passe module, for the requirement upload file according to described time point.
In addition, in other embodiments of the present invention, present invention also offers a kind of system for self-aided terminal upload file, wherein, described system comprises:
At least one comprises the self-aided terminal of following module: status information table generation module, generates terminal's status information table for the SOT state of termination according to self, terminal location and network condition; State information exchange module, for intercoursing terminal's status information table by network and other self-aided terminals; Order module, carries out dynamic order for the terminal's status information table preserved according to it to each self-aided terminal; Uplink time generation module, generates the time point of the upload file of each self-aided terminal for ranking results; Uplink time issues module, for the time point of each self-aided terminal upload file being sent to other self-aided terminals described; Files passe module, for the requirement upload file according to described time point;
At least one comprises the self-aided terminal of following module: status information table generation module, generates terminal's status information table for the SOT state of termination according to self, terminal location and network condition; State information exchange module, for intercoursing terminal's status information table by network and other self-aided terminals; Uplink time receiver module, for receiving the time point information of the upload file that core terminal sends; Files passe module, for the requirement upload file according to described time point; And
Head office's file server, for depositing the file that each self-aided terminal is uploaded.
From the above, the embodiment of the present invention is by capable major part or all self-aided terminals integrally carry out dispatching and considering entirely, avoid all self-aided terminals independent separately, the phenomenon of mutual isolation, process for file transfer carries out dynamic programming, (externally serve according to SOT state of termination, out of service or keeper safeguards) judge, and according to the geographic position of terminal, network condition etc. reasonably sort to self-aided terminal, thus make self-aided terminal can be reasonable as a colony, arrange the file transfer period in an orderly manner, greatly improve the success ratio of file transfer.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of the method for a kind of self-aided terminal upload file according to embodiment of the present invention;
Fig. 2 is the particular flow sheet of step S130 shown in Fig. 1;
Fig. 3 is the process flow diagram of the method for self-aided terminal upload file in a kind of bank self-service system according to embodiment of the present invention;
Fig. 4 is the structured flowchart of a kind of system for self-aided terminal upload file according to embodiment of the present invention;
Fig. 5 shows the embodiment 1 of a kind of self-aided terminal according to embodiment of the present invention;
Fig. 6 is the structured flowchart of order module in embodiment of the present invention;
Fig. 7 shows the embodiment 2 of a kind of self-aided terminal according to embodiment of the present invention;
Fig. 8 shows the embodiment 3 of a kind of self-aided terminal according to embodiment of the present invention.
Embodiment
For the ease of understanding the various aspects of technical solution of the present invention, feature and advantage, below in conjunction with accompanying drawing, the present invention is specifically described.Should be appreciated that following various embodiments are only for illustrating, but not for limiting the scope of the invention.
With reference to figure 1, it illustrates the method flow of a kind of self-aided terminal upload file of embodiment of the present invention.In embodiments of the present invention, self-aided terminal can comprise at least one non-core terminal of core terminal and described core terminal machine management (or safeguard or have under its command), be divided into core terminal and non-core terminal by multiple self-aided terminal, the method for described upload file comprises:
Step S110, each self-aided terminal (namely comprising each self-aided terminal of core terminal and non-core terminal) generates terminal's status information table according to respective SOT state of termination, terminal location and network condition;
Step S120, each self-aided terminal intercourses described terminal's status information table by network, such as, comprise the terminal's status information table that each self-aided terminal obtains self-aided terminal adjacent with it, and add the terminal's status information table of self, and the terminal's status information table of self is sent to self-aided terminal adjacent with it;
Step S130, described core terminal carries out dynamic order according to the terminal's status information table after its exchange of preserving to each self-aided terminal;
Step S140, described core terminal generates the time point of the upload file of each self-aided terminal according to ranking results, preferably, the principle being less than the uplink time of sequence self-aided terminal rearward according to the uplink time (time namely needed for upload file) of the forward self-aided terminal of sequence generates the time point of the upload file of each self-aided terminal; Certain the present invention is not limited to this, also can generate the long pass time point of each self-aided terminal according to equal time distances, the principle that can also be greater than the uplink time of sequence self-aided terminal rearward according to the uplink time of the forward self-aided terminal of sequence generates the time point of the upload file of each self-aided terminal.
Step S150, the time point of each self-aided terminal upload file is sent to all non-core terminals by described core terminal;
Step S160, each self-aided terminal (comprising each self-aided terminal of core terminal and non-core terminal) is according to the requirement upload file of the time point of described generation.
In embodiments of the present invention, described SOT state of termination comprises: self-aided terminal normal service and idle, self-aided terminal normal service and carrying out client trading, self-aided terminal and carrying out keeper's maintenance and self-aided terminal is in state out of service;
Described terminal location comprises the distance with core terminal, such as, from the hop count of core terminal;
Described network condition according to the time that self-aided terminal Receiving Host responds be divided into excellent, good, in, poor, wherein:
The time of self-aided terminal Receiving Host response, when being less than first threshold, described network condition was excellent,
When the time of self-aided terminal Receiving Host response is between first threshold and Second Threshold, described network condition is good, and wherein first threshold is less than Second Threshold,
When the time of self-aided terminal Receiving Host response is between Second Threshold and the 3rd threshold value, during described network condition is, wherein Second Threshold is less than the 3rd threshold value,
The time of self-aided terminal Receiving Host response, when being greater than the 3rd threshold value, described network condition was for poor.
It will be appreciated by those skilled in the art that described first threshold, Second Threshold and the 3rd threshold value can carry out value according to factors such as the processing speed of the processing speed of self-aided terminal, main frame, network standard bandwidth.
In one embodiment of the invention, step S120 can be initiated by described core terminal.In another embodiment of the invention, when the terminal's status information table of self-aided terminal occurs to upgrade, the self-aided terminal being occurred to upgrade by terminal's status information table initiates the described step being intercoursed described terminal's status information table by network.
In each embodiment of the present invention, with reference to figure 2, step S130 comprises:
Step S131, gives different weights to SOT state of termination, terminal location and network condition three indexs;
Step S132, described core terminal obtains the collation weights of each self-aided terminal according to the SOT state of termination of each self-aided terminal in its terminal's status information table preserved, terminal location and network condition;
Step S133, the collation weights according to each self-aided terminal described sorts to each self-aided terminal.
According to embodiment of the present invention, according to SOT state of termination, terminal location, network condition etc., self-aided terminal is reasonably sorted, thus make self-aided terminal rationally, in an orderly manner can arrange the file transfer period as a colony, greatly improve the success ratio of file transfer.
Below with reference to Fig. 3 and Fig. 4, the method for self-aided terminal upload file in a kind of bank self-service system provided by the invention is described in detail.Bank self-service system can comprise multiple self-aided terminal.
According to embodiment of the present invention, as shown in Figure 3, in a kind of bank self-service system, the method for self-aided terminal upload file comprises:
Step S200, in head office, at least one self-aided terminal is appointed as core terminal by file server end, then other self-aided terminals are non-core terminal; Such as, each one-level branch is specified to have 10 ~ 12 core terminals, total about 400 core terminals of full row, in this example, specify self-aided terminal O to be core terminal by head office Possum monitoring management system (ATMVH), other self-aided terminals are non-core terminal (as shown in Figure 4).
Step S210, each self-aided terminal generates terminal's status information table according to respective SOT state of termination, terminal location and network condition, as shown in Table 1 below.
Table 1
Terminal number SOT state of termination Network condition With core terminal distance Next terminal
xxxx xxxx xxxx O Excellent 2 yyyy yyyy yyyy
yyyy yyyy yyyy A Good 1 oooo oooo oooo
oooo oooo oooo S Excellent 0
Terminal number: such as, is made up of 12 bit digital, distributes unique 12 position digital codings unitedly indicate as the terminal recognition of this ATM when every platform self-aided terminal (such as ATM) is installed by head office's ATMVH server;
SOT state of termination: indicate the equipment state that terminal is current, wherein:
" O ” – terminal normal service and idle
" A ” – terminal normal service and carry out client trading
" S ” – terminal carries out keeper's maintenance
" C " – terminal is in state out of service
Network condition: indicate the network condition that terminal is current, be divided into excellent, good, in, differ from four grades.Startup notifying message can be sent to main frame when ATM starts shooting every day, then determine current network conditions according to the time receiving main frame returned packet.Wherein:
The You – Receiving Host response time is less than 1 second;
The Liang – Receiving Host response time is between 1 ~ 2 second;
The Zhong – Receiving Host response time is between 2 ~ 5 seconds;
The Cha – Receiving Host response time is greater than 5 seconds.
With core terminal apart from (i.e. terminal location): indicate that current device passes through to be connected several times to seek core terminal, i.e. hop count, its middle distance is 0 expression the machine is core terminal.
Next terminal: indicate this equipment is connected into terminal network by which terminal.
Step S220, is initiated by described core terminal, the terminal network that each self-aided terminal is intercoursed described terminal's status information table by network and added with described core terminal is core;
In an initial condition, the terminal's status information table unified representation that non-core terminal inner is safeguarded becomes shown in table 2 below:
Table 2
Terminal number SOT state of termination Network condition With core terminal distance
xxxx xxxx xxxx O/A/S/C Excellent/good/in/poor -1
Wherein, be initially "-1 " with core terminal distance is unified.
The terminal's status information table of core terminal internal maintenance is as shown in Table 3 below:
Table 3
Terminal number SOT state of termination Network condition With core terminal distance
xxxx xxxx xxxx O/A/S/C Excellent/good/in/poor 0
For the self-aided terminal A in Fig. 4, self-aided terminal B, self-aided terminal O, step S220 is described below.Wherein, as mentioned above, self-aided terminal O is appointed as core terminal, then self-aided terminal A, self-aided terminal B are non-core terminal.For convenience of explanation, below describe in, the terminal number of self-aided terminal A, self-aided terminal B, self-aided terminal O replaces 12 respective bit digital to represent with A, B, O respectively.
(1) original state
The initial terminal's status information table of self-aided terminal A is as follows:
Terminal number SOT state of termination Network condition With core terminal distance
A O Good -1
The initial terminal's status information table of self-aided terminal B is as follows:
Terminal number SOT state of termination Network condition With core terminal distance
B A Excellent -1
The initial terminal status information table of core terminal O is as follows:
Terminal number SOT state of termination Network condition With core terminal distance
O O In 0
(2), when self-aided terminal A and B exchange termination status information table, find that the parameter of " with core terminal distance " of the other side is all "-1 ", then self-aided terminal A and B does not upgrade current terminal's status information table.
(3), when self-aided terminal B and core terminal O exchange termination status information table, self-aided terminal B finds that the parameter of " with core terminal distance " of core terminal O is " 0 ", then upgrade as follows by the terminal's status information table of oneself:
Terminal number SOT state of termination Network condition With core terminal distance Next terminal
B A Excellent 1 O
O O In 0
The terminal's status information table of core terminal O upgrades as follows:
Terminal number SOT state of termination Network condition With core terminal distance Next terminal
O O In 0
B A Excellent 1 O
(4), when self-aided terminal A and B exchanges terminal's status information table, self-aided terminal A finds that in self-aided terminal B, " with the distance of core terminal " is no longer "-1 ", then the terminal's status information table of oneself upgrades as follows by self-aided terminal A:
Terminal number SOT state of termination Network condition With core terminal distance Next terminal
A O Good 2 B
B A Excellent 1 O
O O In 0
The terminal's status information table of oneself upgrades as follows by self-aided terminal B:
Terminal number SOT state of termination Network condition With core terminal distance Next terminal
B A Excellent 1 O
O O In 0
A O Good 2 B
Now, it is the terminal network of core terminal that self-aided terminal A has added with O, if SOT state of termination is constant, no longer initiatively initiates the table handling of exchange termination status information.
(5) self-aided terminal B with self-aided terminal A exchange termination status information table after, the terminal's status information table of self is upgraded, so initiatively initiate the table handling of exchange termination status information to " next terminal " (being core terminal in this example).After core terminal O receives the update request of self-aided terminal B, terminal's status information table is upgraded as follows:
Terminal number SOT state of termination Network condition With core terminal distance Next terminal
O O In 0
B A Excellent 1 O
A O Good 2 B
Thus, over time, become, all self-aided terminals all can add the core terminal network closed on.From the above, the terminal's status information table of all terminals that it is the center of circle that core terminal maintains with it, and remaining terminal only safeguards the terminal's status information table in chain.
Step S230, core terminal carries out dynamic order according to the terminal's status information table after its exchange of preserving to each self-aided terminal in described terminal network.Particularly, different weights are given to SOT state of termination, terminal location (namely from core terminal distance) and network condition three indexs; Described core terminal obtains the collation weights of each self-aided terminal according to the SOT state of termination of each self-aided terminal in its terminal's status information table preserved, terminal location and network condition; Collation weights according to each self-aided terminal described sorts to each self-aided terminal.
Be described for above-mentioned self-aided terminal A, B, O below.
(1) the every weights of the state of terminal are as follows:
(2) from step 220, the terminal's status information table of self-aided terminal A, B, O that core terminal O preserves is as follows:
Terminal number SOT state of termination Network condition With core terminal distance Next terminal
O O In 0
B A Excellent 1 O
A O Good 2 B
The collation weights of self-aided terminal O is: 5+2+ (-0.2) * 0=7;
The collation weights of self-aided terminal A is: 5+3+ (-0.2) * 2=7.6;
The collation weights of self-aided terminal B is: 4+4+ (-0.2) * 1=7.8;
Therefore, sort as B, A, O, namely self-aided terminal B is endowed higher file transfer priority.
Step S240, described core terminal generates the time point of the upload file of each self-aided terminal in described terminal network according to ranking results.
Such as, core terminal, divides for terminal transmission document time sheet according to ranking results after terminal generation ranking results all in linchpin according to weighted value.Take first compact principle loose again during time division sheet, the transmission time fragment that the more forward terminal that namely sorts is got can be less than sequence terminal rearward (it has been generally acknowledged that the time that the forward terminal that sorts can complete needed for file transfer operation than sequence terminal is rearward less) usually.
Certainly, more than just for illustrational object, the present invention is not limited to this, also can generate the time point of upload file in equal time sheet ground, the mode that the transmission time fragment that the more forward terminal of sequence can certainly be adopted to get is greater than sequence terminal rearward generates the time point of long pass file.
Step S250, the time point of each self-aided terminal upload file is sent to all non-core terminal in described terminal network by core terminal;
Step S260, the requirement upload file of the time point that each self-aided terminal in described terminal network sends according to described core terminal.
In one embodiment of the invention, described method also comprises: when SOT state of termination upgrades, self-aided terminal can upgrade self terminal's status information table and to " next terminal " report condition change events, now, next terminal can report step by step along chain, until upgraded by the terminal's status information table in core terminal.
In other embodiments of the present invention, in order to ensure that SOT state of termination table can not be long and cause efficiency step-down, can limit the maintainable terminal's status information of self-aided terminal, such as, specify that the non-core terminal of every platform can safeguard the terminal's status information being not more than 500, core terminal machine can safeguard the terminal's status information being not more than 1000;
In another embodiment of the invention, be the terminal's status information table of core to ensure entirely to go that all terminals can both add with core terminal, every station terminal all (half an hour once) will check whether the core terminal network adding and close in fixed interval section, otherwise adds nearest and not yet full core terminal machine network by constantly seeking adjacent terminal end;
According to various embodiment of the present invention, described method also comprises: when detecting that described core terminal breaks down, and dynamically specifies the self-aided terminal of the core terminal vicinity broken down as core terminal to replace the core terminal broken down.
After core terminal carries out dynamic conditioning, all terminal transmitting terminal alteration commands within the scope of it, now its existing terminal's status information table (changing to original state by terminal's status information table) of all terminal initializations, and again generate according to terminal's status information table create-rule the terminal's status information table being the center of circle with newly appointed core terminal machine, namely regenerate terminal's status information table according to the method described above.
Adopt the method for self-aided terminal upload file in above-mentioned a kind of bank self-service system, according to SOT state of termination, terminal location, network condition etc., self-aided terminal is reasonably sorted, thus make self-aided terminal rationally, in an orderly manner can arrange the file transfer period as a colony, satisfactorily resolve the server stress problem of great amount of terminals upload file simultaneously, and do not increase extra hardware spending.
Based on said method, present invention also offers a kind of system for self-aided terminal upload file, as shown in Figure 4, described system comprises: for depositing head office's file server of the file that each self-aided terminal is uploaded, at least one can be used as the self-aided terminal of core terminal, and at least one can be used as the self-aided terminal of non-core terminal, its by core terminal based on SOT state of termination, terminal location and network condition etc. carry out rational sorting to determine the time point of each terminal upload file to the non-core terminal had under its command, each terminal according to the time point upload file determined to head office's file server, its concrete process refers to description above.
Correspondingly, present invention also offers a kind of self-aided terminal realizing files passe according to above-mentioned steps.
With reference to figure 5, show the embodiment 1 of self-aided terminal.In the present embodiment, self-aided terminal also comprises except having conventional func module:
Status information table generation module 100, generates terminal's status information table for the SOT state of termination according to self, terminal location and network condition;
State information exchange module 200, for intercoursing terminal's status information table by network and other self-aided terminals;
Order module 300, carries out dynamic order for the terminal's status information table preserved according to it to each self-aided terminal;
Uplink time generation module 400, generates the time point of the upload file of each self-aided terminal for ranking results;
Uplink time issues module 500, for the time point of each self-aided terminal upload file being sent to other self-aided terminals described;
Files passe module 600, for the requirement upload file according to described time point.
Wherein, as shown in Figure 6, described order module comprises:
Assignment unit 301, for giving different weights to SOT state of termination, terminal location and network condition three indexs;
Weighted units 302, obtains the collation weights of each self-aided terminal for the SOT state of termination according to each self-aided terminal in the terminal's status information table preserved, terminal location and network condition;
Sequencing unit 303, sorts to each self-aided terminal for the collation weights according to each self-aided terminal described.
In embodiment 1, self-aided terminal provided by the invention can be used as the core terminal of embodiment of the present invention.
With reference to figure 7, show the embodiment 2 of self-aided terminal.In the present embodiment, self-aided terminal also comprises except having conventional func module:
Status information table generation module 100, generates terminal's status information table for the SOT state of termination according to self, terminal location and network condition;
State information exchange module 200, for intercoursing terminal's status information table by network and other self-aided terminals;
Uplink time receiver module 700, for receiving the time point information of the upload file that core terminal sends;
Files passe module 600, for the requirement upload file according to described time point.
In example 2, self-aided terminal provided by the invention can be used as the non-core terminal of embodiment of the present invention.
With reference to figure 8, show the embodiment 3 of self-aided terminal.In the present embodiment, self-aided terminal also comprises except having conventional func module:
Status information table generation module 100, generates terminal's status information table for the SOT state of termination according to self, terminal location and network condition;
State information exchange module 200, for intercoursing terminal's status information table by network and other self-aided terminals;
Order module 300, carries out dynamic order for the terminal's status information table preserved according to it to each self-aided terminal; Its concrete structure as shown in Figure 6.
Uplink time generation module 400, generates the time point of the upload file of each self-aided terminal for ranking results;
Uplink time issues module 500, for the time point of each self-aided terminal upload file being sent to other self-aided terminals described;
Uplink time receiver module 700, for receiving the time point information of the upload file that core terminal sends;
Files passe module 600, for the requirement upload file according to described time point.
In embodiment 3, self-aided terminal provided by the invention both can be used as the core terminal of embodiment of the present invention, also can be used as the non-core terminal of embodiment of the present invention.
The method of the self-aided terminal upload file described in the various embodiment of the present invention, system and self-aided terminal, according to SOT state of termination, terminal location, network condition etc., dynamic programming is carried out to the files passe of each self-aided terminal, rationally, the time of each self-aided terminal upload file is arranged in an orderly manner, to efficiently solve in prior art a large amount of self-aided terminal simultaneously transfer files cause uploading the high and machine phenomenon of delaying of mortality, greatly improve the success ratio of file transfer, and do not increase extra hardware spending
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by the mode of software combined with hardware platform, can certainly all be implemented by hardware.Based on such understanding, what technical scheme of the present invention contributed to background technology can embody with the form of software product in whole or in part, this computer software product can be stored in storage medium, as ROM/RAM, magnetic disc, CD etc., comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform the method described in some part of each embodiment of the present invention or embodiment.
Skilled person should be appreciated that and disclosed is only embodiments of the present invention above, and certainly can not limit the interest field of the present invention with this, the equivalent variations done according to embodiment of the present invention, still belongs to the scope that the claims in the present invention contain.

Claims (23)

1. a method for self-aided terminal upload file, is characterized in that, at least one non-core terminal that described self-aided terminal comprises core terminal and communicates with described core terminal machine, and described method comprises:
Each self-aided terminal generates terminal's status information table according to respective SOT state of termination, terminal location and network condition;
Each self-aided terminal intercourses described terminal's status information table by network;
Described core terminal carries out dynamic order according to the terminal's status information table after its exchange of preserving to each self-aided terminal;
Described core terminal generates the time point of the upload file of each self-aided terminal according to ranking results, and the time point of each self-aided terminal upload file is sent to all non-core terminals;
Each self-aided terminal is according to the requirement upload file of described time point.
2. the method for claim 1, is characterized in that,
Described SOT state of termination comprises: self-aided terminal normal service and idle, self-aided terminal normal service and carrying out client trading, self-aided terminal and carrying out keeper's maintenance and self-aided terminal is in state out of service;
Described terminal location comprises the distance with core terminal;
Described network condition according to the time that self-aided terminal Receiving Host responds be divided into excellent, good, in, poor.
3. method as claimed in claim 2, is characterized in that,
The time of self-aided terminal Receiving Host response, when being less than first threshold, described network condition was excellent;
When the time of self-aided terminal Receiving Host response is between first threshold and Second Threshold, described network condition is good, and wherein first threshold is less than Second Threshold;
When the time of self-aided terminal Receiving Host response is between Second Threshold and the 3rd threshold value, during described network condition is, wherein Second Threshold is less than the 3rd threshold value;
The time of self-aided terminal Receiving Host response, when being greater than the 3rd threshold value, described network condition was for poor.
4. method as claimed in claim 2, is characterized in that, the described step intercoursing described terminal's status information table by network comprises:
Each self-aided terminal obtains the terminal's status information table of self-aided terminal adjacent with it, and adds the terminal's status information table of self, and the terminal's status information table of self is sent to self-aided terminal adjacent with it.
5. method as claimed in claim 4, is characterized in that, the described step intercoursing described terminal's status information table by network is initiated by described core terminal.
6. method as claimed in claim 4, is characterized in that, when the terminal's status information table of self-aided terminal occurs to upgrade, the self-aided terminal being occurred to upgrade by terminal's status information table initiates the described step being intercoursed described terminal's status information table by network.
7. method as claimed in claim 2, it is characterized in that, described core terminal comprises the step that each self-aided terminal carries out dynamic order according to the terminal's status information table after its exchange of preserving:
Different weights are given to SOT state of termination, terminal location and network condition three indexs;
Described core terminal obtains the collation weights of each self-aided terminal according to the SOT state of termination of each self-aided terminal in its terminal's status information table preserved, terminal location and network condition;
Collation weights according to each self-aided terminal described sorts to each self-aided terminal.
8. the method for claim 1, is characterized in that, described core terminal generates the time point of the upload file of each self-aided terminal step according to ranking results comprises:
The principle being less than the uplink time of sequence self-aided terminal rearward according to the uplink time of the forward self-aided terminal of sequence generates the time point of the upload file of each self-aided terminal.
9. a method for self-aided terminal upload file in bank self-service system, is characterized in that, described bank self-service system comprises multiple self-aided terminal, and described method comprises:
In head office, at least one self-aided terminal is appointed as core terminal by file server end, then other self-aided terminals are non-core terminal;
Each self-aided terminal generates terminal's status information table according to respective SOT state of termination, terminal location and network condition;
Initiated by described core terminal, the terminal network that each self-aided terminal is intercoursed described terminal's status information table by network and added with described core terminal is core;
Described core terminal carries out dynamic order according to the terminal's status information table after its exchange of preserving to each self-aided terminal in described terminal network;
Described core terminal generates the time point of the upload file of each self-aided terminal in described terminal network according to ranking results, and the time point of each self-aided terminal upload file is sent to all non-core terminal in described terminal network;
Each self-aided terminal in described terminal network is according to the requirement upload file of described time point.
10. method as claimed in claim 9, is characterized in that,
Described SOT state of termination comprises: self-aided terminal normal service and idle, self-aided terminal normal service and carrying out client trading, self-aided terminal and carrying out keeper's maintenance and self-aided terminal is in state out of service;
Described terminal location comprises the distance with core terminal;
Described network condition according to the time that self-aided terminal Receiving Host responds be divided into excellent, good, in, poor.
11. methods as claimed in claim 10, is characterized in that,
The time of self-aided terminal Receiving Host response, when being less than first threshold, described network condition was excellent;
When the time of self-aided terminal Receiving Host response is between first threshold and Second Threshold, described network condition is good, and wherein first threshold is less than Second Threshold;
When the time of self-aided terminal Receiving Host response is between Second Threshold and the 3rd threshold value, during described network condition is, wherein Second Threshold is less than the 3rd threshold value;
The time of self-aided terminal Receiving Host response, when being greater than the 3rd threshold value, described network condition was for poor.
12. methods as claimed in claim 10, is characterized in that, each self-aided terminal is intercoursed described terminal's status information table by network and added and comprises with the step of the described core terminal terminal network that is core:
Each self-aided terminal obtains the terminal's status information table of self-aided terminal adjacent with it, and add the terminal's status information table of self, and the terminal's status information table of self is sent to self-aided terminal adjacent with it, the terminal network that to add with described core terminal be thus core.
13. methods as claimed in claim 12, it is characterized in that, when the terminal's status information table of self-aided terminal in described terminal network occurs to upgrade, described in the self-aided terminal initiation upgraded by the generation of terminal's status information table, intercourse the step of described terminal's status information table to upgrade the terminal's status information table of each self-aided terminal in described terminal network by network.
14. methods as claimed in claim 10, it is characterized in that, described core terminal comprises the step that each self-aided terminal in described terminal network carries out dynamic order according to the terminal's status information table after its exchange of preserving:
Different weights are given to SOT state of termination, terminal location and network condition three indexs;
Described core terminal obtains the collation weights of each self-aided terminal in described terminal network according to the SOT state of termination of each self-aided terminal in its terminal's status information table preserved, terminal location and network condition;
According to described collation weights, each self-aided terminal in described terminal network is sorted.
15. methods as claimed in claim 9, it is characterized in that, described core terminal generates the time point of the upload file of each self-aided terminal in described terminal network step according to ranking results comprises:
The principle being less than the uplink time of sequence self-aided terminal rearward according to the uplink time of the forward self-aided terminal of sequence generates the time point of the upload file of each self-aided terminal in described terminal network.
16. methods as claimed in claim 9, it is characterized in that, described method also comprises:
When detecting that described core terminal breaks down, dynamically specify the self-aided terminal of the core terminal vicinity broken down as core terminal to replace the core terminal broken down.
17. 1 kinds of self-aided terminals, is characterized in that, comprising:
Status information table generation module, generates terminal's status information table for the SOT state of termination according to self, terminal location and network condition;
State information exchange module, for intercoursing terminal's status information table by network and other self-aided terminals;
Order module, carries out dynamic order for the terminal's status information table preserved according to it to each self-aided terminal;
Uplink time generation module, generates the time point of the upload file of each self-aided terminal for ranking results;
Uplink time issues module, for the time point of each self-aided terminal upload file being sent to other self-aided terminals described;
Files passe module, for the requirement upload file according to described time point.
18. self-aided terminals as claimed in claim 17, is characterized in that,
Described SOT state of termination comprises: self-aided terminal normal service and idle, self-aided terminal normal service and carrying out client trading, self-aided terminal and carrying out keeper's maintenance and self-aided terminal is in state out of service;
Described terminal location comprises the distance with another self-aided terminal as core terminal;
Described network condition according to the time that self-aided terminal Receiving Host responds be divided into excellent, good, in, poor.
19. self-aided terminals as claimed in claim 18, is characterized in that,
The time of self-aided terminal Receiving Host response, when being less than first threshold, described network condition was excellent;
When the time of self-aided terminal Receiving Host response is between first threshold and Second Threshold, described network condition is good, and wherein first threshold is less than Second Threshold;
When the time of self-aided terminal Receiving Host response is between Second Threshold and the 3rd threshold value, during described network condition is, wherein Second Threshold is less than the 3rd threshold value;
The time of self-aided terminal Receiving Host response, when being greater than the 3rd threshold value, described network condition was for poor.
20. methods as claimed in claim 18, it is characterized in that, described order module comprises:
Assignment unit, for giving different weights to SOT state of termination, terminal location and network condition three indexs;
Weighted units, obtains the collation weights of each self-aided terminal for the SOT state of termination according to each self-aided terminal in the terminal's status information table preserved, terminal location and network condition;
Sequencing unit, sorts to each self-aided terminal for the collation weights according to each self-aided terminal described.
21. 1 kinds of self-aided terminals, is characterized in that, comprising:
Status information table generation module, generates terminal's status information table for the SOT state of termination according to self, terminal location and network condition;
State information exchange module, for intercoursing terminal's status information table by network and other self-aided terminals;
Uplink time receiver module, the time point information of the upload file that another self-aided terminal for receiving as core terminal sends;
Files passe module, for the requirement upload file according to described time point.
22. self-aided terminals as claimed in claim 21, is characterized in that, also comprise:
Order module, carries out dynamic order for the terminal's status information table after the exchange of preserving according to it to each self-aided terminal;
Uplink time generation module, for generating the time point of the upload file of each self-aided terminal according to ranking results;
Uplink time issues module, for the time point of each self-aided terminal upload file being sent to other self-aided terminals described.
23. 1 kinds of systems for self-aided terminal upload file, it is characterized in that, described system comprises: at least one self-aided terminal, at least one self-aided terminal as described in claim 21 or 22 and head office's file server for depositing the file that each self-aided terminal is uploaded as described in claim 17 to 20 any one.
CN201310136952.1A 2013-04-19 2013-04-19 The method of self-aided terminal upload file, system and self-aided terminal Active CN103258389B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310136952.1A CN103258389B (en) 2013-04-19 2013-04-19 The method of self-aided terminal upload file, system and self-aided terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310136952.1A CN103258389B (en) 2013-04-19 2013-04-19 The method of self-aided terminal upload file, system and self-aided terminal

Publications (2)

Publication Number Publication Date
CN103258389A CN103258389A (en) 2013-08-21
CN103258389B true CN103258389B (en) 2015-10-28

Family

ID=48962272

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310136952.1A Active CN103258389B (en) 2013-04-19 2013-04-19 The method of self-aided terminal upload file, system and self-aided terminal

Country Status (1)

Country Link
CN (1) CN103258389B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105471943B (en) * 2014-09-03 2019-05-03 南宁富桂精密工业有限公司 The method that server and its distribution client device update firmware
CN106375403B (en) * 2016-08-31 2021-06-01 惠州学院 Data synchronization method and device
CN106776226B (en) * 2016-12-26 2020-06-02 东软集团股份有限公司 Monitoring method and device of self-service terminal
CN109271347B (en) * 2018-09-04 2022-04-22 郑州云海信息技术有限公司 Starting method, device and equipment for storage unit of distributed file system
CN109558389B (en) * 2018-10-19 2020-11-06 深圳市融壹买信息科技有限公司 Image file synchronization method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003069850A1 (en) * 2002-02-18 2003-08-21 Sony Corporation Data communication system, data communication management device and method, and computer program
CN1822542A (en) * 2005-02-18 2006-08-23 株式会社日立制作所 Presence management server and system
CN101316229A (en) * 2007-06-01 2008-12-03 华为技术有限公司 Method and router for synchronizing link state advertisement
CN102567373A (en) * 2010-12-23 2012-07-11 上海鸣啸信息科技发展有限公司 Self-service terminal for Jiangsu speedway
CN102594902A (en) * 2012-03-01 2012-07-18 浙江大学 BitTorrent node selecting method based on node performance

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003069850A1 (en) * 2002-02-18 2003-08-21 Sony Corporation Data communication system, data communication management device and method, and computer program
CN1822542A (en) * 2005-02-18 2006-08-23 株式会社日立制作所 Presence management server and system
CN101316229A (en) * 2007-06-01 2008-12-03 华为技术有限公司 Method and router for synchronizing link state advertisement
CN102567373A (en) * 2010-12-23 2012-07-11 上海鸣啸信息科技发展有限公司 Self-service terminal for Jiangsu speedway
CN102594902A (en) * 2012-03-01 2012-07-18 浙江大学 BitTorrent node selecting method based on node performance

Also Published As

Publication number Publication date
CN103258389A (en) 2013-08-21

Similar Documents

Publication Publication Date Title
CN103258389B (en) The method of self-aided terminal upload file, system and self-aided terminal
US9015229B1 (en) Determining placement of user data to optimize resource utilization for distributed systems
CN101350869B (en) Method and apparatus for removing repeat of telecom charging based on index and hash
CN107291862A (en) Business datum storage method, device, storage medium and electronic equipment
CN108495195A (en) A kind of network direct broadcasting ranking list generation method, device, equipment and storage medium
CN104751359B (en) System and method for payment clearing
CN106230953B (en) A kind of D2D communication means and device based on distributed storage
CN101599151A (en) A kind of system and method for self-adaptively selecting bank card for payment
CN101937474A (en) Mass data query method and device
CN106713377B (en) The method and apparatus of distributed data base load levelling
CN106407224A (en) Method and device for file compaction in KV (Key-Value)-Store system
CN111753016A (en) Data processing method, device, system and computer readable storage medium
CN106569898A (en) Resource distribution method and mobile terminal
CN109413202B (en) System and method for sorting block chain transaction information
CN103116641B (en) Obtain method and the collator of the statistics of sequence
CN105468619A (en) Resource distribution method and device used for database connection pool
CN104615684A (en) Mass data communication concurrent processing method and system
CN108055701A (en) A kind of resource regulating method and base station
CN104202386A (en) High-concurrency distributed file system and secondary load balancing method thereof
CN115225138A (en) Service data processing method, device and system for satellite communication service
CN103152382B (en) Towards the multifile concurrent transmission control method of multi-host network
CN105138536A (en) Mobile social network data fragmentation method based on directed hypergraph
CN105376155B (en) A kind of Intelligent routing system and method based on distributed type assemblies framework
CN112363838A (en) Data processing method and device, storage medium and electronic device
CN107203890B (en) Voucher data issuing method, device and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant